@bravostudioai/react 0.1.25 → 0.1.28

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.
@@ -1,2 +1,2 @@
1
- export declare const PACKAGE_VERSION = "0.1.22";
1
+ export declare const PACKAGE_VERSION = "0.1.28";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
- const o = "0.1.22";
1
+ const o = "0.1.28";
2
2
  export {
3
3
  o as PACKAGE_VERSION
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sources":["../src/version.ts"],"sourcesContent":["export const PACKAGE_VERSION = \"0.1.22\";\n"],"names":["PACKAGE_VERSION"],"mappings":"AAAO,MAAMA,IAAkB;"}
1
+ {"version":3,"file":"version.js","sources":["../src/version.ts"],"sourcesContent":["export const PACKAGE_VERSION = \"0.1.28\";\n"],"names":["PACKAGE_VERSION"],"mappings":"AAAO,MAAMA,IAAkB;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bravostudioai/react",
3
- "version": "0.1.25",
3
+ "version": "0.1.28",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -17,7 +17,10 @@
17
17
  "./hooks/*": "./dist/hooks/*",
18
18
  "./stores/*": "./dist/stores/*",
19
19
  "./lib/*": "./dist/lib/*",
20
- "./version": "./dist/version.js"
20
+ "./version": {
21
+ "types": "./dist/src/version.d.ts",
22
+ "import": "./dist/version.js"
23
+ }
21
24
  },
22
25
  "bin": "./bin/encore-lib.js",
23
26
  "files": [
@@ -26,7 +29,9 @@
26
29
  "bin"
27
30
  ],
28
31
  "scripts": {
29
- "build": "vite build && tsc --emitDeclarationOnly",
32
+ "build": "npm run update-version && vite build && tsc --emitDeclarationOnly",
33
+ "update-version": "tsx scripts/update-version.ts",
34
+ "version": "npm run update-version && git add src/version.ts",
30
35
  "download-bravo": "tsx scripts/download-bravo.ts",
31
36
  "reverse-bravo": "tsx scripts/reverse-bravo.ts",
32
37
  "generate-wrapper": "tsx scripts/generate-wrapper.ts",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const PACKAGE_VERSION = "0.1.22";
1
+ export const PACKAGE_VERSION = "0.1.28";