Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle into one file #863

Merged
merged 1 commit into from
May 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 0 additions & 124 deletions dist/DotNetSdkUpdater.js

This file was deleted.

7 changes: 0 additions & 7 deletions dist/DotNetSdkUpdater.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/UpdateOptions.js

This file was deleted.

7 changes: 0 additions & 7 deletions dist/UpdateOptions.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/UpdateResult.js

This file was deleted.

7 changes: 0 additions & 7 deletions dist/UpdateResult.js.map

This file was deleted.

138 changes: 69 additions & 69 deletions dist/main.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"format": "prettier --write src/**/*.ts tests/**/*.ts",
"format-check": "prettier --check src/**/*.ts tests/**/*.ts",
"lint": "eslint src/**/*.ts",
"package": "esbuild lib/**.js --bundle --minify --outdir=dist --platform=node --sourcemap --target=node20.0.0",
"package": "esbuild lib/main.js --bundle --minify --outdir=dist --platform=node --sourcemap --target=node20.0.0",
"test": "jest",
"publish": "npm run build && npm run format && npm run lint && npm run package",
"all": "npm run publish && npm test"
Expand All @@ -30,7 +30,7 @@
"url": "https://martincostello.com/"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"jest": {
"clearMocks": true,
Expand Down