@node-boost/node-boost 0.1.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/CHANGELOG.md +13 -0
- package/LICENSE.md +21 -0
- package/README.md +196 -0
- package/dist/cli.js +3000 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +380 -0
- package/dist/index.js +2708 -0
- package/dist/index.js.map +1 -0
- package/package.json +82 -0
- package/resources/react/architectures/component-composition/guideline.md +42 -0
- package/resources/react/architectures/component-composition/skill/SKILL.md +19 -0
- package/resources/react/architectures/custom-hooks/guideline.md +38 -0
- package/resources/react/architectures/custom-hooks/skill/SKILL.md +22 -0
- package/resources/react/architectures/data-access-layer/guideline.md +43 -0
- package/resources/react/architectures/data-access-layer/skill/SKILL.md +26 -0
- package/resources/react/architectures/error-loading-boundaries/guideline.md +36 -0
- package/resources/react/architectures/error-loading-boundaries/skill/SKILL.md +18 -0
- package/resources/react/architectures/feature-modules/guideline.md +34 -0
- package/resources/react/architectures/feature-modules/skill/SKILL.md +28 -0
- package/resources/react/architectures/feature-modules/variants/forbid.md +36 -0
- package/resources/react/architectures/feature-modules/variants/public-api.md +37 -0
- package/resources/react/architectures/modern-typescript/guideline.md +47 -0
- package/resources/react/architectures/modern-typescript/skill/SKILL.md +23 -0
- package/resources/react/architectures/secure-by-default/guideline.md +38 -0
- package/resources/react/architectures/secure-by-default/skill/SKILL.md +22 -0
- package/resources/react/architectures/server-first-components/guideline.md +34 -0
- package/resources/react/architectures/server-first-components/skill/SKILL.md +23 -0
- package/resources/react/architectures/state-management/guideline.md +34 -0
- package/resources/react/architectures/state-management/skill/SKILL.md +21 -0
- package/resources/react/architectures/styling-tailwind/guideline.md +33 -0
- package/resources/react/architectures/styling-tailwind/skill/SKILL.md +18 -0
- package/resources/react/architectures/testing-strategy/guideline.md +33 -0
- package/resources/react/architectures/testing-strategy/skill/SKILL.md +19 -0
- package/resources/react/architectures/typed-contracts/guideline.md +31 -0
- package/resources/react/architectures/typed-contracts/skill/SKILL.md +23 -0
- package/resources/react/architectures/ui-states/guideline.md +45 -0
- package/resources/react/architectures/ui-states/skill/SKILL.md +19 -0
- package/resources/react/guidelines/core.md +15 -0
- package/resources/react/guidelines/next/15.md +9 -0
- package/resources/react/guidelines/next/16.md +18 -0
- package/resources/react/guidelines/next/core.md +8 -0
- package/resources/react/guidelines/react/18.md +8 -0
- package/resources/react/guidelines/react/19.md +10 -0
- package/resources/react/guidelines/react/core.md +9 -0
- package/resources/react/guidelines/react-query/core.md +8 -0
- package/resources/react/guidelines/react-router/7.md +9 -0
- package/resources/react/guidelines/react-router/core.md +7 -0
- package/resources/react/guidelines/tailwindcss/3.md +8 -0
- package/resources/react/guidelines/tailwindcss/4.md +9 -0
- package/resources/react/guidelines/tailwindcss/core.md +8 -0
- package/resources/react/guidelines/testing/playwright.md +8 -0
- package/resources/react/guidelines/testing/vitest.md +8 -0
- package/resources/react/guidelines/typescript/core.md +7 -0
- package/resources/react/guidelines/vite/core.md +8 -0
- package/resources/react/guidelines/zod/3.md +8 -0
- package/resources/react/guidelines/zod/4.md +10 -0
- package/resources/react/guidelines/zod/core.md +7 -0
- package/resources/react/guidelines/zustand/core.md +8 -0
- package/resources/react/skills/next-development/SKILL.md +19 -0
- package/resources/react/skills/react-development/SKILL.md +18 -0
- package/resources/react/skills/spa-routing/SKILL.md +18 -0
- package/resources/react/skills/tailwindcss-development/SKILL.md +17 -0
- package/resources/react/skills/testing-frontend/SKILL.md +18 -0
- package/schema.json +216 -0
package/schema.json
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"version": {
|
|
9
|
+
"type": "number",
|
|
10
|
+
"const": 1
|
|
11
|
+
},
|
|
12
|
+
"generatedWith": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 1
|
|
15
|
+
},
|
|
16
|
+
"stack": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"enum": [
|
|
19
|
+
"next",
|
|
20
|
+
"vite-react",
|
|
21
|
+
"react-generic",
|
|
22
|
+
"unknown"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"agents": {
|
|
26
|
+
"default": [],
|
|
27
|
+
"type": "array",
|
|
28
|
+
"items": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"enum": [
|
|
31
|
+
"claude-code",
|
|
32
|
+
"codex",
|
|
33
|
+
"cursor"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"features": {
|
|
38
|
+
"default": {
|
|
39
|
+
"guidelines": true,
|
|
40
|
+
"skills": true,
|
|
41
|
+
"mcp": true,
|
|
42
|
+
"architecture": true,
|
|
43
|
+
"hooks": false
|
|
44
|
+
},
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"guidelines": {
|
|
48
|
+
"default": true,
|
|
49
|
+
"type": "boolean"
|
|
50
|
+
},
|
|
51
|
+
"skills": {
|
|
52
|
+
"default": true,
|
|
53
|
+
"type": "boolean"
|
|
54
|
+
},
|
|
55
|
+
"mcp": {
|
|
56
|
+
"default": true,
|
|
57
|
+
"type": "boolean"
|
|
58
|
+
},
|
|
59
|
+
"architecture": {
|
|
60
|
+
"default": true,
|
|
61
|
+
"type": "boolean"
|
|
62
|
+
},
|
|
63
|
+
"hooks": {
|
|
64
|
+
"default": false,
|
|
65
|
+
"type": "boolean"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"guidelines",
|
|
70
|
+
"skills",
|
|
71
|
+
"mcp",
|
|
72
|
+
"architecture",
|
|
73
|
+
"hooks"
|
|
74
|
+
],
|
|
75
|
+
"additionalProperties": false
|
|
76
|
+
},
|
|
77
|
+
"architectures": {
|
|
78
|
+
"default": [],
|
|
79
|
+
"type": "array",
|
|
80
|
+
"items": {
|
|
81
|
+
"anyOf": [
|
|
82
|
+
{
|
|
83
|
+
"type": "string",
|
|
84
|
+
"enum": [
|
|
85
|
+
"feature-modules",
|
|
86
|
+
"server-first-components",
|
|
87
|
+
"data-access-layer",
|
|
88
|
+
"typed-contracts",
|
|
89
|
+
"state-management",
|
|
90
|
+
"custom-hooks",
|
|
91
|
+
"component-composition",
|
|
92
|
+
"styling-tailwind",
|
|
93
|
+
"testing-strategy",
|
|
94
|
+
"error-loading-boundaries",
|
|
95
|
+
"secure-by-default",
|
|
96
|
+
"modern-typescript",
|
|
97
|
+
"ui-states"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"type": "object",
|
|
102
|
+
"properties": {
|
|
103
|
+
"name": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"const": "feature-modules"
|
|
106
|
+
},
|
|
107
|
+
"boundary": {
|
|
108
|
+
"default": "public-api",
|
|
109
|
+
"type": "string",
|
|
110
|
+
"enum": [
|
|
111
|
+
"public-api",
|
|
112
|
+
"forbid"
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": [
|
|
117
|
+
"name",
|
|
118
|
+
"boundary"
|
|
119
|
+
],
|
|
120
|
+
"additionalProperties": false
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"type": "object",
|
|
124
|
+
"properties": {
|
|
125
|
+
"name": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"enum": [
|
|
128
|
+
"server-first-components",
|
|
129
|
+
"data-access-layer",
|
|
130
|
+
"typed-contracts",
|
|
131
|
+
"state-management",
|
|
132
|
+
"custom-hooks",
|
|
133
|
+
"component-composition",
|
|
134
|
+
"styling-tailwind",
|
|
135
|
+
"testing-strategy",
|
|
136
|
+
"error-loading-boundaries",
|
|
137
|
+
"secure-by-default",
|
|
138
|
+
"modern-typescript",
|
|
139
|
+
"ui-states"
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"required": [
|
|
144
|
+
"name"
|
|
145
|
+
],
|
|
146
|
+
"additionalProperties": false
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"audit": {
|
|
152
|
+
"default": {
|
|
153
|
+
"exclude": [],
|
|
154
|
+
"rules": {},
|
|
155
|
+
"ruleOptions": {}
|
|
156
|
+
},
|
|
157
|
+
"type": "object",
|
|
158
|
+
"properties": {
|
|
159
|
+
"exclude": {
|
|
160
|
+
"default": [],
|
|
161
|
+
"type": "array",
|
|
162
|
+
"items": {
|
|
163
|
+
"type": "string"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"rules": {
|
|
167
|
+
"default": {},
|
|
168
|
+
"type": "object",
|
|
169
|
+
"propertyNames": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
},
|
|
172
|
+
"additionalProperties": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"enum": [
|
|
175
|
+
"off",
|
|
176
|
+
"warn",
|
|
177
|
+
"err"
|
|
178
|
+
]
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"ruleOptions": {
|
|
182
|
+
"default": {},
|
|
183
|
+
"type": "object",
|
|
184
|
+
"propertyNames": {
|
|
185
|
+
"type": "string"
|
|
186
|
+
},
|
|
187
|
+
"additionalProperties": {
|
|
188
|
+
"type": "object",
|
|
189
|
+
"propertyNames": {
|
|
190
|
+
"type": "string"
|
|
191
|
+
},
|
|
192
|
+
"additionalProperties": {}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"required": [
|
|
197
|
+
"exclude",
|
|
198
|
+
"rules",
|
|
199
|
+
"ruleOptions"
|
|
200
|
+
],
|
|
201
|
+
"additionalProperties": false
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"required": [
|
|
205
|
+
"version",
|
|
206
|
+
"generatedWith",
|
|
207
|
+
"stack",
|
|
208
|
+
"agents",
|
|
209
|
+
"features",
|
|
210
|
+
"architectures",
|
|
211
|
+
"audit"
|
|
212
|
+
],
|
|
213
|
+
"additionalProperties": false,
|
|
214
|
+
"$id": "https://node-boost.dev/schema.json",
|
|
215
|
+
"title": "node-boost configuration"
|
|
216
|
+
}
|