@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.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-dev.1678133566.da60c53 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  'use strict';
5
5
 
@@ -2256,12 +2256,18 @@ const taskHelp = async (flags, logger, sys) => {
2256
2256
  `);
2257
2257
  };
2258
2258
 
2259
+ /**
2260
+ * Generate the output for Stencils 'info' task, and log that output - `npx stencil info`
2261
+ * @param coreCompiler the compiler instance to derive certain version information from
2262
+ * @param sys the compiler system instance that provides details about the system Stencil is running on
2263
+ * @param logger the logger instance to use to log information out to
2264
+ */
2259
2265
  const taskInfo = (coreCompiler, sys, logger) => {
2260
2266
  const details = sys.details;
2261
2267
  const versions = coreCompiler.versions;
2262
2268
  console.log(``);
2263
2269
  console.log(`${logger.cyan(' System:')} ${sys.name} ${sys.version}`);
2264
- console.log(`${logger.cyan(' Plaform:')} ${details.platform} (${details.release})`);
2270
+ console.log(`${logger.cyan(' Platform:')} ${details.platform} (${details.release})`);
2265
2271
  console.log(`${logger.cyan(' CPU Model:')} ${details.cpuModel} (${sys.hardwareConcurrency} cpu${sys.hardwareConcurrency !== 1 ? 's' : ''})`);
2266
2272
  console.log(`${logger.cyan(' Compiler:')} ${sys.getCompilerExecutingPath()}`);
2267
2273
  console.log(`${logger.cyan(' Build:')} ${coreCompiler.buildId}`);
@@ -2422,7 +2428,7 @@ const run = async (init) => {
2422
2428
  * @public
2423
2429
  */
2424
2430
  const runTask = async (coreCompiler, config, task, sys) => {
2425
- var _a, _b, _c, _d, _e, _f, _g;
2431
+ var _a, _b, _c, _d, _e, _f, _g, _h;
2426
2432
  const logger = (_a = config.logger) !== null && _a !== void 0 ? _a : createLogger();
2427
2433
  const rootDir = (_b = config.rootDir) !== null && _b !== void 0 ? _b : '/';
2428
2434
  const configSys = (_c = sys !== null && sys !== void 0 ? sys : config.sys) !== null && _c !== void 0 ? _c : coreCompiler.createSystem({ logger });
@@ -2436,6 +2442,7 @@ const runTask = async (coreCompiler, config, task, sys) => {
2436
2442
  rootDir,
2437
2443
  sys: configSys,
2438
2444
  testing: (_g = config.testing) !== null && _g !== void 0 ? _g : {},
2445
+ transformAliasedImportPaths: (_h = config.transformAliasedImportPaths) !== null && _h !== void 0 ? _h : false,
2439
2446
  };
2440
2447
  switch (task) {
2441
2448
  case 'build':