@stencil/core 5.0.0-alpha.19 → 5.0.0-alpha.20
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/compiler/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { f as scopeCss } from "../client-CvcvHKz4.mjs";
|
|
2
|
-
import { C as version, S as vermoji, _ as cmpMetaToDocsComponent, a as createPrerenderer, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as generateManifest, i as createSystem, l as createWorkerMessageHandler, m as validateConfig, n as transpile, o as loadConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, w as versions, x as buildId, y as getScopeId } from "../compiler-
|
|
2
|
+
import { C as version, S as vermoji, _ as cmpMetaToDocsComponent, a as createPrerenderer, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as generateManifest, i as createSystem, l as createWorkerMessageHandler, m as validateConfig, n as transpile, o as loadConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, w as versions, x as buildId, y as getScopeId } from "../compiler-CpPj2WRN.mjs";
|
|
3
3
|
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-DKVq_Ud0.mjs";
|
|
4
4
|
export { CustomElementsExportBehaviorOptions, LOG_LEVELS, buildId, cmpMetaToDocsComponent, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, generateManifest, getScopeId, loadConfig, nodeRequire, optimizeCss, optimizeJs, scopeCss, transpile, transpileSync, ts, validateConfig, vermoji, version, versions };
|
|
@@ -28,9 +28,9 @@ import { createJiti } from "jiti";
|
|
|
28
28
|
import * as process$1 from "process";
|
|
29
29
|
import { dataToEsm } from "@rollup/pluginutils";
|
|
30
30
|
//#region src/version.ts
|
|
31
|
-
const version = "5.0.0-alpha.
|
|
32
|
-
const buildId = "
|
|
33
|
-
const vermoji = "
|
|
31
|
+
const version = "5.0.0-alpha.20";
|
|
32
|
+
const buildId = "1783783683";
|
|
33
|
+
const vermoji = "🚨";
|
|
34
34
|
/**
|
|
35
35
|
* Get the installed version of a tool/dependency.
|
|
36
36
|
* Handles packages with exports maps that point to subdirectories.
|
|
@@ -1844,7 +1844,7 @@ function foundSuper(constructorBodyStatements) {
|
|
|
1844
1844
|
* @returns a list of updated class elements
|
|
1845
1845
|
*/
|
|
1846
1846
|
const updateConstructor = (classNode, classMembers, statements, parameters, includeFalseArg) => {
|
|
1847
|
-
const constructorIndex = classMembers.findIndex((m) => m.
|
|
1847
|
+
const constructorIndex = classMembers.findIndex((m) => ts.isConstructorDeclaration(m) && m.body != null);
|
|
1848
1848
|
const constructorMethod = classMembers[constructorIndex];
|
|
1849
1849
|
if (constructorIndex < 0 && !statements?.length && !needsSuper(classNode)) return classMembers;
|
|
1850
1850
|
if (constructorIndex >= 0 && ts.isConstructorDeclaration(constructorMethod)) {
|
|
@@ -17776,7 +17776,12 @@ const createWatchBuild = async (config, compilerCtx) => {
|
|
|
17776
17776
|
emitFsChange(compilerCtx, buildCtx);
|
|
17777
17777
|
buildCtx.start();
|
|
17778
17778
|
const result = await build(config, compilerCtx, buildCtx, tsBuilder);
|
|
17779
|
-
if (result
|
|
17779
|
+
if (result === null) {
|
|
17780
|
+
incrementalCompiler.refreshRootNames();
|
|
17781
|
+
await onBuild(incrementalCompiler.rebuild());
|
|
17782
|
+
return;
|
|
17783
|
+
}
|
|
17784
|
+
if (!result.hasError) isRebuild = true;
|
|
17780
17785
|
recentlyBuiltFiles.clear();
|
|
17781
17786
|
buildCtx.filesChanged.forEach((f) => recentlyBuiltFiles.add(f));
|
|
17782
17787
|
lastBuildFinishedAt = Date.now();
|
package/dist/sys/node/worker.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as createWorkerMessageHandler } from "../../compiler-
|
|
1
|
+
import { l as createWorkerMessageHandler } from "../../compiler-CpPj2WRN.mjs";
|
|
2
2
|
import { t as createNodeSys } from "../../node-DKVq_Ud0.mjs";
|
|
3
3
|
//#region src/sys/node/node-worker-thread.ts
|
|
4
4
|
/**
|
package/dist/testing/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as HYDRATE_ID, C as setAssetPath, D as DEFAULT_DOC_DATA, F as reWireGetterSetter, M as STENCIL_DOC_DATA, P as getHostRef$1, S as getAssetPath, X as Env, Y as BUILD, _ as insertBefore, b as getElement, c as Fragment, g as getRenderingRef, h as forceUpdate, j as NODE_TYPE, k as HYDRATE_CHILD_ID, l as bootstrapLazy, m as h, p as Host, s as Mixin, u as getMode, v as renderVdom, y as createEvent } from "../client-CvcvHKz4.mjs";
|
|
2
2
|
import { L as EVENT_FLAGS, h as noop, w as CMP_FLAGS } from "../regular-expression-CFVJOTUh.mjs";
|
|
3
|
-
import { b as getBuildFeatures, c as createWorkerContext, h as Cache, i as createSystem, o as loadConfig, p as createInMemoryFs, s as createCompiler, v as BuildContext } from "../compiler-
|
|
3
|
+
import { b as getBuildFeatures, c as createWorkerContext, h as Cache, i as createSystem, o as loadConfig, p as createInMemoryFs, s as createCompiler, v as BuildContext } from "../compiler-CpPj2WRN.mjs";
|
|
4
4
|
import { wt as formatLazyBundleRuntimeMeta } from "../validation-ByxKj8bC.mjs";
|
|
5
5
|
import { o as buildEvents } from "../node-DKVq_Ud0.mjs";
|
|
6
6
|
import fs from "node:fs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.20",
|
|
4
4
|
"description": "A Compiler for Web Components and Progressive Web Apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -121,9 +121,9 @@
|
|
|
121
121
|
"terser": "^5.0.0",
|
|
122
122
|
"tinyglobby": "^0.2.0",
|
|
123
123
|
"typescript": ">4.0.0 <7.0.0",
|
|
124
|
-
"@stencil/cli": "5.0.0-alpha.
|
|
125
|
-
"@stencil/dev-server": "5.0.0-alpha.
|
|
126
|
-
"@stencil/mock-doc": "5.0.0-alpha.
|
|
124
|
+
"@stencil/cli": "5.0.0-alpha.20",
|
|
125
|
+
"@stencil/dev-server": "5.0.0-alpha.20",
|
|
126
|
+
"@stencil/mock-doc": "5.0.0-alpha.20"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
129
|
"@ionic/prettier-config": "^4.0.0",
|