create-node-lib 2.7.7 → 2.8.0

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,6 +1,6 @@
1
1
  {
2
2
  "name": "create-node-lib",
3
- "version": "2.7.7",
3
+ "version": "2.8.0",
4
4
  "description": "Scaffolding out a Node.js library module",
5
5
  "bin": "./bin/cli.js",
6
6
  "engines": {
@@ -1,4 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  npx --no validate-conventional-commit < .git/COMMIT_EDITMSG
@@ -1,4 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  npm install
@@ -1,4 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  npx --no-install lint-staged
@@ -1,4 +1 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
1
  npm run lint && npm run test
@@ -20,8 +20,8 @@
20
20
 
21
21
  ## Install
22
22
 
23
- ```bash
24
- <%= npmClient %> <%= npmClientInstall %> <%= projectName %>
23
+ ```sh
24
+ <%= npmClient %> <%= npmClientInstall(npmClient) %> <%= projectName %>
25
25
  ```
26
26
  ## Usage: CLI
27
27
 
@@ -5,8 +5,8 @@ import { add } from '../main.ts'
5
5
  const debug = debuglog('<%= projectName %>')
6
6
 
7
7
  async function init () {
8
- const sum = await add(1,2)
8
+ const sum = await add(1, 2)
9
9
  debug(sum.toString())
10
10
  }
11
11
 
12
- init()
12
+ init()
@@ -22,6 +22,8 @@
22
22
  "resolveJsonModule": true,
23
23
  "isolatedModules": true,
24
24
  "removeComments": true,
25
+ "moduleDetection": "force",
26
+ "verbatimModuleSyntax": true,
25
27
  },
26
28
  "include": [
27
29
  "src/**/*",
File without changes