Skip to content

Commit

Permalink
feat: Switch to esbuild and ESM first packaging
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Changed type to "module" and dropped UMD support

Signed-off-by: Gordon Smith <[email protected]>
  • Loading branch information
GordonSmith committed Sep 16, 2024
1 parent 8600273 commit d0994ba
Show file tree
Hide file tree
Showing 80 changed files with 1,062 additions and 1,002 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.nx
node_modules
dist/
dist-test/
build/
lib*/
!demos/storyboard/lib-umd/
Expand Down
2 changes: 1 addition & 1 deletion apps/angular-13/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start-prod": "npx http-server -p 8080 ./dist/angular-13/ -o index.html",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"test-old": "ng test",
"update": "npx --yes npm-check-updates -u -t minor"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion apps/legacyDash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "@hpcc-js/legacydash",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test-old": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@hpcc-js/codemirror": "0.0.74",
Expand Down
2 changes: 1 addition & 1 deletion apps/react-widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"build": "npx --yes react-scripts build",
"eject": "npx react-scripts eject",
"start": "npm run clean && npx react-scripts start",
"test": "npx react-scripts test",
"test-old": "npx react-scripts test",
"update": "npx --yes npm-check-updates -u -t minor",
"update-major": "npx --yes npm-check-updates -u"
},
Expand Down
3 changes: 0 additions & 3 deletions demos/dashy/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
},
{
"path": "../../packages/react/"
},
{
"path": "../../packages/util/"
}
]
}
2 changes: 1 addition & 1 deletion demos/quickstart/amd_npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test-old": "echo \"Error: no test specified\" && exit 1",
"update": "npx --yes npm-check-updates -u -t minor"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion demos/quickstart/iife_npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test-old": "echo \"Error: no test specified\" && exit 1",
"update": "npx --yes npm-check-updates -u -t minor"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion demos/quickstart/rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"bundle-watch": "rollup -c -w",
"minimize": "terser dist/index.js -c -m -o dist/index.min.js",
"build": "npm run bundle && npm run minimize",
"test": "echo \"Error: no test specified\" && exit 1",
"test-old": "echo \"Error: no test specified\" && exit 1",
"update": "npx --yes npm-check-updates -u -t minor"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion demos/quickstart/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"scripts": {
"build": "webpack",
"test": "echo \"Error: no test specified\" && exit 1",
"test-old": "echo \"Error: no test specified\" && exit 1",
"update": "npx --yes npm-check-updates -u -t minor"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions demos/react/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build": "npx --yes react-scripts build",
"eject": "npx react-scripts eject",
"start": "npm run clean && npx react-scripts start",
"test": "npx react-scripts test",
"test-old": "npx react-scripts test",
"update": "npx --yes npm-check-updates -u -t minor"
},
"eslintConfig": {
Expand All @@ -45,4 +45,4 @@
"last 1 safari version"
]
}
}
}
3 changes: 0 additions & 3 deletions demos/storyboard/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
},
{
"path": "../../packages/other/"
},
{
"path": "../../packages/util/"
}
]
}
Loading

0 comments on commit d0994ba

Please sign in to comment.