@stencil/core 3.0.1-dev.1677273625.4fe628d → 3.1.0-dev.1678133566.da60c53

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.
Files changed (45) hide show
  1. package/cli/index.cjs +10 -3
  2. package/cli/index.cjs.map +1 -0
  3. package/cli/index.js +10 -3
  4. package/cli/index.js.map +1 -0
  5. package/cli/package.json +1 -1
  6. package/compiler/package.json +1 -1
  7. package/compiler/stencil.js +3940 -598
  8. package/compiler/stencil.js.map +1 -0
  9. package/compiler/stencil.min.js +2 -2
  10. package/dev-server/client/index.js +1 -1
  11. package/dev-server/client/package.json +1 -1
  12. package/dev-server/connector.html +2 -2
  13. package/dev-server/index.js +1 -1
  14. package/dev-server/open-in-editor-api.js +1 -1
  15. package/dev-server/package.json +1 -1
  16. package/dev-server/server-process.js +2 -2
  17. package/dev-server/ws.js +1 -1
  18. package/internal/app-data/package.json +1 -1
  19. package/internal/client/css-shim.js +1 -1
  20. package/internal/client/dom.js +1 -1
  21. package/internal/client/index.js +1 -1
  22. package/internal/client/package.json +1 -1
  23. package/internal/client/patch-browser.js +2 -2
  24. package/internal/client/patch-esm.js +1 -1
  25. package/internal/client/shadow-css.js +1 -1
  26. package/internal/hydrate/package.json +1 -1
  27. package/internal/package.json +1 -1
  28. package/internal/stencil-private.d.ts +4 -0
  29. package/internal/stencil-public-compiler.d.ts +16 -1
  30. package/internal/testing/package.json +1 -1
  31. package/mock-doc/index.cjs +1 -1
  32. package/mock-doc/index.js +1 -1
  33. package/mock-doc/package.json +1 -1
  34. package/package.json +9 -8
  35. package/screenshot/package.json +1 -1
  36. package/sys/node/autoprefixer.js +2 -2
  37. package/sys/node/glob.js +1 -1
  38. package/sys/node/graceful-fs.js +1 -1
  39. package/sys/node/index.js +1 -1
  40. package/sys/node/node-fetch.js +1 -1
  41. package/sys/node/package.json +1 -1
  42. package/sys/node/prompts.js +1 -1
  43. package/sys/node/worker.js +1 -1
  44. package/testing/index.js +365 -361
  45. package/testing/package.json +1 -1
package/cli/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI v3.0.1-dev.1677273625.4fe628d | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI v3.1.0-dev.1678133566.da60c53 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  /**
5
5
  * Convert a string from dash-case / kebab-case to PascalCase (or CamelCase,
@@ -2232,12 +2232,18 @@ const taskHelp = async (flags, logger, sys) => {
2232
2232
  `);
2233
2233
  };
2234
2234
 
2235
+ /**
2236
+ * Generate the output for Stencils 'info' task, and log that output - `npx stencil info`
2237
+ * @param coreCompiler the compiler instance to derive certain version information from
2238
+ * @param sys the compiler system instance that provides details about the system Stencil is running on
2239
+ * @param logger the logger instance to use to log information out to
2240
+ */
2235
2241
  const taskInfo = (coreCompiler, sys, logger) => {
2236
2242
  const details = sys.details;
2237
2243
  const versions = coreCompiler.versions;
2238
2244
  console.log(``);
2239
2245
  console.log(`${logger.cyan(' System:')} ${sys.name} ${sys.version}`);
2240
- console.log(`${logger.cyan(' Plaform:')} ${details.platform} (${details.release})`);
2246
+ console.log(`${logger.cyan(' Platform:')} ${details.platform} (${details.release})`);
2241
2247
  console.log(`${logger.cyan(' CPU Model:')} ${details.cpuModel} (${sys.hardwareConcurrency} cpu${sys.hardwareConcurrency !== 1 ? 's' : ''})`);
2242
2248
  console.log(`${logger.cyan(' Compiler:')} ${sys.getCompilerExecutingPath()}`);
2243
2249
  console.log(`${logger.cyan(' Build:')} ${coreCompiler.buildId}`);
@@ -2398,7 +2404,7 @@ const run = async (init) => {
2398
2404
  * @public
2399
2405
  */
2400
2406
  const runTask = async (coreCompiler, config, task, sys) => {
2401
- var _a, _b, _c, _d, _e, _f, _g;
2407
+ var _a, _b, _c, _d, _e, _f, _g, _h;
2402
2408
  const logger = (_a = config.logger) !== null && _a !== void 0 ? _a : createLogger();
2403
2409
  const rootDir = (_b = config.rootDir) !== null && _b !== void 0 ? _b : '/';
2404
2410
  const configSys = (_c = sys !== null && sys !== void 0 ? sys : config.sys) !== null && _c !== void 0 ? _c : coreCompiler.createSystem({ logger });
@@ -2412,6 +2418,7 @@ const runTask = async (coreCompiler, config, task, sys) => {
2412
2418
  rootDir,
2413
2419
  sys: configSys,
2414
2420
  testing: (_g = config.testing) !== null && _g !== void 0 ? _g : {},
2421
+ transformAliasedImportPaths: (_h = config.transformAliasedImportPaths) !== null && _h !== void 0 ? _h : false,
2415
2422
  };
2416
2423
  switch (task) {
2417
2424
  case 'build':