@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@produck/agent-toolkit",
3
- "version": "0.8.2",
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": "d33ff4a5b28440659dc830bd8f94d3b8b04eb796"
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
+ ]);
@@ -135,3 +135,6 @@ dist
135
135
  # Specific ignored / generated.
136
136
  *.ign*
137
137
  *.gen*
138
+
139
+ # @produck/agent-toolkit
140
+ publish-assets/
@@ -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.5",
61
+ "version": "0.3.6",
27
62
  "policy": "pinned",
28
63
  "allowLatest": false
29
64
  }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "./node_modules/lerna/schemas/lerna-schema.json",
3
+ "command": {
4
+ "version": {
5
+ "commitHooks": false
6
+ },
7
+ "publish": {
8
+ "ignoreScripts": false,
9
+ "message": "[PUBLISH]"
10
+ }
11
+ },
12
+ "useNx": false,
13
+ "version": "independent"
14
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "semi": true,
3
+ "singleQuote": true,
4
+ "tabWidth": 2,
5
+ "useTabs": false,
6
+ "trailingComma": "all",
7
+ "bracketSpacing": true,
8
+ "arrowParens": "always",
9
+ "printWidth": 80,
10
+ "endOfLine": "lf"
11
+ }