@solvro/config 1.8.1 → 1.8.2

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 (2) hide show
  1. package/dist/cli/index.js +5 -12
  2. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -60,8 +60,7 @@ import * as fs from "node:fs/promises";
60
60
  import path from "node:path";
61
61
  import semver from "semver";
62
62
  var $$ = $({
63
- cwd: gitRoot(),
64
- stdout: ["pipe", "inherit"]
63
+ cwd: gitRoot()
65
64
  });
66
65
  var eslintConfigNames = [
67
66
  ".eslintrc.js",
@@ -264,11 +263,9 @@ var installGithubActions = async () => {
264
263
  })
265
264
  );
266
265
  }
267
- p3.note("Dodano konfiguracj\u0119 CI.");
268
266
  if (!existsSync2(path2.join(root, ".github/dependabot.yml"))) {
269
267
  await fs2.writeFile(path2.join(root, ".github/dependabot.yml"), dependabot());
270
268
  }
271
- p3.note("Dodano automatyczne aktualizacje configu.");
272
269
  const packageJson = await loadPackageJSON(root);
273
270
  if (!packageJson) {
274
271
  p3.cancel(
@@ -293,7 +290,7 @@ var installGithubActions = async () => {
293
290
  path2.join(root, "package.json"),
294
291
  JSON.stringify(packageJson, null, 2)
295
292
  );
296
- p3.note("Dodano skrypty do package.json.");
293
+ p3.note("Dodano konfiguracj\u0119 CI i skrypty.");
297
294
  };
298
295
 
299
296
  // src/cli/install-lint-staged.ts
@@ -303,8 +300,7 @@ import { writeFile as writeFile3 } from "fs/promises";
303
300
  import { isPackageListed, loadPackageJSON as loadPackageJSON2 } from "local-pkg";
304
301
  import path3 from "path";
305
302
  var $$2 = $2({
306
- cwd: gitRoot(),
307
- stdout: ["pipe", "inherit"]
303
+ cwd: gitRoot()
308
304
  });
309
305
  var installLintStaged = async () => {
310
306
  const lintStaged = await isPackageListed("lint-staged");
@@ -337,7 +333,6 @@ var installLintStaged = async () => {
337
333
  path3.join(gitRoot(), "package.json"),
338
334
  JSON.stringify(packageJson, null, 2)
339
335
  );
340
- p4.note("Dodano automatyczne formatowanie przy commicie.");
341
336
  };
342
337
 
343
338
  // src/cli/install-prettier.ts
@@ -349,8 +344,7 @@ import * as fs3 from "node:fs/promises";
349
344
  import path4 from "node:path";
350
345
  import semver2 from "semver";
351
346
  var $$3 = $3({
352
- cwd: gitRoot(),
353
- stdout: ["pipe", "inherit"]
347
+ cwd: gitRoot()
354
348
  });
355
349
  var prettierConfigNames = [
356
350
  ".prettierrc.js",
@@ -493,8 +487,7 @@ var additionalTools = await p6.multiselect({
493
487
  required: false
494
488
  });
495
489
  var $$4 = $4({
496
- cwd: gitRoot(),
497
- stdout: ["pipe", "inherit"]
490
+ cwd: gitRoot()
498
491
  });
499
492
  if (p6.isCancel(additionalTools)) {
500
493
  p6.cancel("Nie wybrano \u017Cadnych narz\u0119dzi.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solvro/config",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "Solvro's engineering style guide",
5
5
  "keywords": [
6
6
  "eslint",