@pygmalionjs/pygmalion 0.6.21 → 0.6.22
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/node/runtime.mjs +5 -0
- package/package.json +7 -1
- package/runtime.d.ts +9 -0
package/node/runtime.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pygmalionjs/pygmalion",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.22",
|
|
4
4
|
"description": "Code-backed DOM design sandbox and visual QA editor",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
},
|
|
30
30
|
"./dev-view": "./node/dev-view.vite.mjs",
|
|
31
31
|
"./webpack-loader": "./node/webpack-loader.cjs",
|
|
32
|
+
"./runtime": {
|
|
33
|
+
"types": "./runtime.d.ts",
|
|
34
|
+
"default": "./node/runtime.mjs"
|
|
35
|
+
},
|
|
32
36
|
"./testing": {
|
|
33
37
|
"types": "./dist-lib/types/testing.d.ts",
|
|
34
38
|
"default": "./dist-lib/testing.js"
|
|
@@ -67,9 +71,11 @@
|
|
|
67
71
|
"node/storyboard.mjs",
|
|
68
72
|
"node/vite.mjs",
|
|
69
73
|
"node/webpack-loader.cjs",
|
|
74
|
+
"node/runtime.mjs",
|
|
70
75
|
"inspect.d.ts",
|
|
71
76
|
"qa.d.ts",
|
|
72
77
|
"storyboard.d.ts",
|
|
78
|
+
"runtime.d.ts",
|
|
73
79
|
"vite.d.ts"
|
|
74
80
|
],
|
|
75
81
|
"scripts": {
|
package/runtime.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Attribute used to identify an installed Pygmalion pre-mount runtime. */
|
|
2
|
+
export declare const PYGMALION_STORYBOARD_RUNTIME_ATTRIBUTE: string;
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Inline script source for hosts whose bundler cannot run the Pygmalion Vite
|
|
6
|
+
* HTML plugin. Render it before application scripts on every previewable route.
|
|
7
|
+
*/
|
|
8
|
+
export declare function storyboardEnvironmentBootstrapSource(): string;
|
|
9
|
+
|