File tree Expand file tree Collapse file tree 5 files changed +6
-9
lines changed
Expand file tree Collapse file tree 5 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ scripts:
3333
3434 prepare:demos :
3535 description : Download SQLite3 wasm for demos
36- run : dart run powersync_core :setup_web --no-worker
36+ run : dart run powersync :setup_web --no-worker
3737 exec :
3838 concurrency : 1
3939 packageFilters :
@@ -46,7 +46,7 @@ scripts:
4646 exec :
4747 concurrency : 1
4848 packageFilters :
49- scope : powersync_core
49+ scope : powersync
5050
5151 analyze:demos :
5252 description : Analyze Dart code in demos.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Future<void> main() async {
1010 /// The monorepo root assets directory
1111 final workerFilename = 'powersync_db.worker.js' ;
1212 final outputPath =
13- path.join (repoRoot, 'packages/powersync_core /assets/$workerFilename ' );
13+ path.join (repoRoot, 'packages/powersync /assets/$workerFilename ' );
1414
1515 final workerSourcePath = path.join (repoRoot,
1616 './packages/powersync_core/lib/src/web/powersync_db.worker.dart' );
Original file line number Diff line number Diff line change 1- /// Downloads the powersync dynamic library and copies it to the powersync package directory
2- /// This is only necessary for running unit tests in the powersync package
1+ /// Downloads the powersync dynamic library and copies it to the powersync_core package directory
2+ /// This is only necessary for running unit tests in the powersync_core package
33import 'dart:ffi' ;
44import 'dart:io' ;
55
@@ -24,12 +24,9 @@ void main() async {
2424 if (await originalFile.exists ()) {
2525 try {
2626 // Rename the original file to the new file name
27- final renamedFile =
28- await originalFile.rename ("$powersyncPath /$newFileName " );
27+ await originalFile.rename ("$powersyncPath /$newFileName " );
2928 print (
3029 'File renamed successfully from $sqliteCoreFilename to $newFileName ' );
31- await renamedFile.copy ("$powersyncCipherPath /$newFileName " );
32- print ('$newFileName copied to $powersyncCipherPath ' );
3330 } catch (e) {
3431 throw IOException ('Error renaming file: $e ' );
3532 }
You can’t perform that action at this time.
0 commit comments