File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11# PowerSync + Capacitor Example
22
3- Example demonstrating the use of the [ PowerSync SDK for Web ] ( /packages/web /README.md ) together with a Capacitor App.
3+ Example demonstrating the use of the [ PowerSync SDK for Capacitor ] ( /packages/capacitor /README.md ) together with a Capacitor App.
44
55To see it in action:
66
Original file line number Diff line number Diff line change 1717
1818npm-debug.log *
1919
20+ docs /capacitor-sdk /
2021docs /attachments-sdk /
2122docs /common-sdk /
2223docs /node-sdk /
Original file line number Diff line number Diff line change 11export const DOC_FOLDER = 'docs' ;
22
33enum Packages {
4+ CapacitorSdk = 'capacitor-sdk' ,
45 ReactNativeSdk = 'react-native-sdk' ,
56 ReactSdk = 'react-sdk' ,
67 VueSdk = 'vue-sdk' ,
78 AttachmentsSdk = 'attachments-sdk' ,
89 WebSdk = 'web-sdk' ,
910 TanstackReactQuerySdk = 'tanstack-react-query-sdk' ,
10- NodeSdk = 'node-sdk' ,
11+ NodeSdk = 'node-sdk'
1112}
1213
1314interface Package {
@@ -23,6 +24,13 @@ type PackageMap = {
2324} ;
2425
2526export const packageMap : PackageMap = {
27+ [ Packages . CapacitorSdk ] : {
28+ name : 'Capacitor SDK' ,
29+ dirName : Packages . CapacitorSdk ,
30+ entryPoints : [ '../packages/capacitor/src/' ] ,
31+ tsconfig : '../packages/capacitor/tsconfig.json' ,
32+ id : Packages . CapacitorSdk
33+ } ,
2634 [ Packages . ReactNativeSdk ] : {
2735 name : 'React Native SDK' ,
2836 dirName : Packages . ReactNativeSdk ,
@@ -71,5 +79,5 @@ export const packageMap: PackageMap = {
7179 entryPoints : [ '../packages/node/src/index.ts' ] ,
7280 tsconfig : '../packages/node/tsconfig.json' ,
7381 id : Packages . NodeSdk
74- } ,
82+ }
7583} ;
You can’t perform that action at this time.
0 commit comments