@produck/agent-toolkit 0.8.2 → 0.9.1
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 +22 -22
- package/bin/agent-toolkit.mjs +33 -8
- package/bin/build-publish-assets.mjs +132 -24
- package/bin/command/enforce-node-baseline/index.mjs +18 -5
- package/bin/command/preflight/index.mjs +20 -4
- package/bin/command/run-capture/index.mjs +7 -1
- package/bin/command/shared/workspace-validation.mjs +9 -3
- package/bin/command/sync-coverage/index.mjs +103 -48
- package/bin/command/sync-coverage/required-c8-config.json +15 -0
- package/bin/command/sync-editorconfig/index.mjs +2 -1
- package/bin/command/sync-format/index.mjs +92 -37
- package/bin/command/sync-git/index.mjs +97 -35
- package/bin/command/sync-install/index.mjs +10 -3
- package/bin/command/sync-instructions/index.mjs +35 -10
- package/bin/command/sync-lint/eslint.config.template.mjs +32 -0
- package/bin/command/sync-lint/index.mjs +119 -60
- package/bin/command/sync-publish/help.txt +4 -2
- package/bin/command/sync-publish/index.mjs +126 -35
- package/bin/command/validate-commit-msg/index.mjs +46 -25
- package/package.json +5 -3
- package/publish-assets/eslint.config.template.mjs +32 -0
- package/publish-assets/gitignore +3 -0
- package/publish-assets/instructions/produck/20-produck-commit.instructions.md +3 -3
- package/publish-assets/instructions/produck/stale.instructions.md +1 -0
- package/publish-assets/instructions/produck/tooling-version-baseline.json +36 -1
- package/publish-assets/lerna.json +14 -0
- package/publish-assets/prettierrc +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@produck/agent-toolkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Central CLI toolkit for organization AI execution workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"scripts": {
|
|
15
15
|
"prepack": "node ./bin/build-publish-assets.mjs",
|
|
16
16
|
"test": "node test/index.mjs",
|
|
17
|
-
"produck:coverage": "c8 --reporter=lcov --reporter=html --reporter=text-summary npm test"
|
|
17
|
+
"produck:coverage": "c8 --reporter=lcov --reporter=html --reporter=text-summary npm test",
|
|
18
|
+
"produck:lint": "eslint --fix . --max-warnings=0"
|
|
18
19
|
},
|
|
19
20
|
"files": [
|
|
20
21
|
"bin",
|
|
@@ -28,7 +29,8 @@
|
|
|
28
29
|
},
|
|
29
30
|
"license": "MIT",
|
|
30
31
|
"devDependencies": {
|
|
32
|
+
"@produck/eslint-rules": "^0.3.6",
|
|
31
33
|
"c8": "11.0.0"
|
|
32
34
|
},
|
|
33
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "053cbbf05ab8e6713cd6144766b9e734443c35c9"
|
|
34
36
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import js from '@eslint/js';
|
|
2
|
+
import globals from 'globals';
|
|
3
|
+
import tseslint from 'typescript-eslint';
|
|
4
|
+
import json from '@eslint/json';
|
|
5
|
+
import markdown from '@eslint/markdown';
|
|
6
|
+
import { defineConfig } from 'eslint/config';
|
|
7
|
+
import * as ProduckRule from '@produck/eslint-rules';
|
|
8
|
+
|
|
9
|
+
export default defineConfig([
|
|
10
|
+
{
|
|
11
|
+
files: ['**/*.{js,mjs,cjs,ts,mts,cts}'],
|
|
12
|
+
plugins: { js },
|
|
13
|
+
extends: ['js/recommended'],
|
|
14
|
+
languageOptions: { globals: { ...globals.browser, ...globals.node } },
|
|
15
|
+
},
|
|
16
|
+
tseslint.configs.recommended,
|
|
17
|
+
{
|
|
18
|
+
files: ['**/*.json'],
|
|
19
|
+
ignores: ['**/package-lock.json'],
|
|
20
|
+
plugins: { json },
|
|
21
|
+
language: 'json/json',
|
|
22
|
+
extends: ['json/recommended'],
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
files: ['**/*.md'],
|
|
26
|
+
plugins: { markdown },
|
|
27
|
+
language: 'markdown/gfm',
|
|
28
|
+
extends: ['markdown/recommended'],
|
|
29
|
+
},
|
|
30
|
+
ProduckRule.config,
|
|
31
|
+
ProduckRule.excludeGitIgnore(import.meta.url),
|
|
32
|
+
]);
|
package/publish-assets/gitignore
CHANGED
|
@@ -40,7 +40,7 @@ Monorepo format (required for multi-package repositories):
|
|
|
40
40
|
|
|
41
41
|
Example monorepo format:
|
|
42
42
|
|
|
43
|
-
```
|
|
43
|
+
```text
|
|
44
44
|
foo:
|
|
45
45
|
[FIX] race condition in auth handler
|
|
46
46
|
[ADD] <test>: cover edge case for concurrent login
|
|
@@ -121,14 +121,14 @@ integration test)`
|
|
|
121
121
|
|
|
122
122
|
Monorepo examples:
|
|
123
123
|
|
|
124
|
-
```
|
|
124
|
+
```text
|
|
125
125
|
foo:
|
|
126
126
|
[FIX] a
|
|
127
127
|
[FIX] b
|
|
128
128
|
[FIX] c
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
```
|
|
131
|
+
```text
|
|
132
132
|
core:
|
|
133
133
|
[ADD] <api>: new user authentication endpoint
|
|
134
134
|
[REFACTOR] <test>: restructure session management tests
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
user owned content
|
|
@@ -22,8 +22,43 @@
|
|
|
22
22
|
"policy": "pinned",
|
|
23
23
|
"allowLatest": false
|
|
24
24
|
},
|
|
25
|
+
"eslint": {
|
|
26
|
+
"version": "10.4.0",
|
|
27
|
+
"policy": "pinned",
|
|
28
|
+
"allowLatest": false
|
|
29
|
+
},
|
|
30
|
+
"@eslint/js": {
|
|
31
|
+
"version": "10.0.1",
|
|
32
|
+
"policy": "pinned",
|
|
33
|
+
"allowLatest": false
|
|
34
|
+
},
|
|
35
|
+
"@eslint/json": {
|
|
36
|
+
"version": "1.2.0",
|
|
37
|
+
"policy": "pinned",
|
|
38
|
+
"allowLatest": false
|
|
39
|
+
},
|
|
40
|
+
"@eslint/markdown": {
|
|
41
|
+
"version": "8.0.1",
|
|
42
|
+
"policy": "pinned",
|
|
43
|
+
"allowLatest": false
|
|
44
|
+
},
|
|
45
|
+
"@eslint/config-helpers": {
|
|
46
|
+
"version": "0.6.0",
|
|
47
|
+
"policy": "pinned",
|
|
48
|
+
"allowLatest": false
|
|
49
|
+
},
|
|
50
|
+
"typescript-eslint": {
|
|
51
|
+
"version": "8.59.4",
|
|
52
|
+
"policy": "pinned",
|
|
53
|
+
"allowLatest": false
|
|
54
|
+
},
|
|
55
|
+
"globals": {
|
|
56
|
+
"version": "17.6.0",
|
|
57
|
+
"policy": "pinned",
|
|
58
|
+
"allowLatest": false
|
|
59
|
+
},
|
|
25
60
|
"@produck/eslint-rules": {
|
|
26
|
-
"version": "0.3.
|
|
61
|
+
"version": "0.3.6",
|
|
27
62
|
"policy": "pinned",
|
|
28
63
|
"allowLatest": false
|
|
29
64
|
}
|