nero-init 1.0.7 → 1.0.8

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,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.8",
4
4
  "description": "Project scaffold for CLI, library and Web templates.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",