@design-edito/cli 0.1.2 → 0.1.6

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.
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.6
@@ -17,7 +17,7 @@
17
17
  "cors": "^2.8.5",
18
18
  "debug": "^4.4.0",
19
19
  "esbuild": "^0.25.0",
20
- "express": "^4.21.2",
20
+ "express": "^5.1.0",
21
21
  "morgan": "^1.10.0",
22
22
  "typescript": "^5.7.3"
23
23
  },
@@ -27,7 +27,7 @@
27
27
  "@types/debug": "^4.1.12",
28
28
  "@types/express": "^5.0.0",
29
29
  "@types/morgan": "^1.9.9",
30
- "@types/node": "^22.13.4",
30
+ "@types/node": "^24.7.1",
31
31
  "chokidar-cli": "^3.0.0",
32
32
  "concurrently": "^9.1.2"
33
33
  }
@@ -25,25 +25,25 @@
25
25
  "docker:clean:dev": "docker rm <<@design-edito/cli----replace-with-name>>-dev && docker rmi <<@design-edito/cli----replace-with-name>>-dev"
26
26
  },
27
27
  "dependencies": {
28
- "@design-edito/tools": "^0.1.48",
28
+ "@design-edito/tools": "^0.2.10",
29
29
  "agenda": "^5.0.0",
30
- "bcrypt": "^5.1.1",
30
+ "bcrypt": "^6.0.0",
31
31
  "cookie-parser": "^1.4.7",
32
32
  "cors": "^2.8.5",
33
33
  "debug": "^4.4.0",
34
- "dotenv": "^16.4.7",
34
+ "dotenv": "^17.2.3",
35
35
  "esbuild": "^0.25.0",
36
- "express": "^4.21.2",
36
+ "express": "^5.1.0",
37
37
  "jsonwebtoken": "^9.0.2",
38
38
  "mailersend": "^2.3.0",
39
39
  "mongoose": "^8.10.1",
40
40
  "morgan": "^1.10.0",
41
41
  "typescript": "^5.7.3",
42
42
  "validator": "^13.12.0",
43
- "zod": "^3.24.2"
43
+ "zod": "^4.1.12"
44
44
  },
45
45
  "devDependencies": {
46
- "@types/bcrypt": "^5.0.2",
46
+ "@types/bcrypt": "^6.0.0",
47
47
  "@types/cookie-parser": "^1.4.8",
48
48
  "@types/cors": "^2.8.17",
49
49
  "@types/debug": "^4.1.12",
@@ -51,7 +51,7 @@
51
51
  "@types/jsonwebtoken": "^9.0.8",
52
52
  "@types/mongoose": "^5.11.96",
53
53
  "@types/morgan": "^1.9.9",
54
- "@types/node": "^22.13.4",
54
+ "@types/node": "^24.7.1",
55
55
  "@types/validator": "^13.12.2",
56
56
  "chokidar-cli": "^3.0.0",
57
57
  "concurrently": "^9.1.2",
@@ -9,7 +9,7 @@
9
9
  "build:public": "cp -r public/* dist",
10
10
  "build:src": "npm run build:scripts && node .scripts/build/index.js",
11
11
  "build:src:preact": "PREACT=true npm run build:src",
12
- "watch:public": "npx chokidar-cli 'public/**/*' -c 'npm run build:public'",
12
+ "watch:public": "npm run build:public && npx chokidar-cli 'public/**/*' -c 'npm run build:public'",
13
13
  "watch:src": "WATCH=true npm run build:src",
14
14
  "watch:src:preact": "PREACT=true npm run watch:src",
15
15
  "make:dist": "mkdir -p dist",
@@ -20,22 +20,22 @@
20
20
  "author": "",
21
21
  "license": "ISC",
22
22
  "devDependencies": {
23
- "@types/node": "^20.11.30",
24
- "@types/react": "^18.2.72",
25
- "@types/react-dom": "^18.2.22",
26
- "concurrently": "^8.2.2",
27
- "http-server": "^14.1.1",
28
- "typescript": "^5.4.3",
29
- "esbuild": "^0.20.2",
23
+ "@types/node": "^24.7.1",
24
+ "@types/react": "^19.2.2",
25
+ "@types/react-dom": "^19.2.1",
26
+ "concurrently": "^9.2.1",
27
+ "esbuild": "^0.25.10",
30
28
  "esbuild-plugin-inline-image": "^0.0.9",
31
29
  "esbuild-sass-plugin": "^3.2.0",
30
+ "http-server": "^14.1.1",
32
31
  "postcss": "^8.4.38",
33
32
  "postcss-modules": "^6.0.0",
34
- "sass": "^1.74.1"
33
+ "sass": "^1.74.1",
34
+ "typescript": "^5.4.3"
35
35
  },
36
36
  "dependencies": {
37
37
  "preact": "^10.20.1",
38
- "react": "^18.2.0",
39
- "react-dom": "^18.2.0"
38
+ "react": "^19.2.0",
39
+ "react-dom": "^19.2.0"
40
40
  }
41
41
  }
@@ -1,5 +1,7 @@
1
- import { render } from 'react-dom'
1
+ import { createRoot } from 'react-dom/client'
2
2
  import App from './components/App'
3
3
 
4
4
  const target = document.querySelector('.root')
5
- if (target !== null) render(<App />, target)
5
+ if (target !== null) {
6
+ createRoot(target).render(<App />)
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-edito/cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.6",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",
@@ -15,8 +15,8 @@
15
15
  "add": "./add/index.js",
16
16
  "cli": "./cli/index.js",
17
17
  "commit": "./commit/index.js",
18
- "make-template": "./make-template/index.js",
19
18
  "pull": "./pull/index.js",
19
+ "make-template": "./make-template/index.js",
20
20
  "push": "./push/index.js",
21
21
  "reset": "./reset/index.js",
22
22
  "serve": "./serve/index.js",
@@ -24,7 +24,7 @@
24
24
  "tree": "./tree/index.js"
25
25
  },
26
26
  "dependencies": {
27
- "@design-edito/tools": "^0.2.10",
27
+ "@design-edito/tools": "^0.2.17",
28
28
  "commander": "^14.0.1",
29
29
  "prompts": "^2.4.2"
30
30
  },