Skip to content

Commit f6ddfc4

Browse files
WIP
1 parent 0607b12 commit f6ddfc4

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.github/workflows/autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Tools
2525
uses: ./.github/setup
2626
- name: Fix formatting
27-
run: pnpm run prettier:write
27+
run: pnpm run format
2828
- name: Apply fixes
2929
uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
3030
with:

docs/ci-cd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The TanStack projects use Nx to enable rapid execution of our tests and builds.
2121
### Config Files
2222

2323
- `./nx.json`: Main config file, which defines task dependencies, inputs, and outputs
24-
- `./package.json`: Need to manually specify root-level scripts (e.g. `test:format`)
24+
- `./package.json`: Need to manually specify root-level scripts (e.g. `test:eslint`)
2525
- `./**/package.json`: Package-level scripts (e.g. `build`) are automatically detected
2626

2727
### Nx Agents

docs/publish.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,10 @@ publish({
4242
> ```
4343
>
4444
> in your `package.json` file and use `import` instead of `require`.
45+
46+
47+
## Trusted Publishing
48+
49+
- [setup-npm-trusted-publish](https://github.com/azu/setup-npm-trusted-publish)
50+
- [open-packages-on-npm](https://github.com/antfu/open-packages-on-npm)
51+
- [sxzz's userscript](https://github.com/sxzz/userscripts/blob/main/src/npm-trusted-publisher.md)

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,15 @@
1515
"test:build": "nx affected --target=test:build",
1616
"test:types": "nx affected --target=test:types",
1717
"test:eslint": "nx affected --target=test:eslint",
18-
"test:format": "pnpm run prettier --check",
1918
"test:sherif": "sherif",
2019
"test:docs": "node scripts/verify-links.ts",
2120
"build": "nx affected --target=build",
2221
"build:all": "nx run-many --target=build",
2322
"watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
2423
"dev": "pnpm run watch",
25-
"prettier": "prettier --experimental-cli --ignore-unknown '**/*'",
26-
"prettier:write": "pnpm run prettier --write",
24+
"format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
2725
"changeset": "changeset",
28-
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm prettier:write",
26+
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
2927
"changeset:publish": "changeset publish"
3028
},
3129
"nx": {

0 commit comments

Comments
 (0)