Skip to content

Commit 7023fbf

Browse files
committed
some coderabbit suggestions, update pnpm to 10.15.1, remove some unneeded changes, comments
1 parent 49dd226 commit 7023fbf

File tree

12 files changed

+20
-18
lines changed

12 files changed

+20
-18
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: pnpm/action-setup@v4
1616
name: Install pnpm
1717
with:
18-
version: 10.15.0
18+
version: 10.15.1
1919
run_install: false
2020

2121
- name: Setup Node.js environment
@@ -25,7 +25,7 @@ jobs:
2525
cache: "pnpm"
2626

2727
- name: Install Dependencies
28-
run: pnpm install --prefer-frozen-lockfile
28+
run: pnpm install --frozen-lockfile
2929

3030
- name: Check TypeScript Types
3131
run: npx turbo check-types

.github/workflows/database-deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install pnpm
1919
uses: pnpm/action-setup@v4
2020
with:
21-
version: 10.15.0
21+
version: 10.15.1
2222
run_install: false
2323

2424
- uses: actions/setup-node@v4
@@ -27,7 +27,7 @@ jobs:
2727
cache: "pnpm"
2828

2929
- name: Install Dependencies
30-
run: pnpm install --prefer-frozen-lockfile
30+
run: pnpm install --frozen-lockfile
3131

3232
- uses: supabase/setup-cli@v1
3333
with:

.github/workflows/roam-main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install pnpm
2323
uses: pnpm/action-setup@v4
2424
with:
25-
version: 10.15.0
25+
version: 10.15.1
2626
run_install: false
2727

2828
- name: Setup Node.js environment
@@ -32,7 +32,7 @@ jobs:
3232
cache: "pnpm"
3333

3434
- name: Install Dependencies
35-
run: pnpm install --prefer-frozen-lockfile
35+
run: pnpm install --frozen-lockfile
3636

3737
- name: Deploy
3838
run: npx turbo run deploy --filter=roam

.github/workflows/roam-pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install pnpm
2626
uses: pnpm/action-setup@v4
2727
with:
28-
version: 10.15.0
28+
version: 10.15.1
2929
run_install: false
3030

3131
- name: Setup Node.js environment
@@ -35,7 +35,7 @@ jobs:
3535
cache: "pnpm"
3636

3737
- name: Install Dependencies
38-
run: pnpm install --prefer-frozen-lockfile
38+
run: pnpm install --frozen-lockfile
3939

4040
- name: Deploy
4141
run: npx turbo run deploy --filter=roam

.github/workflows/roam-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install pnpm
2121
uses: pnpm/action-setup@v4
2222
with:
23-
version: 10.15.0
23+
version: 10.15.1
2424
run_install: false
2525

2626
- name: Setup Node.js environment
@@ -30,7 +30,7 @@ jobs:
3030
cache: "pnpm"
3131

3232
- name: Install Dependencies
33-
run: pnpm install --prefer-frozen-lockfile
33+
run: pnpm install --frozen-lockfile
3434

3535
- name: Update Roam Depot Extension
3636
run: npx turbo run publish --filter=roam

apps/obsidian/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"strictNullChecks": true,
1515
"paths": {
1616
"~/*": ["./src/*"]
17-
},
18-
"types": ["react", "react-dom"]
17+
}
1918
}
2019
}

apps/roam/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"axios": "^0.27.2",
2626
"dotenv": "^16.0.3",
2727
"esbuild": "0.17.14",
28-
"file-saver": "^2.0.2",
2928
"tailwindcss": "^3.4.17",
3029
"tsx": "^4.19.2"
3130
},

apps/roam/scripts/compile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export const args = {
124124
"marked-react=window.RoamLazy.MarkedReact",
125125
"nanoid=window.Nanoid;module.exports.nanoid=window.Nanoid",
126126
'react=window.React;module.exports.useSyncExternalStore=require("use-sync-external-store/shim").useSyncExternalStore',
127-
"react/jsx-runtime=node_modules/react/jsx-runtime.js",
127+
"react/jsx-runtime=./node_modules/react/jsx-runtime.js",
128128
"react-dom=window.ReactDOM",
129129
"react-youtube=window.ReactYoutube",
130130
"tslib=window.TSLib",

apps/roam/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"allowJs": false,
1414
"jsx": "react",
1515
"noUncheckedIndexedAccess": false,
16-
"types": ["react", "react-dom"],
1716
"paths": {
1817
"~/*": ["./src/*"],
1918
"react": ["./node_modules/@types/react"],

apps/website/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"rootDir": ".",
66
"paths": {
77
"~/*": ["./app/*"]
8-
},
9-
"types": ["react", "react-dom", "node"]
8+
}
109
},
1110
"include": [
1211
"next-env.d.ts",

0 commit comments

Comments
 (0)