Skip to content

Commit a2cd60c

Browse files
committed
fixup: exclude root from all scripts
Signed-off-by: Todd Baert <[email protected]>
1 parent 374d301 commit a2cd60c

File tree

3 files changed

+25
-10
lines changed

3 files changed

+25
-10
lines changed

Diff for: .github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
- run: git branch --track main origin/main || true
3232

3333
- run: if ! npx nx format:check ; then echo "Format check failed. Please run 'npx nx format:write'."; fi
34-
- run: npx nx affected --target=lint --parallel=3
35-
- run: npx nx affected --target=test --parallel=3 --ci --code-coverage
36-
- run: npx nx affected --target=build --parallel=3
34+
- run: npx nx affected --target=lint --parallel=3 --exclude=js-sdk-contrib
35+
- run: npx nx affected --target=test --parallel=3 --ci --code-coverage --exclude=js-sdk-contrib
36+
- run: npx nx affected --target=build --parallel=3 --exclude=js-sdk-contrib
3737

3838
e2e:
3939
runs-on: ubuntu-latest

Diff for: package.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"scripts": {
66
"generate-hook": "nx generate open-feature hook",
77
"generate-provider": "nx generate open-feature provider",
8-
"test": "nx run-many --all --target=test --skip-nx-cache",
9-
"e2e": "nx run-many --all --target=e2e --skip-nx-cache --output-style=stream --parallel=false",
10-
"lint": "nx run-many --all --target=lint --skip-nx-cache",
11-
"lint:fix": "nx run-many --all --target=lint --skip-nx-cache --fix",
12-
"package": "npx nx run-many --all --target=package",
13-
"publish": "npx nx run-many --all --target=publish"
8+
"test": "nx run-many --all --target=test --skip-nx-cache --exclude=js-sdk-contrib",
9+
"e2e": "nx run-many --all --target=e2e --skip-nx-cache --output-style=stream --parallel=false --exclude=js-sdk-contrib",
10+
"lint": "nx run-many --all --target=lint --skip-nx-cache --exclude=js-sdk-contrib",
11+
"lint:fix": "nx run-many --all --target=lint --skip-nx-cache --fix --exclude=js-sdk-contrib",
12+
"package": "npx nx run-many --all --target=package --exclude=js-sdk-contrib",
13+
"publish": "npx nx run-many --all --target=publish --exclude=js-sdk-contrib"
1414
},
1515
"private": true,
1616
"dependencies": {
@@ -90,6 +90,7 @@
9090
"ts-jest": "29.2.5",
9191
"ts-node": "10.9.2",
9292
"typescript": "5.7.3",
93-
"undici": "^5.0.0"
93+
"undici": "^5.0.0",
94+
"verdaccio": "^5.0.4"
9495
}
9596
}

Diff for: project.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "js-sdk-contrib",
3+
"$schema": "node_modules/nx/schemas/project-schema.json",
4+
"targets": {
5+
"local-registry": {
6+
"executor": "@nx/js:verdaccio",
7+
"options": {
8+
"port": 4873,
9+
"config": ".verdaccio/config.yml",
10+
"storage": "tmp/local-registry/storage"
11+
}
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)