@stencil/core 5.0.0-alpha.6 → 5.0.0-alpha.7

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.
@@ -1,5 +1,5 @@
1
- import { $r as Logger, B as ComponentCompilerMeta, Br as Diagnostic, Dt as HostRef, E as CompilerCtx, Et as HostElement, Nt as Module, Qr as LogLevel, Rt as NewSpecPageOptions, Xr as LoadConfigInit, Zn as Compiler, a as BuildCtx, ca as ErrorHandler, cn as RuntimeRef, ia as ValidatedConfig, kr as Config, mt as ComponentRuntimeMeta, pa as UserBuildConditionals, pn as SpecPage, ra as UnvalidatedConfig, ti as LoggerTimeSpan, ua as RafCallback, vr as CompilerSystem } from "../index-D8vvsppY.mjs";
2
- import { a as h, b as Env, d as getMode, g as getElement, h as createEvent, i as Host, m as Fragment, o as forceUpdate, p as Mixin, s as getRenderingRef, v as getAssetPath, y as setAssetPath } from "../index-UUlemGuu.mjs";
1
+ import { $r as LogLevel, B as ComponentCompilerMeta, Br as Diagnostic, Dt as HostRef, E as CompilerCtx, Et as HostElement, Nt as Module, Rt as NewSpecPageOptions, Zn as Compiler, Zr as LoadConfigInit, a as BuildCtx, aa as ValidatedConfig, cn as RuntimeRef, ei as Logger, fa as RafCallback, ha as UserBuildConditionals, ia as UnvalidatedConfig, kr as Config, mt as ComponentRuntimeMeta, ni as LoggerTimeSpan, pn as SpecPage, ua as ErrorHandler, vr as CompilerSystem } from "../index-CVhWFUM0.mjs";
2
+ import { a as h, b as Env, d as getMode, g as getElement, h as createEvent, i as Host, m as Fragment, o as forceUpdate, p as Mixin, s as getRenderingRef, v as getAssetPath, y as setAssetPath } from "../index-ch-cf-bZ.mjs";
3
3
  import { Mock } from "vitest";
4
4
 
5
5
  //#region src/testing/testing-logger.d.ts
@@ -1,8 +1,8 @@
1
- import { C as setAssetPath, S as getAssetPath, U as BUILD, W as Env, _ as getRenderingRef, b as getElement, c as Mixin, d as getMode, g as forceUpdate, h, k as reWireGetterSetter, l as Fragment, m as Host, t as insertVdomAnnotations, u as bootstrapLazy, v as renderVdom, y as createEvent } from "../client-fWOou5EW.mjs";
2
- import { I as EVENT_FLAGS, h as noop, w as CMP_FLAGS } from "../regular-expression-DUdhF3Ei.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-CdUbDTbV.mjs";
4
- import { wt as formatLazyBundleRuntimeMeta } from "../validation-2QipI30K.mjs";
5
- import { o as buildEvents } from "../node-klLZLdDe.mjs";
1
+ import { C as setAssetPath, S as getAssetPath, U as BUILD, W as Env, _ as getRenderingRef, b as getElement, c as Mixin, d as getMode, g as forceUpdate, h, k as reWireGetterSetter, l as Fragment, m as Host, t as insertVdomAnnotations, u as bootstrapLazy, v as renderVdom, y as createEvent } from "../client-Dd-NB5Ei.mjs";
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-BmT_yLHU.mjs";
4
+ import { wt as formatLazyBundleRuntimeMeta } from "../validation-ByxKj8bC.mjs";
5
+ import { o as buildEvents } from "../node-10UamZmn.mjs";
6
6
  import fs from "node:fs";
7
7
  import path from "node:path";
8
8
  import { fileURLToPath } from "node:url";
@@ -270,7 +270,7 @@ function mockValidatedConfig(overrides = {}) {
270
270
  cacheDir: ".stencil",
271
271
  devMode: true,
272
272
  devServer: {},
273
- extras: {},
273
+ compat: {},
274
274
  fsNamespace: "testing",
275
275
  hydratedFlag: null,
276
276
  logLevel: "info",
@@ -309,7 +309,7 @@ function mockConfig(overrides = {}) {
309
309
  bundles: null,
310
310
  devMode: true,
311
311
  enableCache: false,
312
- extras: {},
312
+ compat: {},
313
313
  globalScript: null,
314
314
  logger: new TestingLogger(),
315
315
  maxConcurrentWorkers: 0,
@@ -344,7 +344,6 @@ const mockLoadConfigInit = (overrides) => {
344
344
  return {
345
345
  config: {},
346
346
  configPath: void 0,
347
- initTsConfig: true,
348
347
  logger: void 0,
349
348
  sys: void 0,
350
349
  ...overrides
@@ -572,8 +571,7 @@ const prepareTestCompiler = async (options = {}) => {
572
571
  namespace: "Testing",
573
572
  tsconfig: tsconfigPath,
574
573
  ...options.config
575
- },
576
- initTsConfig: false
574
+ }
577
575
  });
578
576
  return {
579
577
  _validatedConfig: validatedConfig,
@@ -624,8 +622,7 @@ const createTestCompiler = async (options = {}) => {
624
622
  namespace: "Testing",
625
623
  tsconfig: tsconfigPath,
626
624
  ...options.config
627
- },
628
- initTsConfig: false
625
+ }
629
626
  });
630
627
  validatedConfig = config;
631
628
  }
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./chunk-z9aeyW2b.mjs";
2
- import { $ as WATCH_FLAGS, A as DIST_LAZY, C as ASSETS, D as COPY, F as DOCS_VSCODE, H as LOADER_BUNDLE, J as STATS, K as SSR_WASM, L as GENERATED_DTS, M as DOCS_CUSTOM_ELEMENTS_MANIFEST, N as DOCS_JSON, O as CUSTOM, P as DOCS_README, Q as VALID_CONFIG_OUTPUT_TARGETS, R as GLOBAL_STYLE, U as MEMBER_FLAGS, V as LISTENER_FLAGS, Y as STENCIL_REBUNDLE, Z as TYPES, _ as sortBy, b as toTitleCase, i as flatOne, j as DOCS_CUSTOM, n as dashToPascalCase, p as isString, q as STANDALONE, r as escapeWithPattern, u as isIterable, w as CMP_FLAGS, y as toDashCase } from "./regular-expression-DUdhF3Ei.mjs";
2
+ import { $ as VALID_CONFIG_OUTPUT_TARGETS, C as ASSETS, F as DOCS_README, H as LISTENER_FLAGS, I as DOCS_VSCODE, J as STANDALONE, M as DOCS_CUSTOM, N as DOCS_CUSTOM_ELEMENTS_MANIFEST, O as COPY, P as DOCS_JSON, Q as TYPES, R as GENERATED_DTS, T as COLLECTION, U as LOADER_BUNDLE, W as MEMBER_FLAGS, Y as STATS, _ as sortBy, b as toTitleCase, et as WATCH_FLAGS, i as flatOne, j as DIST_LAZY, k as CUSTOM, n as dashToPascalCase, p as isString, q as SSR_WASM, r as escapeWithPattern, u as isIterable, w as CMP_FLAGS, y as toDashCase, z as GLOBAL_STYLE } from "./regular-expression-CFVJOTUh.mjs";
3
3
  import path, { basename, dirname, relative } from "node:path";
4
4
  import picomatch from "picomatch";
5
5
  //#region src/utils/byte-size.ts
@@ -1043,7 +1043,7 @@ const isOutputTargetLoaderBundle = (o) => o.type === LOADER_BUNDLE;
1043
1043
  const isOutputTargetStandalone = (o) => o.type === STANDALONE;
1044
1044
  const isOutputTargetSsr = (o) => o.type === "ssr";
1045
1045
  const isOutputTargetSsrWasm = (o) => o.type === SSR_WASM;
1046
- const isOutputTargetCollection = (o) => o.type === STENCIL_REBUNDLE;
1046
+ const isOutputTargetCollection = (o) => o.type === COLLECTION;
1047
1047
  const isOutputTargetTypes = (o) => o.type === TYPES;
1048
1048
  const isOutputTargetGlobalStyle = (o) => o.type === GLOBAL_STYLE;
1049
1049
  const isOutputTargetAssets = (o) => o.type === ASSETS;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core",
3
- "version": "5.0.0-alpha.6",
3
+ "version": "5.0.0-alpha.7",
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.6",
125
- "@stencil/mock-doc": "5.0.0-alpha.6",
126
- "@stencil/dev-server": "5.0.0-alpha.6"
124
+ "@stencil/cli": "5.0.0-alpha.7",
125
+ "@stencil/dev-server": "5.0.0-alpha.7",
126
+ "@stencil/mock-doc": "5.0.0-alpha.7"
127
127
  },
128
128
  "devDependencies": {
129
129
  "@ionic/prettier-config": "^4.0.0",