Skip to content

Commit bf50b7a

Browse files
committed
chore: switch nx to turbo
- switch nx to turbo - switch eslint to biome - update configs - fix linting and formatting problems
1 parent a9beff5 commit bf50b7a

File tree

123 files changed

+17210
-26620
lines changed

Some content is hidden

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

123 files changed

+17210
-26620
lines changed

.dockerignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
# dependencies
22
/node_modules
33
.yarn/*
4-
!.yarn/cache
4+
# !.yarn/cache
55
!.yarn/patches
66
!.yarn/plugins
77
!.yarn/releases
88
!.yarn/sdks
99
!.yarn/versions
1010

1111
# production
12-
/dist
12+
dist
13+
build
14+
.docusaurus
1315

1416
# misc
1517
**.DS_Store

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/deploy.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy
22

33
on:
44
push:
5-
branches: ['main', 'dev', 'feature/**']
5+
branches: ["main", "dev", "feature/**"]
66
workflow_dispatch:
77

88
concurrency:
@@ -22,8 +22,8 @@ jobs:
2222
- if: ${{ github.ref_name == 'main' }}
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: '20.x'
26-
cache: 'yarn'
25+
node-version: "20.x"
26+
cache: "yarn"
2727
- if: ${{ github.ref_name == 'main' }}
2828
run: yarn --immutable
2929
- if: ${{ github.ref_name == 'main' }}
@@ -44,15 +44,15 @@ jobs:
4444
- uses: actions/checkout@v5
4545
# Getting dependencies before the build to speed up the ARM build
4646
# This a bit of a workaround, but it shouldn't be a problem, as yarn loads the dependencies in all formats needed
47-
- uses: actions/setup-node@v4
48-
with:
49-
node-version: '20.x'
50-
cache: 'yarn'
51-
- run: |
52-
yarn config set nodeLinker pnp
53-
yarn --immutable
54-
yarn config set nodeLinker node-modules
55-
rm -rf .yarn/unplugged .pnp.cjs .pnp.loader.mjs
47+
# - uses: actions/setup-node@v4
48+
# with:
49+
# node-version: "20.x"
50+
# cache: "yarn"
51+
# - run: |
52+
# yarn config set nodeLinker pnp
53+
# yarn --immutable
54+
# yarn config set nodeLinker node-modules
55+
# rm -rf .yarn/unplugged .pnp.cjs .pnp.loader.mjs
5656
- uses: docker/setup-qemu-action@v3
5757
- uses: docker/setup-buildx-action@v3
5858
- uses: docker/login-action@v3
@@ -104,8 +104,8 @@ jobs:
104104
- uses: actions/checkout@v5
105105
- uses: actions/setup-node@v4
106106
with:
107-
node-version: '20.x'
108-
cache: 'yarn'
107+
node-version: "20.x"
108+
cache: "yarn"
109109
- run: |
110110
yarn config set nodeLinker pnp
111111
yarn --immutable
@@ -168,8 +168,8 @@ jobs:
168168
- uses: actions/checkout@v5
169169
- uses: actions/setup-node@v4
170170
with:
171-
node-version: '20.x'
172-
cache: 'yarn'
171+
node-version: "20.x"
172+
cache: "yarn"
173173
- run: yarn --immutable
174174
- env:
175175
GIT_USER: github-actions
@@ -192,8 +192,8 @@ jobs:
192192
- uses: actions/checkout@v5
193193
- uses: actions/setup-node@v4
194194
with:
195-
node-version: '20.x'
196-
cache: 'yarn'
195+
node-version: "20.x"
196+
cache: "yarn"
197197
- run: yarn --immutable
198198
- env:
199199
GIT_USER: github-actions
@@ -204,8 +204,8 @@ jobs:
204204
GIT_PASS: ${{ secrets.GITHUB_TOKEN }}
205205
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
206206
run: |
207-
yarn nx build docs
208-
yarn nx deploy docs
207+
yarn turbo run @dashdot/docs#build
208+
yarn turbo run @dashdot/docs#deploy
209209
210210
# Update deployment on rex
211211
rex:

.github/workflows/test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Test
22

33
on:
44
push:
5-
branches: ['dev', 'feature/**', 'renovate/**']
5+
branches: ["dev", "feature/**", "renovate/**"]
66
pull_request:
77
workflow_dispatch:
88

@@ -15,10 +15,10 @@ jobs:
1515
- uses: actions/checkout@v5
1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: '20.x'
19-
cache: 'yarn'
18+
node-version: "20.x"
19+
cache: "yarn"
2020

2121
# TEST
2222
- run: yarn --immutable
23-
- run: yarn test --skipNxCache
24-
- run: yarn build --skipNxCache --verbose
23+
- run: yarn test
24+
- run: yarn build

.gitignore

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,13 @@ npm-debug.log
3939
yarn-error.log
4040
testem.log
4141
/typings
42+
.turbo
4243

4344
# System Files
4445
.DS_Store
4546
Thumbs.db
4647

47-
# Generated Docusaurus files
48-
.docusaurus/
49-
.cache-loader/
50-
.nx/cache
48+
# Build outputs
49+
dist
50+
build
51+
.docusaurus

.prettierignore

Lines changed: 0 additions & 17 deletions
This file was deleted.

.vscode/extensions.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"recommendations": [
3-
"nrwl.angular-console",
4-
"esbenp.prettier-vscode",
5-
"firsttris.vscode-jest-runner",
6-
"dbaeumer.vscode-eslint"
7-
]
2+
"recommendations": []
83
}

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"**/.yarn": true,
44
"**/.pnp.*": true
55
},
6-
"biome.enabled": false
6+
"biome.enabled": true,
7+
"cSpell.words": ["dashdot"]
78
}
Lines changed: 328 additions & 328 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)