Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
chore(nxext): update Nx 18.3
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikPieper committed Apr 17, 2024
1 parent d221bd0 commit 9ead9da
Show file tree
Hide file tree
Showing 7 changed files with 5,811 additions and 9,741 deletions.
51 changes: 32 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,40 @@ name: CI
on:
push:
branches:
- main
- master
pull_request:

permissions:
actions: read
contents: read

jobs:
main:
name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/[email protected]
with:
main-branch-name: main
number-of-agents: 3
init-commands: |
pnpm exec nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3
parallel-commands: |
pnpm exec nx-cloud record -- pnpm exec nx format:check
parallel-commands-on-agents: |
pnpm exec nx affected --target=lint --parallel=3
pnpm exec nx affected --target=test --parallel=3 --ci --code-coverage
pnpm exec nx affected --target=build --parallel=3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

# Connect your workspace on nx.app and uncomment this to enable task distribution.
# The "--stop-agents-after" is optional, but allows idle agents to shut down once the "build" targets have been requested
# - run: pnpm exec nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="build"

- uses: pnpm/action-setup@v2
with:
version: 8
# Cache node_modules
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
- uses: actions/cache@v4
with:
lookup-only: true
path: '**/node_modules'
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
- run: pnpm install --no-frozen-lockfile
- uses: nrwl/nx-set-shas@v4

agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/[email protected]
with:
number-of-agents: 3
- run: pnpm exec nx-cloud record -- nx format:check
- run: pnpm exec nx affected -t lint test build e2e
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
.docusaurus/
/build

/.nx/cache
/.nx/cache
pnpm-lock.yaml
47 changes: 23 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,37 +47,36 @@
"prepare": "is-ci || husky install"
},
"private": true,
"packageManager": "pnpm@8.7.0",
"packageManager": "pnpm@8.15.7+sha256.50783dd0fa303852de2dd1557cd4b9f07cb5b018154a6e76d0f40635d6cee019",
"devDependencies": {
"@angular-devkit/core": "17.2.1",
"@angular-devkit/schematics": "17.2.1",
"@angular-devkit/core": "17.3.5",
"@angular-devkit/schematics": "17.3.4",
"@eslint/eslintrc": "^2.1.1",
"@eslint/js": "8.49.0",
"@nuxt/kit": "3.10.3",
"@nx/angular": "18.2.4",
"@nx/cypress": "18.2.4",
"@nx/devkit": "18.2.4",
"@nx/eslint": "18.2.4",
"@nx/eslint-plugin": "18.2.4",
"@nx/jest": "18.2.4",
"@nx/js": "18.2.4",
"@nx/node": "18.2.4",
"@nx/playwright": "18.2.4",
"@nx/plugin": "18.2.4",
"@nx/react": "18.2.4",
"@nx/storybook": "18.2.4",
"@nx/vite": "18.2.4",
"@nx/web": "18.2.4",
"@nx/workspace": "18.2.4",
"@nxext/svelte": "^17.0.1",
"@nx/angular": "18.3.1",
"@nx/cypress": "18.3.1",
"@nx/devkit": "18.3.1",
"@nx/eslint": "18.3.1",
"@nx/eslint-plugin": "18.3.1",
"@nx/jest": "18.3.1",
"@nx/js": "18.3.1",
"@nx/node": "18.3.1",
"@nx/playwright": "18.3.1",
"@nx/plugin": "18.3.1",
"@nx/react": "18.3.1",
"@nx/storybook": "18.3.1",
"@nx/vite": "18.3.1",
"@nx/web": "18.3.1",
"@nx/workspace": "18.3.1",
"@nxext/svelte": "^18.0.0",
"@phenomnomnominal/tsquery": "~5.0.1",
"@schematics/angular": "17.2.1",
"@schematics/angular": "17.3.4",
"@stencil/core": "3.4.0",
"@swc-node/register": "1.8.0",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.91",
"@swc/helpers": "0.5.2",
"@swc/jest": "0.2.26",
"@swc/core": "^1.3.85",
"@swc/jest": "^0.2.20",
"@types/glob": "^8.1.0",
"@types/globrex": "^0.1.2",
"@types/is-ci": "^3.0.1",
Expand Down Expand Up @@ -108,7 +107,7 @@
"jsonc-parser": "^3.2.1",
"kill-port": "^2.0.1",
"lint-staged": "13.2.3",
"nx": "18.2.4",
"nx": "18.3.1",
"prettier": "2.7.1",
"pretty-quick": "^3.1.3",
"tcp-port-used": "^1.0.2",
Expand Down
11 changes: 2 additions & 9 deletions packages/capacitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@
},
"schematics": "./generators.json",
"builders": "./executors.json",
"dependencies": {
"tslib": "^2.3.0",
"ignore": "^5.2.4",
"@nx/devkit": "18.2.4",
"nx": "18.2.4"
},
"peerDependencies": {
"@nx/web": "18.2.4"
}
"dependencies": {},
"peerDependencies": {}
}
12 changes: 2 additions & 10 deletions packages/ionic-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,7 @@
"schematics": "./generators.json",
"builders": "./executors.json",
"dependencies": {
"tslib": "^2.3.0",
"@nxext/capacitor": "^18.0.4",
"@phenomnomnominal/tsquery": "~5.0.1",
"@nx/devkit": "18.2.4",
"typescript": "5.4.5",
"@nx/js": "18.2.4"
"@nxext/capacitor": "^18.0.4"
},
"peerDependencies": {
"@nx/angular": "18.2.4",
"@nx/eslint": "18.2.4"
}
"peerDependencies": {}
}
11 changes: 2 additions & 9 deletions packages/ionic-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,7 @@
"schematics": "./generators.json",
"builders": "./executors.json",
"dependencies": {
"tslib": "^2.3.0",
"@nxext/capacitor": "^18.0.4",
"@nx/devkit": "18.2.4",
"typescript": "5.4.5"
"@nxext/capacitor": "^18.0.4"
},
"peerDependencies": {
"@nx/react": "18.2.4",
"@phenomnomnominal/tsquery": "~5.0.1",
"@nx/eslint": "18.2.4"
}
"peerDependencies": {}
}
Loading

0 comments on commit 9ead9da

Please sign in to comment.