@liangmi/vp-config 0.1.2 → 0.1.3
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 +11 -0
- package/dist/index.mjs +11 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,6 +20,17 @@ export default base({
|
|
|
20
20
|
});
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
+
We provide a skill for agent to handle migrations automatically
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
skills add liangmiQwQ/vp-config
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Here are some real-world examples using `@liangmi/vp-config`.
|
|
30
|
+
|
|
31
|
+
- `mo` is cli and tui tool to help you manage your opensource projects.
|
|
32
|
+
- `@liangmi/vp-config` uses itself to manage its own codebase.
|
|
33
|
+
|
|
23
34
|
> [!WARNING]
|
|
24
35
|
> Considering Vite+ is now still alpha, the internal API can be unstable and expected to change, please manage to use `@liangmi/vp-config` with the latest Vite+. If you found something that doesn't work expectedly, please [submit an issue](https://github.com/liangmiQwQ/vp-config/issues/new).
|
|
25
36
|
|
package/dist/index.mjs
CHANGED
|
@@ -94,7 +94,9 @@ const style = {
|
|
|
94
94
|
"unicorn/no-null": "off",
|
|
95
95
|
"prefer-named-capture-group": "off",
|
|
96
96
|
"id-length": "off",
|
|
97
|
-
"promise/avoid-new": "off"
|
|
97
|
+
"promise/avoid-new": "off",
|
|
98
|
+
"eslint/new-cap": "off",
|
|
99
|
+
"eslint/no-template-curly-in-string": "off"
|
|
98
100
|
};
|
|
99
101
|
const restriction = {
|
|
100
102
|
"oxc/bad-bitwise-operator": "error",
|
|
@@ -293,7 +295,11 @@ const lintBase = {
|
|
|
293
295
|
};
|
|
294
296
|
//#endregion
|
|
295
297
|
//#region src/base/run.ts
|
|
296
|
-
const lintInput = [
|
|
298
|
+
const lintInput = [
|
|
299
|
+
{ auto: true },
|
|
300
|
+
"!node_modules/.vp-config/info.json",
|
|
301
|
+
"index.html"
|
|
302
|
+
];
|
|
297
303
|
const runBase = {
|
|
298
304
|
tasks: {
|
|
299
305
|
cbuild: "vp build",
|
|
@@ -432,7 +438,9 @@ const websiteConfig = {
|
|
|
432
438
|
"unicorn/prefer-query-selector": "warn",
|
|
433
439
|
"prefer-dom-node-remove": "warn",
|
|
434
440
|
"prefer-blob-reading-methods": "warn",
|
|
435
|
-
"import/no-unassigned-import": ["error", { allow: ["**/*.css"] }]
|
|
441
|
+
"import/no-unassigned-import": ["error", { allow: ["**/*.css"] }],
|
|
442
|
+
"import/no-default-export": "off",
|
|
443
|
+
"unicorn/filename-case": "off"
|
|
436
444
|
}
|
|
437
445
|
}),
|
|
438
446
|
run: runBase,
|