@creact-labs/creact 0.1.2 → 0.1.3
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 +1 -0
- package/dist/index.js +2 -0
- package/package.json +8 -1
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
*/
|
|
30
30
|
export { CReact, JSXElement } from './jsx';
|
|
31
31
|
export type { FC, PropsWithChildren } from './jsx.d';
|
|
32
|
+
import './jsx.d';
|
|
32
33
|
import { CReact as CReactClass } from './core/CReact';
|
|
33
34
|
export { CReact as CReactCore, CReactConfig } from './core/CReact';
|
|
34
35
|
export declare const renderCloudDOM: typeof CReactClass.renderCloudDOM;
|
package/dist/index.js
CHANGED
|
@@ -35,6 +35,8 @@ exports.parseResourceId = exports.formatPath = exports.normalizePath = exports.n
|
|
|
35
35
|
// JSX support
|
|
36
36
|
var jsx_1 = require("./jsx");
|
|
37
37
|
Object.defineProperty(exports, "CReact", { enumerable: true, get: function () { return jsx_1.CReact; } });
|
|
38
|
+
// Re-export JSX type definitions for consumers
|
|
39
|
+
require("./jsx.d");
|
|
38
40
|
// Core classes
|
|
39
41
|
const CReact_1 = require("./core/CReact");
|
|
40
42
|
var CReact_2 = require("./core/CReact");
|
package/package.json
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@creact-labs/creact",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "CReact - React for Infrastructure. Render JSX to CloudDOM.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
+
"typesVersions": {
|
|
8
|
+
"*": {
|
|
9
|
+
"jsx": [
|
|
10
|
+
"dist/jsx.d.ts"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
},
|
|
7
14
|
"bin": {
|
|
8
15
|
"creact": "./dist/cli/index.js"
|
|
9
16
|
},
|