Skip to content

Commit 37b6228

Browse files
committed
Merge branch 'main' into nitro
2 parents dfee311 + d1d6409 commit 37b6228

File tree

6 files changed

+73
-993
lines changed

6 files changed

+73
-993
lines changed

bun.lockb

12.2 KB
Binary file not shown.

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-quick-sqlite-example",
3-
"version": "8.1.0",
3+
"version": "8.2.1",
44
"private": true,
55
"scripts": {
66
"pods": "cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install",

package.json

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "react-native-quick-sqlite-workspace",
3+
"version": "8.2.1",
34
"packageManager": "[email protected]",
45
"private": "true",
5-
"version": "8.2.0",
66
"workspaces": [
77
"package",
88
"example"
@@ -11,6 +11,12 @@
1111
"type": "git",
1212
"url": "git+https://github.com/margelo/react-native-quick-sqlite.git"
1313
},
14+
"author": "Marc Rousavy <[email protected]> (https://github.com/mrousavy)",
15+
"license": "MIT",
16+
"bugs": {
17+
"url": "https://github.com/margelo/react-native-quick-sqlite/issues"
18+
},
19+
"homepage": "https://github.com/margelo/react-native-quick-sqlite#readme",
1420
"scripts": {
1521
"package": "bun --cwd package",
1622
"example": "bun --cwd example",
@@ -22,16 +28,14 @@
2228
"release": "release-it",
2329
"clean": "rm -rf **/tsconfig.tsbuildinfo node_modules package/node_module package/lib"
2430
},
25-
"author": "Marc Rousavy <[email protected]> (https://github.com/mrousavy)",
26-
"license": "MIT",
27-
"bugs": {
28-
"url": "https://github.com/margelo/react-native-quick-sqlite/issues"
31+
"dependencies": {
32+
"patch-package": "^8.0.0"
2933
},
30-
"homepage": "https://github.com/margelo/react-native-quick-sqlite#readme",
3134
"devDependencies": {
3235
"@eslint/js": "^9.10.0",
3336
"@jamesacarr/eslint-formatter-github-actions": "^0.2.0",
3437
"@react-native/eslint-config": "0.75.2",
38+
"@release-it-plugins/workspaces": "^4.2.0",
3539
"@release-it/bumper": "^6.0.1",
3640
"@release-it/conventional-changelog": "^8.0.2",
3741
"@tsconfig/react-native": "^2.0.2",
@@ -40,13 +44,11 @@
4044
"eslint": "8.57.0",
4145
"eslint-plugin-prettier": "^5.2.1",
4246
"prettier": "^3.3.3",
43-
"release-it": "^17.6.0",
47+
"release-it": "^17.10.0",
4448
"typescript-eslint": "^8.6.0"
4549
},
4650
"release-it": {
47-
"npm": {
48-
"publish": false
49-
},
51+
"npm": false,
5052
"git": {
5153
"commitMessage": "chore: release ${version}",
5254
"tagName": "v${version}",
@@ -56,6 +58,7 @@
5658
"release": true
5759
},
5860
"plugins": {
61+
"@release-it-plugins/workspaces": true,
5962
"@release-it/conventional-changelog": {
6063
"preset": {
6164
"name": "conventionalcommits",
@@ -85,16 +88,9 @@
8588
},
8689
"@release-it/bumper": {
8790
"out": {
88-
"file": "package.json",
89-
"path": [
90-
"package"
91-
]
91+
"file": "example/package.json"
9292
}
9393
}
9494
}
95-
},
96-
"dependencies": {
97-
"patch-package": "^8.0.0"
98-
},
99-
"package": "8.2.0"
95+
}
10096
}

package/package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-quick-sqlite",
3-
"version": "8.2.0",
3+
"version": "8.2.1",
44
"description": "Fast SQLite for react-native",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
@@ -89,12 +89,9 @@
8989
},
9090
"release-it": {
9191
"npm": {
92-
"publish": true
92+
"publish": true,
93+
"publishPackageManager": "bun"
9394
},
94-
"git": false,
95-
"github": {
96-
"release": false
97-
},
98-
"plugins": {}
95+
"git": false
9996
}
10097
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
diff --git a/node_modules/release-it/config/release-it.json b/node_modules/release-it/config/release-it.json
2+
index 47d147d..b4e1794 100644
3+
--- a/node_modules/release-it/config/release-it.json
4+
+++ b/node_modules/release-it/config/release-it.json
5+
@@ -20,13 +20,16 @@
6+
"tagAnnotation": "Release ${version}",
7+
"tagArgs": [],
8+
"push": true,
9+
- "pushArgs": ["--follow-tags"],
10+
+ "pushArgs": [
11+
+ "--follow-tags"
12+
+ ],
13+
"pushRepo": ""
14+
},
15+
"npm": {
16+
"publish": true,
17+
"publishPath": ".",
18+
"publishArgs": [],
19+
+ "publishPackageManager": "npm",
20+
"tag": null,
21+
"otp": null,
22+
"ignoreVersion": false,
23+
diff --git a/node_modules/release-it/lib/plugin/npm/npm.js b/node_modules/release-it/lib/plugin/npm/npm.js
24+
index 0e7caa3..9501aa1 100644
25+
--- a/node_modules/release-it/lib/plugin/npm/npm.js
26+
+++ b/node_modules/release-it/lib/plugin/npm/npm.js
27+
@@ -251,8 +251,10 @@ class npm extends Plugin {
28+
this.log.warn('Skip publish: package is private.');
29+
return false;
30+
}
31+
+
32+
+ const publishPackageManager = this.options.publishPackageManager || 'npm';
33+
const args = [publishPath, `--tag ${tag}`, otpArg, dryRunArg, registryArg, ...fixArgs(publishArgs)].filter(Boolean);
34+
- return this.exec(`npm publish ${args.join(' ')}`, { options })
35+
+ return this.exec(`${publishPackageManager} publish ${args.join(' ')}`, { options })
36+
.then(() => {
37+
this.setContext({ isReleased: true });
38+
})
39+
diff --git a/node_modules/release-it/schema/npm.json b/node_modules/release-it/schema/npm.json
40+
index 8b6e7fb..f70dc5f 100644
41+
--- a/node_modules/release-it/schema/npm.json
42+
+++ b/node_modules/release-it/schema/npm.json
43+
@@ -21,6 +21,10 @@
44+
},
45+
"default": []
46+
},
47+
+ "publishPackageManager": {
48+
+ "type": "string",
49+
+ "default": "npm"
50+
+ },
51+
"tag": {
52+
"type": "string",
53+
"default": null

0 commit comments

Comments
 (0)