Skip to content

Commit

Permalink
Merge pull request #392 from vscheuber/tsup
Browse files Browse the repository at this point in the history
use tsup for builds
  • Loading branch information
vscheuber authored Jun 11, 2024
2 parents 0d08887 + b2c008b commit 575e85b
Show file tree
Hide file tree
Showing 27 changed files with 13,154 additions and 15,241 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"src/**/*.test.ts",
"src/**/*.test_.ts",
"test/**/*.test.ts",
"test/**/*.test_.ts"
"test/**/*.test_.ts",
"tsup.config.ts"
]
}
13 changes: 3 additions & 10 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,9 @@ jobs:
id: version-from-tag
run: echo "version=$(echo '${{ steps.version-bump.outputs.newTag }}' | sed 's/v//')" >> "$GITHUB_OUTPUT"

- name: Build frodo-cli esm
- name: Build frodo-cli
run: |
npm run transpile-esm
npm run resources-esm
- name: Build frodo-cli cjs
run: |
npm run transpile-cjs
npm run resources-cjs
npm run build
- name: Lint
run: npm run lint
Expand All @@ -88,8 +82,7 @@ jobs:
path: |
package.json
package-lock.json
esm
cjs
dist
outputs:
newTag: ${{ steps.version-bump.outputs.newTag }}
Expand Down
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
build/
cjs/
esm/
dist

*.cer
*.p12
Expand Down
1 change: 1 addition & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"type": "node",
"request": "attach",
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Update to frodo-lib 2.0.0-85
- Update dependencies

## [2.0.0-59] - 2024-05-21

### Changed
Expand Down
7 changes: 0 additions & 7 deletions babel.config.cjs.json

This file was deleted.

6 changes: 0 additions & 6 deletions babel.config.esm.json

This file was deleted.

Loading

0 comments on commit 575e85b

Please sign in to comment.