Skip to content

Commit

Permalink
add prepublishOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Condon authored and Craig Condon committed Apr 1, 2024
1 parent d359d0e commit d154c67
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion libs/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "lib/index.js",
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch"
"build:watch": "tsc --watch",
"prepublishOnly": "yarn build"
},
"author": "",
"license": "ISC",
Expand Down
3 changes: 2 additions & 1 deletion libs/designer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"build:watch": "rm -rf dist && yarn build:pc && concurrently \"yarn build:pc --watch\" \"webpack --watch\"",
"build:pc": "../../target/debug/paperclip_cli build",
"test": "jest --runInBand --testTimeout=10000 --env=jsdom",
"start": "nodemon --watch \"../../target/debug/paperclip_cli\" --exec \"../../target/debug/paperclip_cli designer --port=8000\""
"start": "nodemon --watch \"../../target/debug/paperclip_cli\" --exec \"../../target/debug/paperclip_cli designer --port=8000\"",
"prepublishOnly": "yarn build"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion libs/node-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch --preserveWatchOutput"
"build:watch": "tsc --watch --preserveWatchOutput",
"prepublishOnly": "yarn build"
},
"author": "",
"license": "ISC",
Expand Down
3 changes: 2 additions & 1 deletion libs/proto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"build": "yarn build:proto; yarn build:tsc",
"build:watch": "build:tsc --watch",
"build:proto": "mkdir -p lib src/generated && protoc --proto_path=src --plugin=\"protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts_proto\" --ts_opt=\"useOptionals=all,useExactTypes=false,outputClientImpl=grpc-web\" --ts_out=\"./src/generated\" --js_out=\"import_style=commonjs:./lib\" src/service/designer.proto src/notice/base.proto src/ast/pc.proto src/ast_mutate/mod.proto src/ast/css.proto src/ast/graph.proto src/virt/html.proto src/ast/base.proto src/virt/module.proto src/virt/css.proto src/ast/docco.proto src/language_service/pc.proto",
"build:tsc": "tsc"
"build:tsc": "tsc",
"prepublishOnly": "yarn build"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion libs/releases/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"type": "module",
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch --preserveWatchOutput"
"build:watch": "tsc --watch --preserveWatchOutput",
"prepublishOnly": "yarn build"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit d154c67

Please sign in to comment.