@stencil/core 5.0.0-beta.6 → 5.0.0-beta.8

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.
@@ -1832,7 +1832,7 @@ const validateComponentTag = (tag) => {
1832
1832
  };
1833
1833
  //#endregion
1834
1834
  //#region src/version.ts
1835
- const version = "5.0.0-beta.6";
1835
+ const version = "5.0.0-beta.8";
1836
1836
  //#endregion
1837
1837
  //#region src/compiler/events.ts
1838
1838
  const buildEvents = () => {
@@ -3789,10 +3789,11 @@ const validateConfig = (userConfig = {}, bootstrapConfig) => {
3789
3789
  const devMode = isBoolean$1(config.devMode) ? config.devMode : false;
3790
3790
  config._isTesting = !!(process.env.VITEST || process.env.PLAYWRIGHT_TEST || process.env.TEST_WORKER_INDEX || process.env.TEST_PARALLEL_INDEX || false);
3791
3791
  const sys = config.sys ?? bootstrapConfig.sys ?? createNodeSys({ logger });
3792
+ const hasExplicitGlobalStyleWithInput = (config.outputTargets || []).some((o) => isOutputTargetGlobalStyle(o) && isString$1(o.input));
3792
3793
  if ((!isString$1(config.globalStyle) || !isString$1(config.globalScript)) && typeof sys.accessSync === "function") {
3793
3794
  const preRootDir = typeof config.rootDir !== "string" ? "/" : config.rootDir;
3794
3795
  const srcDir = typeof config.srcDir === "string" ? isAbsolute(config.srcDir) ? config.srcDir : join(preRootDir, config.srcDir) : join(preRootDir, "src");
3795
- if (!isString$1(config.globalStyle)) for (const ext of STYLE_EXT) {
3796
+ if (!isString$1(config.globalStyle) && !hasExplicitGlobalStyleWithInput) for (const ext of STYLE_EXT) {
3796
3797
  const candidate = join(srcDir, `global.${ext}`);
3797
3798
  if (sys.accessSync(candidate)) {
3798
3799
  config.globalStyle = candidate;
@@ -1,3 +1,3 @@
1
- import { _ as buildId, a as createPrerenderer, b as versions, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as getScopeId, h as cmpMetaToDocsComponent, i as createSystem, l as createWorkerMessageHandler, m as generateManifest, n as transpile, o as loadConfig, p as validateConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as vermoji, x as scopeCss, y as version } from "../compiler-D61AKA0g.mjs";
1
+ import { _ as buildId, a as createPrerenderer, b as versions, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as getScopeId, h as cmpMetaToDocsComponent, i as createSystem, l as createWorkerMessageHandler, m as generateManifest, n as transpile, o as loadConfig, p as validateConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as vermoji, x as scopeCss, y as version } from "../compiler-Ut-GiYaa.mjs";
2
2
  import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-75gQKkFz.mjs";
3
3
  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 };
@@ -461,9 +461,9 @@ const scopeCss = (cssText, scopeId, commentOriginalSelector) => {
461
461
  };
462
462
  //#endregion
463
463
  //#region src/version.ts
464
- const version = "5.0.0-beta.6";
465
- const buildId = "1788947454";
466
- const vermoji = "🔈";
464
+ const version = "5.0.0-beta.8";
465
+ const buildId = "1788980181";
466
+ const vermoji = "🐧";
467
467
  /**
468
468
  * Get the installed version of a tool/dependency.
469
469
  * Handles packages with exports maps that point to subdirectories.
@@ -7372,7 +7372,13 @@ function createEntryModule(cmps) {
7372
7372
  }
7373
7373
  const getLazyEntry = (isBrowser, assetPath, externalRuntime = false) => {
7374
7374
  const s = new MagicString(``);
7375
- s.append(`export { setNonce, setRegistry, setTagTransformer } from '${STENCIL_CORE_ID}';\n`);
7375
+ const platformExports = [
7376
+ "setNonce",
7377
+ "setRegistry",
7378
+ "setTagTransformer"
7379
+ ];
7380
+ if (assetPath) platformExports.push("setAssetPath");
7381
+ s.append(`export { ${platformExports.join(", ")} } from '${STENCIL_CORE_ID}';\n`);
7376
7382
  s.append(`import { bootstrapLazy } from '${STENCIL_CORE_ID}';\n`);
7377
7383
  if (isBrowser) {
7378
7384
  if (assetPath) s.append(`import { setAssetPath } from '${STENCIL_CORE_ID}';\n`);
@@ -9387,15 +9393,17 @@ const generateStandaloneTypesOutput = async (config, compilerCtx, buildCtx, type
9387
9393
  if (outputTarget.autoLoader) {
9388
9394
  const loaderFileName = typeof outputTarget.autoLoader === "object" ? outputTarget.autoLoader.fileName || "loader" : "loader";
9389
9395
  const loaderDtsPath = join$2(outputTarget.dir, `${loaderFileName}.d.ts`);
9390
- const loaderDtsCode = generateLoaderType();
9396
+ const hasAssets = buildCtx.components.some((cmp) => cmp.assetsDirs != null && cmp.assetsDirs.length > 0);
9397
+ const loaderDtsCode = generateLoaderType(hasAssets);
9391
9398
  await compilerCtx.fs.writeFile(loaderDtsPath, loaderDtsCode, { outputTargetType: outputTarget.type });
9392
9399
  }
9393
9400
  };
9394
9401
  /**
9395
9402
  * Generate a type declaration file for the auto-loader module
9403
+ * @param hasAssets whether any component declares assets, matching whether setAssetPath is actually exported
9396
9404
  * @returns the contents of the type declaration file for the loader
9397
9405
  */
9398
- const generateLoaderType = () => {
9406
+ const generateLoaderType = (hasAssets) => {
9399
9407
  return [
9400
9408
  `/**`,
9401
9409
  ` * Start the auto-loader, scanning the DOM and watching for changes.`,
@@ -9409,7 +9417,18 @@ const generateLoaderType = () => {
9409
9417
  ` * Stop the auto-loader and disconnect the MutationObserver.`,
9410
9418
  ` */`,
9411
9419
  `export declare function stop(): void;`,
9412
- ``
9420
+ ``,
9421
+ ...hasAssets ? [
9422
+ `/**`,
9423
+ ` * Used to manually set the base path where component assets can be found. The`,
9424
+ ` * default is relative to this module's own location, which may not hold once a`,
9425
+ ` * consuming bundler relocates it - call this before start() to override.`,
9426
+ ` * @param path the asset path to set`,
9427
+ ` * @returns the set path`,
9428
+ ` */`,
9429
+ `export declare function setAssetPath(path: string): string;`,
9430
+ ``
9431
+ ] : []
9413
9432
  ].join("\n");
9414
9433
  };
9415
9434
  /**
@@ -10354,8 +10373,9 @@ const generateTypesOutput = async (config, compilerCtx, buildCtx, outputTarget)
10354
10373
  await generateAppTypes(config, compilerCtx, buildCtx, distPath);
10355
10374
  const typesDir = outputTarget.dir;
10356
10375
  if (distDtsFilePath) await generateStandaloneTypes(config, compilerCtx, buildCtx, typesDir);
10357
- if (config.outputTargets.some(isOutputTargetLoaderBundle)) await generateLoaderTypes(compilerCtx, typesDir);
10358
- if (config.outputTargets.some(isOutputTargetStandalone)) await generateStandaloneApiTypes(compilerCtx, typesDir);
10376
+ const hasAssets = buildCtx.components.some((cmp) => cmp.assetsDirs != null && cmp.assetsDirs.length > 0);
10377
+ if (config.outputTargets.some(isOutputTargetLoaderBundle)) await generateLoaderTypes(compilerCtx, typesDir, hasAssets);
10378
+ if (config.outputTargets.some(isOutputTargetStandalone)) await generateStandaloneApiTypes(compilerCtx, typesDir, hasAssets);
10359
10379
  };
10360
10380
  /**
10361
10381
  * Generate loader.d.ts file for the loader entry point.
@@ -10363,8 +10383,9 @@ const generateTypesOutput = async (config, compilerCtx, buildCtx, outputTarget)
10363
10383
  *
10364
10384
  * @param compilerCtx the current compiler context
10365
10385
  * @param typesDir the directory to write the loader.d.ts file to
10386
+ * @param hasAssets whether any component declares assets, matching whether setAssetPath is actually exported
10366
10387
  */
10367
- const generateLoaderTypes = async (compilerCtx, typesDir) => {
10388
+ const generateLoaderTypes = async (compilerCtx, typesDir, hasAssets) => {
10368
10389
  const loaderDtsContent = `export * from './components';
10369
10390
  export interface CustomElementsDefineOptions {
10370
10391
  exclude?: string[];
@@ -10400,7 +10421,17 @@ export type TagTransformer = (tag: string) => string;
10400
10421
  * Useful for namespacing (e.g. \`my-button\` → \`acme-button\`) in multi-library pages.
10401
10422
  */
10402
10423
  export declare function setTagTransformer(transformer: TagTransformer): void;
10403
- `;
10424
+ ${hasAssets ? `
10425
+ /**
10426
+ * Used to manually set the base path where component assets can be found. The
10427
+ * default is relative to this module's own location, which may not hold once a
10428
+ * bundler relocates it, or once its CDN URL diverges from the assets' own -
10429
+ * import and call this before the module's default has been used to override it.
10430
+ * @param path the asset path to set
10431
+ * @returns the set path
10432
+ */
10433
+ export declare function setAssetPath(path: string): string;
10434
+ ` : ""}`;
10404
10435
  const loaderDtsPath = join$2(typesDir, "loader.d.ts");
10405
10436
  await compilerCtx.fs.writeFile(loaderDtsPath, loaderDtsContent);
10406
10437
  };
@@ -10410,8 +10441,9 @@ export declare function setTagTransformer(transformer: TagTransformer): void;
10410
10441
  *
10411
10442
  * @param compilerCtx the current compiler context
10412
10443
  * @param typesDir the directory to write the standalone.d.ts file to
10444
+ * @param hasAssets whether any component declares assets, matching whether setAssetPath is actually exported
10413
10445
  */
10414
- const generateStandaloneApiTypes = async (compilerCtx, typesDir) => {
10446
+ const generateStandaloneApiTypes = async (compilerCtx, typesDir, hasAssets) => {
10415
10447
  const standaloneDtsContent = `/**
10416
10448
  * Used to specify a nonce value that corresponds with an application's CSP.
10417
10449
  * When set, the nonce will be added to all dynamically created script and style tags at runtime.
@@ -10444,7 +10476,16 @@ export interface SetPlatformOptions {
10444
10476
  rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10445
10477
  }
10446
10478
  export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
10447
- `;
10479
+ ${hasAssets ? `
10480
+ /**
10481
+ * Used to manually set the base path where component assets can be found. The
10482
+ * default is relative to this module's own location, which may not hold once a
10483
+ * consuming bundler relocates it - call this before any component module is imported to override.
10484
+ * @param path the asset path to set
10485
+ * @returns the set path
10486
+ */
10487
+ export declare const setAssetPath: (path: string) => string;
10488
+ ` : ""}`;
10448
10489
  const standaloneDtsPath = join$2(typesDir, "standalone.d.ts");
10449
10490
  await compilerCtx.fs.writeFile(standaloneDtsPath, standaloneDtsContent);
10450
10491
  };
@@ -12405,7 +12446,7 @@ const generateLoaderModule = (components, outputTarget, relativeAssetPath) => {
12405
12446
  const autoStart = typeof autoLoaderConfig === "object" ? autoLoaderConfig.autoStart !== false : true;
12406
12447
  const tagsList = components.map((cmp) => `'${cmp.tagName}'`).join(", ");
12407
12448
  const switchCases = components.map((cmp) => ` case '${cmp.tagName}': module = await import('./${cmp.tagName}.js'); break;`).join("\n");
12408
- const assetPathImport = relativeAssetPath ? `import { setAssetPath } from '${STENCIL_INTERNAL_STANDALONE_CLIENT_PLATFORM_ID}';\n` : "";
12449
+ const assetPathImport = relativeAssetPath ? `import { setAssetPath } from '${STENCIL_INTERNAL_STANDALONE_CLIENT_PLATFORM_ID}';\nexport { setAssetPath };\n` : "";
12409
12450
  const assetPathInit = relativeAssetPath ? `setAssetPath(new URL('${relativeAssetPath}', String(import.meta.url)).href);\n` : "";
12410
12451
  return `
12411
12452
  import { transformTag, getRegistry } from '${STENCIL_INTERNAL_STANDALONE_CLIENT_PLATFORM_ID}';
@@ -12817,6 +12858,7 @@ const generateEntryPoint = (outputTarget, cmpImports = [], cmpExports = [], cmpN
12817
12858
  exports.push(`export { setNonce, setRegistry, setTagTransformer, setPlatformOptions } from '${STENCIL_INTERNAL_STANDALONE_CLIENT_PLATFORM_ID}';`, `export * from '${USER_INDEX_ENTRY_ID}';`);
12818
12859
  if (relativeAssetPath) {
12819
12860
  imports.push(`import { setAssetPath } from '${STENCIL_INTERNAL_STANDALONE_CLIENT_PLATFORM_ID}';`);
12861
+ exports.push(`export { setAssetPath };`);
12820
12862
  body.push(`setAssetPath(new URL('${relativeAssetPath}', import.meta.url).href);`);
12821
12863
  }
12822
12864
  if (outputTarget.includeGlobalScripts !== false) {
@@ -18148,6 +18190,31 @@ const getPackageJsonRecommendations = (config, compilerCtx) => {
18148
18190
  };
18149
18191
  };
18150
18192
  /**
18193
+ * Collect the rootDir-relative directories of every configured output target that must
18194
+ * ship in the published npm package for consumers (and their tooling) to be able to use
18195
+ * it - as opposed to dev-only artifacts like `www`.
18196
+ * @param config The validated Stencil configuration
18197
+ * @param buildCtx The build context (used to check whether there are actually component
18198
+ * assets to copy - the `assets` output target is otherwise a no-op and its directory is
18199
+ * never written)
18200
+ * @returns a de-duplicated list of rootDir-relative directory paths
18201
+ */
18202
+ const getDistributableOutputDirs = (config, buildCtx) => {
18203
+ const loaderBundle = config.outputTargets.find(isOutputTargetLoaderBundle);
18204
+ const standalone = config.outputTargets.find(isOutputTargetStandalone);
18205
+ const types = config.outputTargets.find(isOutputTargetTypes);
18206
+ const collections = config.outputTargets.filter(isOutputTargetCollection);
18207
+ const assets = buildCtx.components.some((cmp) => cmp.assetsDirs != null && cmp.assetsDirs.length > 0) ? config.outputTargets.find(isOutputTargetAssets) : void 0;
18208
+ const dirs = [
18209
+ loaderBundle?.dir,
18210
+ standalone?.dir,
18211
+ types?.dir,
18212
+ assets?.dir,
18213
+ ...collections.map((c) => c.dir)
18214
+ ].filter((dir) => !!dir).map((dir) => normalizePath(relative$1(config.rootDir, dir)));
18215
+ return Array.from(new Set(dirs));
18216
+ };
18217
+ /**
18151
18218
  * Validate the package.json file for a project, checking that various fields
18152
18219
  * are set correctly for the currently-configured output targets.
18153
18220
  *
@@ -18161,8 +18228,8 @@ const getPackageJsonRecommendations = (config, compilerCtx) => {
18161
18228
  const validateBuildPackageJson = async (config, compilerCtx, buildCtx) => {
18162
18229
  if (config.watch || config.devMode || buildCtx.packageJson == null) return;
18163
18230
  validatePackageJson(config, compilerCtx, buildCtx);
18164
- const stencilCollectionOutputTargets = config.outputTargets.filter(isOutputTargetCollection);
18165
- await Promise.all(stencilCollectionOutputTargets.map((stencilCollectionOT) => validateCollectionFields(config, compilerCtx, buildCtx, stencilCollectionOT)));
18231
+ await validateFilesField(config, compilerCtx, buildCtx);
18232
+ config.outputTargets.filter(isOutputTargetCollection).forEach((stencilCollectionOT) => validateCollectionField(config, compilerCtx, buildCtx, stencilCollectionOT));
18166
18233
  };
18167
18234
  /**
18168
18235
  * Validates a project's package.json fields against recommended values
@@ -18280,47 +18347,49 @@ const validateTypeField = (config, compilerCtx, buildCtx, recommendations) => {
18280
18347
  if (recommendations.moduleOptions.length > 0 && currentType !== "module") packageJsonWarn(config, compilerCtx, buildCtx, `package.json "type" property should be set to "module".`, "\"type\"");
18281
18348
  };
18282
18349
  /**
18283
- * Validate package.json contents specific to the `collection` output target,
18284
- * checking that the `files` array and `collection` field are set correctly.
18285
- * @param config the Stencil configuration associated with the project being compiled
18286
- * @param compilerCtx the current compiler context
18287
- * @param buildCtx the context associated with the current build
18288
- * @param outputTarget the collection output target to validate against
18350
+ * Check if a rootDir-relative directory is covered by a package.json `files` array,
18351
+ * either directly or via a parent directory entry (e.g. "dist/" covers "dist/types/").
18352
+ * @param files the package.json "files" array
18353
+ * @param dir the rootDir-relative directory to check for
18354
+ * @returns true if `dir` is covered by one of the `files` entries
18289
18355
  */
18290
- const validateCollectionFields = async (config, compilerCtx, buildCtx, outputTarget) => {
18291
- await Promise.all([validatePackageFiles(config, compilerCtx, buildCtx, outputTarget), validateCollectionField(config, compilerCtx, buildCtx, outputTarget)]);
18356
+ const isDirCoveredByFiles = (files, dir) => {
18357
+ const normalizedDir = dir.replace(/\/$/, "").replace(/^\.\//, "");
18358
+ return files.some((userPath) => {
18359
+ const normalizedUserPath = normalizePath(userPath).replace(/\/$/, "").replace(/^\.\//, "");
18360
+ if (normalizedUserPath === normalizedDir) return true;
18361
+ const userPathWithSlash = normalizedUserPath + "/";
18362
+ return normalizedDir.startsWith(userPathWithSlash);
18363
+ });
18292
18364
  };
18293
18365
  /**
18294
- * Validate that the `files` field in `package.json` contains directories and
18295
- * files that are necessary for the `collection` output target.
18366
+ * Validate that the `files` field in `package.json` covers every distributable output
18367
+ * directory (loader-bundle, standalone, types, collection) - not just one of them -
18368
+ * since `npm publish` needs all of them to produce a working package for consumers.
18296
18369
  * @param config the Stencil configuration associated with the project being compiled
18297
18370
  * @param compilerCtx the current compiler context
18298
18371
  * @param buildCtx the context associated with the current build
18299
- * @param outputTarget the collection output target to validate against
18300
18372
  */
18301
- const validatePackageFiles = async (config, compilerCtx, buildCtx, outputTarget) => {
18302
- const actualDistDir = normalizePath(relative$1(config.rootDir, outputTarget.dir));
18373
+ const validateFilesField = async (config, compilerCtx, buildCtx) => {
18374
+ const distDirs = getDistributableOutputDirs(config, buildCtx);
18375
+ if (distDirs.length === 0) return;
18376
+ const formatDirs = (dirs) => dirs.map((dir) => `"${dir}/"`).join(", ");
18303
18377
  if (!Array.isArray(buildCtx.packageJson.files)) {
18304
18378
  const npmignorePath = join$2(dirname$1(config.packageJsonFilePath), ".npmignore");
18305
18379
  if (!await compilerCtx.fs.access(npmignorePath)) {
18306
- const msg = `package.json is missing a "files" array. Without one, "npm publish" falls back to ".gitignore" to decide what to include, which will likely exclude the distribution directory "${actualDistDir}/". Add "files": ["${actualDistDir}/"] to package.json (or add a ".npmignore").`;
18380
+ const msg = `package.json is missing a "files" array. Without one, "npm publish" falls back to ".gitignore" to decide what to include, which will likely exclude ${distDirs.length > 1 ? "the distribution directories" : "the distribution directory"} ${formatDirs(distDirs)}. Add a "files" array covering ${distDirs.length > 1 ? "them" : "it"} to package.json (or add a ".npmignore").`;
18307
18381
  packageJsonWarn(config, compilerCtx, buildCtx, msg, `"files"`);
18308
18382
  }
18309
18383
  return;
18310
18384
  }
18311
- if (!buildCtx.packageJson.files.some((userPath) => {
18312
- const normalizedUserPath = normalizePath(userPath).replace(/\/$/, "").replace(/^\.\//, "");
18313
- const normalizedDistDir = actualDistDir.replace(/\/$/, "").replace(/^\.\//, "");
18314
- if (normalizedUserPath === normalizedDistDir) return true;
18315
- const userPathWithSlash = normalizedUserPath + "/";
18316
- if (normalizedDistDir.startsWith(userPathWithSlash)) return true;
18317
- return false;
18318
- })) {
18319
- const msg = `package.json "files" array must contain the distribution directory "${actualDistDir}/" when generating a distribution.`;
18385
+ const files = buildCtx.packageJson.files;
18386
+ const uncoveredDirs = distDirs.filter((dir) => !isDirCoveredByFiles(files, dir));
18387
+ if (uncoveredDirs.length > 0) {
18388
+ const msg = `package.json "files" array must contain the distribution ${uncoveredDirs.length > 1 ? "directories" : "directory"} ${formatDirs(uncoveredDirs)} when generating a distribution.`;
18320
18389
  packageJsonWarn(config, compilerCtx, buildCtx, msg, `"files"`);
18321
18390
  return;
18322
18391
  }
18323
- await Promise.all(buildCtx.packageJson.files.map(async (pkgFile) => {
18392
+ await Promise.all(files.map(async (pkgFile) => {
18324
18393
  if (!isGlob(pkgFile)) {
18325
18394
  const packageJsonDir = dirname$1(config.packageJsonFilePath);
18326
18395
  const absPath = join$2(packageJsonDir, pkgFile);
@@ -20634,10 +20703,11 @@ const validateConfig = (userConfig = {}, bootstrapConfig) => {
20634
20703
  const devMode = isBoolean$1(config.devMode) ? config.devMode : false;
20635
20704
  config._isTesting = !!(process.env.VITEST || process.env.PLAYWRIGHT_TEST || process.env.TEST_WORKER_INDEX || process.env.TEST_PARALLEL_INDEX || process.env.NODE_ENV === "test");
20636
20705
  const sys = config.sys ?? bootstrapConfig.sys ?? createNodeSys({ logger });
20706
+ const hasExplicitGlobalStyleWithInput = (config.outputTargets || []).some((o) => isOutputTargetGlobalStyle(o) && isString$1(o.input));
20637
20707
  if ((!isString$1(config.globalStyle) || !isString$1(config.globalScript)) && typeof sys.accessSync === "function") {
20638
20708
  const preRootDir = typeof config.rootDir !== "string" ? "/" : config.rootDir;
20639
20709
  const srcDir = typeof config.srcDir === "string" ? isAbsolute$1(config.srcDir) ? config.srcDir : join$1(preRootDir, config.srcDir) : join$1(preRootDir, "src");
20640
- if (!isString$1(config.globalStyle)) for (const ext of STYLE_EXT) {
20710
+ if (!isString$1(config.globalStyle) && !hasExplicitGlobalStyleWithInput) for (const ext of STYLE_EXT) {
20641
20711
  const candidate = join$1(srcDir, `global.${ext}`);
20642
20712
  if (sys.accessSync(candidate)) {
20643
20713
  config.globalStyle = candidate;
@@ -1,4 +1,4 @@
1
- import { l as createWorkerMessageHandler } from "../../compiler-D61AKA0g.mjs";
1
+ import { l as createWorkerMessageHandler } from "../../compiler-Ut-GiYaa.mjs";
2
2
  import { t as createNodeSys } from "../../node-75gQKkFz.mjs";
3
3
  //#region src/sys/node/node-worker-thread.ts
4
4
  /**
@@ -32,7 +32,7 @@ import "@rollup/pluginutils";
32
32
  import { createHash } from "crypto";
33
33
  import { afterAll, vi } from "vitest";
34
34
  //#region src/version.ts
35
- const version = "5.0.0-beta.6";
35
+ const version = "5.0.0-beta.8";
36
36
  const MEMBER_FLAGS = {
37
37
  String: 1,
38
38
  Number: 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core",
3
- "version": "5.0.0-beta.6",
3
+ "version": "5.0.0-beta.8",
4
4
  "description": "A Compiler for Web Components and Progressive Web Apps",
5
5
  "keywords": [
6
6
  "components",
@@ -125,9 +125,9 @@
125
125
  "terser": "^5.50.0",
126
126
  "tinyglobby": "^0.2.17",
127
127
  "typescript": ">5.0.0 <7.0.0",
128
- "@stencil/cli": "5.0.0-beta.6",
129
- "@stencil/mock-doc": "5.0.0-beta.6",
130
- "@stencil/dev-server": "5.0.0-beta.6"
128
+ "@stencil/dev-server": "5.0.0-beta.8",
129
+ "@stencil/cli": "5.0.0-beta.8",
130
+ "@stencil/mock-doc": "5.0.0-beta.8"
131
131
  },
132
132
  "devDependencies": {
133
133
  "@ionic/prettier-config": "^4.0.0",