Skip to content

Commit

Permalink
Update npm packages (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Oct 2, 2021
1 parent 0969f86 commit 4c539d6
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 68 deletions.
36 changes: 18 additions & 18 deletions example/package-lock.json

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

2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"devDependencies": {
"elm-hot": "1.1.6",
"elm-review": "2.5.5",
"elm-review": "2.6.1",
"elm-test": "0.19.1-revision7",
"elm-tooling": "file:../build",
"node-elm-compiler": "5.0.6",
Expand Down
87 changes: 44 additions & 43 deletions package-lock.json

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

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
"devDependencies": {
"@rollup/plugin-typescript": "8.2.5",
"@types/jest": "27.0.2",
"@types/node": "16.9.3",
"@types/node": "16.10.2",
"@types/rimraf": "3.0.2",
"@typescript-eslint/eslint-plugin": "4.31.1",
"@typescript-eslint/parser": "4.31.1",
"@typescript-eslint/eslint-plugin": "4.32.0",
"@typescript-eslint/parser": "4.32.0",
"eslint": "7.32.0",
"eslint-plugin-jest": "24.4.2",
"eslint-plugin-jest": "24.5.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"jest": "27.2.4",
"prettier": "2.4.1",
"rimraf": "3.0.2",
"rollup": "2.56.3",
"rollup": "2.58.0",
"ts-jest": "27.0.5",
"ts-node": "10.2.1",
"typescript": "4.4.3"
Expand Down
2 changes: 1 addition & 1 deletion scripts/Build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function run(): Promise<void> {
const code = item.code
.replace(/%VERSION%/g, PKG.version)
.replace(
/^exports(?:\.default|\['default'\]) =/m,
/^exports(?:\.default|\[(['"])default\1\]) =/m,
"module.exports ="
);
const fullCode = isIndex ? `#!/usr/bin/env node\n${code}` : code;
Expand Down

0 comments on commit 4c539d6

Please sign in to comment.