nero-init 1.0.7 → 1.0.9

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/README.md CHANGED
@@ -34,6 +34,9 @@ No arguments, no flags — just answer the prompts.
34
34
  │ │ └── options.ts # CLI options & flags
35
35
  │ └── index.ts # Entry point
36
36
 
37
+ ├── tests/ # Tests
38
+ │ └── cli.test.ts
39
+
37
40
  ├── .github/
38
41
  │ └── workflows/
39
42
  │ └── ci.yaml # CI pipeline
@@ -44,7 +47,7 @@ No arguments, no flags — just answer the prompts.
44
47
 
45
48
  ├── eslint.config.js # ESLint configuration
46
49
  ├── tsconfig.json # TypeScript configuration
47
- ├── vitest.config.ys # Test configuration
50
+ ├── vitest.config.ts # Test configuration
48
51
 
49
52
  ├── package.json # Package metadata & scripts
50
53
  ├── README.md # Project documentation
@@ -60,6 +63,9 @@ No arguments, no flags — just answer the prompts.
60
63
  ├── src/
61
64
  │ └── index.ts # Library entry point (public API)
62
65
 
66
+ ├── tests/ # Tests
67
+ │ └── lib.test.ts
68
+
63
69
  ├── .github/
64
70
  │ └── workflows/
65
71
  │ └── ci.yaml # CI pipeline
@@ -68,7 +74,7 @@ No arguments, no flags — just answer the prompts.
68
74
  ├── .prettierrc # Prettier configuration
69
75
  ├── .prettierignore # Prettier ignore rules
70
76
 
71
- ├── eslint.config.js # ESLint (flat, TypeScript config)
77
+ ├── eslint.config.js # ESLint configuration
72
78
  ├── tsconfig.json # TypeScript configuration
73
79
  ├── vitest.config.ts # Test configuration
74
80
 
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "repository": {
31
31
  "type": "git",
32
- "url": "git+https://github.com/alcanivorax/{{projectName}.git"
32
+ "url": "git+https://github.com/alcanivorax/{{projectName}}.git"
33
33
  },
34
34
  "keywords": [
35
35
  "cli"
@@ -1,8 +1,9 @@
1
1
  import { describe, it, expect } from 'vitest'
2
+ import { run } from '../src/index.js'
2
3
 
3
- describe('cli module', () => {
4
- it('can be imported without throwing', async () => {
5
- const mod = await import('../src/cli/options.js')
6
- expect(mod).toBeDefined()
4
+ describe('index', () => {
5
+ it('should return running message', async () => {
6
+ const result = await run()
7
+ expect(result).toContain('is running...')
7
8
  })
8
9
  })
@@ -3,6 +3,6 @@ import { LIB_NAME } from '../src/index.js'
3
3
 
4
4
  describe('lib', () => {
5
5
  it('exports a library identifier', () => {
6
- expect(LIB_NAME).toBe('library')
6
+ expect(LIB_NAME).toBe('{{projectName}}')
7
7
  })
8
8
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nero-init",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Project scaffold for CLI, library and Web templates.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",