@codyswann/lisa 1.52.5 → 1.52.6
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/all/deletions.json +6 -0
- package/dist/configs/eslint/slow.d.ts +3 -72
- package/dist/configs/eslint/slow.d.ts.map +1 -1
- package/dist/configs/eslint/slow.js +2 -1
- package/dist/configs/eslint/slow.js.map +1 -1
- package/package.json +37 -33
- package/scripts/install-claude-plugins.sh +5 -0
- package/typescript/create-only/.github/workflows/auto-update-pr-branches.yml +4 -0
- package/typescript/deletions.json +10 -1
- package/typescript/package-lisa/package.lisa.json +4 -3
package/all/deletions.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import sonarjsPlugin from "eslint-plugin-sonarjs";
|
|
2
1
|
/**
|
|
3
2
|
* Creates the slow ESLint configuration for rules disabled in the main config.
|
|
4
3
|
*
|
|
@@ -8,75 +7,7 @@ import sonarjsPlugin from "eslint-plugin-sonarjs";
|
|
|
8
7
|
*/
|
|
9
8
|
export declare function getSlowConfig({ ignorePatterns, }?: {
|
|
10
9
|
ignorePatterns?: readonly string[];
|
|
11
|
-
}): (
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
linterOptions?: never;
|
|
15
|
-
languageOptions?: never;
|
|
16
|
-
plugins?: never;
|
|
17
|
-
settings?: never;
|
|
18
|
-
rules?: never;
|
|
19
|
-
} | {
|
|
20
|
-
files: string[];
|
|
21
|
-
linterOptions: {
|
|
22
|
-
noInlineConfig: boolean;
|
|
23
|
-
};
|
|
24
|
-
languageOptions: {
|
|
25
|
-
parser: import("node_modules/typescript-eslint/dist/compatibility-types.js").CompatibleParser;
|
|
26
|
-
parserOptions: {
|
|
27
|
-
project: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
plugins: {
|
|
31
|
-
sonarjs: typeof sonarjsPlugin;
|
|
32
|
-
};
|
|
33
|
-
settings: {
|
|
34
|
-
"import/resolver": {
|
|
35
|
-
typescript: boolean;
|
|
36
|
-
};
|
|
37
|
-
"import/ignore": string[];
|
|
38
|
-
};
|
|
39
|
-
rules: {
|
|
40
|
-
"import/namespace": string;
|
|
41
|
-
"import/no-cycle": string;
|
|
42
|
-
"sonarjs/deprecation": string;
|
|
43
|
-
};
|
|
44
|
-
ignores?: never;
|
|
45
|
-
})[];
|
|
46
|
-
declare const _default: ({
|
|
47
|
-
ignores: string[];
|
|
48
|
-
files?: never;
|
|
49
|
-
linterOptions?: never;
|
|
50
|
-
languageOptions?: never;
|
|
51
|
-
plugins?: never;
|
|
52
|
-
settings?: never;
|
|
53
|
-
rules?: never;
|
|
54
|
-
} | {
|
|
55
|
-
files: string[];
|
|
56
|
-
linterOptions: {
|
|
57
|
-
noInlineConfig: boolean;
|
|
58
|
-
};
|
|
59
|
-
languageOptions: {
|
|
60
|
-
parser: import("node_modules/typescript-eslint/dist/compatibility-types.js").CompatibleParser;
|
|
61
|
-
parserOptions: {
|
|
62
|
-
project: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
plugins: {
|
|
66
|
-
sonarjs: typeof sonarjsPlugin;
|
|
67
|
-
};
|
|
68
|
-
settings: {
|
|
69
|
-
"import/resolver": {
|
|
70
|
-
typescript: boolean;
|
|
71
|
-
};
|
|
72
|
-
"import/ignore": string[];
|
|
73
|
-
};
|
|
74
|
-
rules: {
|
|
75
|
-
"import/namespace": string;
|
|
76
|
-
"import/no-cycle": string;
|
|
77
|
-
"sonarjs/deprecation": string;
|
|
78
|
-
};
|
|
79
|
-
ignores?: never;
|
|
80
|
-
})[];
|
|
81
|
-
export default _default;
|
|
10
|
+
}): import("eslint").Linter.Config[];
|
|
11
|
+
declare const defaultConfig: import("eslint").Linter.Config[];
|
|
12
|
+
export default defaultConfig;
|
|
82
13
|
//# sourceMappingURL=slow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slow.d.ts","sourceRoot":"","sources":["../../../src/configs/eslint/slow.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"slow.d.ts","sourceRoot":"","sources":["../../../src/configs/eslint/slow.ts"],"names":[],"mappings":"AAqBA;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAC5B,cAAmB,GACpB,GAAE;IACD,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC/B,GAAG,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CA+DxC;AAED,QAAA,MAAM,aAAa,EAAE,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAoB,CAAC;AACxE,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slow.js","sourceRoot":"","sources":["../../../src/configs/eslint/slow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAChD,OAAO,aAAa,MAAM,uBAAuB,CAAC;AAClD,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AAEzC,wDAAwD;AACxD,MAAM,sBAAsB,GAAG,YAAY,CAAC,WAAW,CAAC,UAAU,CAAC;AAEnE;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,EAC5B,cAAc,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"slow.js","sourceRoot":"","sources":["../../../src/configs/eslint/slow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAChD,OAAO,aAAa,MAAM,uBAAuB,CAAC;AAClD,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AAEzC,wDAAwD;AACxD,MAAM,sBAAsB,GAAG,YAAY,CAAC,WAAW,CAAC,UAAU,CAAC;AAEnE;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,EAC5B,cAAc,GAAG,EAAE,MAGjB,EAAE;IACJ,OAAO;QACL,gEAAgE;QAChE,iEAAiE;QACjE,yDAAyD;QACzD,mFA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|
4
|
+
"pretest": "[ -d dist/configs ] || bun run build",
|
|
5
|
+
"test": "NODE_ENV=test jest --passWithNoTests",
|
|
6
|
+
"test:unit": "NODE_ENV=test jest --testPathIgnorePatterns=\"\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$\" --passWithNoTests",
|
|
7
|
+
"test:integration": "NODE_ENV=test jest --testPathPatterns=\"\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$\" --passWithNoTests",
|
|
8
|
+
"test:cov": "NODE_ENV=test jest --coverage",
|
|
9
|
+
"lint": "eslint . --quiet",
|
|
10
|
+
"lint:fix": "eslint . --fix",
|
|
11
|
+
"lint:slow": "eslint . --config eslint.slow.config.ts --quiet",
|
|
12
|
+
"typecheck": "tsc --noEmit",
|
|
13
|
+
"format:check": "prettier --check .",
|
|
14
|
+
"format": "prettier --check . --write",
|
|
15
|
+
"knip": "knip",
|
|
16
|
+
"knip:fix": "knip --fix",
|
|
17
|
+
"sg:scan": "ast-grep scan",
|
|
18
|
+
"build:plugins": "bash scripts/build-plugins.sh",
|
|
19
|
+
"prepare": "node -e \"if (process.env.INIT_CWD && process.env.INIT_CWD.includes('.serverless')) { process.exit(0); }\" && husky install || true",
|
|
20
|
+
"start": "node dist/index.js",
|
|
21
|
+
"dev": "tsx src/index.ts",
|
|
22
|
+
"test:watch": "jest --watch",
|
|
23
|
+
"update-node-version": "tsx scripts/update-node-version.ts",
|
|
24
|
+
"cleanup:amplify-branches": "bash scripts/cleanup-amplify-branches.sh",
|
|
25
|
+
"cleanup:github-branches": "bash scripts/cleanup-github-branches.sh",
|
|
26
|
+
"github:status": "bash scripts/github-status-check.sh",
|
|
27
|
+
"setup:deploy-key": "bash scripts/setup-deploy-key.sh",
|
|
28
|
+
"lisa:update:local": "bash scripts/lisa-update-local.sh",
|
|
29
|
+
"lisa:commit-and-pr:local": "bash scripts/lisa-commit-and-pr-local.sh",
|
|
30
|
+
"prepublishOnly": "$npm_execpath run build",
|
|
31
|
+
"postinstall": "bash ./scripts/install-claude-plugins.sh || true; [ -d dist/configs ] || tsc || true"
|
|
32
|
+
},
|
|
2
33
|
"engines": {
|
|
3
34
|
"npm": "please-use-bun",
|
|
4
35
|
"yarn": "please-use-bun",
|
|
@@ -29,39 +60,9 @@
|
|
|
29
60
|
],
|
|
30
61
|
"trustedDependencies": [
|
|
31
62
|
"@ast-grep/cli",
|
|
32
|
-
"@sentry/cli"
|
|
63
|
+
"@sentry/cli",
|
|
64
|
+
"@codyswann/lisa"
|
|
33
65
|
],
|
|
34
|
-
"scripts": {
|
|
35
|
-
"test": "NODE_ENV=test jest --passWithNoTests",
|
|
36
|
-
"test:unit": "NODE_ENV=test jest --testPathIgnorePatterns=\"\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$\" --passWithNoTests",
|
|
37
|
-
"test:integration": "NODE_ENV=test jest --testPathPatterns=\"\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$\" --passWithNoTests",
|
|
38
|
-
"test:cov": "NODE_ENV=test jest --coverage",
|
|
39
|
-
"lint": "eslint . --quiet",
|
|
40
|
-
"lint:fix": "eslint . --fix",
|
|
41
|
-
"lint:slow": "eslint . --config eslint.slow.config.ts --quiet",
|
|
42
|
-
"typecheck": "tsc --noEmit",
|
|
43
|
-
"format:check": "prettier --check .",
|
|
44
|
-
"format": "prettier --check . --write",
|
|
45
|
-
"knip": "knip",
|
|
46
|
-
"knip:fix": "knip --fix",
|
|
47
|
-
"sg:scan": "ast-grep scan",
|
|
48
|
-
"build": "tsc && bun run build:plugins",
|
|
49
|
-
"build:plugins": "bash scripts/build-plugins.sh",
|
|
50
|
-
"prepare": "$npm_execpath run build || husky install || true",
|
|
51
|
-
"lisa:update": "npx @codyswann/lisa@latest .",
|
|
52
|
-
"start": "node dist/index.js",
|
|
53
|
-
"dev": "tsx src/index.ts",
|
|
54
|
-
"test:watch": "jest --watch",
|
|
55
|
-
"update-node-version": "tsx scripts/update-node-version.ts",
|
|
56
|
-
"cleanup:amplify-branches": "bash scripts/cleanup-amplify-branches.sh",
|
|
57
|
-
"cleanup:github-branches": "bash scripts/cleanup-github-branches.sh",
|
|
58
|
-
"github:status": "bash scripts/github-status-check.sh",
|
|
59
|
-
"setup:deploy-key": "bash scripts/setup-deploy-key.sh",
|
|
60
|
-
"lisa:update:local": "bash scripts/lisa-update-local.sh",
|
|
61
|
-
"lisa:commit-and-pr:local": "bash scripts/lisa-commit-and-pr-local.sh",
|
|
62
|
-
"prepublishOnly": "$npm_execpath run build",
|
|
63
|
-
"postinstall": "bash ./scripts/install-claude-plugins.sh || true"
|
|
64
|
-
},
|
|
65
66
|
"resolutions": {
|
|
66
67
|
"@isaacs/brace-expansion": "^5.0.1",
|
|
67
68
|
"axios": ">=1.13.5"
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
"axios": ">=1.13.5"
|
|
72
73
|
},
|
|
73
74
|
"name": "@codyswann/lisa",
|
|
74
|
-
"version": "1.52.
|
|
75
|
+
"version": "1.52.6",
|
|
75
76
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
76
77
|
"main": "dist/index.js",
|
|
77
78
|
"exports": {
|
|
@@ -169,5 +170,8 @@
|
|
|
169
170
|
"typescript": "~5.7.0",
|
|
170
171
|
"typescript-eslint": "^8.0.0"
|
|
171
172
|
},
|
|
173
|
+
"devDependencies": {
|
|
174
|
+
"@codyswann/lisa": "^1.49.0"
|
|
175
|
+
},
|
|
172
176
|
"type": "module"
|
|
173
177
|
}
|
|
@@ -9,6 +9,11 @@ if [ -z "$PROJECT_ROOT" ]; then exit 0; fi
|
|
|
9
9
|
LISA_DIR="$PROJECT_ROOT/node_modules/@codyswann/lisa"
|
|
10
10
|
if [ ! -d "$LISA_DIR" ]; then exit 0; fi
|
|
11
11
|
|
|
12
|
+
# Skip running Lisa on itself — the Lisa repo IS the template source.
|
|
13
|
+
# Self-running causes chicken-and-egg issues (npm package deletes source files).
|
|
14
|
+
PACKAGE_NAME=$(node -e "console.log(require('$PROJECT_ROOT/package.json').name || '')" 2>/dev/null || true)
|
|
15
|
+
if [ "$PACKAGE_NAME" = "@codyswann/lisa" ]; then exit 0; fi
|
|
16
|
+
|
|
12
17
|
cd "$PROJECT_ROOT"
|
|
13
18
|
|
|
14
19
|
# Apply Lisa templates non-interactively.
|
|
@@ -35,11 +35,20 @@
|
|
|
35
35
|
".github/workflows/reusable-claude-nightly-test-improvement.yml"
|
|
36
36
|
],
|
|
37
37
|
"keep": [
|
|
38
|
+
"eslint-plugin-code-organization",
|
|
38
39
|
".github/workflows/create-issue-on-failure.yml",
|
|
39
40
|
".github/workflows/create-github-issue-on-failure.yml",
|
|
40
41
|
".github/workflows/create-jira-issue-on-failure.yml",
|
|
41
42
|
".github/workflows/create-sentry-issue-on-failure.yml",
|
|
42
43
|
".github/workflows/quality.yml",
|
|
43
|
-
".github/workflows/release.yml"
|
|
44
|
+
".github/workflows/release.yml",
|
|
45
|
+
".github/workflows/reusable-auto-update-pr-branches.yml",
|
|
46
|
+
".github/workflows/reusable-claude.yml",
|
|
47
|
+
".github/workflows/reusable-claude-ci-auto-fix.yml",
|
|
48
|
+
".github/workflows/reusable-claude-code-review-response.yml",
|
|
49
|
+
".github/workflows/reusable-claude-deploy-auto-fix.yml",
|
|
50
|
+
".github/workflows/reusable-claude-nightly-code-complexity.yml",
|
|
51
|
+
".github/workflows/reusable-claude-nightly-test-coverage.yml",
|
|
52
|
+
".github/workflows/reusable-claude-nightly-test-improvement.yml"
|
|
44
53
|
]
|
|
45
54
|
}
|
|
@@ -14,9 +14,7 @@
|
|
|
14
14
|
"knip": "knip",
|
|
15
15
|
"knip:fix": "knip --fix",
|
|
16
16
|
"sg:scan": "ast-grep scan",
|
|
17
|
-
"
|
|
18
|
-
"prepare": "node -e \"if (process.env.INIT_CWD && process.env.INIT_CWD.includes('.serverless')) { process.exit(0); }\" && husky install || true",
|
|
19
|
-
"lisa:update": "lisa ."
|
|
17
|
+
"prepare": "node -e \"if (process.env.INIT_CWD && process.env.INIT_CWD.includes('.serverless')) { process.exit(0); }\" && husky install || true"
|
|
20
18
|
},
|
|
21
19
|
"devDependencies": {
|
|
22
20
|
"@codyswann/lisa": "^1.49.0"
|
|
@@ -31,6 +29,9 @@
|
|
|
31
29
|
}
|
|
32
30
|
},
|
|
33
31
|
"defaults": {
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "tsc"
|
|
34
|
+
},
|
|
34
35
|
"engines": {
|
|
35
36
|
"npm": "please-use-bun",
|
|
36
37
|
"yarn": "please-use-bun",
|