Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(BREAKING): rename final @journeyapps packages to @powersync #224

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .changeset/pretty-oranges-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
'react-native-supabase-group-chat': patch
'react-native-supabase-todolist': patch
'yjs-react-supabase-text-collab': patch
'django-react-native-todolist': patch
'angular-supabase-todolist': patch
'react-supabase-todolist': patch
'vue-supabase-todolist': patch
'react-multi-client': patch
'example-capacitor': patch
'example-electron': patch
'@powersync/kysely-driver': patch
'@powersync/react-native': minor
'diagnostics-app': patch
'example-nextjs': patch
'example-vite': patch
'@powersync/web': minor
---

Move from @journeyapps sqlite packages to @powersync sqlite packages
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- [packages/web](./packages/web/README.md)

- JS Web SDK implementation (extension of `packages/common`)

- [packages/react](./packages/react/README.md)

- React integration for PowerSync.
Expand Down Expand Up @@ -109,16 +109,16 @@ Merging a PR with Changesets will automatically create a PR with version bumps.

The PowerSync React Native SDK uses [a fork of react-native-quick-sqlite](https://github.com/powersync-ja/react-native-quick-sqlite)

Testing live development changes to `@journeyapps/react-native-quick-sqlite` will not work with standard `yarn link` commands. Metro does not work well with symlinks <https://github.com/facebook/metro/issues/286>.
Testing live development changes to `@powersync/react-native-quick-sqlite` will not work with standard `yarn link` commands. Metro does not work well with symlinks <https://github.com/facebook/metro/issues/286>.

The process of releasing development packages for `@journeyapps/react-native-quick-sqlite` for each change can be tedious and slow. A faster (and hackier) method is to use [mtsl](https://www.npmjs.com/package/mtsl) which will watch and copy the package into this workspace's `node_modules`.
The process of releasing development packages for `@powersync/react-native-quick-sqlite` for each change can be tedious and slow. A faster (and hackier) method is to use [mtsl](https://www.npmjs.com/package/mtsl) which will watch and copy the package into this workspace's `node_modules`.

```bash
npm install -g mtsl
```

```bash
mtsl add -s "[source path to your react-native-quick-sqlite repo folder]" -d "[this workspaces root node_modules folder]"/@journeyapps/react-native-quick-sqlite
mtsl add -s "[source path to your react-native-quick-sqlite repo folder]" -d "[this workspaces root node_modules folder]"/@powersync/react-native-quick-sqlite
```

```bash
Expand Down
2 changes: 1 addition & 1 deletion demos/angular-supabase-todolist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@angular/router": "^17.0.4",
"@angular/service-worker": "^17.0.4",
"@powersync/web": "workspace:*",
"@journeyapps/wa-sqlite": "^0.0.2",
"@powersync/wa-sqlite": "^0.2.1",
"@supabase/supabase-js": "^2.38.5",
"rxjs": "~7.8.1",
"tslib": "^2.6.2",
Expand Down
31 changes: 15 additions & 16 deletions demos/django-react-native-todolist/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ PODS:
- DoubleConversion (1.1.6)
- EXConstants (16.0.2):
- ExpoModulesCore
- EXFont (11.10.3):
- ExpoModulesCore
- Expo (51.0.10):
- ExpoModulesCore
- ExpoAsset (10.0.7):
- ExpoModulesCore
- ExpoFileSystem (17.0.1):
- ExpoModulesCore
- ExpoFont (12.0.6):
- ExpoModulesCore
- ExpoHead (3.5.15):
- ExpoModulesCore
- ExpoKeepAwake (13.0.2):
- ExpoModulesCore
- ExpoModulesCore (1.12.13):
- ExpoModulesCore (1.11.13):
- DoubleConversion
- glog
- hermes-engine
Expand All @@ -29,7 +29,6 @@ PODS:
- React-featureflags
- React-graphics
- React-ImageManager
- React-jsinspector
- React-NativeModulesApple
- React-RCTAppDelegate
- React-RCTFabric
Expand Down Expand Up @@ -997,7 +996,7 @@ PODS:
- React-debug
- react-native-encrypted-storage (4.0.3):
- React-Core
- react-native-quick-sqlite (1.1.7):
- react-native-quick-sqlite (1.2.0):
- powersync-sqlite-core (~> 0.1.6)
- React
- React-callinvoker
Expand Down Expand Up @@ -1329,13 +1328,13 @@ DEPENDENCIES:
- boost (from `../../../node_modules/react-native/third-party-podspecs/boost.podspec`)
- DoubleConversion (from `../../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- EXConstants (from `../../../node_modules/expo-constants/ios`)
- EXFont (from `../node_modules/expo-font/ios`)
- Expo (from `../../../node_modules/expo`)
- ExpoAsset (from `../../../node_modules/expo-asset/ios`)
- ExpoFileSystem (from `../../../node_modules/expo-file-system/ios`)
- ExpoFont (from `../../../node_modules/expo-font/ios`)
- ExpoHead (from `../../../node_modules/expo-router/ios`)
- ExpoKeepAwake (from `../../../node_modules/expo-keep-awake/ios`)
- ExpoModulesCore (from `../../../node_modules/expo-modules-core`)
- ExpoModulesCore (from `../node_modules/expo-modules-core`)
- EXSplashScreen (from `../../../node_modules/expo-splash-screen/ios`)
- FBLazyVector (from `../../../node_modules/react-native/Libraries/FBLazyVector`)
- fmt (from `../../../node_modules/react-native/third-party-podspecs/fmt.podspec`)
Expand Down Expand Up @@ -1368,7 +1367,7 @@ DEPENDENCIES:
- React-logger (from `../../../node_modules/react-native/ReactCommon/logger`)
- React-Mapbuffer (from `../../../node_modules/react-native/ReactCommon`)
- react-native-encrypted-storage (from `../../../node_modules/react-native-encrypted-storage`)
- "react-native-quick-sqlite (from `../../../node_modules/@journeyapps/react-native-quick-sqlite`)"
- "react-native-quick-sqlite (from `../../../node_modules/@powersync/react-native-quick-sqlite`)"
- react-native-safe-area-context (from `../../../node_modules/react-native-safe-area-context`)
- React-nativeconfig (from `../../../node_modules/react-native/ReactCommon`)
- React-NativeModulesApple (from `../../../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
Expand Down Expand Up @@ -1413,20 +1412,20 @@ EXTERNAL SOURCES:
:podspec: "../../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
EXConstants:
:path: "../../../node_modules/expo-constants/ios"
EXFont:
:path: "../node_modules/expo-font/ios"
Expo:
:path: "../../../node_modules/expo"
ExpoAsset:
:path: "../../../node_modules/expo-asset/ios"
ExpoFileSystem:
:path: "../../../node_modules/expo-file-system/ios"
ExpoFont:
:path: "../../../node_modules/expo-font/ios"
ExpoHead:
:path: "../../../node_modules/expo-router/ios"
ExpoKeepAwake:
:path: "../../../node_modules/expo-keep-awake/ios"
ExpoModulesCore:
:path: "../../../node_modules/expo-modules-core"
:path: "../node_modules/expo-modules-core"
EXSplashScreen:
:path: "../../../node_modules/expo-splash-screen/ios"
FBLazyVector:
Expand Down Expand Up @@ -1489,7 +1488,7 @@ EXTERNAL SOURCES:
react-native-encrypted-storage:
:path: "../../../node_modules/react-native-encrypted-storage"
react-native-quick-sqlite:
:path: "../../../node_modules/@journeyapps/react-native-quick-sqlite"
:path: "../../../node_modules/@powersync/react-native-quick-sqlite"
react-native-safe-area-context:
:path: "../../../node_modules/react-native-safe-area-context"
React-nativeconfig:
Expand Down Expand Up @@ -1557,13 +1556,13 @@ SPEC CHECKSUMS:
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
EXConstants: 409690fbfd5afea964e5e9d6c4eb2c2b59222c59
EXFont: f20669cb266ef48b004f1eb1f2b20db96cd1df9f
Expo: 3bc69739da02780763c1fd66dde56f84fc46d0d8
ExpoAsset: 9605d71f50ff0554c618d415c991106f13df63f9
ExpoFileSystem: 80bfe850b1f9922c16905822ecbf97acd711dc51
ExpoFont: c84702079267ae51161c20bb8b925670907ffa2f
ExpoHead: 8eb4deb289c2fdd8bb624f996cd31414cd07f38a
ExpoKeepAwake: 3b8815d9dd1d419ee474df004021c69fdd316d08
ExpoModulesCore: a4b45b5f081f5fe9b8e87667906d180cd52f32d7
ExpoModulesCore: 225bd63820775eb9b8d3bb9d24fa86b931c748c9
EXSplashScreen: d439ca817211886dc80a00f3761e3b6d861d7205
FBLazyVector: 898d14d17bf19e2435cafd9ea2a1033efe445709
fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120
Expand Down Expand Up @@ -1595,7 +1594,7 @@ SPEC CHECKSUMS:
React-logger: 7e7403a2b14c97f847d90763af76b84b152b6fce
React-Mapbuffer: 11029dcd47c5c9e057a4092ab9c2a8d10a496a33
react-native-encrypted-storage: db300a3f2f0aba1e818417c1c0a6be549038deb7
react-native-quick-sqlite: e563f1ed38b4064be3cb61366bf1c7560f9581dc
react-native-quick-sqlite: de31f2b4047ba1e5816f0591a0f2ee9fd900ccfa
react-native-safe-area-context: dcab599c527c2d7de2d76507a523d20a0b83823d
React-nativeconfig: b0073a590774e8b35192fead188a36d1dca23dec
React-NativeModulesApple: df46ff3e3de5b842b30b4ca8a6caae6d7c8ab09f
Expand Down Expand Up @@ -1627,7 +1626,7 @@ SPEC CHECKSUMS:
RNScreens: b32a9ff15bea7fcdbe5dff6477bc503f792b1208
RNVectorIcons: 2a2f79274248390b80684ea3c4400bd374a15c90
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
Yoga: b9a182ab00cf25926e7f79657d08c5d23c2d03b0
Yoga: 348f8b538c3ed4423eb58a8e5730feec50bce372

PODFILE CHECKSUM: ae04ecd0f9ce834ae48d28ae0773802c27c371e8

Expand Down
2 changes: 1 addition & 1 deletion demos/django-react-native-todolist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@azure/core-asynciterator-polyfill": "^1.0.2",
"@craftzdog/react-native-buffer": "^6.0.5",
"@expo/vector-icons": "^14.0.0",
"@journeyapps/react-native-quick-sqlite": "^1.1.7",
"@powersync/react-native-quick-sqlite": "^1.2.0",
"@powersync/common": "workspace:*",
"@powersync/react": "workspace:*",
"@powersync/react-native": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion demos/example-capacitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@capacitor/core": "latest",
"@capacitor/ios": "^6.0.0",
"@capacitor/splash-screen": "latest",
"@journeyapps/wa-sqlite": "^0.2.0",
"@powersync/wa-sqlite": "^0.2.1",
"@powersync/react": "workspace:*",
"@powersync/web": "workspace:*",
"js-logger": "^1.6.1",
Expand Down
2 changes: 1 addition & 1 deletion demos/example-capacitor/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default defineConfig({
optimizeDeps: {
// Don't optimize these packages as they contain web workers and WASM files.
// https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
exclude: ['@journeyapps/wa-sqlite', '@powersync/web'],
exclude: ['@powersync/wa-sqlite', '@powersync/web'],
include: [
'@powersync/web > uuid',
'@powersync/web > event-iterator',
Expand Down
2 changes: 1 addition & 1 deletion demos/example-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"license": "MIT",
"dependencies": {
"@journeyapps/wa-sqlite": "~0.2.0",
"@powersync/wa-sqlite": "~0.2.1",
"@mui/icons-material": "^5.15.16",
"@mui/material": "^5.15.16",
"@mui/x-data-grid": "^6.19.11",
Expand Down
2 changes: 1 addition & 1 deletion demos/example-electron/vite.renderer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default defineConfig((env) => {
optimizeDeps: {
// Don't optimize these packages as they contain web workers and WASM files.
// https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
exclude: ['@journeyapps/wa-sqlite', '@powersync/web'],
exclude: ['@powersync/wa-sqlite', '@powersync/web'],
include: [
'@powersync/web > event-iterator',
'@powersync/web > js-logger',
Expand Down
2 changes: 1 addition & 1 deletion demos/example-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@fontsource/roboto": "^5.0.13",
"@journeyapps/wa-sqlite": "~0.2.0",
"@powersync/wa-sqlite": "~0.2.1",
"@lexical/react": "^0.15.0",
"@mui/icons-material": "^5.15.18",
"@mui/material": "^5.15.18",
Expand Down
2 changes: 1 addition & 1 deletion demos/example-vite/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({
optimizeDeps: {
// Don't optimize these packages as they contain web workers and WASM files.
// https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
exclude: ['@journeyapps/wa-sqlite', '@powersync/web'],
exclude: ['@powersync/wa-sqlite', '@powersync/web'],
include: [
'@powersync/web > event-iterator',
'@powersync/web > js-logger',
Expand Down
2 changes: 1 addition & 1 deletion demos/react-multi-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "pnpm build && pnpm preview"
},
"dependencies": {
"@journeyapps/wa-sqlite": "~0.2.0",
"@powersync/wa-sqlite": "~0.2.1",
"@powersync/react": "workspace:*",
"@powersync/web": "workspace:*",
"@supabase/supabase-js": "^2.43.1",
Expand Down
2 changes: 1 addition & 1 deletion demos/react-multi-client/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default defineConfig({
optimizeDeps: {
// Don't optimize these packages as they contain web workers and WASM files.
// https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
exclude: ['@journeyapps/wa-sqlite', '@powersync/web'],
exclude: ['@powersync/wa-sqlite', '@powersync/web'],
include: [
'@powersync/web > event-iterator',
'@powersync/web > js-logger',
Expand Down
4 changes: 2 additions & 2 deletions demos/react-native-supabase-group-chat/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const config: ExpoConfig = {
{
ios: {
deploymentTarget: '13.4',
// TODO: New architecture is currently not yet supported by @journeyapps/react-native-quick-sqlite
// TODO: New architecture is currently not yet supported by @powersync/react-native-quick-sqlite
newArchEnabled: false
},
android: {
Expand All @@ -65,7 +65,7 @@ const config: ExpoConfig = {
targetSdkVersion: 34,
buildToolsVersion: '34.0.0',
networkInspector: false,
// TODO: New architecture is currently not yet supported by @journeyapps/react-native-quick-sqlite
// TODO: New architecture is currently not yet supported by @powersync/react-native-quick-sqlite
newArchEnabled: false
}
}
Expand Down
2 changes: 1 addition & 1 deletion demos/react-native-supabase-group-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dependencies": {
"@azure/core-asynciterator-polyfill": "^1.0.2",
"@faker-js/faker": "8.3.1",
"@journeyapps/react-native-quick-sqlite": "^1.1.7",
"@powersync/react-native-quick-sqlite": "^1.2.0",
"@powersync/common": "workspace:*",
"@powersync/react": "workspace:*",
"@powersync/react-native": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions demos/react-native-supabase-todolist/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ const config: ExpoConfig = {
{
ios: {
deploymentTarget: '13.4',
// TODO: New architecture is currently not yet supported by @journeyapps/react-native-quick-sqlite
// TODO: New architecture is currently not yet supported by @powersync/react-native-quick-sqlite
newArchEnabled: false
},
android: {
minSdkVersion: 23,
compileSdkVersion: 34,
targetSdkVersion: 34,
buildToolsVersion: '34.0.0',
// TODO: New architecture is currently not yet supported by @journeyapps/react-native-quick-sqlite
// TODO: New architecture is currently not yet supported by @powersync/react-native-quick-sqlite
newArchEnabled: false
}
}
Expand Down
Loading
Loading