@everysk/apps-devkit 0.1.0-beta.0 → 0.2.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/README.md +15 -3
- package/dist/eslint/index.d.ts +1 -1
- package/dist/eslint/index.d.ts.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -5,12 +5,24 @@
|
|
|
5
5
|
The build configuration every Everysk app extends: Vite, ESLint, Vitest, TypeScript and
|
|
6
6
|
Prettier presets — and the toolchain itself. Declared as a `devDependency`.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
`everysk-apps` bin
|
|
8
|
+
One of three: [`@everysk/apps-sdk`](https://www.npmjs.com/package/@everysk/apps-sdk) is the
|
|
9
|
+
runtime and [`@everysk/apps-cli`](https://www.npmjs.com/package/@everysk/apps-cli) the
|
|
10
|
+
`everysk-apps` bin.
|
|
11
|
+
|
|
12
|
+
## You probably do not install this by hand
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npx @everysk/apps-cli init
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
For a new app, that writes the config files that extend these presets, which is the part worth
|
|
19
|
+
getting right — copying a preset instead of extending it is what stops a fix here ever reaching
|
|
20
|
+
the app.
|
|
11
21
|
|
|
12
22
|
## Install
|
|
13
23
|
|
|
24
|
+
For adding it to an app that already exists:
|
|
25
|
+
|
|
14
26
|
```bash
|
|
15
27
|
npm install --save-dev @everysk/apps-devkit
|
|
16
28
|
```
|
package/dist/eslint/index.d.ts
CHANGED
|
@@ -16,5 +16,5 @@ import { defineConfig } from "eslint/config";
|
|
|
16
16
|
* @param {ReturnType<typeof defineConfig>} [extra] - Appended after the preset, so an app can
|
|
17
17
|
* add or override rules for its own files.
|
|
18
18
|
*/
|
|
19
|
-
export declare const everyskConfig: (extra?: ReturnType<typeof defineConfig>) => import("eslint/config").
|
|
19
|
+
export declare const everyskConfig: (extra?: ReturnType<typeof defineConfig>) => import("eslint/config").ConfigObject[];
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eslint/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAiB,MAAM,eAAe,CAAC;AAmB5D;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,aAAa,GAAI,QAAO,UAAU,CAAC,OAAO,YAAY,CAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eslint/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAiB,MAAM,eAAe,CAAC;AAmB5D;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,aAAa,GAAI,QAAO,UAAU,CAAC,OAAO,YAAY,CAAM,2CAgDnE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everysk/apps-devkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Build-time presets for Everysk client applications: Vite, ESLint, Vitest, TypeScript and Prettier.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"everysk",
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@babel/core": "^7.29.7",
|
|
58
|
-
"@eslint/js": "^
|
|
58
|
+
"@eslint/js": "^10.0.1",
|
|
59
59
|
"@rolldown/plugin-babel": "^0.2.3",
|
|
60
60
|
"@tailwindcss/vite": "^4.3.0",
|
|
61
61
|
"@vitejs/plugin-react": "^6.0.2",
|
|
62
|
-
"@vitest/coverage-v8": "^
|
|
62
|
+
"@vitest/coverage-v8": "^5.0.1",
|
|
63
63
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
64
|
-
"eslint": "^
|
|
64
|
+
"eslint": "^10.10.0",
|
|
65
65
|
"eslint-config-prettier": "^10.1.8",
|
|
66
66
|
"eslint-plugin-prettier": "^5.5.6",
|
|
67
67
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"typescript": "^6.0.3",
|
|
74
74
|
"typescript-eslint": "^8.60.1",
|
|
75
75
|
"vite": "^8.0.16",
|
|
76
|
-
"vitest": "^
|
|
76
|
+
"vitest": "^5.0.1"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@types/babel__core": "^7.20.5",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
},
|
|
85
85
|
"sideEffects": false,
|
|
86
86
|
"engines": {
|
|
87
|
-
"node": ">=
|
|
87
|
+
"node": "^22.13.0 || >=24",
|
|
88
88
|
"npm": ">=12"
|
|
89
89
|
}
|
|
90
90
|
}
|