pasika 0.1.1 → 0.1.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/README.md +31 -25
- package/claude/hooks/.vulyk +3 -0
- package/claude/hooks/AGENTS.md +3 -0
- package/claude/hooks/claude-hooks.md +30 -0
- package/claude/{.claude/hooks → hooks}/notification.sh +0 -0
- package/claude/{.claude/hooks → hooks}/protect-files.sh +0 -0
- package/claude/scripts/render-settings.ts +25 -9
- package/dist/claude/scripts/render-settings.js +22 -9
- package/dist/eslint/pasika/index.d.ts +2 -0
- package/dist/eslint/pasika/index.js +17 -0
- package/dist/eslint/pasika/rules/filename-case.d.ts +2 -0
- package/dist/eslint/pasika/rules/filename-case.js +90 -0
- package/dist/eslint/pasika/rules/organization-imports.d.ts +2 -0
- package/dist/eslint/pasika/rules/organization-imports.js +124 -0
- package/docs/agent-conventions.md +27 -0
- package/docs/code-organization-guide/code-organization-guide.md +69 -0
- package/docs/code-organization-guide/references/application-architecture-reference.md +149 -0
- package/docs/code-organization-guide/rules/component-placement-rule.md +119 -0
- package/docs/code-organization-guide/rules/configuration-rule.md +42 -0
- package/docs/code-organization-guide/rules/constants-rule.md +74 -0
- package/docs/code-organization-guide/rules/exports-and-imports-rule.md +84 -0
- package/docs/code-organization-guide/rules/folder-nesting-rule.md +82 -0
- package/docs/code-organization-guide/rules/hook-extraction-rule.md +141 -0
- package/docs/code-organization-guide/rules/interactive-component-rule.md +97 -0
- package/docs/code-organization-guide/rules/jsx-hygiene-rule.md +67 -0
- package/docs/code-organization-guide/rules/locales-rule.md +53 -0
- package/docs/code-organization-guide/rules/nameable-visual-concept-rule.md +66 -0
- package/docs/code-organization-guide/rules/no-mixed-concerns-rule.md +63 -0
- package/docs/code-organization-guide/rules/repeated-structure-rule.md +93 -0
- package/docs/code-organization-guide/rules/smart-vs-dumb-component-rule.md +112 -0
- package/docs/code-organization-guide/rules/sole-state-owner-rule.md +101 -0
- package/docs/code-organization-guide/rules/types-and-schemas-rule.md +139 -0
- package/docs/code-organization-guide/rules/utilities-rule.md +86 -0
- package/docs/documentation-guide/_templates/grouped-reference.md +11 -0
- package/docs/documentation-guide/_templates/guide.md +19 -0
- package/docs/documentation-guide/_templates/rule.md +21 -0
- package/docs/documentation-guide/_templates/single-lookup-reference.md +5 -0
- package/docs/documentation-guide/documentation-guide.md +13 -0
- package/docs/documentation-guide/references/documentation-types-reference.md +9 -0
- package/docs/documentation-guide/rules/guide-creation-rule.md +113 -0
- package/docs/documentation-guide/rules/reference-creation-rule.md +132 -0
- package/docs/documentation-guide/rules/rule-creation-rule.md +81 -0
- package/docs/documentation-guide/rules/template-usage-rule.md +49 -0
- package/docs/shadcn-theme.md +121 -0
- package/docs/styling-guide/rules/arbitrary-value-rule.md +31 -0
- package/docs/styling-guide/rules/class-composition-rule.md +52 -0
- package/docs/styling-guide/rules/component-ui-state-rule.md +53 -0
- package/docs/styling-guide/rules/component-variant-rule.md +125 -0
- package/docs/styling-guide/rules/global-stylesheet-rule.md +67 -0
- package/docs/styling-guide/rules/theme-and-utility-definition-rule.md +86 -0
- package/docs/styling-guide/styling-guide.md +14 -0
- package/package.json +22 -12
- package/AGENTS.md +0 -15
- package/docs/common/merge-behavior.md +0 -17
- package/docs/common/overview.md +0 -20
- /package/{CLAUDE.md → claude/hooks/CLAUDE.md} +0 -0
- /package/claude/{.claude/hooks → hooks}/status-line/index.js +0 -0
- /package/claude/{.claude/settings.base.json → settings.base.json} +0 -0
package/package.json
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pasika",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Reusable
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"type": "module",
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"description": "Reusable agent setup package",
|
|
7
5
|
"repository": {
|
|
8
6
|
"type": "git",
|
|
9
7
|
"url": "https://github.com/Bredansky/pasika"
|
|
10
8
|
},
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"exports": {
|
|
12
|
+
"./eslint": {
|
|
13
|
+
"types": "./dist/eslint/pasika/index.d.ts",
|
|
14
|
+
"import": "./dist/eslint/pasika/index.js"
|
|
15
|
+
}
|
|
18
16
|
},
|
|
19
17
|
"bin": {
|
|
20
18
|
"pasika": "dist/scripts/pasika.js"
|
|
@@ -27,12 +25,24 @@
|
|
|
27
25
|
"CLAUDE.md",
|
|
28
26
|
"README.md"
|
|
29
27
|
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "rm -rf dist && tsc -p tsconfig.json && tsc -p tsconfig.eslint.json",
|
|
30
|
+
"check": "npm run lint && npm run typecheck",
|
|
31
|
+
"docs:generate": "rm -f AGENTS.md CLAUDE.md && npx vulyk docs",
|
|
32
|
+
"fix": "eslint . --fix",
|
|
33
|
+
"lint": "eslint .",
|
|
34
|
+
"prepack": "npm run build",
|
|
35
|
+
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.eslint.json --noEmit"
|
|
36
|
+
},
|
|
30
37
|
"devDependencies": {
|
|
31
38
|
"@types/node": "^24.12.2",
|
|
32
39
|
"eslint": "^9.39.4",
|
|
33
40
|
"prettier": "^3.8.1",
|
|
34
41
|
"typescript": "^5.9.2",
|
|
35
|
-
"vulyk": "
|
|
42
|
+
"vulyk": "github:Bredansky/vulyk#829cac4a244add961304070474db3e978db01d2a",
|
|
36
43
|
"zirka": "^0.0.28"
|
|
44
|
+
},
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=22"
|
|
37
47
|
}
|
|
38
48
|
}
|
package/AGENTS.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# pasika
|
|
2
|
-
pasika scope and usage.
|
|
3
|
-
Full documentation: docs/common/overview.md
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Merge Behavior
|
|
8
|
-
How pasika merges into existing Claude settings.
|
|
9
|
-
Full documentation: docs/common/merge-behavior.md
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# Claude Hooks
|
|
14
|
-
Shared Claude hooks shipped by pasika.
|
|
15
|
-
Full documentation: docs/claude/hooks.md
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Merge Behavior
|
|
2
|
-
|
|
3
|
-
`pasika` merges into an existing `.claude/settings.json` by default.
|
|
4
|
-
|
|
5
|
-
It updates the Claude base pieces owned by `pasika`:
|
|
6
|
-
|
|
7
|
-
- `hooks.Notification`
|
|
8
|
-
- `hooks.PreToolUse`
|
|
9
|
-
- `statusLine`
|
|
10
|
-
|
|
11
|
-
It preserves unrelated project-specific settings such as:
|
|
12
|
-
|
|
13
|
-
- custom permissions
|
|
14
|
-
- extra hooks like `PostToolUse`
|
|
15
|
-
- plugin and marketplace config
|
|
16
|
-
|
|
17
|
-
Use `--force` only when you want to replace the file instead of merging.
|
package/docs/common/overview.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# pasika
|
|
2
|
-
|
|
3
|
-
`pasika` is a reusable Claude Code base package.
|
|
4
|
-
|
|
5
|
-
## Scope
|
|
6
|
-
|
|
7
|
-
- Claude only for v1
|
|
8
|
-
- shared hooks and base settings
|
|
9
|
-
- merge-friendly project integration
|
|
10
|
-
- no project-specific skills, rules, or plugin choices
|
|
11
|
-
|
|
12
|
-
## Usage
|
|
13
|
-
|
|
14
|
-
Install `pasika` as a dev dependency, then run:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
npx pasika claude
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
That generates or updates `.claude/settings.json` to point shared hooks at `./node_modules/pasika/claude/...`.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|