nextia 5.0.0 → 5.0.2

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/package.json CHANGED
@@ -1,43 +1,43 @@
1
1
  {
2
- "name": "nextia",
3
- "description": "Create fast web applications",
4
- "version": "5.0.0",
5
- "engines": {
6
- "node": ">22"
7
- },
8
- "type": "module",
9
- "license": "MIT",
10
- "author": {
11
- "name": "Sinuhe Dev.",
12
- "email": "sinuhe.dev@gmail.com",
13
- "url": "https://sinuhe.dev"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/sinuhedev/nextia.git"
18
- },
19
- "homepage": "https://github.com/sinuhedev/nextia",
20
- "keywords": [
21
- "react"
22
- ],
23
- "bin": {
24
- "nextia": "src/bin.js"
25
- },
26
- "main": "src/lib.js",
27
- "eslintConfig": {
28
- "extends": "./node_modules/standard/eslintrc.json"
29
- },
30
- "scripts": {
31
- "start": "echo 'go to test'",
32
- "clean": "rm -fr node_modules package-lock.json pnpm-lock.yaml .coverage out my-app",
33
- "lint": "standard 'src/**/*.{js,jsx}' 'test/**/*.{js,jsx}' --verbose",
34
- "test:my-app": "node src/bin.js my-app"
35
- },
36
- "peerDependencies": {
37
- "react": "^19.2.3",
38
- "react-dom": "^19.2.3"
39
- },
40
- "devDependencies": {
41
- "standard": "^17.1.2"
42
- }
43
- }
2
+ "name": "nextia",
3
+ "description": "Create fast web applications",
4
+ "version": "5.0.2",
5
+ "engines": {
6
+ "node": ">22"
7
+ },
8
+ "type": "module",
9
+ "license": "MIT",
10
+ "author": {
11
+ "name": "Sinuhe Dev.",
12
+ "email": "sinuhe.dev@gmail.com",
13
+ "url": "https://sinuhe.dev"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/sinuhedev/nextia.git"
18
+ },
19
+ "homepage": "https://github.com/sinuhedev/nextia",
20
+ "keywords": [
21
+ "react"
22
+ ],
23
+ "bin": {
24
+ "nextia": "src/bin.js"
25
+ },
26
+ "main": "src/lib.js",
27
+ "eslintConfig": {
28
+ "extends": "./node_modules/standard/eslintrc.json"
29
+ },
30
+ "peerDependencies": {
31
+ "react": "^19.2.3",
32
+ "react-dom": "^19.2.3"
33
+ },
34
+ "devDependencies": {
35
+ "standard": "^17.1.2"
36
+ },
37
+ "scripts": {
38
+ "clean": "rm -fr node_modules package-lock.json pnpm-lock.yaml .coverage out my-app",
39
+ "lint": "standard 'src/**/*.{js,jsx}' 'test/**/*.{js,jsx}' --verbose",
40
+ "test": "node src/bin.js",
41
+ "test:my-app": "node src/bin.js my-app"
42
+ }
43
+ }
package/src/bin.js CHANGED
@@ -200,6 +200,10 @@ switch (ARG1) {
200
200
 
201
201
  default:
202
202
  if (ARG1) createProject(ARG1)
203
- else console.warn('npx nextia@latest <ProjectName>')
203
+ else console.info(`
204
+ Version ${pkg.version}
205
+
206
+ npx nextia@latest <ProjectName>
207
+ `)
204
208
  break
205
209
  }
@@ -8,7 +8,7 @@ Open http://localhost:3000 to view it in the browser.
8
8
  npm install
9
9
  pnpm install
10
10
  #
11
- node --run start
11
+ node --run dev
12
12
  node --run test
13
13
  node --run build <ENV>
14
14
  node --run preview
@@ -8,7 +8,7 @@
8
8
  "extends": "./node_modules/standard/eslintrc.json"
9
9
  },
10
10
  "scripts": {
11
- "start": "vite --mode dev",
11
+ "dev": "vite --mode dev",
12
12
  "clean": "rm -fr node_modules package-lock.json pnpm-lock.yaml .coverage out",
13
13
  "build": "vite build --mode",
14
14
  "preview": "vite preview",
@@ -28,7 +28,7 @@
28
28
  "jsdom": "^26.1.0",
29
29
  "standard": "^17.1.2",
30
30
  "vite": "^7.3.1",
31
- "vitest": "^3.0.4"
31
+ "vitest": "^3.2.4"
32
32
  },
33
33
  "dependencies": {
34
34
  "nextia": "^VERSION",