@vwala/tooling-config 0.0.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -48
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -99,51 +99,3 @@ Only operational knobs are exposed as action inputs — `inputs` (paths), `perso
|
|
|
99
99
|
|
|
100
100
|
`advanced-security` is **off** by default. Uploading to the security tab needs GitHub Advanced Security, which private repositories only have under a licence; with it off you get inline PR annotations instead, which need no entitlement. The upstream action defaults this to `true` and refuses to run with both it and `annotations` enabled, so the wrapper derives `annotations` from it.
|
|
101
101
|
|
|
102
|
-
<!-- npm-publish:cut -->
|
|
103
|
-
<!--
|
|
104
|
-
Everything below this marker is internal and is stripped from the README that
|
|
105
|
-
ships to npm (see the "Trim internal sections" step in release.yml). npm force-
|
|
106
|
-
includes README.md in every tarball — `files` negation and .npmignore are both
|
|
107
|
-
ignored for it — so the only way to keep a section off the public registry is
|
|
108
|
-
to not have it in the file at pack time. Consumer-facing docs go ABOVE.
|
|
109
|
-
-->
|
|
110
|
-
|
|
111
|
-
---
|
|
112
|
-
|
|
113
|
-
## Releasing
|
|
114
|
-
|
|
115
|
-
The npm version is derived from the git tag — `package.json` stays at `0.0.0` and is never bumped by hand.
|
|
116
|
-
|
|
117
|
-
```bash
|
|
118
|
-
git tag v1.2.3
|
|
119
|
-
git push origin v1.2.3
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
One tag covers everything: it publishes the npm package **and** is the ref consumers pin the zizmor action to. A zizmor-only change still cuts an npm version; that is the price of one version line, and it is cheaper than per-tool tags.
|
|
123
|
-
|
|
124
|
-
`.github/workflows/release.yml` validates the tag is semver, skips if that version is already on npm, and publishes. Publishing is token-free via [npm trusted publishing](https://docs.npmjs.com/trusted-publishers) (OIDC), so there is no `NPM_TOKEN` secret to rotate. Provenance is not attached because this repository is private — expected, not a misconfiguration.
|
|
125
|
-
|
|
126
|
-
<details>
|
|
127
|
-
<summary>Why <code>0.0.1</code> was published by hand</summary>
|
|
128
|
-
|
|
129
|
-
npm only lets you configure a trusted publisher on a package that already exists, so the first version had to be published manually before OIDC could be set up. The trusted publisher is registered on npmjs.com against org `vwala-be`, repo `tooling-config`, workflow `release.yml`.
|
|
130
|
-
|
|
131
|
-
</details>
|
|
132
|
-
|
|
133
|
-
---
|
|
134
|
-
|
|
135
|
-
## Working on this repo
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
pnpm install
|
|
139
|
-
pnpm isEverythingOk # biome ci . && vitest run
|
|
140
|
-
pnpm format # biome check --write .
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
This repo lints itself with the exact config it ships — there is no second copy to keep in sync. That works because of the `"@vwala/tooling-config": "link:."` devDependency, which makes pnpm symlink `node_modules/@vwala/tooling-config` back to the repo root, so the shipped `./node_modules/...` plugin paths resolve here too. **`pnpm install` is therefore required before linting**, including in CI.
|
|
144
|
-
|
|
145
|
-
The shipped Biome config is named `biome.config.json`, not `biome.json`, on purpose: Biome auto-discovers `biome.json`, and a second one inside the repo makes it fail with *"Found a nested root configuration, but there's already a root configuration."*
|
|
146
|
-
|
|
147
|
-
CI audits its own workflows too, as a step in `ci.yml` that uses the local `./src/zizmor` path — so a policy change is exercised in the same PR that makes it, without waiting for a tag.
|
|
148
|
-
|
|
149
|
-
`.agents/` and `.claude/` are force-ignored in the Biome config (`!!` prefix) so the vendored skills are never scanned, and `skills-lock.json` is exempt from the formatter so Biome does not fight the skills installer.
|