create-node-lib 2.10.0 → 2.10.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.10.1](https://github.com/lirantal/create-node-lib/compare/v2.10.0...v2.10.1) (2026-03-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * rename template .gitignore to gitignore so it survives npm packaging ([0a61159](https://github.com/lirantal/create-node-lib/commit/0a611591ec331963f86072360deac97ccf9ece7d))
7
+
1
8
  # [2.10.0](https://github.com/lirantal/create-node-lib/compare/v2.9.14...v2.10.0) (2026-03-09)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-node-lib",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "description": "Scaffolding out a Node.js library module",
5
5
  "bin": "./bin/cli.js",
6
6
  "engines": {
package/saofile.js CHANGED
@@ -100,15 +100,13 @@ module.exports = {
100
100
  ] = `lockfile-lint --path ${lockfile} --validate-https --allowed-hosts npm`
101
101
  return data
102
102
  }
103
+ },
104
+ {
105
+ type: 'move',
106
+ patterns: {
107
+ gitignore: '.gitignore'
108
+ }
103
109
  }
104
- // we already have the .gitignore file as part of the template/ directory
105
- // {
106
- // type: 'move',
107
- // patterns: {
108
- // gitignore: '.gitignore'
109
- // // '_package.json': 'package.json'
110
- // }
111
- // }
112
110
  ]
113
111
  },
114
112
  async completed() {
@@ -0,0 +1,7 @@
1
+ {
2
+ "recommendations": [
3
+ "dbaeumer.vscode-eslint",
4
+ "esbenp.prettier-vscode",
5
+ "vitest.explorer"
6
+ ]
7
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "configurations": [
3
+ {
4
+ "name": "Launch Program",
5
+ "type": "node",
6
+ "request": "launch",
7
+ "program": "${workspaceFolder}/src/main.ts",
8
+ "console": "integratedTerminal",
9
+ "restart": true,
10
+ "args": [],
11
+ "runtimeExecutable": null,
12
+ "runtimeArgs": [
13
+ "--nolazy"
14
+ ]
15
+ }
16
+ ],
17
+ "version": "0.2.0"
18
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "eslint.format.enable": true,
3
+ "[javascript]": {
4
+ "editor.defaultFormatter": "dbaeumer.vscode-eslint"
5
+ },
6
+ "editor.defaultFormatter": "dbaeumer.vscode-eslint",
7
+ "editor.formatOnSave": true,
8
+
9
+ // adopted from create-typescript-app template for vscode settings:
10
+ "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" },
11
+ "editor.rulers": [120],
12
+ "eslint.probe": [
13
+ "javascript",
14
+ "javascriptreact",
15
+ "json",
16
+ "jsonc",
17
+ "markdown",
18
+ "typescript",
19
+ "typescriptreact",
20
+ "yaml"
21
+ ],
22
+ "typescript.tsdk": "node_modules/typescript/lib"
23
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "tasks": [
3
+ {
4
+ "detail": "Build the project",
5
+ "label": "build",
6
+ "script": "build",
7
+ "type": "npm"
8
+ }
9
+ ],
10
+ "version": "2.0.0"
11
+ }
12
+
@@ -0,0 +1,86 @@
1
+ .dccache
2
+ # Logs
3
+ logs
4
+ *.log
5
+ npm-debug.log*
6
+ pnpm-debug.log*
7
+
8
+ # Runtime data
9
+ pids
10
+ *.pid
11
+ *.seed
12
+ *.pid.lock
13
+
14
+ # Directory for instrumented libs generated by jscoverage/JSCover
15
+ lib-cov
16
+
17
+ # Coverage directory used by tools like istanbul
18
+ coverage
19
+
20
+ # nyc test coverage
21
+ .nyc_output
22
+
23
+ # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
24
+ .grunt
25
+
26
+ # Bower dependency directory (https://bower.io/)
27
+ bower_components
28
+
29
+ # node-waf configuration
30
+ .lock-wscript
31
+
32
+ # Compiled binary addons (https://nodejs.org/api/addons.html)
33
+ build/Release
34
+
35
+ # Dependency directories
36
+ node_modules/
37
+ jspm_packages/
38
+
39
+ # TypeScript v1 declaration files
40
+ typings/
41
+
42
+ # Optional npm cache directory
43
+ .npm
44
+
45
+ # Optional eslint cache
46
+ .eslintcache
47
+
48
+ # Optional REPL history
49
+ .node_repl_history
50
+
51
+ # Output of 'npm pack'
52
+ *.tgz
53
+
54
+ # pnpm store
55
+ .pnpm-store/
56
+
57
+ # dotenv environment variables file
58
+ .env
59
+ .env.test
60
+
61
+ # parcel-bundler cache (https://parceljs.org/)
62
+ .cache
63
+
64
+ # next.js build output
65
+ .next
66
+
67
+ # nuxt.js build output
68
+ .nuxt
69
+
70
+ # vuepress build output
71
+ .vuepress/dist
72
+
73
+ # Serverless directories
74
+ .serverless/
75
+
76
+ # FuseBox cache
77
+ .fusebox/
78
+
79
+ # DynamoDB Local files
80
+ .dynamodb/
81
+
82
+ # Visual Studio Code
83
+ .vscode/
84
+
85
+ # Snyk
86
+ .dccache