Skip to content

Commit 7bfeba9

Browse files
authoredNov 14, 2023
Minor tweaks to packaging - PR#1 by glenn2223
- Dependency bumps - Formatting
2 parents 3ffb4a5 + c0ffdec commit 7bfeba9

File tree

3 files changed

+592
-361
lines changed

3 files changed

+592
-361
lines changed
 

‎package-lock.json

+575-349
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
],
3434
"scripts": {
3535
"test": "jest --runInBand",
36-
"build": "rollup -c rollup.config.js",
36+
"build": "rollup --bundleConfigAsCjs -c rollup.config.js",
3737
"format": "prettier --write \"src/**/*.ts\"",
3838
"lint": "eslint ./src --ext .ts",
3939
"prepublishOnly": "npm run lint"
@@ -42,20 +42,20 @@
4242
"@topmarksdevelopment/position": "^1.0.0"
4343
},
4444
"devDependencies": {
45-
"@rollup/plugin-commonjs": "^23.0.2",
45+
"@rollup/plugin-commonjs": "^23.0.4",
4646
"@rollup/plugin-node-resolve": "^15.0.1",
47-
"@rollup/plugin-terser": "^0.1.0",
48-
"@rollup/plugin-typescript": "^9.0.2",
49-
"@types/jest": "^29.2.3",
50-
"@typescript-eslint/eslint-plugin": "^5.25.0",
51-
"@typescript-eslint/parser": "^5.25.0",
52-
"eslint": "^8.15.0",
47+
"@rollup/plugin-terser": "^0.2.0",
48+
"@rollup/plugin-typescript": "^10.0.1",
49+
"@types/jest": "^29.2.4",
50+
"@typescript-eslint/eslint-plugin": "^5.46.1",
51+
"@typescript-eslint/parser": "^5.46.1",
52+
"eslint": "^8.29.0",
5353
"jest": "^29.3.1",
5454
"jest-environment-jsdom": "^29.3.1",
55-
"prettier": "^2.6.2",
56-
"rollup": "^2.79.1",
55+
"prettier": "^2.8.1",
56+
"rollup": "^3.7.4",
5757
"ts-jest": "^29.0.3",
58-
"typescript": "^4.6.4"
58+
"typescript": "^4.9.4"
5959
},
6060
"optionalDependencies": {
6161
"@topmarksdevelopment/javascript-logger": "^1.1.0"

‎rollup.config.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,10 @@ export default {
2727
compact: false,
2828
},
2929
],
30-
plugins: [rollupTypescript(), terser(), commonjs(), nodeResolve()],
30+
plugins: [
31+
rollupTypescript(),
32+
terser({ sourceMap: true }),
33+
commonjs(),
34+
nodeResolve(),
35+
],
3136
};

0 commit comments

Comments
 (0)
Please sign in to comment.