@rebasepro/codegen 0.16.0 → 0.16.1-canary.g2d1aec8
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/dist/index.d.ts +2 -2
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* Generates a purely typed Typescript database definition.
|
|
5
5
|
*/
|
|
6
6
|
import { CollectionConfig } from "@rebasepro/types";
|
|
7
|
-
export { generateTypedefs, CodegenError } from "./generate-types";
|
|
8
|
-
export { toPascalCase, toCamelCase, toSafeIdentifier, indent } from "./utils";
|
|
7
|
+
export { generateTypedefs, CodegenError } from "./generate-types.js";
|
|
8
|
+
export { toPascalCase, toCamelCase, toSafeIdentifier, indent } from "./utils.js";
|
|
9
9
|
export interface GeneratedFile {
|
|
10
10
|
/** Relative file path within the output directory */
|
|
11
11
|
path: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebasepro/codegen",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.1-canary.g2d1aec8",
|
|
4
4
|
"description": "Generate a typed JS SDK from Rebase collection definitions",
|
|
5
5
|
"main": "./dist/index.es.js",
|
|
6
6
|
"module": "./dist/index.es.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"author": "rebase.pro",
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@rebasepro/types": "0.16.
|
|
25
|
+
"@rebasepro/types": "0.16.1-canary.g2d1aec8"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@jest/globals": "^30.4.1",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"ts-jest": "^29.4.12",
|
|
33
33
|
"typescript": "^6.0.3",
|
|
34
34
|
"vite": "^8.1.5",
|
|
35
|
-
"@rebasepro/types": "0.16.
|
|
35
|
+
"@rebasepro/types": "0.16.1-canary.g2d1aec8"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|
|
38
38
|
".": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"gitHead": "d935eefa5aa8d1009a2398cfac2c1e4ee9aeb6b6",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@rebasepro/common": "0.16.
|
|
45
|
+
"@rebasepro/common": "0.16.1-canary.g2d1aec8"
|
|
46
46
|
},
|
|
47
47
|
"repository": {
|
|
48
48
|
"type": "git",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"test": "jest --config jest.config.cjs",
|
|
54
|
-
"build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/assert-build-output.mjs",
|
|
54
|
+
"build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/add-dts-extensions.mjs dist && node ../../scripts/assert-build-output.mjs",
|
|
55
55
|
"clean": "rm -rf dist && find ./src -name '*.js' -type f | xargs rm -f"
|
|
56
56
|
}
|
|
57
57
|
}
|