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

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 +3 -2
  2. package/cli/index.cjs.map +1 -0
  3. package/cli/index.js +3 -2
  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 +3931 -591
  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 +7 -6
  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.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil CLI (CommonJS) v3.0.1-dev.1677273625.4fe628d | MIT Licensed | https://stenciljs.com
2
+ Stencil CLI (CommonJS) v3.1.0 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  'use strict';
5
5
 
@@ -2422,7 +2422,7 @@ const run = async (init) => {
2422
2422
  * @public
2423
2423
  */
2424
2424
  const runTask = async (coreCompiler, config, task, sys) => {
2425
- var _a, _b, _c, _d, _e, _f, _g;
2425
+ var _a, _b, _c, _d, _e, _f, _g, _h;
2426
2426
  const logger = (_a = config.logger) !== null && _a !== void 0 ? _a : createLogger();
2427
2427
  const rootDir = (_b = config.rootDir) !== null && _b !== void 0 ? _b : '/';
2428
2428
  const configSys = (_c = sys !== null && sys !== void 0 ? sys : config.sys) !== null && _c !== void 0 ? _c : coreCompiler.createSystem({ logger });
@@ -2436,6 +2436,7 @@ const runTask = async (coreCompiler, config, task, sys) => {
2436
2436
  rootDir,
2437
2437
  sys: configSys,
2438
2438
  testing: (_g = config.testing) !== null && _g !== void 0 ? _g : {},
2439
+ transformAliasedImportPaths: (_h = config.transformAliasedImportPaths) !== null && _h !== void 0 ? _h : false,
2439
2440
  };
2440
2441
  switch (task) {
2441
2442
  case 'build':