jiek 2.2.3-alpha.2 → 2.2.3-alpha.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.
@@ -119,7 +119,7 @@ async function getSelectedProjectsGraph(filter = commander.program.getOptionValu
119
119
 
120
120
  var name = "jiek";
121
121
  var type = "module";
122
- var version = "2.2.3-alpha.1";
122
+ var version = "2.2.3-alpha.2";
123
123
  var description$1 = "A lightweight toolkit for compiling and managing libraries based on `package.json` metadata and suitable for `Monorepo`.";
124
124
  var author = "YiJie <yijie4188@gmail.com>";
125
125
  var homepage = "https://github.com/NWYLZW/jiek/tree/master/packages/jiek#readme";
@@ -690,13 +690,8 @@ command.action(async (commandFiltersOrEntries, options) => {
690
690
  minifyType = resolvedType;
691
691
  }
692
692
  }
693
- if (!withoutMin) {
694
- await checkDependency(
695
- {
696
- ...BUILDER_TYPE_PACKAGE_NAME_MAP,
697
- terser: "@rollup/plugin-terser"
698
- }[resolvedType]
699
- );
693
+ if (!withoutMin && minifyType === "terser") {
694
+ await checkDependency("@rollup/plugin-terser");
700
695
  }
701
696
  let shouldPassThrough = false;
702
697
  const passThroughOptions = process__default.default.argv.reduce(
@@ -109,7 +109,7 @@ async function getSelectedProjectsGraph(filter = program.getOptionValue("filter"
109
109
 
110
110
  var name = "jiek";
111
111
  var type = "module";
112
- var version = "2.2.3-alpha.1";
112
+ var version = "2.2.3-alpha.2";
113
113
  var description$1 = "A lightweight toolkit for compiling and managing libraries based on `package.json` metadata and suitable for `Monorepo`.";
114
114
  var author = "YiJie <yijie4188@gmail.com>";
115
115
  var homepage = "https://github.com/NWYLZW/jiek/tree/master/packages/jiek#readme";
@@ -680,13 +680,8 @@ command.action(async (commandFiltersOrEntries, options) => {
680
680
  minifyType = resolvedType;
681
681
  }
682
682
  }
683
- if (!withoutMin) {
684
- await checkDependency(
685
- {
686
- ...BUILDER_TYPE_PACKAGE_NAME_MAP,
687
- terser: "@rollup/plugin-terser"
688
- }[resolvedType]
689
- );
683
+ if (!withoutMin && minifyType === "terser") {
684
+ await checkDependency("@rollup/plugin-terser");
690
685
  }
691
686
  let shouldPassThrough = false;
692
687
  const passThroughOptions = process$1.argv.reduce(
@@ -4977,7 +4977,6 @@ function template(packageJSON) {
4977
4977
  }
4978
4978
  return false;
4979
4979
  });
4980
- console.log(exports);
4981
4980
  const configs = [];
4982
4981
  leafMap.forEach(
4983
4982
  (keysArr, input) => keysArr.forEach((keys) => {
@@ -4961,7 +4961,6 @@ function template(packageJSON) {
4961
4961
  }
4962
4962
  return false;
4963
4963
  });
4964
- console.log(exports);
4965
4964
  const configs = [];
4966
4965
  leafMap.forEach(
4967
4966
  (keysArr, input) => keysArr.forEach((keys) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jiek",
3
3
  "type": "module",
4
- "version": "2.2.3-alpha.2",
4
+ "version": "2.2.3-alpha.3",
5
5
  "description": "A lightweight toolkit for compiling and managing libraries based on `package.json` metadata and suitable for `Monorepo`.",
6
6
  "author": "YiJie <yijie4188@gmail.com>",
7
7
  "homepage": "https://github.com/NWYLZW/jiek/tree/master/packages/jiek#readme",
@@ -214,13 +214,8 @@ command
214
214
  minifyType = resolvedType
215
215
  }
216
216
  }
217
- if (!withoutMin) {
218
- await checkDependency(
219
- {
220
- ...BUILDER_TYPE_PACKAGE_NAME_MAP,
221
- terser: '@rollup/plugin-terser'
222
- }[resolvedType]
223
- )
217
+ if (!withoutMin && minifyType === 'terser') {
218
+ await checkDependency('@rollup/plugin-terser')
224
219
  }
225
220
  let shouldPassThrough = false
226
221
 
@@ -586,7 +586,7 @@ export function template(packageJSON: PackageJSON): RollupOptions[] {
586
586
  return false
587
587
  })
588
588
 
589
- console.log(exports)
589
+ // console.log(exports)
590
590
  const configs: RollupOptions[] = []
591
591
  leafMap.forEach((keysArr, input) =>
592
592
  keysArr.forEach((keys) => {