Skip to content

Commit 79c466f

Browse files
committed
Don't pack dist/tests/ folder
1 parent a7307c8 commit 79c466f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*
22
!dist/**/*
3+
dist/tests/

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"pkg-win": "pkg dist/index.js --public -t win-x64 -o bin/win/gitlab-ci-local && gzip -c bin/win/gitlab-ci-local.exe > bin/win.gz",
1111
"pkg-all": "npm run pkg-linux && npm run pkg-macos && npm run pkg-win",
1212
"pkg": "pkg",
13-
"build": "tsc",
13+
"build": "rm -rf dist/ && tsc",
1414
"check-all": "npm run build && npm run lint && npm run ncu && npm run test:coverage && npm audit --parseable",
1515
"lint": "eslint .",
1616
"ncu": "ncu --target latest -e 2",
@@ -32,6 +32,9 @@
3232
"assets": [
3333
"package.json"
3434
],
35+
"scripts": [
36+
"dist/*.js"
37+
],
3538
"targets": [
3639
"node14"
3740
]

0 commit comments

Comments
 (0)