@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.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 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  /**
5
5
  * Convert a string from dash-case / kebab-case to PascalCase (or CamelCase,
@@ -2398,7 +2398,7 @@ const run = async (init) => {
2398
2398
  * @public
2399
2399
  */
2400
2400
  const runTask = async (coreCompiler, config, task, sys) => {
2401
- var _a, _b, _c, _d, _e, _f, _g;
2401
+ var _a, _b, _c, _d, _e, _f, _g, _h;
2402
2402
  const logger = (_a = config.logger) !== null && _a !== void 0 ? _a : createLogger();
2403
2403
  const rootDir = (_b = config.rootDir) !== null && _b !== void 0 ? _b : '/';
2404
2404
  const configSys = (_c = sys !== null && sys !== void 0 ? sys : config.sys) !== null && _c !== void 0 ? _c : coreCompiler.createSystem({ logger });
@@ -2412,6 +2412,7 @@ const runTask = async (coreCompiler, config, task, sys) => {
2412
2412
  rootDir,
2413
2413
  sys: configSys,
2414
2414
  testing: (_g = config.testing) !== null && _g !== void 0 ? _g : {},
2415
+ transformAliasedImportPaths: (_h = config.transformAliasedImportPaths) !== null && _h !== void 0 ? _h : false,
2415
2416
  };
2416
2417
  switch (task) {
2417
2418
  case 'build':