Skip to content

Commit 0c04223

Browse files
committed
Merge origin/main into current branch
2 parents 16a2163 + 4309abd commit 0c04223

File tree

208 files changed

+21779
-1796
lines changed

Some content is hidden

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

208 files changed

+21779
-1796
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,14 @@ jobs:
5454
repo-token: "${{ secrets.GITHUB_TOKEN }}"
5555
pattern: "./packages/db/dist/**/*.{js,mjs}"
5656
comment-key: "db-package-size"
57+
build-script: "build:minified"
5758
- name: Compressed Size Action - React DB Package
5859
uses: preactjs/compressed-size-action@v2
5960
with:
6061
repo-token: "${{ secrets.GITHUB_TOKEN }}"
6162
pattern: "./packages/react-db/dist/**/*.{js,mjs}"
6263
comment-key: "react-db-package-size"
64+
build-script: "build:minified"
6365
build-example:
6466
name: Build Example Site
6567
runs-on: ubuntu-latest

.pnpmfile.cjs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
function readPackage(pkg, context) {
2+
// Force all @tanstack/db dependencies to resolve to workspace version
3+
if (pkg.dependencies && pkg.dependencies["@tanstack/db"]) {
4+
pkg.dependencies["@tanstack/db"] = "workspace:*"
5+
context.log(`Overriding @tanstack/db dependency in ${pkg.name}`)
6+
}
7+
8+
if (pkg.devDependencies && pkg.devDependencies["@tanstack/db"]) {
9+
pkg.devDependencies["@tanstack/db"] = "workspace:*"
10+
context.log(`Overriding @tanstack/db devDependency in ${pkg.name}`)
11+
}
12+
13+
if (pkg.peerDependencies && pkg.peerDependencies["@tanstack/db"]) {
14+
pkg.peerDependencies["@tanstack/db"] = "workspace:*"
15+
context.log(`Overriding @tanstack/db peerDependency in ${pkg.name}`)
16+
}
17+
18+
return pkg
19+
}
20+
21+
module.exports = {
22+
hooks: {
23+
readPackage,
24+
},
25+
}

0 commit comments

Comments
 (0)