Skip to content

Commit

Permalink
mk: upgrade to pnpm 9.13.2 & type-fest 4.27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yoursunny committed Nov 18, 2024
1 parent 443104c commit 08ad6b3
Show file tree
Hide file tree
Showing 21 changed files with 31 additions and 29 deletions.
8 changes: 4 additions & 4 deletions integ/browser-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
"devDependencies": {
"@nodelib/fs.walk": "^2.0.0",
"@types/webpack": "^5.28.5",
"@zenfs/core": "^1.2.8",
"@zenfs/dom": "^1.0.3",
"@zenfs/core": "^1.3.3",
"@zenfs/dom": "^1.0.6",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"html-webpack-plugin": "^5.6.3",
"puppeteer": "^23.7.0",
"puppeteer": "^23.8.0",
"ts-loader": "^9.5.1",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"type-fest": "^4.27.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
Expand Down
2 changes: 1 addition & 1 deletion mk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"js-yaml": "^4.1.0",
"readlink": "^3.0.0",
"split2": "^4.2.0",
"type-fest": "^4.26.1"
"type-fest": "^4.27.0"
}
}
6 changes: 4 additions & 2 deletions mk/publish-nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@ ROOTDIR=$(pwd)
BASEURI=${NDNTS_PUBLISH_URI:-https://ndnts-nightly.ndn.today}

rm -rf mk/nightly-output/
mkdir -p mk/nightly-output/
mkdir -p mk/nightly-output/this/

git add .
VERSION=$(git show -s --format='%ct %H' | gawk '{ printf "0.0.%s-nightly-%s", strftime("%Y%m%d", $1, 1), substr($2, 1, 7) }')
corepack pnpm m --filter='./pkg/**' --workspace-concurrency=1 --reporter-hide-prefix exec \
bash -c 'node '$ROOTDIR'/mk/edit-packagejson.mjs VCDN '$VERSION' &&
mv $(corepack pnpm pack .) '$ROOTDIR'/mk/nightly-output/$(basename $(pwd)).tgz'
corepack pnpm pack --pack-destination '$ROOTDIR'/mk/nightly-output/this/ &&
mv '$ROOTDIR'/mk/nightly-output/this/*.tgz '$ROOTDIR'/mk/nightly-output/$(basename $(pwd)).tgz'
git checkout -- .

pushd mk/nightly-output/ >/dev/null
rmdir this/
(
echo '<!DOCTYPE html>'
echo '<title>NDNts nightly build</title>'
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
"test": "vitest",
"typedoc": "bash mk/typedoc.sh"
},
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee",
"packageManager": "pnpm@9.13.2+sha512.88c9c3864450350e65a33587ab801acf946d7c814ed1134da4a924f6df5a2120fd36b46aab68f7cd1d413149112d53c7db3a4136624cfd00ff1846a0c6cef48a",
"devDependencies": {
"@types/node": "^20.17.6",
"@types/wtfnode": "^0.7.3",
"@typescript/lib-dom": "npm:@types/[email protected].176",
"@vitest/coverage-v8": "^2.1.4",
"@typescript/lib-dom": "npm:@types/[email protected].179",
"@vitest/coverage-v8": "^2.1.5",
"@yoursunny/xo-config": "0.59.0",
"codedown": "^3.2.1",
"tslib": "^2.8.1",
"typedoc": "^0.26.11",
"typescript": "~5.6.3",
"vitest": "^2.1.4"
"vitest": "^2.1.5"
},
"engines": {
"node": "^20.12.0 || ^22.0.0"
Expand Down
2 changes: 1 addition & 1 deletion pkg/autoconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
"@types/default-gateway": "^7.2.2",
"@types/koa": "^2.15.0",
"koa": "^2.15.3",
"type-fest": "^4.26.1"
"type-fest": "^4.27.0"
}
}
2 changes: 1 addition & 1 deletion pkg/fileserver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@ndn/segmented-object": "workspace:*",
"@ndn/tlv": "workspace:*",
"@ndn/util": "workspace:*",
"@zenfs/core": "^1.2.8",
"@zenfs/core": "^1.3.3",
"mnemonist": "^0.39.8",
"obliterator": "^2.0.4",
"streaming-iterables": "^8.0.1",
Expand Down
2 changes: 1 addition & 1 deletion pkg/keychain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"idb-keyval": "^6.2.1",
"mnemonist": "^0.39.8",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"type-fest": "^4.27.0",
"wait-your-turn": "^1.0.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/l3face/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"retry": "^0.13.1",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"type-fest": "^4.27.0",
"typescript-event-target": "^1.1.1"
}
}
2 changes: 1 addition & 1 deletion pkg/nac/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@yoursunny/asn1": "0.0.20200718",
"mnemonist": "^0.39.8",
"tslib": "^2.8.1",
"type-fest": "^4.26.1"
"type-fest": "^4.27.0"
},
"devDependencies": {
"@ndn/l3face": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion pkg/ndncert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"nodemailer": "^6.9.16",
"p-timeout": "^6.1.3",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"type-fest": "^4.27.0",
"typescript-event-target": "^1.1.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/nfdmgmt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"devDependencies": {
"@ndn/l3face": "workspace:*",
"@ndn/node-transport": "workspace:*",
"type-fest": "^4.26.1",
"type-fest": "^4.27.0",
"typescript-event-target": "^1.1.1"
}
}
2 changes: 1 addition & 1 deletion pkg/node-transport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"event-iterator": "^2.0.0",
"p-event": "^6.0.1",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"type-fest": "^4.27.0",
"url-format-lax": "^2.0.0",
"url-parse-lax": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/packet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"buffer-compare": "^1.1.1",
"mnemonist": "^0.39.8",
"tslib": "^2.8.1",
"type-fest": "^4.26.1"
"type-fest": "^4.27.0"
},
"devDependencies": {
"@types/buffer-compare": "^0.0.33"
Expand Down
2 changes: 1 addition & 1 deletion pkg/pyrepo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"p-defer": "^4.0.1",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"type-fest": "^4.27.0",
"typescript-event-target": "^1.1.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/repo-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"@ndn/node-transport": "workspace:*",
"@ndn/segmented-object": "workspace:*",
"stream-mock": "^2.0.5",
"type-fest": "^4.26.1"
"type-fest": "^4.27.0"
}
}
2 changes: 1 addition & 1 deletion pkg/repo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"memory-level": "^2.0.0",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"type-fest": "^4.27.0",
"typescript-event-target": "^1.1.1",
"wait-your-turn": "^1.0.1"
},
Expand Down
4 changes: 2 additions & 2 deletions pkg/segmented-object/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@ndn/naming-convention2": "workspace:*",
"@ndn/packet": "workspace:*",
"@ndn/util": "workspace:*",
"@zenfs/core": "^1.2.8",
"@zenfs/core": "^1.3.3",
"it-keepalive": "^1.2.0",
"mnemonist": "^0.39.8",
"obliterator": "^2.0.4",
Expand All @@ -45,6 +45,6 @@
"@ndn/l3face": "workspace:*",
"@ndn/repo-api": "workspace:*",
"stream-mock": "^2.0.5",
"type-fest": "^4.26.1"
"type-fest": "^4.27.0"
}
}
2 changes: 1 addition & 1 deletion pkg/svs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@ndn/util": "workspace:*",
"streaming-iterables": "^8.0.1",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"type-fest": "^4.27.0",
"typescript-event-target": "^1.1.1",
"wait-your-turn": "^1.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/tlv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"@ndn/util": "workspace:*",
"mnemonist": "^0.39.8",
"tslib": "^2.8.1",
"type-fest": "^4.26.1"
"type-fest": "^4.27.0"
}
}
2 changes: 1 addition & 1 deletion pkg/trust-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"mnemonist": "^0.39.8",
"obliterator": "^2.0.4",
"tslib": "^2.8.1",
"type-fest": "^4.26.1"
"type-fest": "^4.27.0"
},
"devDependencies": {
"@ndn/l3face": "workspace:^",
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"streaming-iterables": "^8.0.1",
"tiny-invariant": "^1.3.3",
"tslib": "^2.8.1",
"type-fest": "^4.26.1",
"type-fest": "^4.27.0",
"wait-your-turn": "^1.0.1"
},
"devDependencies": {
Expand Down

0 comments on commit 08ad6b3

Please sign in to comment.