@icebreakers/monorepo 0.1.7 → 0.1.9

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.
@@ -26,7 +26,7 @@
26
26
  "@commitlint/config-conventional": "^19.4.1",
27
27
  "@commitlint/prompt-cli": "^19.4.1",
28
28
  "@commitlint/types": "^19.0.3",
29
- "@icebreakers/eslint-config": "^0.3.23",
29
+ "@icebreakers/eslint-config": "^0.4.0",
30
30
  "@types/fs-extra": "^11.0.4",
31
31
  "@types/get-value": "^3.0.5",
32
32
  "@types/klaw": "^3.0.6",
@@ -55,7 +55,7 @@
55
55
  "tslib": "^2.7.0",
56
56
  "tsup": "^8.2.4",
57
57
  "tsx": "^4.19.0",
58
- "turbo": "^2.1.0",
58
+ "turbo": "^2.1.1",
59
59
  "typescript": "^5.5.4",
60
60
  "unbuild": "^2.0.0",
61
61
  "vite-tsconfig-paths": "^5.0.1",
@@ -437,8 +437,10 @@ async function main(opts) {
437
437
  if (await fs.exists(targetPath) && await fs.exists(sourcePath)) {
438
438
  const sourcePkgJson = await fs.readJson(sourcePath);
439
439
  const targetPkgJson = await fs.readJson(targetPath);
440
+ const packageManager = (0, import_get_value2.default)(sourcePkgJson, "packageManager", { default: "" });
440
441
  const deps = (0, import_get_value2.default)(sourcePkgJson, "dependencies", { default: {} });
441
442
  const devDeps = (0, import_get_value2.default)(sourcePkgJson, "devDependencies", { default: {} });
443
+ (0, import_set_value.default)(targetPkgJson, "packageManager", packageManager);
442
444
  Object.entries(deps).forEach((x) => {
443
445
  (0, import_set_value.default)(targetPkgJson, `dependencies.${x[0]}`, x[1], { preservePaths: false });
444
446
  });
package/dist/cli.cjs CHANGED
@@ -316,7 +316,7 @@ var import_commander = require("commander");
316
316
 
317
317
  // package.json
318
318
  var name = "@icebreakers/monorepo";
319
- var version = "0.1.7";
319
+ var version = "0.1.9";
320
320
 
321
321
  // src/logger.ts
322
322
  init_cjs_shims();
@@ -449,8 +449,10 @@ async function main(opts) {
449
449
  if (await import_fs_extra.default.exists(targetPath) && await import_fs_extra.default.exists(sourcePath)) {
450
450
  const sourcePkgJson = await import_fs_extra.default.readJson(sourcePath);
451
451
  const targetPkgJson = await import_fs_extra.default.readJson(targetPath);
452
+ const packageManager = (0, import_get_value2.default)(sourcePkgJson, "packageManager", { default: "" });
452
453
  const deps = (0, import_get_value2.default)(sourcePkgJson, "dependencies", { default: {} });
453
454
  const devDeps = (0, import_get_value2.default)(sourcePkgJson, "devDependencies", { default: {} });
455
+ (0, import_set_value.default)(targetPkgJson, "packageManager", packageManager);
454
456
  Object.entries(deps).forEach((x) => {
455
457
  (0, import_set_value.default)(targetPkgJson, `dependencies.${x[0]}`, x[1], { preservePaths: false });
456
458
  });
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  init_esm_shims,
3
3
  logger,
4
4
  main
5
- } from "./chunk-YPSI4HAK.js";
5
+ } from "./chunk-7ESHWDKB.js";
6
6
 
7
7
  // src/cli.ts
8
8
  init_esm_shims();
@@ -13,7 +13,7 @@ import { program } from "commander";
13
13
 
14
14
  // package.json
15
15
  var name = "@icebreakers/monorepo";
16
- var version = "0.1.7";
16
+ var version = "0.1.9";
17
17
 
18
18
  // src/program.ts
19
19
  program.name(name).version(version);
package/dist/index.cjs CHANGED
@@ -451,8 +451,10 @@ async function main(opts) {
451
451
  if (await import_fs_extra.default.exists(targetPath) && await import_fs_extra.default.exists(sourcePath)) {
452
452
  const sourcePkgJson = await import_fs_extra.default.readJson(sourcePath);
453
453
  const targetPkgJson = await import_fs_extra.default.readJson(targetPath);
454
+ const packageManager = (0, import_get_value2.default)(sourcePkgJson, "packageManager", { default: "" });
454
455
  const deps = (0, import_get_value2.default)(sourcePkgJson, "dependencies", { default: {} });
455
456
  const devDeps = (0, import_get_value2.default)(sourcePkgJson, "devDependencies", { default: {} });
457
+ (0, import_set_value.default)(targetPkgJson, "packageManager", packageManager);
456
458
  Object.entries(deps).forEach((x) => {
457
459
  (0, import_set_value.default)(targetPkgJson, `dependencies.${x[0]}`, x[1], { preservePaths: false });
458
460
  });
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  main
3
- } from "./chunk-YPSI4HAK.js";
3
+ } from "./chunk-7ESHWDKB.js";
4
4
  export {
5
5
  main
6
6
  };
package/package.json CHANGED
@@ -1,13 +1,21 @@
1
1
  {
2
2
  "name": "@icebreakers/monorepo",
3
3
  "type": "module",
4
- "version": "0.1.7",
4
+ "version": "0.1.9",
5
5
  "description": "icebreaker's monorepo config generator",
6
6
  "author": "sonofmagic",
7
7
  "license": "MIT",
8
- "homepage": "https://github.com/sonofmagic/monorepo-template",
8
+ "homepage": "https://monorepo.icebreaker.top",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/sonofmagic/monorepo-template.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/sonofmagic/monorepo-template/issues"
15
+ },
9
16
  "keywords": [
10
- "monorepo"
17
+ "monorepo",
18
+ "icebreaker"
11
19
  ],
12
20
  "sideEffects": false,
13
21
  "exports": {