@stencil/core 4.4.0-dev.1696395716.cd91c3e → 4.4.0-dev.1696568523.8d03606
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/cli/index.cjs +10 -2
- package/cli/index.cjs.map +1 -1
- package/cli/index.js +10 -2
- package/cli/index.js.map +1 -1
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +4 -4
- package/compiler/stencil.min.js +2 -2
- package/dev-server/client/hmr-components.d.ts +12 -1
- package/dev-server/client/index.js +40 -12
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/client/index.js +33 -5
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/client/shadow-css.js +1 -1
- package/internal/hydrate/index.js +3 -2
- package/internal/hydrate/package.json +1 -1
- package/internal/package.json +1 -1
- package/internal/stencil-private.d.ts +3 -0
- package/internal/testing/index.js +3 -2
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -1
- package/mock-doc/index.js +1 -1
- package/mock-doc/package.json +1 -1
- package/package.json +1 -1
- package/screenshot/package.json +1 -1
- package/sys/node/index.js +1 -1
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +16 -13
- package/testing/jest/jest-27-and-under/jest-setup-test-framework.d.ts +1 -1
- package/testing/package.json +1 -1
package/cli/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil CLI (CommonJS) v4.4.0-dev.
|
|
2
|
+
Stencil CLI (CommonJS) v4.4.0-dev.1696568523.8d03606 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
@@ -2370,7 +2370,15 @@ const taskTest = async (config) => {
|
|
|
2370
2370
|
return config.sys.exit(1);
|
|
2371
2371
|
}
|
|
2372
2372
|
try {
|
|
2373
|
-
|
|
2373
|
+
/**
|
|
2374
|
+
* We dynamically import the testing submodule here in order for Stencil's lazy module checking to work properly.
|
|
2375
|
+
*
|
|
2376
|
+
* Prior to this call, we create a collection of string-based node module names and ensure that they're installed &
|
|
2377
|
+
* on disk. The testing submodule includes `jest` (amongst other) testing libraries in its dependency chain. We need
|
|
2378
|
+
* to run the lazy module check _before_ we include `jest` et al. in our dependency chain otherwise, the lazy module
|
|
2379
|
+
* checking would fail to run properly (because we'd import `jest`, which wouldn't exist, before we even checked if
|
|
2380
|
+
* it was installed).
|
|
2381
|
+
*/
|
|
2374
2382
|
const { createTesting } = await Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('../testing/index.js')); });
|
|
2375
2383
|
const testing = await createTesting(config);
|
|
2376
2384
|
const passed = await testing.run(testingRunOpts);
|