Skip to content

Commit d22b037

Browse files
authored
fix(repo): fix publish scripts use of pnpm (nrwl#16566)
1 parent 1ce2720 commit d22b037

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"forwardPorts": [4211],
1414

1515
// Use 'postCreateCommand' to run commands after the container is created.
16-
"postCreateCommand": "yarn install",
16+
"postCreateCommand": "pnpm install",
1717
"customizations": {
1818
"vscode": {
1919
"extensions": ["nrwl.angular-console"]

.github/workflows/publish.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
build: |
1818
pnpm nx -- run-many --target=build-native -- --target=x86_64-apple-darwin
1919
- host: windows-latest
20-
build: pnpm nx -- run-many --target=build-native -- --target=x86_64-pc-windows-msvc
20+
build: pnpm nx run-many --target=build-native -- --target=x86_64-pc-windows-msvc
2121
target: x86_64-pc-windows-msvc
2222
# Windows 32bit (not needed)
2323
# - host: windows-latest
@@ -30,7 +30,7 @@ jobs:
3030
build: |-
3131
set -e &&
3232
pnpm --version &&
33-
pnpm nx -- run-many --target=build-native -- --target=x86_64-unknown-linux-gnu
33+
pnpm nx run-many --target=build-native -- --target=x86_64-unknown-linux-gnu
3434
- host: ubuntu-latest
3535
target: x86_64-unknown-linux-musl
3636
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
@@ -43,40 +43,40 @@ jobs:
4343
export CXX=$(xcrun -f clang++);
4444
SYSROOT=$(xcrun --sdk macosx --show-sdk-path);
4545
export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT";
46-
pnpm nx -- run-many --target=build-native -- --target=aarch64-apple-darwin
46+
pnpm nx run-many --target=build-native -- --target=aarch64-apple-darwin
4747
- host: ubuntu-latest
4848
target: aarch64-unknown-linux-gnu
4949
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
5050
build: |-
5151
set -e &&
5252
pnpm --version &&
53-
pnpm nx -- run-many --target=build-native -- --target=aarch64-unknown-linux-gnu
53+
pnpm nx run-many --target=build-native -- --target=aarch64-unknown-linux-gnu
5454
- host: ubuntu-latest
5555
target: armv7-unknown-linux-gnueabihf
5656
setup: |
5757
sudo apt-get update
5858
sudo apt-get install gcc-arm-linux-gnueabihf -y
5959
build: |
60-
pnpm nx -- run-many --target=build-native -- --target=armv7-unknown-linux-gnueabihf
60+
pnpm nx run-many --target=build-native -- --target=armv7-unknown-linux-gnueabihf
6161
# Android (not needed)
6262
# - host: ubuntu-latest
6363
# target: aarch64-linux-android
6464
# build: |
65-
# pnpm nx -- run-many --target=build-native -- --target=aarch64-linux-android
65+
# pnpm nx run-many --target=build-native -- --target=aarch64-linux-android
6666
# - host: ubuntu-latest
6767
# target: armv7-linux-androideabi
6868
# build: |
69-
# pnpm nx -- run-many --target=build-native -- --target=armv7-linux-androideabi
69+
# pnpm nx run-many --target=build-native -- --target=armv7-linux-androideabi
7070
- host: ubuntu-latest
7171
target: aarch64-unknown-linux-musl
7272
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
7373
build: |-
7474
set -e &&
7575
rustup target add aarch64-unknown-linux-musl &&
76-
pnpm nx -- run-many --target=build-native -- --target=aarch64-unknown-linux-musl
76+
pnpm nx run-many --target=build-native -- --target=aarch64-unknown-linux-musl
7777
- host: windows-latest
7878
target: aarch64-pc-windows-msvc
79-
build: pnpm nx -- run-many --target=build-native -- --target=aarch64-pc-windows-msvc
79+
build: pnpm nx run-many --target=build-native -- --target=aarch64-pc-windows-msvc
8080
name: stable - ${{ matrix.settings.target }} - node@18
8181
runs-on: ${{ matrix.settings.host }}
8282
steps:

.husky/pre-push

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env sh
22

3-
yarn check-lock-files &&
4-
yarn check-commit &&
5-
yarn documentation &&
6-
yarn pretty-quick --check
3+
pnpm check-lock-files &&
4+
pnpm check-commit &&
5+
pnpm documentation &&
6+
pnpm pretty-quick --check

CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/scripts/**/* @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
66
/tools/**/* @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
77
package.json @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
8-
yarn.lock @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
8+
pnpm-lock.yaml @FrozenPandaz @vsavkin @AgentEnder @jaysoo @JamesHenry
99

1010
# Docs Site + Graph
1111
/docs @bcabanes @isaacplmann @juristr

0 commit comments

Comments
 (0)