fix: build components with dependencies (#1132)

* fix: build components with dependencies

* fix: exclude @standardnotes/components-meta

* chore: update yarn.lock

* fix: remove compile script from VERSION.sh

* fix: skip lint script

* fix: components script names

* fix: build script for components

* fix: run tsc within build script

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
This commit is contained in:
Johnny A
2022-06-21 20:13:26 -04:00
committed by GitHub
parent f1573e7112
commit 7b51131082
6 changed files with 21 additions and 19 deletions

View File

@@ -13,14 +13,15 @@
"node": ">=12.19.0 <17.0.0"
},
"scripts": {
"lint": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run lint",
"test": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run test",
"lint": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run lint",
"test": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run test",
"clean": "lerna run clean",
"build:all": "yarn workspaces foreach -pt --verbose run build",
"build:web": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/web run build",
"build:desktop": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/desktop run build",
"build:mobile": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/mobile run build",
"build:web-server": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/web-server run build",
"build:all": "yarn workspaces foreach -pt --verbose --exclude @standardnotes/components-meta run build",
"build:components": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/components-meta run build",
"build:web": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/web --exclude @standardnotes/components-meta run build",
"build:desktop": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/desktop --exclude @standardnotes/components-meta run build",
"build:mobile": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/mobile --exclude @standardnotes/components-meta run build",
"build:web-server": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/web-server --exclude @standardnotes/components-meta run build",
"start:server:web": "lerna run start --scope=@standardnotes/web-server",
"start:server:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server",
"prepare": "husky install",