@monimesl/dot-runtime 0.1.0-alpha.7 → 0.1.0-alpha.9
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/testing.js +3 -4
- package/dist/testing.js.map +1 -1
- package/package.json +5 -5
package/dist/testing.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { dash } from "@monimesl/dot-dash";
|
|
2
2
|
export * from "@monimesl/dot-service/testing";
|
|
3
3
|
//#region src/testing.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
});
|
|
4
|
+
const globals = globalThis;
|
|
5
|
+
globals.dash = dash;
|
|
6
|
+
globals.env = {};
|
|
8
7
|
//#endregion
|
|
9
8
|
|
|
10
9
|
//# sourceMappingURL=testing.js.map
|
package/dist/testing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.js","names":[],"sources":["../src/testing.ts"],"sourcesContent":["// Import before the page under test: it installs the globals a dot's code uses without imports.\n// `env` starts empty; a test gives the page its values with `Object.assign(env, { ... })`.\nimport { dash } from '@monimesl/dot-dash';\n\nexport * from '@monimesl/dot-service/testing';\n\
|
|
1
|
+
{"version":3,"file":"testing.js","names":[],"sources":["../src/testing.ts"],"sourcesContent":["// Import before the page under test: it installs the globals a dot's code uses without imports.\n// `env` starts empty; a test gives the page its values with `Object.assign(env, { ... })`.\nimport { dash } from '@monimesl/dot-dash';\n\nexport * from '@monimesl/dot-service/testing';\n\nconst globals = globalThis as unknown as Record<string, unknown>;\nglobals.dash = dash;\nglobals.env = {};\n"],"mappings":";;;AAMA,MAAM,UAAU;AAChB,QAAQ,OAAO;AACf,QAAQ,MAAM,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monimesl/dot-runtime",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.9",
|
|
4
4
|
"description": "A composer of the service and webview runtimes and the default React renderer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"main": "./dist/index.js",
|
|
55
55
|
"types": "./dist/index.d.ts",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@monimesl/dot-dash": "0.1.0-alpha.
|
|
58
|
-
"@monimesl/dot-
|
|
59
|
-
"@monimesl/dot-
|
|
60
|
-
"@monimesl/dot-service": "0.1.0-alpha.
|
|
57
|
+
"@monimesl/dot-dash": "0.1.0-alpha.9",
|
|
58
|
+
"@monimesl/dot-webview": "0.1.0-alpha.9",
|
|
59
|
+
"@monimesl/dot-renderer-react": "0.1.0-alpha.9",
|
|
60
|
+
"@monimesl/dot-service": "0.1.0-alpha.9"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"publint": "^0.3.24",
|