-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: update dependencies * build: ran nx migrations * build: angular build fixes * build: nest build fixes * build: nx build config fix - added targetDefaults * build: nx build config fix * build: nx build cache fixes * fix: test fix * build: nx build fix * build: angular-calendar jest fix * build: setup-script.sh update - test-setup-script now runs in parallel with tests * build: changed build target structure - "build" target no longer attempts to build children, aside from the "safe" build-base. Projects that need to be built should have build called on them directly. - added "build-all" target to workspace to facilitate building all components first before deploying. * build: ideal build BREAKING CHANGES: - angular 14 - nestjs 9
- Loading branch information
Showing
63 changed files
with
25,937 additions
and
12,659 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ defaults: &defaults | |
# https://circleci.com/blog/config-best-practices-dependency-caching/ | ||
|
||
orbs: | ||
nx: nrwl/nx@1.1.3 | ||
nx: nrwl/nx@1.6.0 | ||
node: circleci/[email protected] | ||
jobs: | ||
build: | ||
|
@@ -21,8 +21,10 @@ jobs: | |
- node/install-packages | ||
# initialize nx | ||
- nx/set-shas | ||
# build content | ||
- run: npx nx affected --base=$NX_BASE --target=build --parallel --max-parallel=2 | ||
# builds everything in the project in order | ||
- run: | ||
name: build | ||
command: npx nx run workspace:build-all | ||
# persist builds to workspace | ||
- persist_to_workspace: | ||
root: ~/code | ||
|
@@ -116,8 +118,11 @@ jobs: | |
name: run setup-project.sh script | ||
command: cd setup && ./setup-project.sh myprojectapp myproject myproject 9200 ~/setup-test | ||
- run: | ||
name: replace test project's @dereekb in node_modules with generated packages | ||
name: replace test project's @dereekb in node_modules with generated packages (we don't want symlinks) | ||
command: rm -r ~/setup-test/myproject/node_modules/@dereekb && cp -r dist/packages ~/setup-test/myproject/node_modules/@dereekb | ||
- run: | ||
name: Try build components | ||
command: cd ~/setup-test/myproject && npx nx run-many --target=build-base --projects=myproject-firebase,myproject-components | ||
- run: | ||
name: Try build | ||
command: cd ~/setup-test/myproject && npx -y nx build myproject && npx -y nx build myproject-api | ||
|
@@ -203,8 +208,6 @@ workflows: | |
- test-setup-script: | ||
requires: | ||
- build | ||
- test-with-node | ||
- test-with-node-firebase | ||
- run-release-and-push-to-main: | ||
requires: | ||
- build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.