chore: optimize workflows to avoid building components each time

This commit is contained in:
Mo
2022-06-14 16:00:31 -05:00
parent 703994c16b
commit 01793365bd
400 changed files with 17000 additions and 1544 deletions

View File

@@ -14,10 +14,12 @@
"lint": "yarn workspaces foreach --parallel --verbose run lint",
"test": "yarn workspaces foreach --parallel --verbose run test",
"clean": "lerna run clean",
"build": "yarn workspaces foreach -pt --verbose run build",
"build:icons": "yarn workspace @standardnotes/icons build",
"build:styles": "yarn workspace @standardnotes/styles build",
"build:web": "yarn workspace @standardnotes/web build",
"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",
"compile:components": "yarn workspace @standardnotes/components-meta compile",
"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",
@@ -37,6 +39,7 @@
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@lerna-lite/cli": "^1.5.1",
"@lerna-lite/run": "^1.5.1",
"@standardnotes/config": "^2.4.3",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",