Skip to content

Commit

Permalink
chore(deps): update nx to v17 (major) (#599)
Browse files Browse the repository at this point in the history
Co-authored-by: Dabiel González Ramos <[email protected]>
  • Loading branch information
renovate[bot] and dgonzalezr authored Oct 31, 2023
1 parent b19f338 commit 19054cc
Show file tree
Hide file tree
Showing 10 changed files with 2,420 additions and 820 deletions.
7 changes: 7 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ commands:
command: |
$HOME/.volta/bin/node --version
$HOME/.volta/bin/npm --version
update_nx_json:
description: Update nx.json and add the NX_CLOUD_ACCESS_TOKEN value
steps:
- run:
name: 📝 Update nx.json
command: node scripts/update-nx.js
chromatic-deployment:
description: Publish changes to Chromatic storybook
steps:
Expand Down Expand Up @@ -73,6 +79,7 @@ jobs:
name: 🗂️ Create `test-results` directory
# Use to store the test results
command: mkdir -p ./test-results
- update_nx_json
- nx/set-shas
# Derives SHAs for base and head for use in `nx affected` commands in CI
- run:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
.nx/cache
/dist
/out-tsc
/tmp/**
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ yarn-error.log*
.pnp

### BUILD ###
/.nx/cache
build
coverage
dist
Expand Down
45 changes: 23 additions & 22 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
},
"workspaceLayout": {
"appsDir": "apps",
"libsDir": "packages",
"projectNameAndRootFormat": "derived"
"libsDir": "packages"
},
"namedInputs": {
"default": [
Expand All @@ -27,32 +26,34 @@
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
"inputs": ["production", "^production"],
"cache": true
},
"test": {
"inputs": ["default", "^default", "{workspaceRoot}/jest.preset.js"]
"inputs": ["default", "^default", "{workspaceRoot}/jest.preset.js"],
"cache": true
},
"e2e": {
"inputs": ["default", "^production"]
}
},
"tasksRunnerOptions": {
"default": {
"runner": "nx-cloud",
"options": {
"cacheableOperations": [
"build",
"e2e",
"icons",
"lint",
"storybook-build",
"storybook-build-css",
"stylelint",
"test"
]
}
"inputs": ["default", "^production"],
"cache": true
},
"icons": {
"cache": true
},
"lint": {
"cache": true
},
"storybook-build": {
"cache": true
},
"storybook-build-css": {
"cache": true
},
"stylelint": {
"cache": true
}
},
"nxCloudAccessToken": "ZTI2Yzg0YzktODZiMi00Yjg2LTlhMmMtYWI3NDhkODkzZjlmfHJlYWQtb25seQ==",
"generators": {
"@nx/react": {
"application": {
Expand Down
Loading

0 comments on commit 19054cc

Please sign in to comment.