-
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.
refactor: lint-fix build: updated nx to v14.5.5 refactor: updated setup-project build config refactor: removed deprecated functions BREAKING CHANGE feat: updated to angular 14 (#15) * 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 refactor: refactored expandUniqueDateBlocksFunction() - fixed scenario that was not previously properly tested - refactored expandUniqueDateBlocksFunction() to allow for defining a second set of blocks that are always treated as "next" - added additional scenarios
- Loading branch information
ci
committed
Aug 13, 2022
1 parent
3ac566e
commit 659fc56
Showing
178 changed files
with
26,452 additions
and
13,275 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable */ | ||
(global as any).appTestType = 'firebase'; | ||
|
||
module.exports = { | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable */ | ||
(global as any).appTestType = 'angular'; | ||
|
||
module.exports = { | ||
|
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
2 changes: 1 addition & 1 deletion
2
apps/demo/src/app/modules/doc/modules/extension/component/widget.example.component.ts
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
2 changes: 1 addition & 1 deletion
2
apps/demo/src/app/modules/doc/modules/extension/component/widget.icon.example.component.ts
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
2 changes: 1 addition & 1 deletion
2
apps/demo/src/app/modules/doc/modules/extension/container/widget.component.ts
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.