-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(standalone): api-based
standaloneRepository
database plugin (#83)
* feat: self hosted api plugin * fix: return type of bundle * feat: modular endpoints * fix: use the lastChangedIds approach to upsert * fix: lint * feat: add test code * fix: deprecated setBundles and test --------- Co-authored-by: gronxb <[email protected]>
- Loading branch information
1 parent
be5ac79
commit c2dd276
Showing
7 changed files
with
1,116 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"name": "@hot-updater/standalone", | ||
"version": "0.10.1", | ||
"type": "module", | ||
"description": "React Native OTA solution for self-hosted", | ||
"sideEffects": false, | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
} | ||
}, | ||
"files": [ | ||
"dist", | ||
"package.json" | ||
], | ||
"keywords": [ | ||
"react-native", | ||
"react-native-code-push", | ||
"code-push", | ||
"eas", | ||
"eas-update", | ||
"expo", | ||
"expo-update", | ||
"self-hosted" | ||
], | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "rslib build", | ||
"test:type": "tsc --noEmit" | ||
}, | ||
"repository": "https://github.com/gronxb/hot-updater", | ||
"author": "gronxb <[email protected]> (https://github.com/gronxb)", | ||
"bugs": { | ||
"url": "https://github.com/gronxb/hot-updater/issues" | ||
}, | ||
"homepage": "https://github.com/gronxb/hot-updater#readme", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"dependencies": { | ||
"@hot-updater/core": "0.10.1", | ||
"@hot-updater/plugin-core": "0.10.1" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.9.4", | ||
"@types/semver": "^7.5.8", | ||
"msw": "^2.7.0", | ||
"semver": "^7.6.3", | ||
"vitest": "^3.0.6" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { defineConfig } from "@rslib/core"; | ||
|
||
export default defineConfig({ | ||
lib: [ | ||
{ | ||
format: "esm", | ||
dts: true, | ||
}, | ||
{ | ||
format: "cjs", | ||
dts: true, | ||
}, | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "./standaloneRepository"; |
Oops, something went wrong.