Skip to content

Commit a767e79

Browse files
committed
fix: Global install missing yargs
Signed-off-by: Gordon Smith <[email protected]>
1 parent f2fd349 commit a767e79

File tree

4 files changed

+18
-41
lines changed

4 files changed

+18
-41
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.vscode/ipch
2-
bin/
32
build/
43
dist/
54
emsdk/
File renamed without changes.

package-lock.json

Lines changed: 10 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
"unpkg": "dist/index.min.js",
2323
"jsdelivr": "dist/index.min.js",
2424
"bin": {
25-
"dot-wasm": "bin/index.js"
25+
"dot-wasm": "bin/cli.js"
2626
},
2727
"types": "types/index.d.ts",
2828
"files": [
29-
"bin/index.js",
29+
"bin/cli.js",
3030
"dist/index*.*",
3131
"dist/expat*.*",
3232
"dist/graphviz*.*",
@@ -44,7 +44,7 @@
4444
"install-expat:linux": "./scripts/cpp-install-expat.sh",
4545
"install-expat:win32": "wsl -e ./scripts/cpp-install-expat.sh",
4646
"install-build-deps": "run-s install-emsdk install-graphviz install-expat",
47-
"clean": "rimraf coverage bin build dist lib* types *.tsbuildinfo",
47+
"clean": "rimraf coverage build dist lib* types *.tsbuildinfo",
4848
"clean-build-deps": "rimraf ./emsdk ./src-graphviz ./src-expat",
4949
"compile-es6": "tsc --module es6 --outDir ./lib-es6",
5050
"compile-es6-watch": "npm run compile-es6 -- -w",
@@ -53,10 +53,9 @@
5353
"compile-cpp:linux": "./scripts/cpp-build.sh",
5454
"compile-cpp:win32": "wsl -e ./scripts/cpp-build.sh",
5555
"bundle": "rollup -c",
56-
"bundle-cli": "ncc build -e ../dist/graphviz.node.js -m ./src/cli.js -o ./bin",
5756
"bundle-watch": "npm run bundle -- -w",
5857
"minimize": "terser dist/index.js -c -m --source-map -o dist/index.min.js",
59-
"build": "run-s compile-cpp compile-es6 bundle bundle-cli minimize",
58+
"build": "run-s compile-cpp compile-es6 bundle minimize",
6059
"build-ubuntu-dev": "docker build --rm -f \"./docker/ubuntu-dev.dockerfile\" -t ubuntu-dev:latest \".\"",
6160
"standard-version": "standard-version",
6261
"standard-version-dryrun": "standard-version --dry-run",
@@ -71,6 +70,9 @@
7170
"tag": "run-s standard-version git-push",
7271
"purge-jsdelivr": "node ./utils/purge-jsdelivr.js"
7372
},
73+
"dependencies": {
74+
"yargs": "^17.1.1"
75+
},
7476
"devDependencies": {
7577
"@rollup/plugin-alias": "^3.1.5",
7678
"@rollup/plugin-commonjs": "^19.0.0",
@@ -80,7 +82,6 @@
8082
"@types/mocha": "^9.0.0",
8183
"@typescript-eslint/eslint-plugin": "^4.31.1",
8284
"@typescript-eslint/parser": "^4.31.1",
83-
"@vercel/ncc": "^0.31.1",
8485
"chai": "^4.3.4",
8586
"eslint": "^7.32.0",
8687
"karma": "^6.3.4",
@@ -98,8 +99,7 @@
9899
"standard-version": "^9.3.1",
99100
"terser": "^5.8.0",
100101
"tslib": "^2.3.1",
101-
"typescript": "^4.4.3",
102-
"yargs": "^17.1.1"
102+
"typescript": "^4.4.3"
103103
},
104104
"repository": {
105105
"type": "git",

0 commit comments

Comments
 (0)