Skip to content

Commit 66f1df8

Browse files
committed
Merge branch 'main' into op-sqlite-tests
2 parents d0a585e + 5bd9e84 commit 66f1df8

File tree

453 files changed

+19702
-15544
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

453 files changed

+19702
-15544
lines changed

.changeset/fluffy-rockets-breathe.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/friendly-chairs-camp.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/loud-mangos-kick.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/mighty-guests-lick.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/mighty-spies-fail.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 11 additions & 1 deletion

demos/angular-supabase-todolist/angular.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@
2020
"customWebpackConfig": {
2121
"path": "./extra-webpack.config.js"
2222
},
23-
"allowedCommonJsDependencies": [
24-
"js-logger",
25-
"ws"
26-
],
23+
"allowedCommonJsDependencies": ["ws"],
2724
"outputPath": "dist",
2825
"index": "src/index.html",
2926
"main": "src/main.ts",
@@ -39,7 +36,7 @@
3936
{
4037
"type": "initial",
4138
"maximumWarning": "500kb",
42-
"maximumError": "5mb"
39+
"maximumError": "6mb"
4340
},
4441
{
4542
"type": "anyComponentStyle",

demos/angular-supabase-todolist/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,27 @@
1414
},
1515
"private": true,
1616
"dependencies": {
17-
"@angular/animations": "^18.1.1",
18-
"@angular/common": "^18.1.1",
19-
"@angular/compiler": "^18.1.1",
20-
"@angular/core": "^18.1.1",
21-
"@angular/forms": "^18.1.1",
22-
"@angular/platform-browser": "^18.1.1",
23-
"@angular/platform-browser-dynamic": "^18.1.1",
24-
"@angular/router": "^18.1.1",
25-
"@angular/service-worker": "^18.1.1",
17+
"@angular/animations": "^19.2.4",
18+
"@angular/common": "^19.2.4",
19+
"@angular/compiler": "^19.2.4",
20+
"@angular/core": "^19.2.4",
21+
"@angular/forms": "^19.2.4",
22+
"@angular/platform-browser": "^19.2.4",
23+
"@angular/platform-browser-dynamic": "^19.2.4",
24+
"@angular/router": "^19.2.4",
25+
"@angular/service-worker": "^19.2.4",
2626
"@journeyapps/wa-sqlite": "^1.2.0",
2727
"@powersync/web": "workspace:*",
2828
"@supabase/supabase-js": "^2.44.4",
2929
"rxjs": "~7.8.1",
3030
"tslib": "^2.6.3",
31-
"zone.js": "~0.14.8"
31+
"zone.js": "~0.15.0"
3232
},
3333
"devDependencies": {
34-
"@angular-builders/custom-webpack": "^18.0.0",
35-
"@angular-devkit/build-angular": "^18.1.1",
36-
"@angular/cli": "^18.1.1",
37-
"@angular/compiler-cli": "^18.1.1",
34+
"@angular-builders/custom-webpack": "^19.0.0",
35+
"@angular-devkit/build-angular": "^19.2.5",
36+
"@angular/cli": "^19.2.5",
37+
"@angular/compiler-cli": "^19.2.4",
3838
"dotenv": "^16.4.5",
3939
"http-server": "^14.1.1",
4040
"typescript": "~5.5.3"

demos/angular-supabase-todolist/src/app/supabase.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
type User
99
} from '@supabase/supabase-js';
1010
import { environment } from '../environment';
11-
import { type AbstractPowerSyncDatabase, type CrudEntry, UpdateType, PowerSyncBackendConnector } from '@powersync/web';
11+
import { type AbstractPowerSyncDatabase, type CrudEntry, UpdateType, PowerSyncBackendConnector, type PowerSyncCredentials } from '@powersync/web';
1212

1313
/// Postgres Response codes that we cannot recover from by retrying.
1414
const FATAL_RESPONSE_CODES = [
@@ -67,7 +67,7 @@ export class SupabaseService implements PowerSyncBackendConnector {
6767
return {
6868
endpoint: environment.powersyncUrl,
6969
token: session.access_token ?? ''
70-
};
70+
} satisfies PowerSyncCredentials;
7171
}
7272

7373
authChanges(callback: (event: AuthChangeEvent, session: Session | null) => void) {

demos/django-react-native-todolist/android/app/build.gradle

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ react {
2020
bundleCommand = "export:embed"
2121

2222
/* Folders */
23-
// The root of your project, i.e. where "package.json" lives. Default is '..'
24-
// root = file("../")
25-
// The folder where the react-native NPM package is. Default is ../node_modules/react-native
26-
// reactNativeDir = file("../node_modules/react-native")
27-
// The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen
28-
// codegenDir = file("../node_modules/@react-native/codegen")
23+
// The root of your project, i.e. where "package.json" lives. Default is '../..'
24+
// root = file("../../")
25+
// The folder where the react-native NPM package is. Default is ../../node_modules/react-native
26+
// reactNativeDir = file("../../node_modules/react-native")
27+
// The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
28+
// codegenDir = file("../../node_modules/@react-native/codegen")
2929

3030
/* Variants */
3131
// The list of variants to that are debuggable. For those we're going to
@@ -57,6 +57,9 @@ react {
5757
//
5858
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
5959
// hermesFlags = ["-O", "-output-source-map"]
60+
61+
/* Autolinking */
62+
autolinkLibrariesWithApp()
6063
}
6164

6265
/**
@@ -118,6 +121,9 @@ android {
118121
useLegacyPackaging (findProperty('expo.useLegacyPackaging')?.toBoolean() ?: false)
119122
}
120123
}
124+
androidResources {
125+
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~'
126+
}
121127
}
122128

123129
// Apply static values from `gradle.properties` to the `android.packagingOptions`
@@ -168,6 +174,3 @@ dependencies {
168174
implementation jscFlavor
169175
}
170176
}
171-
172-
apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim(), "../native_modules.gradle");
173-
applyNativeModulesAppBuildGradle(project)

0 commit comments

Comments
 (0)