peakurl 0.0.2 → 0.0.3
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 +11 -0
- package/package.json +12 -5
- /package/{dist/index.js → bin/peakurl.js} +0 -0
package/README.md
CHANGED
|
@@ -108,6 +108,17 @@ List flags:
|
|
|
108
108
|
|
|
109
109
|
```bash
|
|
110
110
|
npm install
|
|
111
|
+
npm run build
|
|
111
112
|
npm run typecheck
|
|
112
113
|
npm test
|
|
113
114
|
```
|
|
115
|
+
|
|
116
|
+
Production builds emit the published executable at `bin/peakurl.js`.
|
|
117
|
+
|
|
118
|
+
## Release
|
|
119
|
+
|
|
120
|
+
GitHub Actions publishes the CLI to the public npm registry when a GitHub
|
|
121
|
+
Release is published.
|
|
122
|
+
|
|
123
|
+
The workflow expects a repository secret named `NPM_TOKEN` and publishes to
|
|
124
|
+
`https://registry.npmjs.org/` with provenance enabled.
|
package/package.json
CHANGED
|
@@ -1,26 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "peakurl",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "PeakURL command-line interface",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/PeakURL/PeakURL-CLI.git"
|
|
8
|
+
},
|
|
5
9
|
"type": "module",
|
|
6
10
|
"bin": {
|
|
7
|
-
"peakurl": "
|
|
11
|
+
"peakurl": "bin/peakurl.js"
|
|
8
12
|
},
|
|
9
13
|
"files": [
|
|
10
|
-
"
|
|
14
|
+
"bin"
|
|
11
15
|
],
|
|
12
16
|
"engines": {
|
|
13
17
|
"node": ">=20"
|
|
14
18
|
},
|
|
15
19
|
"scripts": {
|
|
16
|
-
"build": "tsup
|
|
20
|
+
"build": "tsup --config tsup.config.ts",
|
|
17
21
|
"dev": "tsx src/index.ts",
|
|
18
22
|
"format": "prettier --write .",
|
|
19
23
|
"format:check": "prettier --check .",
|
|
20
|
-
"test": "tsx --test test
|
|
24
|
+
"test": "tsx --test test/*.test.ts",
|
|
21
25
|
"typecheck": "tsc --noEmit",
|
|
22
26
|
"prepare": "npm run build"
|
|
23
27
|
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"registry": "https://registry.npmjs.org/"
|
|
30
|
+
},
|
|
24
31
|
"dependencies": {
|
|
25
32
|
"commander": "^14.0.0",
|
|
26
33
|
"env-paths": "^3.0.0"
|
|
File without changes
|