@stencil/core 2.22.0 → 2.22.2-dev.1678136817.b265d1c

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.0 | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI (CommonJS) v2.22.2-dev.1678136817.b265d1c | 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.0",
992
+ version: "2.22.2-dev.1678136817.b265d1c",
993
993
  main: "compiler/stencil.js",
994
994
  resources: [
995
995
  "package.json",
@@ -2569,6 +2569,7 @@ const runTask = async (coreCompiler, config, task, sys) => {
2569
2569
  };
2570
2570
  switch (task) {
2571
2571
  case 'build':
2572
+ taskInfo(coreCompiler, sys, logger);
2572
2573
  await taskBuild(coreCompiler, strictConfig);
2573
2574
  break;
2574
2575
  case 'docs':
package/cli/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI v2.22.0 | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI v2.22.2-dev.1678136817.b265d1c | 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.0",
968
+ version: "2.22.2-dev.1678136817.b265d1c",
969
969
  main: "compiler/stencil.js",
970
970
  resources: [
971
971
  "package.json",
@@ -2545,6 +2545,7 @@ const runTask = async (coreCompiler, config, task, sys) => {
2545
2545
  };
2546
2546
  switch (task) {
2547
2547
  case 'build':
2548
+ taskInfo(coreCompiler, sys, logger);
2548
2549
  await taskBuild(coreCompiler, strictConfig);
2549
2550
  break;
2550
2551
  case 'docs':
package/cli/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/cli",
3
- "version": "2.22.0",
3
+ "version": "2.22.2-dev.1678136817.b265d1c",
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.0",
3
+ "version": "2.22.2-dev.1678136817.b265d1c",
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.0 | MIT Licensed | https://stenciljs.com
2
+ Stencil Compiler v2.22.2-dev.1678136817.b265d1c | 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 = '20230117172827';
2100
+ const buildId = '1678136817';
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.0';
2108
+ const vermoji = '🏅';
2109
+ const version$3 = '2.22.2-dev.1678136817.b265d1c';
2110
2110
  const versions = {
2111
2111
  stencil: version$3,
2112
2112
  parse5: parse5Version,
@@ -66257,6 +66257,13 @@ const createWatchBuild = async (config, compilerCtx) => {
66257
66257
  buildCtx.hasStyleChanges = hasStyleChanges(buildCtx);
66258
66258
  buildCtx.hasHtmlChanges = hasHtmlChanges(config, buildCtx);
66259
66259
  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
+ }
66260
66267
  dirsAdded.clear();
66261
66268
  dirsDeleted.clear();
66262
66269
  filesAdded.clear();
@@ -66299,9 +66306,12 @@ const createWatchBuild = async (config, compilerCtx) => {
66299
66306
  filesDeleted.add(p);
66300
66307
  break;
66301
66308
  }
66302
- config.logger.debug(`onFsChange ${eventKind}: ${p}`);
66309
+ console.log(`DEV_SERVER_DEBUG:watchBuild:onFsChange:rebuild type=${eventKind}, path=${p}, time=${new Date().getTime()}`);
66303
66310
  tsWatchProgram.rebuild();
66304
66311
  }
66312
+ else {
66313
+ console.log(`\`DEV_SERVER_DEBUG:watchBuild:onFsChange:skipRebuild type=${eventKind}, path=${p}, reasons: hasWatchProgram=${!!tsWatchProgram} isIgnoredPath=${!isWatchIgnorePath(config, p)}`);
66314
+ }
66305
66315
  };
66306
66316
  const onDirChange = (p, eventKind) => {
66307
66317
  if (eventKind != null) {
@@ -69312,6 +69322,7 @@ const loadConfig = async (init = {}) => {
69312
69322
  if (hasError(results.diagnostics)) {
69313
69323
  return results;
69314
69324
  }
69325
+ console.log('DEV_SERVER_DEBUG:loadConfig:rawConfig', loadedConfigFile);
69315
69326
  if (loadedConfigFile !== null) {
69316
69327
  // merge the user's config object into their loaded config file
69317
69328
  configPath = loadedConfigFile.configPath;
@@ -70093,7 +70104,7 @@ const getComponentPathContent = (componentGraph, outputTarget) => {
70093
70104
  const dependencies = [
70094
70105
  {
70095
70106
  name: "@stencil/core",
70096
- version: "2.22.0",
70107
+ version: "2.22.2-dev.1678136817.b265d1c",
70097
70108
  main: "compiler/stencil.js",
70098
70109
  resources: [
70099
70110
  "package.json",