@atom.io/template-react-node-backend 0.0.64 → 0.0.65
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +6 -0
- package/eslint.config.ts +16 -0
- package/eslint.d.ts +12 -4
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -12,4 +12,4 @@ dist/assets/index-D7LYKGxb.js 517.15 kB │ gzip: 136.73 kB
|
|
|
12
12
|
- Using dynamic import() to code-split the application
|
|
13
13
|
- Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting
|
|
14
14
|
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.[39m
|
|
15
|
-
[32m✓ built in
|
|
15
|
+
[32m✓ built in 713ms[39m
|
package/CHANGELOG.md
CHANGED
package/eslint.config.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import eslintReact from "@eslint-react/eslint-plugin"
|
|
1
2
|
import { default as TypeScriptPlugin } from "@typescript-eslint/eslint-plugin"
|
|
2
3
|
import * as parser from "@typescript-eslint/parser"
|
|
3
4
|
import AtomIOPlugin from "atom.io/eslint-plugin"
|
|
@@ -158,10 +159,25 @@ const commonRules = {
|
|
|
158
159
|
quotes: [ERROR, `backtick`],
|
|
159
160
|
} satisfies Linter.Config[`rules`]
|
|
160
161
|
|
|
162
|
+
const eslintReactConfig = eslintReact.configs[
|
|
163
|
+
`recommended-typescript`
|
|
164
|
+
] satisfies Linter.Config
|
|
165
|
+
|
|
161
166
|
const configs: Linter.Config[] = [
|
|
162
167
|
{
|
|
163
168
|
ignores: [`**/dist/**`, `**/gen/**`, `**/node_modules/**`],
|
|
164
169
|
},
|
|
170
|
+
{
|
|
171
|
+
...eslintReactConfig,
|
|
172
|
+
files: [`**/*.ts{,x}`],
|
|
173
|
+
settings: {
|
|
174
|
+
...eslintReactConfig.settings,
|
|
175
|
+
"react-x": {
|
|
176
|
+
...eslintReactConfig.settings?.[`react-x`],
|
|
177
|
+
version: `detect`,
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
},
|
|
165
181
|
{
|
|
166
182
|
languageOptions: { parser, parserOptions },
|
|
167
183
|
files: [`**/*.ts{,x}`, `eslint.config.ts`],
|
package/eslint.d.ts
CHANGED
|
@@ -23,9 +23,17 @@ declare module "@typescript-eslint/eslint-plugin" {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// eslint-disable-next-line quotes
|
|
26
|
-
declare module "eslint-
|
|
27
|
-
import type { Linter } from "eslint"
|
|
26
|
+
declare module "@eslint-react/eslint-plugin" {
|
|
27
|
+
import type { ESLint, Linter } from "eslint"
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
type Config = Linter.Config & {
|
|
30
|
+
settings?: Record<string, Record<string, unknown>>
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const plugin: ESLint.Plugin & {
|
|
34
|
+
configs: Record<string, Config> & {
|
|
35
|
+
[`recommended-typescript`]: Config
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export default plugin
|
|
31
39
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atom.io/template-react-node-backend",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.65",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"atom.io": "0.47.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
+
"@eslint-react/eslint-plugin": "5.8.10",
|
|
20
21
|
"@types/node": "25.9.1",
|
|
21
22
|
"@types/react": "19.2.16",
|
|
22
23
|
"@types/react-dom": "19.2.3",
|
|
@@ -24,7 +25,6 @@
|
|
|
24
25
|
"babel-plugin-react-compiler": "1.0.0",
|
|
25
26
|
"concurrently": "10.0.3",
|
|
26
27
|
"eslint": "10.4.1",
|
|
27
|
-
"eslint-plugin-react-hooks": "7.1.1",
|
|
28
28
|
"eslint-plugin-react-refresh": "0.5.2",
|
|
29
29
|
"globals": "17.6.0",
|
|
30
30
|
"typescript": "6.0.3",
|