nsbp-cli 0.2.5 → 0.2.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.
package/README.md CHANGED
@@ -145,7 +145,7 @@ node ./bin/nsbp.js --help # Test CLI locally
145
145
 
146
146
  - **Package Name**: `nsbp-cli`
147
147
  - **Bin Command**: `nsbp` (install globally and run `nsbp --help`)
148
- - **Version**: `0.2.4`
148
+ - **Version**: `$NEW_VERSION`
149
149
  - **Dependencies**: chalk, commander, fs-extra, inquirer
150
150
  - **Package Manager**: Uses pnpm (also compatible with npm)
151
151
  - **Node Version**: >=16.0.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nsbp-cli",
3
- "version": "0.2.5",
3
+ "version": "0.2.8",
4
4
  "description": "CLI tool for creating NSBP (Node React SSR by Webpack) projects",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -15,7 +15,9 @@
15
15
  "start": "node ./bin/nsbp.js",
16
16
  "test": "echo \"Error: no test specified\" && exit 1",
17
17
  "sync-template": "node ./scripts/sync-template.js",
18
- "update": "npm run sync-template"
18
+ "update": "npm run sync-template",
19
+ "update-changelog": "node ./scripts/update-changelog.js",
20
+ "changelog": "npx conventional-changelog -p angular -i CHANGELOG.md -s"
19
21
  },
20
22
  "keywords": [
21
23
  "nsbp",
@@ -42,6 +44,11 @@
42
44
  "fs-extra": "^11.2.0",
43
45
  "inquirer": "^8.2.6"
44
46
  },
47
+ "devDependencies": {
48
+ "conventional-changelog": "^7.1.1",
49
+ "conventional-changelog-angular": "^8.1.0",
50
+ "conventional-changelog-cli": "2.2.2"
51
+ },
45
52
  "engines": {
46
53
  "node": ">=16.0.0"
47
54
  }
@@ -1,5 +1,14 @@
1
1
  .PHONY: help build dev prod down clean logs restart
2
2
 
3
+ # Package manager detection
4
+ PNPM := $(shell which pnpm)
5
+ NPM := $(shell which npm)
6
+ ifeq ($(PNPM),)
7
+ PM := npm
8
+ else
9
+ PM := pnpm
10
+ endif
11
+
3
12
  help: ## Show this help message
4
13
  @echo 'Usage: make [target]'
5
14
  @echo ''