create-warlock 5.32.0 → 5.34.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 +26 -47
- package/README.md +63 -39
- package/esm/commands/create-new-app/index.mjs +10 -9
- package/esm/commands/create-new-app/index.mjs.map +1 -1
- package/esm/commands/create-new-app/types.d.mts +1 -1
- package/esm/commands/create-warlock-app/index.mjs +1 -1
- package/esm/commands/create-warlock-app/index.mjs.map +1 -1
- package/esm/flags/definitions.mjs +2 -2
- package/esm/flags/definitions.mjs.map +1 -1
- package/esm/flags/seed-from-flags.mjs +1 -1
- package/esm/flags/seed-from-flags.mjs.map +1 -1
- package/esm/helpers/app.mjs +10 -25
- package/esm/helpers/app.mjs.map +1 -1
- package/esm/helpers/insert-import.mjs +2 -2
- package/esm/helpers/insert-import.mjs.map +1 -1
- package/llms-full.txt +62 -61
- package/package.json +2 -2
- package/skills/create-a-warlock-project/SKILL.md +62 -61
- package/templates/{warlock/.prettierignore → toolchains/oxc/.oxfmtignore} +0 -2
- package/templates/toolchains/oxc/.oxlintrc.json +1 -1
- package/templates/warlock/.oxfmtignore +2 -0
- package/templates/warlock/.oxfmtrc.json +15 -0
- package/templates/warlock/.oxlintrc.json +24 -0
- package/templates/warlock/.vscode/extensions.json +3 -0
- package/templates/warlock/.vscode/settings.json +11 -17
- package/templates/warlock/README.md +18 -20
- package/templates/warlock/package.json +7 -14
- package/templates/warlock/skills/code-standards/SKILL.md +53 -36
- package/templates/warlock/skills/git-workflow/SKILL.md +25 -20
- package/templates/warlock/skills/module-boundaries/SKILL.md +33 -24
- package/templates/warlock/skills/web-code-standards/SKILL.md +1 -1
- package/templates/warlock/src/web/home/components/home-footer.tsx +3 -1
- package/esm/prompts/ask-lint-toolchain.mjs +0 -21
- package/esm/prompts/ask-lint-toolchain.mjs.map +0 -1
- package/templates/warlock/.prettierrc.json +0 -12
- package/templates/warlock/eslint.config.js +0 -98
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"semi": true,
|
|
3
|
-
"tabWidth": 2,
|
|
4
|
-
"printWidth": 100,
|
|
5
|
-
"singleQuote": false,
|
|
6
|
-
"arrowParens": "always",
|
|
7
|
-
"trailingComma": "all",
|
|
8
|
-
"endOfLine": "lf",
|
|
9
|
-
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
|
|
10
|
-
"importOrder": ["<BUILTIN_MODULES>", "<THIRD_PARTY_MODULES>", "^(app|web|@shared)/", "^[.]"],
|
|
11
|
-
"importOrderParserPlugins": ["typescript", "jsx", "decorators"]
|
|
12
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import tsPlugin from "@typescript-eslint/eslint-plugin";
|
|
2
|
-
import tsParser from "@typescript-eslint/parser";
|
|
3
|
-
import prettierConfig from "eslint-config-prettier";
|
|
4
|
-
import prettierPlugin from "eslint-plugin-prettier";
|
|
5
|
-
import unusedImports from "eslint-plugin-unused-imports";
|
|
6
|
-
|
|
7
|
-
export default [
|
|
8
|
-
// Global configuration
|
|
9
|
-
{
|
|
10
|
-
languageOptions: {
|
|
11
|
-
ecmaVersion: "latest",
|
|
12
|
-
sourceType: "module",
|
|
13
|
-
globals: {
|
|
14
|
-
// Node.js globals
|
|
15
|
-
console: "readonly",
|
|
16
|
-
process: "readonly",
|
|
17
|
-
Buffer: "readonly",
|
|
18
|
-
__dirname: "readonly",
|
|
19
|
-
__filename: "readonly",
|
|
20
|
-
global: "readonly",
|
|
21
|
-
module: "readonly",
|
|
22
|
-
require: "readonly",
|
|
23
|
-
exports: "readonly",
|
|
24
|
-
// ES2021 globals
|
|
25
|
-
Promise: "readonly",
|
|
26
|
-
// Jest globals
|
|
27
|
-
describe: "readonly",
|
|
28
|
-
it: "readonly",
|
|
29
|
-
test: "readonly",
|
|
30
|
-
expect: "readonly",
|
|
31
|
-
beforeEach: "readonly",
|
|
32
|
-
afterEach: "readonly",
|
|
33
|
-
beforeAll: "readonly",
|
|
34
|
-
afterAll: "readonly",
|
|
35
|
-
jest: "readonly",
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
// TypeScript files configuration
|
|
41
|
-
{
|
|
42
|
-
files: ["**/*.ts", "**/*.tsx"],
|
|
43
|
-
languageOptions: {
|
|
44
|
-
parser: tsParser,
|
|
45
|
-
parserOptions: {
|
|
46
|
-
ecmaVersion: "latest",
|
|
47
|
-
sourceType: "module",
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
plugins: {
|
|
51
|
-
"@typescript-eslint": tsPlugin,
|
|
52
|
-
prettier: prettierPlugin,
|
|
53
|
-
"unused-imports": unusedImports,
|
|
54
|
-
},
|
|
55
|
-
rules: {
|
|
56
|
-
// Prettier integration
|
|
57
|
-
...prettierConfig.rules,
|
|
58
|
-
"prettier/prettier": "error",
|
|
59
|
-
|
|
60
|
-
// TypeScript rules
|
|
61
|
-
"@typescript-eslint/no-explicit-any": "off",
|
|
62
|
-
"@typescript-eslint/no-unused-vars": "off",
|
|
63
|
-
"no-unused-vars": "off",
|
|
64
|
-
"unused-imports/no-unused-vars": [
|
|
65
|
-
"warn",
|
|
66
|
-
{
|
|
67
|
-
vars: "all",
|
|
68
|
-
varsIgnorePattern: "^_",
|
|
69
|
-
args: "after-used",
|
|
70
|
-
argsIgnorePattern: "^_",
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
"unused-imports/no-unused-imports": "error",
|
|
74
|
-
"@typescript-eslint/explicit-member-accessibility": [
|
|
75
|
-
"error",
|
|
76
|
-
{ accessibility: "explicit" },
|
|
77
|
-
],
|
|
78
|
-
"@typescript-eslint/consistent-type-imports": [
|
|
79
|
-
"error",
|
|
80
|
-
{
|
|
81
|
-
prefer: "type-imports",
|
|
82
|
-
disallowTypeAnnotations: false,
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
// Ignore patterns
|
|
89
|
-
{
|
|
90
|
-
ignores: [
|
|
91
|
-
"dist/",
|
|
92
|
-
"node_modules/",
|
|
93
|
-
"**/*.js",
|
|
94
|
-
"!**/*.config.js",
|
|
95
|
-
"!eslint.config.js",
|
|
96
|
-
],
|
|
97
|
-
},
|
|
98
|
-
];
|