@rindo/core 2.17.2 → 2.17.3

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
- Rindo CLI (CommonJS) v2.17.2 | MIT Licensed | https://rindojs.web.app
2
+ Rindo CLI (CommonJS) v2.17.3 | MIT Licensed | https://rindojs.web.app
3
3
  */
4
4
  'use strict';
5
5
 
@@ -829,7 +829,7 @@ LOG_LEVELS.includes(maybeLogLevel);
829
829
  const dependencies = [
830
830
  {
831
831
  name: "@rindo/core",
832
- version: "2.17.2",
832
+ version: "2.17.3",
833
833
  main: "compiler/rindo.js",
834
834
  resources: [
835
835
  "package.json",
package/cli/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Rindo CLI v2.17.2 | MIT Licensed | https://rindojs.web.app
2
+ Rindo CLI v2.17.3 | MIT Licensed | https://rindojs.web.app
3
3
  */
4
4
  /**
5
5
  * This sets the log level hierarchy for our terminal logger, ranging from
@@ -805,7 +805,7 @@ LOG_LEVELS.includes(maybeLogLevel);
805
805
  const dependencies = [
806
806
  {
807
807
  name: "@rindo/core",
808
- version: "2.17.2",
808
+ version: "2.17.3",
809
809
  main: "compiler/rindo.js",
810
810
  resources: [
811
811
  "package.json",
package/cli/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rindo/core/cli",
3
- "version": "2.17.2",
3
+ "version": "2.17.3",
4
4
  "description": "Rindo CLI.",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rindo/core/compiler",
3
- "version": "2.17.2",
3
+ "version": "2.17.3",
4
4
  "description": "Rindo Compiler.",
5
5
  "main": "./rindo.js",
6
6
  "types": "./rindo.d.ts",
package/compiler/rindo.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Rindo Compiler v2.17.2 | MIT Licensed | https://rindojs.web.app
2
+ Rindo Compiler v2.17.3 | MIT Licensed | https://rindojs.web.app
3
3
  */
4
4
  (function(exports) {
5
5
  'use strict';
@@ -4588,7 +4588,7 @@ const createCustomResolverAsync = (sys, inMemoryFs, exts) => {
4588
4588
  };
4589
4589
  };
4590
4590
 
4591
- const buildId = '20230111114107';
4591
+ const buildId = '20230111115413';
4592
4592
  const minfyJsId = 'terser5.6.1_7';
4593
4593
  const optimizeCssId = 'autoprefixer10.2.5_postcss8.4.16_7';
4594
4594
  const parse5Version = '6.0.1';
@@ -4596,8 +4596,8 @@ const rollupVersion = '2.42.3';
4596
4596
  const sizzleVersion = '2.42.3';
4597
4597
  const terserVersion = '5.6.1';
4598
4598
  const typescriptVersion = '4.5.4';
4599
- const vermoji = '⚽️';
4600
- const version$3 = '2.17.2';
4599
+ const vermoji = '🌱';
4600
+ const version$3 = '2.17.3';
4601
4601
  const versions = {
4602
4602
  rindo: version$3,
4603
4603
  parse5: parse5Version,
@@ -63588,6 +63588,7 @@ const validateModule = async (config, compilerCtx, buildCtx) => {
63588
63588
  packageJsonWarn(config, compilerCtx, buildCtx, msg, `"module"`);
63589
63589
  }
63590
63590
  };
63591
+ // TODO: Investigate the hierarchy of these output targets
63591
63592
  /**
63592
63593
  * Get the recommended `"module"` path for `package.json` given the output
63593
63594
  * targets that a user has set on their config.
@@ -63600,23 +63601,17 @@ function recommendedModulePath(config) {
63600
63601
  const customElementsBundleOT = config.outputTargets.find(isOutputTargetDistCustomElementsBundle);
63601
63602
  const customElementsOT = config.outputTargets.find(isOutputTargetDistCustomElements);
63602
63603
  const distCollectionOT = config.outputTargets.find(isOutputTargetDistCollection);
63603
- // If we're using `dist-custom-elements` then the preferred "module" field
63604
- // value is `$OUTPUT_DIR/components/index.js`
63605
- //
63606
- // Additionally, the `DIST_CUSTOM_ELEMENTS` output target should override
63607
- // `DIST_CUSTOM_ELEMENTS_BUNDLE` and `DIST_COLLECTION` output targets if
63608
- // they're also set, so we return first with this one.
63604
+ if (distCollectionOT) {
63605
+ return relative$1(config.rootDir, join(distCollectionOT.dir, 'index.js'));
63606
+ }
63609
63607
  if (customElementsOT) {
63610
- const componentsIndexAbs = join(customElementsOT.dir, 'components', 'index.js');
63608
+ const componentsIndexAbs = join(customElementsOT.dir, 'index.js');
63611
63609
  return relative$1(config.rootDir, componentsIndexAbs);
63612
63610
  }
63613
63611
  if (customElementsBundleOT) {
63614
63612
  const customElementsAbs = join(customElementsBundleOT.dir, 'index.js');
63615
63613
  return relative$1(config.rootDir, customElementsAbs);
63616
63614
  }
63617
- if (distCollectionOT) {
63618
- return relative$1(config.rootDir, join(distCollectionOT.dir, 'index.js'));
63619
- }
63620
63615
  // if no output target for which we define a recommended output target is set
63621
63616
  // we return `null`
63622
63617
  return null;
@@ -65910,7 +65905,7 @@ const getComponentPathContent = (componentGraph, outputTarget) => {
65910
65905
  const dependencies = [
65911
65906
  {
65912
65907
  name: "@rindo/core",
65913
- version: "2.17.2",
65908
+ version: "2.17.3",
65914
65909
  main: "compiler/rindo.js",
65915
65910
  resources: [
65916
65911
  "package.json",