depcurfew 1.2.0 → 1.3.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 +276 -54
- package/dist/cli.js +20 -3
- package/dist/index.d.ts +1047 -157
- package/dist/index.js +3 -1
- package/dist/io-eBMDYKV0.js +52 -0
- package/dist/{run-BBZUJJq-.js → run-DYkP4HLQ.js} +16492 -2689
- package/package.json +2 -2
- package/schema.json +30 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "depcurfew",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "One supply-chain security policy for npm, pnpm, Yarn, Bun, Deno, uv, pip, Poetry, PDM, Pipenv, Renovate and Dependabot, plus a doctor that finds config that silently does nothing.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "depcurfew",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"schema.json"
|
|
30
30
|
],
|
|
31
31
|
"engines": {
|
|
32
|
-
"node": ">=
|
|
32
|
+
"node": ">=18.3.0"
|
|
33
33
|
},
|
|
34
34
|
"packageManager": "npm@11.19.1",
|
|
35
35
|
"scripts": {
|
package/schema.json
CHANGED
|
@@ -167,6 +167,36 @@
|
|
|
167
167
|
}
|
|
168
168
|
],
|
|
169
169
|
"default": "auto"
|
|
170
|
+
},
|
|
171
|
+
"projects": {
|
|
172
|
+
"description": "Directories of independent projects in this repository, each with its own manifest and lockfile (e.g. frontend and backend). depcurfew configures each one with this policy as a project of its own, and configures Renovate and Dependabot once, from the repository root, for all of them. The repository root is always configured as well. A project must not be inside another one, must not be a workspace package of the root and must not have a depcurfew.json of its own.",
|
|
173
|
+
"type": "array",
|
|
174
|
+
"items": {
|
|
175
|
+
"description": "A directory relative to the repository root, with / between directories, e.g. \"frontend\" or \"services/api\". No patterns, no \"..\", no / at either end.",
|
|
176
|
+
"type": "string",
|
|
177
|
+
"pattern": "^(?!\\.\\.?(?:/|$))(?!.*/\\.\\.?(?:/|$))(?!(?:.*/)?(?:node_modules|\\.git)(?:/|$))[^/\\\\:*?\"<>|\\u0000-\\u001f\\u007f]+(?:/[^/\\\\:*?\"<>|\\u0000-\\u001f\\u007f]+)*$",
|
|
178
|
+
"examples": [
|
|
179
|
+
"frontend",
|
|
180
|
+
"services/api"
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
"uniqueItems": true,
|
|
184
|
+
"default": []
|
|
185
|
+
},
|
|
186
|
+
"doctor": {
|
|
187
|
+
"description": "How depcurfew doctor and the GitHub Action treat findings. Without this section only errors fail, as before; depcurfew init writes \"failOn\": \"warning\".",
|
|
188
|
+
"type": "object",
|
|
189
|
+
"properties": {
|
|
190
|
+
"failOn": {
|
|
191
|
+
"description": "Which findings make depcurfew doctor exit with 1 and fail the GitHub Action: \"error\" (only errors, also when left out) or \"warning\" (warnings too). Notes never fail. doctor --fail-on and the input fail-on of the Action override it.",
|
|
192
|
+
"type": "string",
|
|
193
|
+
"enum": [
|
|
194
|
+
"error",
|
|
195
|
+
"warning"
|
|
196
|
+
]
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"additionalProperties": false
|
|
170
200
|
}
|
|
171
201
|
},
|
|
172
202
|
"required": [
|