Skip to content

Commit aeb50f5

Browse files
authored
Upgraded package-json, semver and sembear dependencies (#231)
* Upgrade package-json to latest version, setup babel to preserve dynamic import() statements This removes 21 dependencies from @manypkg/cli * Fix fsevents install breaks on M1 macs * Bump required node version for @manypkg/cli to >= 18.0.0 * Upgrade sembear and semver * changeset * Upgrade to sembear@^0.7.0, removes one more dependency * Update changeset
1 parent 3c3198a commit aeb50f5

File tree

6 files changed

+154
-398
lines changed

6 files changed

+154
-398
lines changed

.changeset/olive-tomatoes-provide.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@manypkg/cli": minor
3+
---
4+
5+
Upgraded `package-json`, `semver` and `sembear` dependencies.

.changeset/soft-numbers-shout.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@manypkg/cli": minor
3+
---
4+
5+
Node.js version requirement raised to `>= 18.0.0`

babel.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ module.exports = {
44
"@babel/preset-env",
55
{
66
targets: { node: 14 },
7+
// necessary to preserve dynamic import of ESM-only modules
8+
exclude: ["proposal-dynamic-import"],
79
},
810
],
911
"@babel/preset-typescript",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@babel/preset-typescript": "^7.18.6",
3030
"@changesets/changelog-github": "^0.4.8",
3131
"@changesets/cli": "^2.26.0",
32-
"@preconstruct/cli": "^2.2.2",
32+
"@preconstruct/cli": "^2.8.9",
3333
"@types/jest": "^29.2.4",
3434
"@types/normalize-path": "^3.0.0",
3535
"@types/parse-github-url": "^1.0.0",

packages/cli/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"detect-indent": "^6.0.0",
1818
"normalize-path": "^3.0.0",
1919
"p-limit": "^2.2.1",
20-
"package-json": "^8.1.0",
20+
"package-json": "^10.0.1",
2121
"parse-github-url": "^1.0.2",
2222
"picocolors": "^1.1.0",
23-
"sembear": "^0.5.0",
24-
"semver": "^6.3.0",
23+
"sembear": "^0.7.0",
24+
"semver": "^7.6.3",
2525
"tinyexec": "^0.3.1",
2626
"validate-npm-package-name": "^5.0.1"
2727
},
@@ -31,6 +31,6 @@
3131
"strip-ansi": "^6.0.0"
3232
},
3333
"engines": {
34-
"node": ">=14.18.0"
34+
"node": ">=18.0.0"
3535
}
3636
}

0 commit comments

Comments
 (0)