@rljson/rljson 0.0.56 → 0.0.60

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.
@@ -52,6 +52,10 @@ export class Example {
52
52
  isRoot: false,
53
53
  isShared: true,
54
54
  columns: [
55
+ {
56
+ key: '_hash',
57
+ type: 'string',
58
+ },
55
59
  {
56
60
  key: 'int',
57
61
  type: 'number',
@@ -94,7 +98,7 @@ export class Example {
94
98
  table: {
95
99
  _tableCfg: tableCfgs._data[0]._hash as string,
96
100
  _type: 'components',
97
- _data: [exampleJsonObject()],
101
+ _data: [hip(exampleJsonObject())],
98
102
  _hash: '',
99
103
  },
100
104
  };
@@ -0,0 +1 @@
1
+ export declare const timeId: () => string;
@@ -26,7 +26,7 @@ export type ColumnKey = JsonKey;
26
26
  * - `ids` Tables containing slice ids
27
27
  * - `components` Tables containing slice components
28
28
  */
29
- export declare const contentTypes: readonly ["buffets", "cakes", "layers", "sliceIds", "components", "revisions", "tableCfgs"];
29
+ export declare const contentTypes: readonly ["buffets", "cakes", "layers", "sliceIds", "components", "revisions", "tableCfgs", "edits"];
30
30
  export type ContentType = (typeof contentTypes)[number];
31
31
  /**
32
32
  * An example object using the typedefs
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@rljson/rljson",
3
- "version": "0.0.56",
4
- "packageManager": "pnpm@10.11.0",
3
+ "version": "0.0.60",
5
4
  "description": "The RLJSON data format specification",
6
5
  "homepage": "https://github.com/rljson/rljson",
7
6
  "bugs": "https://github.com/rljson/rljson/issues",
@@ -20,29 +19,21 @@
20
19
  "dist"
21
20
  ],
22
21
  "type": "module",
23
- "scripts": {
24
- "build": "npx vite build && tsc && cp README* dist && mkdir dist/src && cp src/example.ts dist/src",
25
- "test": "npx vitest run --coverage && npm run lint",
26
- "prebuild": "npm run test",
27
- "prepublishOnly": "npm run build && npm run test",
28
- "lint": "npx eslint",
29
- "updateGoldens": "cross-env UPDATE_GOLDENS=true npm test"
30
- },
31
22
  "devDependencies": {
32
- "@types/node": "^24.4.0",
33
- "@typescript-eslint/eslint-plugin": "^8.43.0",
34
- "@typescript-eslint/parser": "^8.43.0",
23
+ "@types/node": "^24.5.2",
24
+ "@typescript-eslint/eslint-plugin": "^8.44.1",
25
+ "@typescript-eslint/parser": "^8.44.1",
35
26
  "@vitest/coverage-v8": "^3.2.4",
36
27
  "cross-env": "^10.0.0",
37
- "eslint": "^9.35.0",
38
- "eslint-plugin-jsdoc": "^57.0.8",
28
+ "eslint": "^9.36.0",
29
+ "eslint-plugin-jsdoc": "^60.3.1",
39
30
  "eslint-plugin-tsdoc": "^0.4.0",
40
31
  "globals": "^16.4.0",
41
32
  "jsdoc": "^4.0.4",
42
33
  "read-pkg": "^9.0.1",
43
34
  "typescript": "~5.9.2",
44
- "typescript-eslint": "^8.43.0",
45
- "vite": "^7.1.5",
35
+ "typescript-eslint": "^8.44.1",
36
+ "vite": "^7.1.7",
46
37
  "vite-node": "^3.2.4",
47
38
  "vite-plugin-dts": "^4.5.4",
48
39
  "vite-tsconfig-paths": "^5.1.4",
@@ -51,12 +42,14 @@
51
42
  },
52
43
  "dependencies": {
53
44
  "@rljson/hash": "^0.0.16",
54
- "@rljson/json": "^0.0.21"
45
+ "@rljson/json": "^0.0.21",
46
+ "nanoid": "^5.1.6"
55
47
  },
56
- "pnpm": {
57
- "onlyBuiltDependencies": [
58
- "esbuild"
59
- ],
60
- "overrides": {}
48
+ "scripts": {
49
+ "build": "npx vite build && tsc && cp README* dist && mkdir dist/src && cp src/example.ts dist/src",
50
+ "test": "npx vitest run --coverage && npm run lint",
51
+ "prebuild": "npm run test",
52
+ "lint": "npx eslint",
53
+ "updateGoldens": "cross-env UPDATE_GOLDENS=true npm test"
61
54
  }
62
- }
55
+ }