Skip to content

Commit 1dadac7

Browse files
committed
fix: update to Nx workspace to v20.6.0
Closes #247
1 parent 5ba46b4 commit 1dadac7

File tree

67 files changed

+505
-584
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+505
-584
lines changed

.github/actions/install-dependencies/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs:
2626
with:
2727
lookup-only: true
2828
path: '**/node_modules'
29-
key: bun-${{ hashFiles('bun.lockb') }}
29+
key: bun-${{ hashFiles('bun.lockb','bun.lock') }}
3030

3131
- name: Install packages
3232
run: bun install --frozen-lockfile

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
with:
4646
lookup-only: true
4747
path: '**/node_modules'
48-
key: bun-${{ hashFiles('bun.lockb') }}
48+
key: bun-${{ hashFiles('bun.lockb','bun.lock') }}
4949

5050
- name: Install packages
5151
run: bun install --frozen-lockfile

.lintstagedrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"*.ts": [
3-
"bunx nx affected:lint --fix --files"
3+
"bunx nx affected:lint --files"
44
],
55
"*": [
66
"bunx nx format:write --files"

.nx/workflows/agents.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ launch-templates:
99
- name: Restore Node Modules Cache
1010
uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml'
1111
inputs:
12-
key: 'package-lock.json|yarn.lock|pnpm-lock.yaml|bun.lock|bun.lockb'
12+
key: 'package-lock.json|yarn.lock|pnpm-lock.yaml|bun.lockb|bun.lock'
1313
paths: 'node_modules'
1414
base-branch: 'develop'
1515

@@ -54,7 +54,6 @@ launch-templates:
5454
- name: Check bun
5555
script: |
5656
bun --version
57-
echo "bunx=`which bunx`"
5857
5958
- name: Install Node Modules (with Bun)
6059
script: bun install --frozen-lockfile --ignore-scripts

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
node_modules
77
/package.json
8-
/pnpm-lock.yaml
8+
/bun.lock
99

1010
packages/**/CHANGELOG.md
1111

bun.lockb

1.4 KB
Binary file not shown.

bunfig.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[install]
2+
saveTextLockfile = false

e2e/nx-flutter-e2e/.eslintrc.json

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import baseConfig from '../../eslint.config.mjs';
2+
3+
export default [...baseConfig];

e2e/nx-flutter-e2e/tests/create-nx-flutter.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ describe('create-nx-flutter', () => {
1111

1212
beforeEach(() => {
1313
// Cleanup the test project
14-
projectDirectory &&
14+
if (projectDirectory) {
1515
rmSync(projectDirectory, {
1616
recursive: true,
1717
force: true,
1818
});
19+
}
1920
});
2021

2122
it.each`

0 commit comments

Comments
 (0)