@stencil/core 2.22.2-dev.1678136817.b265d1c → 2.22.2-dev.1678485833.33567aa

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI (CommonJS) v2.22.2-dev.1678136817.b265d1c | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI (CommonJS) v2.22.2-dev.1678485833.33567aa | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  'use strict';
5
5
 
@@ -989,7 +989,7 @@ const dereferenceAlias = (maybeAlias) => {
989
989
  const dependencies = [
990
990
  {
991
991
  name: "@stencil/core",
992
- version: "2.22.2-dev.1678136817.b265d1c",
992
+ version: "2.22.2-dev.1678485833.33567aa",
993
993
  main: "compiler/stencil.js",
994
994
  resources: [
995
995
  "package.json",
@@ -2569,7 +2569,6 @@ const runTask = async (coreCompiler, config, task, sys) => {
2569
2569
  };
2570
2570
  switch (task) {
2571
2571
  case 'build':
2572
- taskInfo(coreCompiler, sys, logger);
2573
2572
  await taskBuild(coreCompiler, strictConfig);
2574
2573
  break;
2575
2574
  case 'docs':
package/cli/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI v2.22.2-dev.1678136817.b265d1c | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI v2.22.2-dev.1678485833.33567aa | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  /**
5
5
  * Convert a string from dash-case / kebab-case to PascalCase (or CamelCase,
@@ -965,7 +965,7 @@ const dereferenceAlias = (maybeAlias) => {
965
965
  const dependencies = [
966
966
  {
967
967
  name: "@stencil/core",
968
- version: "2.22.2-dev.1678136817.b265d1c",
968
+ version: "2.22.2-dev.1678485833.33567aa",
969
969
  main: "compiler/stencil.js",
970
970
  resources: [
971
971
  "package.json",
@@ -2545,7 +2545,6 @@ const runTask = async (coreCompiler, config, task, sys) => {
2545
2545
  };
2546
2546
  switch (task) {
2547
2547
  case 'build':
2548
- taskInfo(coreCompiler, sys, logger);
2549
2548
  await taskBuild(coreCompiler, strictConfig);
2550
2549
  break;
2551
2550
  case 'docs':
package/cli/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/cli",
3
- "version": "2.22.2-dev.1678136817.b265d1c",
3
+ "version": "2.22.2-dev.1678485833.33567aa",
4
4
  "description": "Stencil CLI.",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/compiler",
3
- "version": "2.22.2-dev.1678136817.b265d1c",
3
+ "version": "2.22.2-dev.1678485833.33567aa",
4
4
  "description": "Stencil Compiler.",
5
5
  "main": "./stencil.js",
6
6
  "types": "./stencil.d.ts",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Compiler v2.22.2-dev.1678136817.b265d1c | MIT Licensed | https://stenciljs.com
2
+ Stencil Compiler v2.22.2-dev.1678485833.33567aa | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  (function(exports) {
5
5
  'use strict';
@@ -2097,7 +2097,7 @@ const process$3 = /*#__PURE__*/Object.assign(/*#__PURE__*/Object.create(null), p
2097
2097
  'default': process_1
2098
2098
  });
2099
2099
 
2100
- const buildId = '1678136817';
2100
+ const buildId = '1678485833';
2101
2101
  const minfyJsId = 'terser5.16.1_7';
2102
2102
  const optimizeCssId = 'autoprefixer10.4.13_postcss8.4.21_7';
2103
2103
  const parse5Version = '7.1.2';
@@ -2105,8 +2105,8 @@ const rollupVersion = '2.42.3';
2105
2105
  const sizzleVersion = '2.42.3';
2106
2106
  const terserVersion = '5.16.1';
2107
2107
  const typescriptVersion = '4.9.4';
2108
- const vermoji = '🏅';
2109
- const version$3 = '2.22.2-dev.1678136817.b265d1c';
2108
+ const vermoji = '🐛';
2109
+ const version$3 = '2.22.2-dev.1678485833.33567aa';
2110
2110
  const versions = {
2111
2111
  stencil: version$3,
2112
2112
  parse5: parse5Version,
@@ -66225,11 +66225,12 @@ const createTsWatchProgram = async (config, buildCallback) => {
66225
66225
  program: t.createWatchProgram(tsWatchHost),
66226
66226
  rebuild: () => {
66227
66227
  if (lastTsBuilder && !timeoutId) {
66228
- rebuildTimer = tsWatchSys.setTimeout(() => tsWatchHost.afterProgramCreate(lastTsBuilder), 300);
66228
+ rebuildTimer = tsWatchSys.setTimeout(() => tsWatchHost.afterProgramCreate(lastTsBuilder), MAGIC_TIMER_MS);
66229
66229
  }
66230
66230
  },
66231
66231
  };
66232
66232
  };
66233
+ const MAGIC_TIMER_MS = 300;
66233
66234
 
66234
66235
  const createWatchBuild = async (config, compilerCtx) => {
66235
66236
  let isRebuild = false;
@@ -66257,13 +66258,6 @@ const createWatchBuild = async (config, compilerCtx) => {
66257
66258
  buildCtx.hasStyleChanges = hasStyleChanges(buildCtx);
66258
66259
  buildCtx.hasHtmlChanges = hasHtmlChanges(config, buildCtx);
66259
66260
  buildCtx.hasServiceWorkerChanges = hasServiceWorkerChanges(config, buildCtx);
66260
- console.log(`DEV_SERVER_DEBUG:watchBuild:onBuild isRebuild=${buildCtx.isRebuild}`);
66261
- if (buildCtx.isRebuild) {
66262
- console.log('DEV_SERVER_DEBUG:watchBuild:onBuild filesAdded', buildCtx.filesAdded);
66263
- console.log('DEV_SERVER_DEBUG:watchBuild:onBuild filesDeleted', buildCtx.filesDeleted);
66264
- console.log('DEV_SERVER_DEBUG:watchBuild:onBuild filesUpdated', buildCtx.filesUpdated);
66265
- console.log('DEV_SERVER_DEBUG:watchBuild:onBuild filesWritten', buildCtx.filesWritten);
66266
- }
66267
66261
  dirsAdded.clear();
66268
66262
  dirsDeleted.clear();
66269
66263
  filesAdded.clear();
@@ -66306,12 +66300,9 @@ const createWatchBuild = async (config, compilerCtx) => {
66306
66300
  filesDeleted.add(p);
66307
66301
  break;
66308
66302
  }
66309
- console.log(`DEV_SERVER_DEBUG:watchBuild:onFsChange:rebuild type=${eventKind}, path=${p}, time=${new Date().getTime()}`);
66303
+ config.logger.debug(`onFsChange ${eventKind}: ${p}`);
66310
66304
  tsWatchProgram.rebuild();
66311
66305
  }
66312
- else {
66313
- console.log(`\`DEV_SERVER_DEBUG:watchBuild:onFsChange:skipRebuild type=${eventKind}, path=${p}, reasons: hasWatchProgram=${!!tsWatchProgram} isIgnoredPath=${!isWatchIgnorePath(config, p)}`);
66314
- }
66315
66306
  };
66316
66307
  const onDirChange = (p, eventKind) => {
66317
66308
  if (eventKind != null) {
@@ -69322,7 +69313,6 @@ const loadConfig = async (init = {}) => {
69322
69313
  if (hasError(results.diagnostics)) {
69323
69314
  return results;
69324
69315
  }
69325
- console.log('DEV_SERVER_DEBUG:loadConfig:rawConfig', loadedConfigFile);
69326
69316
  if (loadedConfigFile !== null) {
69327
69317
  // merge the user's config object into their loaded config file
69328
69318
  configPath = loadedConfigFile.configPath;
@@ -70104,7 +70094,7 @@ const getComponentPathContent = (componentGraph, outputTarget) => {
70104
70094
  const dependencies = [
70105
70095
  {
70106
70096
  name: "@stencil/core",
70107
- version: "2.22.2-dev.1678136817.b265d1c",
70097
+ version: "2.22.2-dev.1678485833.33567aa",
70108
70098
  main: "compiler/stencil.js",
70109
70099
  resources: [
70110
70100
  "package.json",