syncular 0.0.6-230 → 0.0.6-232

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ export { defineMigrations, getCompatibleMigrationChecksums, getMigrationChecksum, } from '@syncular/migrations';
2
+ //# sourceMappingURL=define.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,+BAA+B,EAC/B,oBAAoB,GACrB,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { defineMigrations, getCompatibleMigrationChecksums, getMigrationChecksum, } from '@syncular/migrations';
2
+ //# sourceMappingURL=define.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"define.js","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,+BAA+B,EAC/B,oBAAoB,GACrB,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './define';
2
+ export * from './naming';
3
+ export * from './runner';
4
+ export * from './tracking';
5
+ export * from './types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './define';
2
+ export * from './naming';
3
+ export * from './runner';
4
+ export * from './tracking';
5
+ export * from './types';
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { CreateMigrationTrackingTableNameOptions, MigrationTrackingTableNamePart, } from '@syncular/migrations';
2
+ export { createMigrationTrackingTableName, DEFAULT_MIGRATION_TRACKING_TABLE, } from '@syncular/migrations';
3
+ //# sourceMappingURL=naming.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"naming.d.ts","sourceRoot":"","sources":["../src/naming.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,uCAAuC,EACvC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { createMigrationTrackingTableName, DEFAULT_MIGRATION_TRACKING_TABLE, } from '@syncular/migrations';
2
+ //# sourceMappingURL=naming.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"naming.js","sourceRoot":"","sources":["../src/naming.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { runMigrations, runMigrationsToVersion, } from '@syncular/migrations';
2
+ //# sourceMappingURL=runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../src/runner.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,sBAAsB,GACvB,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { runMigrations, runMigrationsToVersion, } from '@syncular/migrations';
2
+ //# sourceMappingURL=runner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runner.js","sourceRoot":"","sources":["../src/runner.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,sBAAsB,GACvB,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { clearAppliedMigrations, ensureTrackingTable, getAppliedMigrations, getCurrentVersion, recordAppliedMigration, removeAppliedMigration, } from '@syncular/migrations';
2
+ //# sourceMappingURL=tracking.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tracking.d.ts","sourceRoot":"","sources":["../src/tracking.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { clearAppliedMigrations, ensureTrackingTable, getAppliedMigrations, getCurrentVersion, recordAppliedMigration, removeAppliedMigration, } from '@syncular/migrations';
2
+ //# sourceMappingURL=tracking.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tracking.js","sourceRoot":"","sources":["../src/tracking.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type { DefinedMigrations, MigrationDefinition, MigrationFn, MigrationRecord, MigrationStateRow, ParsedMigration, ReversibleMigrationDefinition, RunMigrationsOptions, RunMigrationsResult, RunMigrationsToVersionOptions, RunMigrationsToVersionResult, } from '@syncular/migrations';
2
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,oBAAoB,EACpB,mBAAmB,EACnB,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,5 @@
1
+ export {
2
+ defineMigrations,
3
+ getCompatibleMigrationChecksums,
4
+ getMigrationChecksum,
5
+ } from '@syncular/migrations';
@@ -0,0 +1,5 @@
1
+ export * from './define';
2
+ export * from './naming';
3
+ export * from './runner';
4
+ export * from './tracking';
5
+ export * from './types';
@@ -0,0 +1,9 @@
1
+ export type {
2
+ CreateMigrationTrackingTableNameOptions,
3
+ MigrationTrackingTableNamePart,
4
+ } from '@syncular/migrations';
5
+
6
+ export {
7
+ createMigrationTrackingTableName,
8
+ DEFAULT_MIGRATION_TRACKING_TABLE,
9
+ } from '@syncular/migrations';
@@ -0,0 +1,4 @@
1
+ export {
2
+ runMigrations,
3
+ runMigrationsToVersion,
4
+ } from '@syncular/migrations';
@@ -0,0 +1,8 @@
1
+ export {
2
+ clearAppliedMigrations,
3
+ ensureTrackingTable,
4
+ getAppliedMigrations,
5
+ getCurrentVersion,
6
+ recordAppliedMigration,
7
+ removeAppliedMigration,
8
+ } from '@syncular/migrations';
@@ -0,0 +1,13 @@
1
+ export type {
2
+ DefinedMigrations,
3
+ MigrationDefinition,
4
+ MigrationFn,
5
+ MigrationRecord,
6
+ MigrationStateRow,
7
+ ParsedMigration,
8
+ ReversibleMigrationDefinition,
9
+ RunMigrationsOptions,
10
+ RunMigrationsResult,
11
+ RunMigrationsToVersionOptions,
12
+ RunMigrationsToVersionResult,
13
+ } from '@syncular/migrations';
@@ -0,0 +1,15 @@
1
+ {
2
+ "extends": "../../../config/tsconfig.react.json",
3
+ "include": [
4
+ "src/**/*"
5
+ ],
6
+ "compilerOptions": {
7
+ "rootDir": "src",
8
+ "outDir": "dist"
9
+ },
10
+ "exclude": [
11
+ "src/**/*.test.ts",
12
+ "src/**/*.test.tsx",
13
+ "src/**/__tests__/**"
14
+ ]
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "syncular",
3
- "version": "0.0.6-230",
3
+ "version": "0.0.6-232",
4
4
  "description": "Offline-first sync framework for TypeScript",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Benjamin Kniffler",
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "type": "module",
28
28
  "scripts": {
29
- "tsgo": "tsgo --noEmit",
30
- "build": "tsgo",
29
+ "tsgo": "tsgo --noEmit && tsgo --noEmit -p migrations/tsconfig.json",
30
+ "build": "tsgo && tsgo -p migrations/tsconfig.json",
31
31
  "release": "bunx syncular-publish"
32
32
  },
33
33
  "exports": {
@@ -196,10 +196,10 @@
196
196
  }
197
197
  },
198
198
  "./migrations": {
199
- "bun": "./src/migrations.ts",
199
+ "bun": "./migrations/src/index.ts",
200
200
  "import": {
201
- "types": "./dist/migrations.d.ts",
202
- "default": "./dist/migrations.js"
201
+ "types": "./migrations/dist/index.d.ts",
202
+ "default": "./migrations/dist/index.js"
203
203
  }
204
204
  },
205
205
  "./typegen": {
@@ -324,46 +324,47 @@
324
324
  },
325
325
  "files": [
326
326
  "dist",
327
- "src"
327
+ "src",
328
+ "migrations"
328
329
  ],
329
330
  "dependencies": {
330
- "@syncular/client": "0.0.6-230",
331
- "@syncular/client-plugin-blob": "0.0.6-230",
332
- "@syncular/client-plugin-offline-auth": "0.0.6-230",
333
- "@syncular/client-plugin-offline-auth-react": "0.0.6-230",
334
- "@syncular/client-plugin-encryption": "0.0.6-230",
335
- "@syncular/client-plugin-yjs": "0.0.6-230",
336
- "@syncular/client-react": "0.0.6-230",
337
- "@syncular/console": "0.0.6-230",
338
- "@syncular/core": "0.0.6-230",
339
- "@syncular/dialect-better-sqlite3": "0.0.6-230",
340
- "@syncular/dialect-bun-sqlite": "0.0.6-230",
341
- "@syncular/dialect-d1": "0.0.6-230",
342
- "@syncular/dialect-electron-sqlite": "0.0.6-230",
343
- "@syncular/dialect-expo-sqlite": "0.0.6-230",
344
- "@syncular/dialect-libsql": "0.0.6-230",
345
- "@syncular/dialect-neon": "0.0.6-230",
346
- "@syncular/dialect-pglite": "0.0.6-230",
347
- "@syncular/dialect-react-native-nitro-sqlite": "0.0.6-230",
348
- "@syncular/dialect-sqlite3": "0.0.6-230",
349
- "@syncular/dialect-wa-sqlite": "0.0.6-230",
350
- "@syncular/migrations": "0.0.6-230",
351
- "@syncular/observability-sentry": "0.0.6-230",
352
- "@syncular/relay": "0.0.6-230",
353
- "@syncular/server": "0.0.6-230",
354
- "@syncular/server-cloudflare": "0.0.6-230",
355
- "@syncular/server-dialect-postgres": "0.0.6-230",
356
- "@syncular/server-dialect-sqlite": "0.0.6-230",
357
- "@syncular/server-hono": "0.0.6-230",
358
- "@syncular/server-plugin-yjs": "0.0.6-230",
359
- "@syncular/server-service-worker": "0.0.6-230",
360
- "@syncular/server-storage-filesystem": "0.0.6-230",
361
- "@syncular/server-storage-s3": "0.0.6-230",
362
- "@syncular/testkit": "0.0.6-230",
363
- "@syncular/transport-http": "0.0.6-230",
364
- "@syncular/transport-ws": "0.0.6-230",
365
- "@syncular/typegen": "0.0.6-230",
366
- "@syncular/ui": "0.0.6-230"
331
+ "@syncular/client": "0.0.6-232",
332
+ "@syncular/client-plugin-blob": "0.0.6-232",
333
+ "@syncular/client-plugin-offline-auth": "0.0.6-232",
334
+ "@syncular/client-plugin-offline-auth-react": "0.0.6-232",
335
+ "@syncular/client-plugin-encryption": "0.0.6-232",
336
+ "@syncular/client-plugin-yjs": "0.0.6-232",
337
+ "@syncular/client-react": "0.0.6-232",
338
+ "@syncular/console": "0.0.6-232",
339
+ "@syncular/core": "0.0.6-232",
340
+ "@syncular/dialect-better-sqlite3": "0.0.6-232",
341
+ "@syncular/dialect-bun-sqlite": "0.0.6-232",
342
+ "@syncular/dialect-d1": "0.0.6-232",
343
+ "@syncular/dialect-electron-sqlite": "0.0.6-232",
344
+ "@syncular/dialect-expo-sqlite": "0.0.6-232",
345
+ "@syncular/dialect-libsql": "0.0.6-232",
346
+ "@syncular/dialect-neon": "0.0.6-232",
347
+ "@syncular/dialect-pglite": "0.0.6-232",
348
+ "@syncular/dialect-react-native-nitro-sqlite": "0.0.6-232",
349
+ "@syncular/dialect-sqlite3": "0.0.6-232",
350
+ "@syncular/dialect-wa-sqlite": "0.0.6-232",
351
+ "@syncular/migrations": "0.0.6-232",
352
+ "@syncular/observability-sentry": "0.0.6-232",
353
+ "@syncular/relay": "0.0.6-232",
354
+ "@syncular/server": "0.0.6-232",
355
+ "@syncular/server-cloudflare": "0.0.6-232",
356
+ "@syncular/server-dialect-postgres": "0.0.6-232",
357
+ "@syncular/server-dialect-sqlite": "0.0.6-232",
358
+ "@syncular/server-hono": "0.0.6-232",
359
+ "@syncular/server-plugin-yjs": "0.0.6-232",
360
+ "@syncular/server-service-worker": "0.0.6-232",
361
+ "@syncular/server-storage-filesystem": "0.0.6-232",
362
+ "@syncular/server-storage-s3": "0.0.6-232",
363
+ "@syncular/testkit": "0.0.6-232",
364
+ "@syncular/transport-http": "0.0.6-232",
365
+ "@syncular/transport-ws": "0.0.6-232",
366
+ "@syncular/typegen": "0.0.6-232",
367
+ "@syncular/ui": "0.0.6-232"
367
368
  },
368
369
  "devDependencies": {
369
370
  "@cloudflare/workers-types": "*",