@rljson/io 0.0.53 → 0.0.54

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.
@@ -332,28 +332,6 @@ export const runIoConformanceTests = (
332
332
  ]);
333
333
  });
334
334
 
335
- it('should add tables with foreign keys', async () => {
336
- const tableCfg1: TableCfg = exampleTableCfg({ key: 'table1' });
337
- // Create a first table
338
- const domTable = {
339
- ...tableCfg1,
340
- key: 'domTable',
341
- } as TableCfg;
342
- await io.createOrExtendTable({ tableCfg: domTable });
343
-
344
- // Create a second table
345
- const mainTable = {
346
- ...tableCfg1,
347
- key: 'mainTable',
348
- columns: [
349
- { ...tableCfg1.columns[0], type: 'string' },
350
- { ...tableCfg1.columns[1], type: 'boolean' },
351
- { ...tableCfg1.columns[2], key: 'domTableRef', type: 'string' },
352
- ],
353
- } as TableCfg;
354
- await io.createOrExtendTable({ tableCfg: mainTable });
355
- });
356
-
357
335
  it('should do nothing when the columns do not have changed', async () => {
358
336
  const exampleCfg: TableCfg = exampleTableCfg({ key: 'tableA' });
359
337
  await io.createOrExtendTable({ tableCfg: exampleCfg });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rljson/io",
3
- "version": "0.0.53",
3
+ "version": "0.0.54",
4
4
  "description": "Low level interface for reading and writing RLJSON data",
5
5
  "homepage": "https://github.com/rljson/io",
6
6
  "bugs": "https://github.com/rljson/io/issues",
@@ -33,8 +33,8 @@
33
33
  "read-pkg": "^9.0.1",
34
34
  "typescript": "~5.9.3",
35
35
  "typescript-eslint": "^8.46.3",
36
- "vite": "^7.2.0",
37
- "vite-node": "^3.2.4",
36
+ "vite": "^7.2.1",
37
+ "vite-node": "^5.0.0",
38
38
  "vite-plugin-dts": "^4.5.4",
39
39
  "vite-tsconfig-paths": "^5.1.4",
40
40
  "vitest": "^4.0.7",
@@ -44,14 +44,14 @@
44
44
  "@rljson/hash": "^0.0.17",
45
45
  "@rljson/is-ready": "^0.0.17",
46
46
  "@rljson/json": "^0.0.23",
47
- "@rljson/rljson": "^0.0.67",
47
+ "@rljson/rljson": "^0.0.68",
48
48
  "@rljson/validate": "^0.0.11"
49
49
  },
50
50
  "scripts": {
51
- "build": "pnpx vite build && tsc && node scripts/copy-readme-to-dist.js && node scripts/copy-file.js src/example.ts dist/src && node scripts/deploy-conformance-tests.js",
52
- "test": "pnpx vitest run --coverage && pnpm run lint",
51
+ "build": "pnpm vite build && tsc && node scripts/copy-readme-to-dist.js && node scripts/copy-file.js src/example.ts dist/src && node scripts/deploy-conformance-tests.js",
52
+ "test": "pnpm vitest run --coverage --no-file-parallelism --run && pnpm run lint",
53
53
  "prebuild": "pnpm run test",
54
- "lint": "pnpx eslint",
54
+ "lint": "pnpm eslint",
55
55
  "updateGoldens": "cross-env UPDATE_GOLDENS=true pnpm test"
56
56
  }
57
57
  }