syncular 0.0.6-245 → 0.0.6-247

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "syncular",
3
- "version": "0.0.6-245",
3
+ "version": "0.0.6-247",
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 && tsgo --noEmit -p migrations/tsconfig.json",
30
- "build": "tsgo && tsgo -p migrations/tsconfig.json",
29
+ "tsgo": "tsgo --noEmit",
30
+ "build": "tsgo",
31
31
  "release": "bunx syncular-publish"
32
32
  },
33
33
  "exports": {
@@ -196,10 +196,10 @@
196
196
  }
197
197
  },
198
198
  "./migrations": {
199
- "bun": "./migrations/src/index.ts",
199
+ "bun": "./src/migrations.ts",
200
200
  "import": {
201
- "types": "./migrations/dist/index.d.ts",
202
- "default": "./migrations/dist/index.js"
201
+ "types": "./dist/migrations.d.ts",
202
+ "default": "./dist/migrations.js"
203
203
  }
204
204
  },
205
205
  "./typegen": {
@@ -324,47 +324,46 @@
324
324
  },
325
325
  "files": [
326
326
  "dist",
327
- "src",
328
- "migrations"
327
+ "src"
329
328
  ],
330
329
  "dependencies": {
331
- "@syncular/client": "0.0.6-245",
332
- "@syncular/client-plugin-blob": "0.0.6-245",
333
- "@syncular/client-plugin-offline-auth": "0.0.6-245",
334
- "@syncular/client-plugin-offline-auth-react": "0.0.6-245",
335
- "@syncular/client-plugin-encryption": "0.0.6-245",
336
- "@syncular/client-plugin-yjs": "0.0.6-245",
337
- "@syncular/client-react": "0.0.6-245",
338
- "@syncular/console": "0.0.6-245",
339
- "@syncular/core": "0.0.6-245",
340
- "@syncular/dialect-better-sqlite3": "0.0.6-245",
341
- "@syncular/dialect-bun-sqlite": "0.0.6-245",
342
- "@syncular/dialect-d1": "0.0.6-245",
343
- "@syncular/dialect-electron-sqlite": "0.0.6-245",
344
- "@syncular/dialect-expo-sqlite": "0.0.6-245",
345
- "@syncular/dialect-libsql": "0.0.6-245",
346
- "@syncular/dialect-neon": "0.0.6-245",
347
- "@syncular/dialect-pglite": "0.0.6-245",
348
- "@syncular/dialect-react-native-nitro-sqlite": "0.0.6-245",
349
- "@syncular/dialect-sqlite3": "0.0.6-245",
350
- "@syncular/dialect-wa-sqlite": "0.0.6-245",
351
- "@syncular/migrations": "0.0.6-245",
352
- "@syncular/observability-sentry": "0.0.6-245",
353
- "@syncular/relay": "0.0.6-245",
354
- "@syncular/server": "0.0.6-245",
355
- "@syncular/server-cloudflare": "0.0.6-245",
356
- "@syncular/server-dialect-postgres": "0.0.6-245",
357
- "@syncular/server-dialect-sqlite": "0.0.6-245",
358
- "@syncular/server-hono": "0.0.6-245",
359
- "@syncular/server-plugin-yjs": "0.0.6-245",
360
- "@syncular/server-service-worker": "0.0.6-245",
361
- "@syncular/server-storage-filesystem": "0.0.6-245",
362
- "@syncular/server-storage-s3": "0.0.6-245",
363
- "@syncular/testkit": "0.0.6-245",
364
- "@syncular/transport-http": "0.0.6-245",
365
- "@syncular/transport-ws": "0.0.6-245",
366
- "@syncular/typegen": "0.0.6-245",
367
- "@syncular/ui": "0.0.6-245"
330
+ "@syncular/client": "0.0.6-247",
331
+ "@syncular/client-plugin-blob": "0.0.6-247",
332
+ "@syncular/client-plugin-offline-auth": "0.0.6-247",
333
+ "@syncular/client-plugin-offline-auth-react": "0.0.6-247",
334
+ "@syncular/client-plugin-encryption": "0.0.6-247",
335
+ "@syncular/client-plugin-yjs": "0.0.6-247",
336
+ "@syncular/client-react": "0.0.6-247",
337
+ "@syncular/console": "0.0.6-247",
338
+ "@syncular/core": "0.0.6-247",
339
+ "@syncular/dialect-better-sqlite3": "0.0.6-247",
340
+ "@syncular/dialect-bun-sqlite": "0.0.6-247",
341
+ "@syncular/dialect-d1": "0.0.6-247",
342
+ "@syncular/dialect-electron-sqlite": "0.0.6-247",
343
+ "@syncular/dialect-expo-sqlite": "0.0.6-247",
344
+ "@syncular/dialect-libsql": "0.0.6-247",
345
+ "@syncular/dialect-neon": "0.0.6-247",
346
+ "@syncular/dialect-pglite": "0.0.6-247",
347
+ "@syncular/dialect-react-native-nitro-sqlite": "0.0.6-247",
348
+ "@syncular/dialect-sqlite3": "0.0.6-247",
349
+ "@syncular/dialect-wa-sqlite": "0.0.6-247",
350
+ "@syncular/migrations": "0.0.6-247",
351
+ "@syncular/observability-sentry": "0.0.6-247",
352
+ "@syncular/relay": "0.0.6-247",
353
+ "@syncular/server": "0.0.6-247",
354
+ "@syncular/server-cloudflare": "0.0.6-247",
355
+ "@syncular/server-dialect-postgres": "0.0.6-247",
356
+ "@syncular/server-dialect-sqlite": "0.0.6-247",
357
+ "@syncular/server-hono": "0.0.6-247",
358
+ "@syncular/server-plugin-yjs": "0.0.6-247",
359
+ "@syncular/server-service-worker": "0.0.6-247",
360
+ "@syncular/server-storage-filesystem": "0.0.6-247",
361
+ "@syncular/server-storage-s3": "0.0.6-247",
362
+ "@syncular/testkit": "0.0.6-247",
363
+ "@syncular/transport-http": "0.0.6-247",
364
+ "@syncular/transport-ws": "0.0.6-247",
365
+ "@syncular/typegen": "0.0.6-247",
366
+ "@syncular/ui": "0.0.6-247"
368
367
  },
369
368
  "devDependencies": {
370
369
  "@cloudflare/workers-types": "*",
@@ -1,2 +0,0 @@
1
- export { defineMigrations, getMigrationChecksum, } from '@syncular/migrations';
2
- //# sourceMappingURL=define.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { defineMigrations, getMigrationChecksum, } from '@syncular/migrations';
2
- //# sourceMappingURL=define.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"define.js","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC"}
@@ -1,6 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,6 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,3 +0,0 @@
1
- export type { CreateMigrationTrackingTableNameOptions, MigrationTrackingTableNamePart, } from '@syncular/migrations';
2
- export { createMigrationTrackingTableName, DEFAULT_MIGRATION_TRACKING_TABLE, } from '@syncular/migrations';
3
- //# sourceMappingURL=naming.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export { createMigrationTrackingTableName, DEFAULT_MIGRATION_TRACKING_TABLE, } from '@syncular/migrations';
2
- //# sourceMappingURL=naming.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"naming.js","sourceRoot":"","sources":["../src/naming.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,sBAAsB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { runMigrations, runMigrationsToVersion, } from '@syncular/migrations';
2
- //# sourceMappingURL=runner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../src/runner.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,sBAAsB,GACvB,MAAM,sBAAsB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { runMigrations, runMigrationsToVersion, } from '@syncular/migrations';
2
- //# sourceMappingURL=runner.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"runner.js","sourceRoot":"","sources":["../src/runner.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,sBAAsB,GACvB,MAAM,sBAAsB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { clearAppliedMigrations, ensureTrackingTable, getAppliedMigrations, getCurrentVersion, recordAppliedMigration, removeAppliedMigration, } from '@syncular/migrations';
2
- //# sourceMappingURL=tracking.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export { clearAppliedMigrations, ensureTrackingTable, getAppliedMigrations, getCurrentVersion, recordAppliedMigration, removeAppliedMigration, } from '@syncular/migrations';
2
- //# sourceMappingURL=tracking.js.map
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export type { DefinedMigrations, MigrationChecksumAlgorithm, MigrationChecksumDialect, MigrationChecksumMode, MigrationDefinition, MigrationFn, MigrationRecord, MigrationStateRow, ParsedMigration, ReversibleMigrationDefinition, RunMigrationsOptions, RunMigrationsResult, RunMigrationsToVersionOptions, RunMigrationsToVersionResult, } from '@syncular/migrations';
2
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,iBAAiB,EACjB,0BAA0B,EAC1B,wBAAwB,EACxB,qBAAqB,EACrB,mBAAmB,EACnB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,6BAA6B,EAC7B,oBAAoB,EACpB,mBAAmB,EACnB,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,sBAAsB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- {
2
- "type": "module"
3
- }
@@ -1,4 +0,0 @@
1
- export {
2
- defineMigrations,
3
- getMigrationChecksum,
4
- } from '@syncular/migrations';
@@ -1,5 +0,0 @@
1
- export * from './define';
2
- export * from './naming';
3
- export * from './runner';
4
- export * from './tracking';
5
- export * from './types';
@@ -1,9 +0,0 @@
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';
@@ -1,4 +0,0 @@
1
- export {
2
- runMigrations,
3
- runMigrationsToVersion,
4
- } from '@syncular/migrations';
@@ -1,8 +0,0 @@
1
- export {
2
- clearAppliedMigrations,
3
- ensureTrackingTable,
4
- getAppliedMigrations,
5
- getCurrentVersion,
6
- recordAppliedMigration,
7
- removeAppliedMigration,
8
- } from '@syncular/migrations';
@@ -1,16 +0,0 @@
1
- export type {
2
- DefinedMigrations,
3
- MigrationChecksumAlgorithm,
4
- MigrationChecksumDialect,
5
- MigrationChecksumMode,
6
- MigrationDefinition,
7
- MigrationFn,
8
- MigrationRecord,
9
- MigrationStateRow,
10
- ParsedMigration,
11
- ReversibleMigrationDefinition,
12
- RunMigrationsOptions,
13
- RunMigrationsResult,
14
- RunMigrationsToVersionOptions,
15
- RunMigrationsToVersionResult,
16
- } from '@syncular/migrations';
@@ -1,15 +0,0 @@
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
- }