Archived
0
0
Fork 0

build: fix building with rollup unable to include commands

This commit is contained in:
Daryl Ronningen 2021-06-20 05:43:12 -07:00
parent c081b68c29
commit 1f3e427523
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
2 changed files with 26 additions and 10 deletions

View file

@ -16,7 +16,7 @@
"scripts": {
"clean": "rimraf dist",
"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",
"coverage": "NODE_CONFIG_ENV=tests nyc yarn run test",
"lint": "eslint --format=pretty src/**/*.ts",
@ -51,6 +51,7 @@
"terminal-link": "^3.0.0",
"tslib": "^2.3.0",
"utf-8-validate": "^5.0.5",
"vm2": "^3.9.3",
"zlib-sync": "^0.1.7"
},
"devDependencies": {
@ -156,7 +157,10 @@
"license-header.txt"
],
"no-case-declarations": "off",
"keyword-spacing": ["error", {"overrides": {
"keyword-spacing": [
"error",
{
"overrides": {
"if": {
"before": false,
"after": false
@ -165,7 +169,9 @@
"before": true,
"after": false
}
}}],
}
}
],
"@typescript-eslint/no-non-null-assertion": "off"
},
"reportUnusedDisableDirectives": true

View file

@ -1587,6 +1587,7 @@ __metadata:
typescript: ^4.3.4
typescript-eslint-language-service: ^4.1.4
utf-8-validate: ^5.0.5
vm2: ^3.9.3
zlib-sync: ^0.1.7
languageName: unknown
linkType: soft
@ -7778,6 +7779,15 @@ typescript@^4.3.4:
languageName: node
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":
version: 1.12.0
resolution: "vorpal@npm:1.12.0"