diff --git a/demos/example-capacitor/README.md b/demos/example-capacitor/README.md index 72ed2a645..97c2d077f 100644 --- a/demos/example-capacitor/README.md +++ b/demos/example-capacitor/README.md @@ -1,6 +1,6 @@ # PowerSync + Capacitor Example -Example demonstrating the use of the [PowerSync SDK for Web](/packages/web/README.md) together with a Capacitor App. +Example demonstrating the use of the [PowerSync SDK for Capacitor](/packages/capacitor/README.md) together with a Capacitor App. To see it in action: diff --git a/docs/.gitignore b/docs/.gitignore index 91a9f9eba..8413169c4 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -17,6 +17,7 @@ npm-debug.log* +docs/capacitor-sdk/ docs/attachments-sdk/ docs/common-sdk/ docs/node-sdk/ diff --git a/docs/utils/packageMap.ts b/docs/utils/packageMap.ts index daf9aab1c..add2238db 100644 --- a/docs/utils/packageMap.ts +++ b/docs/utils/packageMap.ts @@ -1,13 +1,14 @@ export const DOC_FOLDER = 'docs'; enum Packages { + CapacitorSdk = 'capacitor-sdk', ReactNativeSdk = 'react-native-sdk', ReactSdk = 'react-sdk', VueSdk = 'vue-sdk', AttachmentsSdk = 'attachments-sdk', WebSdk = 'web-sdk', TanstackReactQuerySdk = 'tanstack-react-query-sdk', - NodeSdk = 'node-sdk', + NodeSdk = 'node-sdk' } interface Package { @@ -23,6 +24,13 @@ type PackageMap = { }; export const packageMap: PackageMap = { + [Packages.CapacitorSdk]: { + name: 'Capacitor SDK', + dirName: Packages.CapacitorSdk, + entryPoints: ['../packages/capacitor/src/'], + tsconfig: '../packages/capacitor/tsconfig.json', + id: Packages.CapacitorSdk + }, [Packages.ReactNativeSdk]: { name: 'React Native SDK', dirName: Packages.ReactNativeSdk, @@ -71,5 +79,5 @@ export const packageMap: PackageMap = { entryPoints: ['../packages/node/src/index.ts'], tsconfig: '../packages/node/tsconfig.json', id: Packages.NodeSdk - }, + } };