Skip to content

Commit

Permalink
Upgrade to astro 5
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Dec 14, 2024
1 parent a55406a commit 47d9bc4
Show file tree
Hide file tree
Showing 9 changed files with 467 additions and 384 deletions.
6 changes: 3 additions & 3 deletions app/android/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GEM
artifactory (3.0.17)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.1020.0)
aws-partitions (1.1023.0)
aws-sdk-core (3.214.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.992.0)
Expand All @@ -19,7 +19,7 @@ GEM
aws-sdk-kms (1.96.0)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.176.0)
aws-sdk-s3 (1.176.1)
aws-sdk-core (~> 3, >= 3.210.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
Expand Down Expand Up @@ -131,7 +131,7 @@ GEM
google-cloud-env (2.2.1)
faraday (>= 1.0, < 3.a)
google-cloud-errors (1.4.0)
google-cloud-storage (1.53.0)
google-cloud-storage (1.54.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-apis-core (~> 0.13)
Expand Down
1 change: 1 addition & 0 deletions app/lib/handlers/import.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class ImportHandler extends Handler<ImportTool> {
.copyWith(id: createUniqueId()))
.nonNulls
.toList()));
context.getCurrentIndexCubit().resetTemporaryHandler(context.getDocumentBloc());
context.refresh();
context.bake();
}
Expand Down
4 changes: 2 additions & 2 deletions app/lib/renderers/foregrounds/area.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ class AreaForegroundRenderer extends Renderer<Area> {
void build(Canvas canvas, Size size, NoteData document, DocumentPage? page,
DocumentInfo info, CameraTransform transform,
[ColorScheme? colorScheme, bool foreground = false]) {
var paint = Paint()
final paint = Paint()
..style = PaintingStyle.stroke
..strokeWidth = 5 / transform.size
..color = colorScheme?.primary ?? Colors.blue;
var backgroundPaint = Paint()
final backgroundPaint = Paint()
..style = PaintingStyle.fill
..color = (colorScheme?.primaryContainer ?? Colors.lightBlue)
.withValues(alpha: 0.2);
Expand Down
8 changes: 4 additions & 4 deletions app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ packages:
dependency: transitive
description:
name: camera_android_camerax
sha256: e3627fdc2132d89212b8a8676679f5b07008c7e3d8ae00cea775c3397f9e742b
sha256: "2985b8e5fca62709ebb2150962b1dae0444ba0a112be888ccf21e8371a1406d9"
url: "https://pub.dev"
source: hosted
version: "0.6.10"
version: "0.6.10+1"
camera_avfoundation:
dependency: transitive
description:
Expand Down Expand Up @@ -900,10 +900,10 @@ packages:
dependency: "direct main"
description:
name: one_dollar_unistroke_recognizer
sha256: fa47695d7318542401cd29a35829011dafa0d0b3cb401803e6d78d55d382a96c
sha256: "459ba12aaada0e85e8f211f62fea649f246ccb74f726527593a0716bf1bcf6c4"
url: "https://pub.dev"
source: hosted
version: "1.3.2"
version: "1.3.3"
package_config:
dependency: transitive
description:
Expand Down
14 changes: 7 additions & 7 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/react": "^3.6.3",
"@astrojs/starlight": "^0.29.3",
"@astrojs/react": "^4.1.0",
"@astrojs/starlight": "^0.30.0",
"@phosphor-icons/react": "^2.1.7",
"@types/react": "^18.3.16",
"@types/react-dom": "^18.3.5",
"astro": "^4.16.17",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"astro": "^5.0.5",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"remark-gemoji": "^8.0.0",
"remark-heading-id": "^1.0.1",
"sharp": "^0.33.5",
Expand Down
Loading

0 comments on commit 47d9bc4

Please sign in to comment.