Skip to content

Commit

Permalink
Upgraded package-json, semver and sembear dependencies (#231)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
VanTanev authored Oct 17, 2024
1 parent 3c3198a commit aeb50f5
Show file tree
Hide file tree
Showing 6 changed files with 154 additions and 398 deletions.
5 changes: 5 additions & 0 deletions .changeset/olive-tomatoes-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@manypkg/cli": minor
---

Upgraded `package-json`, `semver` and `sembear` dependencies.
5 changes: 5 additions & 0 deletions .changeset/soft-numbers-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@manypkg/cli": minor
---

Node.js version requirement raised to `>= 18.0.0`
2 changes: 2 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ module.exports = {
"@babel/preset-env",
{
targets: { node: 14 },
// necessary to preserve dynamic import of ESM-only modules
exclude: ["proposal-dynamic-import"],
},
],
"@babel/preset-typescript",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@babel/preset-typescript": "^7.18.6",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.0",
"@preconstruct/cli": "^2.2.2",
"@preconstruct/cli": "^2.8.9",
"@types/jest": "^29.2.4",
"@types/normalize-path": "^3.0.0",
"@types/parse-github-url": "^1.0.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"detect-indent": "^6.0.0",
"normalize-path": "^3.0.0",
"p-limit": "^2.2.1",
"package-json": "^8.1.0",
"package-json": "^10.0.1",
"parse-github-url": "^1.0.2",
"picocolors": "^1.1.0",
"sembear": "^0.5.0",
"semver": "^6.3.0",
"sembear": "^0.7.0",
"semver": "^7.6.3",
"tinyexec": "^0.3.1",
"validate-npm-package-name": "^5.0.1"
},
Expand All @@ -31,6 +31,6 @@
"strip-ansi": "^6.0.0"
},
"engines": {
"node": ">=14.18.0"
"node": ">=18.0.0"
}
}
Loading

0 comments on commit aeb50f5

Please sign in to comment.