@atom.io/template-react-node-backend 0.0.47 → 0.0.49
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 +3 -3
- package/CHANGELOG.md +13 -0
- package/dist/assets/{index-C1hPfEiE.js → index-DbGGY5Ry.js} +2 -2
- package/dist/index.html +1 -1
- package/eslint.config.ts +2 -0
- package/package.json +9 -9
- package/src/App.tsx +2 -2
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-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-DbGGY5Ry.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-CqTfTEH3.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/eslint.config.ts
CHANGED
|
@@ -144,7 +144,9 @@ const commonRules = {
|
|
|
144
144
|
"@typescript-eslint/unbound-method": 0,
|
|
145
145
|
"@typescript-eslint/unified-signatures": ERROR,
|
|
146
146
|
|
|
147
|
+
"atom.io/exact-catch-types": ERROR,
|
|
147
148
|
"atom.io/explicit-state-types": ERROR,
|
|
149
|
+
"atom.io/naming-convention": ERROR,
|
|
148
150
|
|
|
149
151
|
"import/newline-after-import": ERROR,
|
|
150
152
|
"import/no-duplicates": ERROR,
|
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.49",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -14,21 +14,21 @@
|
|
|
14
14
|
"react": "19.2.4",
|
|
15
15
|
"react-dom": "19.2.4",
|
|
16
16
|
"zod": "4.3.6",
|
|
17
|
-
"atom.io": "0.46.
|
|
17
|
+
"atom.io": "0.46.24"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@types/node": "25.
|
|
21
|
-
"@types/react": "19.2.
|
|
20
|
+
"@types/node": "25.3.5",
|
|
21
|
+
"@types/react": "19.2.14",
|
|
22
22
|
"@types/react-dom": "19.2.3",
|
|
23
|
-
"@vitejs/plugin-react": "5.1.
|
|
23
|
+
"@vitejs/plugin-react": "5.1.4",
|
|
24
24
|
"babel-plugin-react-compiler": "1.0.0",
|
|
25
25
|
"concurrently": "9.2.1",
|
|
26
|
-
"eslint": "
|
|
26
|
+
"eslint": "10.0.3",
|
|
27
27
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
28
|
-
"eslint-plugin-react-refresh": "0.5.
|
|
29
|
-
"globals": "17.
|
|
28
|
+
"eslint-plugin-react-refresh": "0.5.2",
|
|
29
|
+
"globals": "17.4.0",
|
|
30
30
|
"typescript": "5.9.3",
|
|
31
|
-
"typescript-eslint": "8.
|
|
31
|
+
"typescript-eslint": "8.56.1",
|
|
32
32
|
"vite": "npm:rolldown-vite@7.3.1"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
package/src/App.tsx
CHANGED
|
@@ -58,7 +58,7 @@ const todoKeysAtom = atom<Loadable<number[]>, Error>({
|
|
|
58
58
|
* when the atom has never been gotten or set before.
|
|
59
59
|
*/
|
|
60
60
|
const todoAtoms = atomFamily<Loadable<Todo>, number, Error>({
|
|
61
|
-
key: `
|
|
61
|
+
key: `todo`,
|
|
62
62
|
default: async (id) => {
|
|
63
63
|
const url = new URL(`/todos`, SERVER_URL)
|
|
64
64
|
url.searchParams.set(`id`, id.toString())
|
|
@@ -243,7 +243,7 @@ function Todo({ todoKey }: { todoKey: number }): React.JSX.Element {
|
|
|
243
243
|
|
|
244
244
|
/** This atom holds the text of the new todo entry. */
|
|
245
245
|
const newTodoTextAtom = atom<string>({
|
|
246
|
-
key: `
|
|
246
|
+
key: `newTodoText`,
|
|
247
247
|
default: ``,
|
|
248
248
|
})
|
|
249
249
|
function NewTodo(): React.JSX.Element {
|