Skip to content

Commit 7522e1e

Browse files
committed
Include an oclif manifest in build output
1 parent fd61913 commit 7522e1e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
.yarn-integrity
3535
/.nyc_output
3636
/dist
37+
oclif.manifest.json
3738
/lib
3839
/tmp
3940
/yarn.lock

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
"httptoolkit-server": "./bin/run"
99
},
1010
"files": [
11+
"oclif.manifest.json",
1112
"/bin",
1213
"/lib"
1314
],
1415
"scripts": {
1516
"start": "./bin/run",
1617
"build": "npm run build:src && npm run build:pack",
1718
"build:src": "rm -rf lib && tsc -b",
18-
"build:pack": "oclif-dev pack",
19+
"build:pack": "oclif-dev manifest && oclif-dev pack",
1920
"prepack": "npm run build:src",
2021
"test": "mocha -r ts-node/register 'test/**/*.spec.ts'"
2122
},

0 commit comments

Comments
 (0)