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.
|
|
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
|
|
77
|
+
├── eslint.config.js # ESLint configuration
|
|
72
78
|
├── tsconfig.json # TypeScript configuration
|
|
73
79
|
├── vitest.config.ts # Test configuration
|
|
74
80
|
│
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { describe, it, expect } from 'vitest'
|
|
2
|
+
import { run } from '../src/index.js'
|
|
2
3
|
|
|
3
|
-
describe('
|
|
4
|
-
it('
|
|
5
|
-
const
|
|
6
|
-
expect(
|
|
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
|
})
|