build: fix building with rollup unable to include commands
This commit is contained in:
parent
c081b68c29
commit
1f3e427523
2 changed files with 26 additions and 10 deletions
12
package.json
12
package.json
|
@ -16,7 +16,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rimraf dist",
|
"clean": "rimraf dist",
|
||||||
"compile:dev": "tsc",
|
"compile:dev": "tsc",
|
||||||
"compile:prod": "rollup -c --compact",
|
"compile:prod": "rollup -c --compact && yarn compile:dev && cp -r dist/src/commands dist/commands && rimraf dist/src",
|
||||||
"commit": "commit",
|
"commit": "commit",
|
||||||
"coverage": "NODE_CONFIG_ENV=tests nyc yarn run test",
|
"coverage": "NODE_CONFIG_ENV=tests nyc yarn run test",
|
||||||
"lint": "eslint --format=pretty src/**/*.ts",
|
"lint": "eslint --format=pretty src/**/*.ts",
|
||||||
|
@ -51,6 +51,7 @@
|
||||||
"terminal-link": "^3.0.0",
|
"terminal-link": "^3.0.0",
|
||||||
"tslib": "^2.3.0",
|
"tslib": "^2.3.0",
|
||||||
"utf-8-validate": "^5.0.5",
|
"utf-8-validate": "^5.0.5",
|
||||||
|
"vm2": "^3.9.3",
|
||||||
"zlib-sync": "^0.1.7"
|
"zlib-sync": "^0.1.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -156,7 +157,10 @@
|
||||||
"license-header.txt"
|
"license-header.txt"
|
||||||
],
|
],
|
||||||
"no-case-declarations": "off",
|
"no-case-declarations": "off",
|
||||||
"keyword-spacing": ["error", {"overrides": {
|
"keyword-spacing": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"overrides": {
|
||||||
"if": {
|
"if": {
|
||||||
"before": false,
|
"before": false,
|
||||||
"after": false
|
"after": false
|
||||||
|
@ -165,7 +169,9 @@
|
||||||
"before": true,
|
"before": true,
|
||||||
"after": false
|
"after": false
|
||||||
}
|
}
|
||||||
}}],
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"@typescript-eslint/no-non-null-assertion": "off"
|
"@typescript-eslint/no-non-null-assertion": "off"
|
||||||
},
|
},
|
||||||
"reportUnusedDisableDirectives": true
|
"reportUnusedDisableDirectives": true
|
||||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -1587,6 +1587,7 @@ __metadata:
|
||||||
typescript: ^4.3.4
|
typescript: ^4.3.4
|
||||||
typescript-eslint-language-service: ^4.1.4
|
typescript-eslint-language-service: ^4.1.4
|
||||||
utf-8-validate: ^5.0.5
|
utf-8-validate: ^5.0.5
|
||||||
|
vm2: ^3.9.3
|
||||||
zlib-sync: ^0.1.7
|
zlib-sync: ^0.1.7
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
@ -7778,6 +7779,15 @@ typescript@^4.3.4:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"vm2@npm:^3.9.3":
|
||||||
|
version: 3.9.3
|
||||||
|
resolution: "vm2@npm:3.9.3"
|
||||||
|
bin:
|
||||||
|
vm2: bin/vm2
|
||||||
|
checksum: 6367c213b2289c32831a10230dd16f31394c134fe269992071c49b26509c6e6145b379ff435c09cb28af8619c7a9f2f91e080d08d2f9a171b75869f3f34bc6ca
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"vorpal@npm:^1.12.0":
|
"vorpal@npm:^1.12.0":
|
||||||
version: 1.12.0
|
version: 1.12.0
|
||||||
resolution: "vorpal@npm:1.12.0"
|
resolution: "vorpal@npm:1.12.0"
|
||||||
|
|
Reference in a new issue