Skip to content

Commit d154c67

Browse files
Craig CondonCraig Condon
Craig Condon
authored and
Craig Condon
committed
add prepublishOnly
1 parent d359d0e commit d154c67

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

libs/core/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "lib/index.js",
66
"scripts": {
77
"build": "tsc",
8-
"build:watch": "tsc --watch"
8+
"build:watch": "tsc --watch",
9+
"prepublishOnly": "yarn build"
910
},
1011
"author": "",
1112
"license": "ISC",

libs/designer/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"build:watch": "rm -rf dist && yarn build:pc && concurrently \"yarn build:pc --watch\" \"webpack --watch\"",
1010
"build:pc": "../../target/debug/paperclip_cli build",
1111
"test": "jest --runInBand --testTimeout=10000 --env=jsdom",
12-
"start": "nodemon --watch \"../../target/debug/paperclip_cli\" --exec \"../../target/debug/paperclip_cli designer --port=8000\""
12+
"start": "nodemon --watch \"../../target/debug/paperclip_cli\" --exec \"../../target/debug/paperclip_cli designer --port=8000\"",
13+
"prepublishOnly": "yarn build"
1314
},
1415
"publishConfig": {
1516
"access": "public"

libs/node-cli/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
},
1313
"scripts": {
1414
"build": "tsc",
15-
"build:watch": "tsc --watch --preserveWatchOutput"
15+
"build:watch": "tsc --watch --preserveWatchOutput",
16+
"prepublishOnly": "yarn build"
1617
},
1718
"author": "",
1819
"license": "ISC",

libs/proto/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build": "yarn build:proto; yarn build:tsc",
88
"build:watch": "build:tsc --watch",
99
"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",
10-
"build:tsc": "tsc"
10+
"build:tsc": "tsc",
11+
"prepublishOnly": "yarn build"
1112
},
1213
"publishConfig": {
1314
"access": "public"

libs/releases/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"type": "module",
77
"scripts": {
88
"build": "tsc",
9-
"build:watch": "tsc --watch --preserveWatchOutput"
9+
"build:watch": "tsc --watch --preserveWatchOutput",
10+
"prepublishOnly": "yarn build"
1011
},
1112
"publishConfig": {
1213
"access": "public"

0 commit comments

Comments
 (0)