@stencil/core 5.0.0-alpha.14 → 5.0.0-alpha.16

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.
@@ -73,7 +73,7 @@ const BUILD = {
73
73
  isDev: false,
74
74
  isTesting: false,
75
75
  hydrateServerSide: false,
76
- hydrateClientSide: false,
76
+ hydrateClientSide: true,
77
77
  lifecycleDOMEvents: false,
78
78
  lazyLoad: false,
79
79
  profile: false,
@@ -75,7 +75,7 @@ const BUILD = {
75
75
  isDev: false,
76
76
  isTesting: false,
77
77
  hydrateServerSide: false,
78
- hydrateClientSide: false,
78
+ hydrateClientSide: true,
79
79
  lifecycleDOMEvents: false,
80
80
  lazyLoad: false,
81
81
  profile: false,
@@ -1,3 +1,3 @@
1
- import { a as createPrerenderer, b as version, c as createWorkerContext, d as nodeRequire, f as optimizeCss, 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, v as buildId, x as versions, y as vermoji } from "../compiler-Ww3yyQjl.mjs";
2
- import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node--akYC-sG.mjs";
1
+ import { a as createPrerenderer, b as version, c as createWorkerContext, d as nodeRequire, f as optimizeCss, 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, v as buildId, x as versions, y as vermoji } from "../compiler-ip-l8MSx.mjs";
2
+ import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-BdyxhldJ.mjs";
3
3
  export { CustomElementsExportBehaviorOptions, LOG_LEVELS, buildId, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, loadConfig, nodeRequire, optimizeCss, optimizeJs, transpile, transpileSync, ts, validateConfig, vermoji, version, versions };
@@ -1,8 +1,8 @@
1
1
  import { n as __require } from "./chunk-z9aeyW2b.mjs";
2
- import { O as HYDRATED_CSS, f as scopeCss } from "./client-aTQ7xHxx.mjs";
2
+ import { O as HYDRATED_CSS, f as scopeCss } from "./client-DI9mAOBd.mjs";
3
3
  import { $ as VALID_CONFIG_OUTPUT_TARGETS, C as ASSETS, D as COLLECTION_MANIFEST_FILE_NAME, E as COLLECTION_APP_DATA_FILE_NAME, F as DOCS_README, J as STANDALONE, L as EVENT_FLAGS, O as COPY, P as DOCS_JSON, Q as TYPES, R as GENERATED_DTS, T as COLLECTION, U as LOADER_BUNDLE, X as STYLE_EXT, Y as STATS, _ as sortBy, a as fromEntries, b as toTitleCase, d as isNumber$1, et as WATCH_FLAGS, f as isObject, h as noop, i as flatOne, j as DIST_LAZY, l as isFunction, m as mergeIntoWith, n as dashToPascalCase, o as isBoolean$1, p as isString$1, u as isIterable, x as unique, y as toDashCase, z as GLOBAL_STYLE } from "./regular-expression-CFVJOTUh.mjs";
4
4
  import { $ as loadTypeScriptDiagnostics, A as isOutputTargetCollection, B as isOutputTargetGlobalStyle, Ct as formatComponentRuntimeMeta, E as getComponentsDtsSrcFilePath, Et as byteSize, F as isOutputTargetDocsCustom, G as isOutputTargetStats, H as isOutputTargetSsr, I as isOutputTargetDocsCustomElementsManifest, J as isValidConfigOutputTarget, K as isOutputTargetTypes, L as isOutputTargetDocsJson, M as isOutputTargetCustom, N as isOutputTargetDistLazy, O as getComponentsFromModules, P as isOutputTargetDocs, Q as loadTypeScriptDiagnostic, R as isOutputTargetDocsReadme, S as ok, St as isGlob, T as filterExcludedComponents, Tt as stringifyRuntimeData, U as isOutputTargetSsrWasm, V as isOutputTargetLoaderBundle, W as isOutputTargetStandalone, Y as relativeImport, Z as augmentDiagnosticWithNode, _ as getSourceMappingUrlForEndOfFile, _t as catchError, a as getTextDocs, at as relative$1, b as err, ct as isRolldownError, d as isTsxFile, dt as normalizeDiagnostics, et as join$2, f as parsePackageJson, ft as splitLineBreaks, g as getInlineSourceMappingUrlLinker, gt as buildWarn, h as isRemoteUrl, ht as buildJsonFileError, i as generatePreamble, it as normalizePath, j as isOutputTargetCopy, k as isOutputTargetAssets, lt as loadRolldownDiagnostics, m as readPackageJson, mt as buildError, n as addDocBlock, nt as normalizeFsPath, o as hasDependency, ot as resolve$2, p as readOnlyArrayHasStringMember, q as isOutputTargetWww, r as createJsVarName, rt as normalizeFsPathQuery, s as isDtsFile, st as createOnWarnFn, t as validateComponentTag, u as isTsFile, vt as hasError, w as filterActiveTargets, x as map, xt as isRootPath, y as rolldownToStencilSourceMap, yt as hasWarning, z as isOutputTargetDocsVscode } from "./validation-ByxKj8bC.mjs";
5
- import { i as CustomElementsExportBehaviorOptions, o as buildEvents, r as createNodeLogger, t as createNodeSys } from "./node--akYC-sG.mjs";
5
+ import { i as CustomElementsExportBehaviorOptions, o as buildEvents, r as createNodeLogger, t as createNodeSys } from "./node-BdyxhldJ.mjs";
6
6
  import ts, { default as ts$1 } from "typescript";
7
7
  import { readFileSync } from "node:fs";
8
8
  import { basename, dirname, isAbsolute, join, resolve } from "node:path";
@@ -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.14";
32
- const buildId = "1782231739";
33
- const vermoji = "";
31
+ const version = "5.0.0-alpha.16";
32
+ const buildId = "1782306279";
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.
@@ -2111,6 +2111,7 @@ const generateAppDataModule = (build, config) => {
2111
2111
  };
2112
2112
  const serializeCollectionManifest = (config, compilerCtx, buildCtx) => {
2113
2113
  const buildFlags = getBuildFeatures(buildCtx.moduleFiles.filter((mod) => !mod.isCollectionDependency).flatMap((mod) => mod.cmps));
2114
+ buildFlags.hydrateClientSide = config.outputTargets.some(isOutputTargetSsr);
2114
2115
  const ldp = config.compat?.lightDomPatches ?? true;
2115
2116
  if (buildFlags.slotRelocation && ldp !== false) {
2116
2117
  buildFlags.lightDomPatches = ldp === true;
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { B as Event, C as setAssetPath, E as setPlatformHelpers, G as State, H as Method, I as AttachInternals, J as Build, K as Watch, L as AttrDeserialize, N as setErrorHandler, R as Component, S as getAssetPath, T as writeTask, U as Prop, V as Listen, W as PropSerialize, a as transformTag, b as getElement, c as Fragment, d as setMode, g as getRenderingRef, h as forceUpdate, i as setTagTransformer, m as h, o as render, p as Host, q as resolveVar, s as Mixin, u as getMode, w as readTask, x as getShadowRoot, z as Element } from "./client-aTQ7xHxx.mjs";
1
+ import { B as Event, C as setAssetPath, E as setPlatformHelpers, G as State, H as Method, I as AttachInternals, J as Build, K as Watch, L as AttrDeserialize, N as setErrorHandler, R as Component, S as getAssetPath, T as writeTask, U as Prop, V as Listen, W as PropSerialize, a as transformTag, b as getElement, c as Fragment, d as setMode, g as getRenderingRef, h as forceUpdate, i as setTagTransformer, m as h, o as render, p as Host, q as resolveVar, s as Mixin, u as getMode, w as readTask, x as getShadowRoot, z as Element } from "./client-DI9mAOBd.mjs";
2
2
  export { AttachInternals, AttrDeserialize, Build, Component, Element, Event, Fragment, Host, Listen, Method, Mixin, Prop, PropSerialize, State, Watch, forceUpdate, getAssetPath, getElement, getMode, getRenderingRef, getShadowRoot, h, readTask, render, resolveVar, setAssetPath, setErrorHandler, setMode, setPlatformHelpers, setTagTransformer, transformTag, writeTask };
@@ -1,2 +1,2 @@
1
- import { c as Fragment, n as jsxDEV, r as jsxs, t as jsx } from "./client-aTQ7xHxx.mjs";
1
+ import { c as Fragment, n as jsxDEV, r as jsxs, t as jsx } from "./client-DI9mAOBd.mjs";
2
2
  export { Fragment, jsx, jsxDEV, jsxs };
@@ -1,5 +1,5 @@
1
1
  import { n as __require } from "./chunk-z9aeyW2b.mjs";
2
- import "./client-aTQ7xHxx.mjs";
2
+ import "./client-DI9mAOBd.mjs";
3
3
  import { h as noop, i as flatOne, l as isFunction, p as isString } from "./regular-expression-CFVJOTUh.mjs";
4
4
  import { St as isGlob, _t as catchError, bt as shouldIgnoreError, it as normalizePath, mt as buildError, pt as TASK_CANCELED_MSG } from "./validation-ByxKj8bC.mjs";
5
5
  import fs from "node:fs";
@@ -74,7 +74,7 @@ const BUILD = {
74
74
  isDev: false,
75
75
  isTesting: false,
76
76
  hydrateServerSide: false,
77
- hydrateClientSide: false,
77
+ hydrateClientSide: true,
78
78
  lifecycleDOMEvents: false,
79
79
  lazyLoad: false,
80
80
  profile: false,
@@ -1,2 +1,2 @@
1
- import { n as setupNodeProcess, r as createNodeLogger, t as createNodeSys } from "../../node--akYC-sG.mjs";
1
+ import { n as setupNodeProcess, r as createNodeLogger, t as createNodeSys } from "../../node-BdyxhldJ.mjs";
2
2
  export { createNodeLogger, createNodeSys, setupNodeProcess };
@@ -1,5 +1,5 @@
1
- import { l as createWorkerMessageHandler } from "../../compiler-Ww3yyQjl.mjs";
2
- import { t as createNodeSys } from "../../node--akYC-sG.mjs";
1
+ import { l as createWorkerMessageHandler } from "../../compiler-ip-l8MSx.mjs";
2
+ import { t as createNodeSys } from "../../node-BdyxhldJ.mjs";
3
3
  //#region src/sys/node/node-worker-thread.ts
4
4
  /**
5
5
  * Initialize a worker thread, setting up various machinery for managing
@@ -1,8 +1,8 @@
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-aTQ7xHxx.mjs";
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-DI9mAOBd.mjs";
2
2
  import { L as EVENT_FLAGS, h as noop, w as CMP_FLAGS } from "../regular-expression-CFVJOTUh.mjs";
3
- import { _ as getBuildFeatures, c as createWorkerContext, g as BuildContext, h as Cache, i as createSystem, o as loadConfig, p as createInMemoryFs, s as createCompiler } from "../compiler-Ww3yyQjl.mjs";
3
+ import { _ as getBuildFeatures, c as createWorkerContext, g as BuildContext, h as Cache, i as createSystem, o as loadConfig, p as createInMemoryFs, s as createCompiler } from "../compiler-ip-l8MSx.mjs";
4
4
  import { wt as formatLazyBundleRuntimeMeta } from "../validation-ByxKj8bC.mjs";
5
- import { o as buildEvents } from "../node--akYC-sG.mjs";
5
+ import { o as buildEvents } from "../node-BdyxhldJ.mjs";
6
6
  import fs from "node:fs";
7
7
  import path from "node:path";
8
8
  import { fileURLToPath } from "node:url";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core",
3
- "version": "5.0.0-alpha.14",
3
+ "version": "5.0.0-alpha.16",
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.14",
125
- "@stencil/mock-doc": "5.0.0-alpha.14",
126
- "@stencil/dev-server": "5.0.0-alpha.14"
124
+ "@stencil/cli": "5.0.0-alpha.16",
125
+ "@stencil/mock-doc": "5.0.0-alpha.16",
126
+ "@stencil/dev-server": "5.0.0-alpha.16"
127
127
  },
128
128
  "devDependencies": {
129
129
  "@ionic/prettier-config": "^4.0.0",