@atom.io/template-react-node-backend 0.0.63 → 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/dist/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>vite-react</title>
8
- <script type="module" crossorigin src="/assets/index-GbS_mtAg.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-D7LYKGxb.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="/assets/index-NoNSZ6e2.css">
10
10
  </head>
11
11
  <body>
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.63",
3
+ "version": "0.0.65",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -11,25 +11,25 @@
11
11
  },
12
12
  "type": "module",
13
13
  "dependencies": {
14
- "react": "19.2.6",
15
- "react-dom": "19.2.6",
14
+ "react": "19.2.7",
15
+ "react-dom": "19.2.7",
16
16
  "zod": "4.4.3",
17
- "atom.io": "0.47.0"
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
- "@types/react": "19.2.15",
22
+ "@types/react": "19.2.16",
22
23
  "@types/react-dom": "19.2.3",
23
24
  "@vitejs/plugin-react": "6.0.2",
24
25
  "babel-plugin-react-compiler": "1.0.0",
25
- "concurrently": "9.2.1",
26
- "eslint": "10.4.0",
27
- "eslint-plugin-react-hooks": "7.1.1",
26
+ "concurrently": "10.0.3",
27
+ "eslint": "10.4.1",
28
28
  "eslint-plugin-react-refresh": "0.5.2",
29
29
  "globals": "17.6.0",
30
30
  "typescript": "6.0.3",
31
- "typescript-eslint": "8.60.0",
32
- "vite": "8.0.14"
31
+ "typescript-eslint": "8.60.1",
32
+ "vite": "8.0.16"
33
33
  },
34
34
  "scripts": {
35
35
  "dev": "concurrently vite ./node/server.ts ./node/authenticator.ts",