Skip to content

Commit b27a4c8

Browse files
committed
Update package scripts to avoid non-zero exit code
1 parent 67d63ec commit b27a4c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,16 @@
9494
"=============================================================================== components": "",
9595
"make-one": "make() { components/bin/makeAll --no-subdirs $3 $4 --$2 components/$2/$1; }; make",
9696
"_bundle:pkg": "pkg() { echo '{\n \"type\": \"commonjs\"\n}' > bundle$1/package.json; }; pkg",
97-
"_bundle-build:pkg": "",
97+
"_bundle--build:pkg": "",
9898
"_pre_make": "pre() { npm run clean:dir bundle$2 && npm run clean:lib $1; }; pre",
9999
"_make": "make() { components/bin/makeAll --$1 --terse $2 $3 components/$1; }; make",
100-
"_make_": "m() { npm run -- _pre_make $1 $2 && npm run -- _make $1 $3 $4; npm run -- _bundle$4:pkg $2; }; m",
100+
"_make_": "m() { npm run -- _pre_make $1 $2 && npm run -- _make $1 $3 $4 && npm run -- _bundle$4:pkg $2; }; m",
101101
"make-cjs-components": "npm run -s -- _make_ cjs -cjs --bundle-cjs",
102102
"make-mjs-components": "npm run -s -- _make_ mjs",
103103
"make-components": "npm run -s make-mjs-components",
104104
"=============================================================================== build": "",
105105
"pre_build": "echo 'Compiling typescript files'",
106-
"_build": "build() { npm run compile-$1; echo; npm run -- make-$1-components $2; }; build",
106+
"_build": "build() { npm run compile-$1 && echo && npm run -- make-$1-components $2; }; build",
107107
"_build_": "b() { echo '============='; echo Building $1:; echo '============='; npm run -- _build $1 $2; }; b",
108108
"build-cjs": "npm run -s -- _build_ cjs --build",
109109
"build-mjs": "npm run -s -- _build_ mjs",

0 commit comments

Comments
 (0)