Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster build #5

Merged
merged 3 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions js/args-config-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "tsc -p tsconfig.json",
"postbuild:refapps": "yarn prepack && yarn packseq",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
5 changes: 2 additions & 3 deletions js/args-to-output/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "tsc -p tsconfig.json",
"postbuild:refapps": "yarn prepack && yarn packseq",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
10 changes: 2 additions & 8 deletions js/audio2text-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@
"description": "",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"tsc": "./node_modules/typescript/bin/tsc",
"postinstall": "npm run tsc",
"build": "tsc -p tsconfig.json",
"build:refapps": "tsc -p tsconfig.json",
"postbuild:refapps": "yarn prepack && yarn packseq",
"postbuild": "cp -r package.json dist/ && (cd dist && npm i --omit=dev) && cp src/utils/song.wav dist/utils && cp src/utils/config.json dist/utils ",
"pack": "si seq pack ./dist/",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist ./*.tar.gz"
"clean": "rm -rf ./dist"
},
"keywords": [],
"author": "Piotr",
Expand Down
5 changes: 2 additions & 3 deletions js/avengers-names-output/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
],
"scripts": {
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
5 changes: 2 additions & 3 deletions js/big-file-sequence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
5 changes: 2 additions & 3 deletions js/can-keep-alive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
"main": "index.js",
"scripts": {
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
5 changes: 2 additions & 3 deletions js/checksum-sequence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
],
"scripts": {
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
5 changes: 2 additions & 3 deletions js/clickup-add-issues/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "tsc -p tsconfig.json",
"postbuild:refapps": "yarn prepack && yarn packseq",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"keywords": [],
"author": "Scramjet <open-source@scramjet.org>",
Expand Down
5 changes: 2 additions & 3 deletions js/csv-transform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "This sequence performs transformation on received csv chunks",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "eryk.solecki@scramjet.org",
"license": "ISC",
Expand Down
9 changes: 4 additions & 5 deletions js/debug-args/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"version": "0.22.0",
"main": "index",
"scripts": {
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"clean": "rm -rf ./dist .bic_cache",
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js"
"build:refapps": "tsc -p tsconfig.json",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist"
},
"engines": {
"node": ">=14"
Expand Down
5 changes: 2 additions & 3 deletions js/delay-out-in-a/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
],
"scripts": {
"build:refapps": "node ../../scripts/build-all.js && cp real-hrtime.node dist/",
"postbuild:refapps": "yarn prepack && yarn packseq",
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
5 changes: 2 additions & 3 deletions js/delay-out-in-b/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
],
"scripts": {
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "cp real-hrtime.node dist/ && yarn prepack && yarn packseq",
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"postbuild:refapps": "cp real-hrtime.node dist/ && yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
5 changes: 2 additions & 3 deletions js/durability-preservation-event/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "",
"main": "index.ts",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"scramjet": {
"image": "node",
Expand Down
4 changes: 2 additions & 2 deletions js/durability-preservation-tcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Sequence downloads following files every second:

build everything:
```
yarn install && yarn build && yarn prepack
yarn install && yarn build
```

## Run test
Expand Down Expand Up @@ -40,7 +40,7 @@ yarn test:bdd --name "PT-003 TC-003"
prepare sequence
```
✘-INT ~/github/scramjet-csi-dev/packages/reference-apps/durability-preservation
$ yarn build && yarn prepack
$ yarn build
```

start host
Expand Down
5 changes: 2 additions & 3 deletions js/durability-preservation-tcp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "",
"main": "index.ts",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"scramjet": {
"image": "node",
Expand Down
2 changes: 1 addition & 1 deletion js/durability-preservation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Sequence downloads following files every second:

build everything:
```
yarn install && yarn build && yarn prepack
yarn install && yarn build
```

## Run test
Expand Down
5 changes: 2 additions & 3 deletions js/durability-preservation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "",
"main": "index.ts",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
5 changes: 2 additions & 3 deletions js/endless-names-output/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
"main": "index.js",
"scripts": {
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
5 changes: 2 additions & 3 deletions js/event-sequence-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache",
"clean": "rm -rf ./dist",
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq"
"postbuild:refapps": "yarn packseq"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
5 changes: 2 additions & 3 deletions js/event-sequence-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "This sequnce responds for event, wait 1 sec and exits.",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
5 changes: 2 additions & 3 deletions js/event-sequence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
9 changes: 4 additions & 5 deletions js/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"version": "0.22.0",
"main": "index",
"scripts": {
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"clean": "rm -rf ./dist .bic_cache",
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js"
"build:refapps": "tsc -p tsconfig.json",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist"
},
"engines": {
"node": ">=14"
Expand Down
9 changes: 4 additions & 5 deletions js/exception-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"version": "0.22.0",
"main": "index",
"scripts": {
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"clean": "rm -rf ./dist .bic_cache",
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js"
"build:refapps": "tsc -p tsconfig.json",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist"
},
"engines": {
"node": ">=14"
Expand Down
5 changes: 2 additions & 3 deletions js/flood-stdout-sequence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache",
"clean": "rm -rf ./dist",
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq"
"postbuild:refapps": "yarn packseq"
},
"author": "",
"license": "ISC",
Expand Down
9 changes: 4 additions & 5 deletions js/forever/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
"version": "0.22.0",
"main": "index",
"scripts": {
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"clean": "rm -rf ./dist .bic_cache",
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js"
"build:refapps": "tsc -p tsconfig.json",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist"
},
"engines": {
"node": ">=14"
Expand Down
7 changes: 3 additions & 4 deletions js/generate-data-topic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "Sending 128bytes of data to topic for given duration of time ",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "tsc -p tsconfig.json",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache",
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
7 changes: 3 additions & 4 deletions js/git-read-issues/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "Sequence that reads github issues and store them in a topic prepared to use in clickup-add-issues",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"build:refapps": "tsc -p tsconfig.json",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"keywords": [
"github",
Expand Down
5 changes: 2 additions & 3 deletions js/healthy-sequence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "",
"main": "index.js",
"scripts": {
"prepack": "PACKAGES_DIR=js node ../../scripts/publish.js",
"build:refapps": "node ../../scripts/build-all.js",
"postbuild:refapps": "yarn prepack && yarn packseq",
"postbuild:refapps": "yarn packseq",
"packseq": "PACKAGES_DIR=js node ../../scripts/packsequence.js",
"clean": "rm -rf ./dist .bic_cache"
"clean": "rm -rf ./dist"
},
"author": "Scramjet <open-source@scramjet.org>",
"license": "ISC",
Expand Down
Loading
Loading