@atom.io/template-react-node-backend 0.0.64 → 0.0.66

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.
@@ -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.
15
- ✓ built in 415ms
15
+ ✓ built in 434ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atom.io/template-react-node-backend
2
2
 
3
+ ## 0.0.66
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [c292fcc]
8
+ - atom.io@0.47.2
9
+
10
+ ## 0.0.65
11
+
12
+ ### Patch Changes
13
+
14
+ - 95e41d3: Migrate React linting templates to `@eslint-react/eslint-plugin` and ship local ESLint React typings.
15
+
3
16
  ## 0.0.64
4
17
 
5
18
  ### Patch Changes
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-config-preact" {
27
- import type { Linter } from "eslint"
26
+ declare module "@eslint-react/eslint-plugin" {
27
+ import type { ESLint, Linter } from "eslint"
28
28
 
29
- const config: Linter.Config
30
- export = config
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.64",
3
+ "version": "0.0.66",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -14,9 +14,10 @@
14
14
  "react": "19.2.7",
15
15
  "react-dom": "19.2.7",
16
16
  "zod": "4.4.3",
17
- "atom.io": "0.47.1"
17
+ "atom.io": "0.47.2"
18
18
  },
19
19
  "devDependencies": {
20
+ "@eslint-react/eslint-plugin": "5.8.12",
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",