Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pnpm 10 #9634

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

pnpm 10 #9634

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# while this is "true" this actually sets hoisting to "false"
# because we have a hoist-pattern. This basically just lets us
# use the very narrowly scoped hoist-pattern.
hoist=true
# hoist=true
# Fastboot Doesnt respect node_modules resolution for whitelisted deps
# https://github.com/ember-fastboot/ember-cli-fastboot/issues/901
hoist-pattern[]=*node-fetch*
Expand All @@ -17,9 +17,10 @@ dedupe-peer-dependents=true # this currently introduces more bugs than it fixes
resolve-peers-from-workspace-root=false # if its not declared we don't want it resolved: ensure tests are truly isolated
save-workspace-protocol=rolling
resolution-mode=highest
dedupe-direct-deps=true
# dedupe-direct-deps=true
child-concurrency=10
ignore-dep-scripts=true
dedupe-injected-deps=false
# injected deps use symlinks
# dedupe-injected-deps=false
hoist-workspace-packages=false
enable-pre-post-scripts=false
2 changes: 1 addition & 1 deletion config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
"volta": {
"extends": "../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,22 @@
},
"scripts": {
"takeoff": "FORCE_COLOR=2 pnpm install --prefer-offline --reporter=append-only",
"prepare": "turbo run build:infra; pnpm --filter './packages/*' run --parallel --if-present sync-hardlinks; turbo run build:pkg; pnpm run prepare:types; pnpm run _task:sync-hardlinks;",
"prepare": "turbo run build:infra; turbo run build:pkg; pnpm run prepare:types;",
"prepare:types": "tsc --build --force; turbo run build:glint;",
"release": "./release/index.ts",
"build": "turbo _build --log-order=stream --filter=./packages/* --concurrency=10;",
"_task:sync-hardlinks": "pnpm run -r --parallel --if-present sync-hardlinks;",
"build:docs": "mkdir -p packages/-ember-data/dist && cd ./docs-generator && node ./compile-docs.js",
"lint:tests": "turbo --log-order=stream lint --filter=./tests/* --continue --concurrency=10",
"lint:pkg": "turbo --log-order=stream lint --filter=./packages/* --continue --concurrency=10",
"lint": "pnpm run _task:sync-hardlinks; turbo --log-order=stream lint --continue --concurrency=10",
"lint:fix": "pnpm run _task:sync-hardlinks; turbo --log-order=stream lint --continue --concurrency=10 -- --fix",
"lint": "turbo --log-order=stream lint --continue --concurrency=10",
"lint:fix": "turbo --log-order=stream lint --continue --concurrency=10 -- --fix",
"lint:prettier": "prettier --check --cache --cache-location=.prettier-cache --log-level=warn .",
"lint:prettier:fix": "prettier --write --cache --cache-location=.prettier-cache --log-level=warn .",
"preinstall": "npx only-allow pnpm",
"check:test-types": "turbo --log-order=stream check:types --filter=./{tests,config}/* --continue --concurrency=10",
"check:types": "pnpm run _task:sync-hardlinks; bun run check:test-types",
"test": "pnpm run _task:sync-hardlinks; pnpm turbo test --concurrency=1",
"test:production": "pnpm run _task:sync-hardlinks; pnpm turbo test:production --concurrency=1",
"check:types": "bun run check:test-types",
"test": "pnpm turbo test --concurrency=1",
"test:production": "pnpm turbo test:production --concurrency=1",
"test:try-one": "pnpm --filter main-test-app run test:try-one",
"test:docs": "FORCE_COLOR=2 pnpm build:docs && pnpm run -r --workspace-concurrency=-1 --if-present --reporter=append-only --reporter-hide-prefix test:docs",
"test:blueprints": "pnpm run -r --workspace-concurrency=-1 --if-present test:blueprints",
Expand Down Expand Up @@ -72,13 +71,13 @@
"node": ">= 18.20.4",
"yarn": "use pnpm",
"npm": "use pnpm",
"pnpm": "8.15.9"
"pnpm": "10.0.0"
},
"volta": {
"node": "22.3.0",
"pnpm": "8.15.9"
"pnpm": "10.0.0"
},
"packageManager": "pnpm@8.15.9",
"packageManager": "pnpm@10.0.0",
"changelog": {
"labels": {
":label: breaking": ":boom: Breaking Change",
Expand Down
2 changes: 1 addition & 1 deletion packages/-ember-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,5 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
2 changes: 1 addition & 1 deletion packages/-warp-drive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
2 changes: 1 addition & 1 deletion packages/adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,5 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
2 changes: 1 addition & 1 deletion packages/build-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
2 changes: 1 addition & 1 deletion packages/codemods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
2 changes: 1 addition & 1 deletion packages/core-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9",
"packageManager": "pnpm@10.0.0",
"ember-addon": {
"main": "addon-main.cjs",
"type": "addon",
Expand Down
5 changes: 2 additions & 3 deletions packages/debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"scripts": {
"lint": "eslint . --quiet --cache --cache-strategy=content",
"build:pkg": "vite build;",
"prepack": "bun run build:pkg",
"sync-hardlinks": "bun run sync-dependencies-meta-injected"
"prepack": "bun run build:pkg"
},
"files": [
"unstable-preview-types",
Expand Down Expand Up @@ -112,5 +111,5 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
2 changes: 1 addition & 1 deletion packages/diagnostic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9",
"packageManager": "pnpm@10.0.0",
"ember-addon": {
"main": "addon-main.cjs",
"type": "addon",
Expand Down
3 changes: 1 addition & 2 deletions packages/ember/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"_lint": "eslint . --quiet --cache --cache-strategy=content",
"build:glint": "glint && glint --build",
"build:pkg": "vite build;",
"prepack": "bun run build:pkg",
"sync-hardlinks": "bun run sync-dependencies-meta-injected"
"prepack": "bun run build:pkg"
},
"files": [
"unstable-preview-types",
Expand Down
5 changes: 2 additions & 3 deletions packages/graph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"scripts": {
"lint": "eslint . --quiet --cache --cache-strategy=content",
"build:pkg": "vite build;",
"prepack": "bun run build:pkg",
"sync-hardlinks": "bun run sync-dependencies-meta-injected"
"prepack": "bun run build:pkg"
},
"files": [
"unstable-preview-types",
Expand Down Expand Up @@ -89,7 +88,7 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9",
"packageManager": "pnpm@10.0.0",
"ember-addon": {
"main": "addon-main.cjs",
"type": "addon",
Expand Down
2 changes: 1 addition & 1 deletion packages/json-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,5 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
2 changes: 1 addition & 1 deletion packages/model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
3 changes: 1 addition & 2 deletions packages/request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"scripts": {
"lint": "eslint . --quiet --cache --cache-strategy=content",
"build:pkg": "vite build;",
"prepack": "bun run build:pkg",
"sync-hardlinks": "bun run sync-dependencies-meta-injected"
"prepack": "bun run build:pkg"
},
"files": [
"unstable-preview-types",
Expand Down
5 changes: 2 additions & 3 deletions packages/schema-record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"scripts": {
"lint": "eslint . --quiet --cache --cache-strategy=content",
"build:pkg": "vite build;",
"prepack": "bun run build:pkg",
"sync-hardlinks": "bun run sync-dependencies-meta-injected"
"prepack": "bun run build:pkg"
},
"ember-addon": {
"main": "addon-main.cjs",
Expand Down Expand Up @@ -110,5 +109,5 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
2 changes: 1 addition & 1 deletion packages/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
2 changes: 1 addition & 1 deletion packages/serializer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
2 changes: 1 addition & 1 deletion packages/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9",
"packageManager": "pnpm@10.0.0",
"ember-addon": {
"main": "addon-main.cjs",
"type": "addon",
Expand Down
3 changes: 1 addition & 2 deletions packages/tracking/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
"scripts": {
"lint": "eslint . --quiet --cache --cache-strategy=content",
"build:pkg": "vite build;",
"prepack": "bun run build:pkg",
"sync-hardlinks": "bun run sync-dependencies-meta-injected"
"prepack": "bun run build:pkg"
},
"ember-addon": {
"main": "addon-main.cjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/unpublished-test-infra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,5 @@
"volta": {
"extends": "../../package.json"
},
"packageManager": "pnpm@8.15.9"
"packageManager": "pnpm@10.0.0"
}
Loading
Loading