Skip to content

Commit 9512fe0

Browse files
Merge test:build and test:attw
1 parent eaed915 commit 9512fe0

File tree

24 files changed

+23
-52
lines changed

24 files changed

+23
-52
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ jobs:
4242
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
4343
pnpm run cipublish
4444
env:
45-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
4645
GH_TOKEN: ${{ secrets.GH_TOKEN }}
4746
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
48-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4947
TAG: ${{ inputs.tag }}
5048
- name: Upload coverage to Codecov
5149
uses: codecov/codecov-action@v4

nx.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@
4646
"inputs": ["default", "^public"],
4747
"cache": true
4848
},
49-
"test:attw": {
50-
"dependsOn": ["build"],
51-
"inputs": ["default", "^public"],
52-
"cache": true
53-
},
5449
"build": {
5550
"dependsOn": ["^build"],
5651
"inputs": ["default", "^public"],

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@
1212
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...')} else {process.exit(1)}\" || npx -y only-allow pnpm",
1313
"prepare": "husky",
1414
"test": "pnpm run test:ci",
15-
"test:pr": "nx affected --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build,test:attw",
16-
"test:ci": "nx run-many --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build,test:attw",
15+
"test:pr": "nx affected --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
16+
"test:ci": "nx run-many --targets=test:format,test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
1717
"test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
1818
"test:format": "pnpm run prettier --check",
1919
"test:sherif": "sherif -p \"./integrations/*\" -p \"./examples/*\"",
2020
"test:lib": "nx affected --target=test:lib --exclude=examples/**",
2121
"test:lib:dev": "pnpm run test:lib && nx watch --all -- pnpm run test:lib",
2222
"test:build": "nx affected --target=test:build --exclude=examples/**",
23-
"test:attw": "nx affected --target=test:attw --exclude=examples/**",
2423
"test:types": "nx affected --target=test:types --exclude=examples/**",
2524
"test:knip": "knip",
2625
"build": "nx affected --target=build --exclude=examples/**",

packages/angular-query-devtools-experimental/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
"test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js",
2727
"test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js",
2828
"test:types:ts53": "tsc",
29-
"test:build": "publint --strict",
30-
"test:attw": "attw --pack",
29+
"test:build": "publint --strict && attw --pack",
3130
"build": "ng-packagr -p ng-package.json -c tsconfig.build.json && rimraf ./build/package.json"
3231
},
3332
"dependencies": {

packages/angular-query-experimental/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
"test:types:ts53": "tsc",
4545
"test:lib": "vitest",
4646
"test:lib:dev": "pnpm run test:lib --watch",
47-
"test:build": "publint --strict",
48-
"test:attw": "attw --pack",
47+
"test:build": "publint --strict && attw --pack",
4948
"build": "ng-packagr -p ng-package.json -c tsconfig.build.json && rimraf ./build/package.json && api-extractor run --local"
5049
},
5150
"dependencies": {

packages/eslint-plugin-query/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
"test:types:ts53": "tsc",
4242
"test:lib": "vitest",
4343
"test:lib:dev": "pnpm run test:lib --watch",
44-
"test:build": "publint --strict",
45-
"test:attw": "attw --pack",
44+
"test:build": "publint --strict && attw --pack",
4645
"build": "vite build"
4746
},
4847
"files": [

packages/query-async-storage-persister/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646
"test:types:ts53": "tsc",
4747
"test:lib": "vitest",
4848
"test:lib:dev": "pnpm run test:lib --watch",
49-
"test:build": "publint --strict",
50-
"test:attw": "attw --pack",
49+
"test:build": "publint --strict && attw --pack",
5150
"build": "tsup"
5251
},
5352
"dependencies": {

packages/query-broadcast-client-experimental/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
"test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js",
4545
"test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js",
4646
"test:types:ts53": "tsc",
47-
"test:build": "publint --strict",
48-
"test:attw": "attw --pack",
47+
"test:build": "publint --strict && attw --pack",
4948
"build": "tsup"
5049
},
5150
"dependencies": {

packages/query-core/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
4949
"test:types:ts53": "tsc",
5050
"test:lib": "vitest",
5151
"test:lib:dev": "pnpm run test:lib --watch",
52-
"test:build": "publint --strict",
53-
"test:attw": "attw --pack",
52+
"test:build": "publint --strict && attw --pack",
5453
"build": "tsup"
5554
}
5655
}

packages/query-devtools/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
"test:types:ts53": "tsc",
4444
"test:lib": "vitest",
4545
"test:lib:dev": "pnpm run test:lib --watch",
46-
"test:build": "publint --strict",
47-
"test:attw": "attw --pack",
46+
"test:build": "publint --strict && attw --pack",
4847
"build": "tsup",
4948
"build:dev": "tsup --watch"
5049
},

0 commit comments

Comments
 (0)