Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion demos/example-capacitor/README.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

npm-debug.log*

docs/capacitor-sdk/
docs/attachments-sdk/
docs/common-sdk/
docs/node-sdk/
Expand Down
12 changes: 10 additions & 2 deletions docs/utils/packageMap.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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,
Expand Down Expand Up @@ -71,5 +79,5 @@ export const packageMap: PackageMap = {
entryPoints: ['../packages/node/src/index.ts'],
tsconfig: '../packages/node/tsconfig.json',
id: Packages.NodeSdk
},
}
};