Skip to content

Commit

Permalink
Merge pull request #62 from push-based/migrate-v17
Browse files Browse the repository at this point in the history
Migrate to v17
  • Loading branch information
ChristopherPHolder authored Nov 21, 2023
2 parents 75d4276 + 9315a2f commit ba11c21
Show file tree
Hide file tree
Showing 13 changed files with 11,024 additions and 15,525 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: install
run: npm i
- name: build
run: npm run nx -- affected:build
run: npm run nx -- affected:build --base=origin/main --head=HEAD
- name: test
run: npm run nx -- affected:test
run: npm run nx -- affected:test --base=origin/main --head=HEAD
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ testem.log
Thumbs.db

.angular

.nx/
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

/dist
/coverage

/.nx/cache
41 changes: 8 additions & 33 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"affected": {
"defaultBase": "origin/main"
},
"cli": {
"defaultCollection": "@nrwl/angular"
},
"generators": {
"@nrwl/angular:application": {
"style": "scss",
Expand All @@ -24,52 +21,30 @@
"defaultProject": "ngx-fast-lib",
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"sharedGlobals": [],
"production": [
"default",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/jest.config.[jt]s",
"!{projectRoot}/.eslintrc.json"
"!{projectRoot}/.eslintrc.json",
"!{projectRoot}/src/test-setup.[jt]s"
]
},
"targetDefaults": {
"build": {
"inputs": [
"production",
"^production"
]
"inputs": ["production", "^production"]
},
"e2e": {
"inputs": [
"default",
"^production"
]
"inputs": ["default", "^production"]
},
"test": {
"inputs": [
"default",
"^production",
"{workspaceRoot}/jest.preset.js"
]
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
},
"lint": {
"inputs": [
"default",
"{workspaceRoot}/.eslintrc.json"
]
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"]
}
},
"tasksRunnerOptions": {
"default": {
"runner": "nx-cloud",
"options": {
"accessToken": "Y2M2M2QyNzEtOTEyMC00NTg3LWI0ZTctY2I2ZWUzZGE5OTQxfHJlYWQtd3JpdGU="
}
}
}
"nxCloudAccessToken": "Y2M2M2QyNzEtOTEyMC00NTg3LWI0ZTctY2I2ZWUzZGE5OTQxfHJlYWQtd3JpdGU="
}
Loading

0 comments on commit ba11c21

Please sign in to comment.