@obusk/pnpm-plugin-defaults 0.0.1 → 0.1.0

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/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @obusk/pnpm-plugin-defaults
2
2
 
3
+ [![NPM Version](https://img.shields.io/npm/v/%40obusk%2Fpnpm-plugin-defaults)](https://www.npmjs.com/package/@obusk/pnpm-plugin-defaults) [![Test](https://github.com/oBusk/pnpm-plugin-defaults/actions/workflows/test.yml/badge.svg)](https://github.com/oBusk/pnpm-plugin-defaults/actions/workflows/test.yml) [![Publish Package](https://github.com/oBusk/pnpm-plugin-defaults/actions/workflows/publish.yml/badge.svg)](https://github.com/oBusk/pnpm-plugin-defaults/actions/workflows/publish.yml)
4
+
3
5
  > oBusk defaults for pnpm
4
6
 
5
7
  ## What it changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obusk/pnpm-plugin-defaults",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "description": "oBusk defaults for pnpm",
5
5
  "files": [
6
6
  "pnpmfile.cjs"
package/pnpmfile.cjs CHANGED
@@ -2,14 +2,6 @@
2
2
  module.exports = {
3
3
  hooks: {
4
4
  updateConfig(config) {
5
- console.log("=== CONFIG BEFORE UPDATE ===");
6
- console.dir({
7
- ignorePatchFailures: config.ignorePatchFailures,
8
- minimumReleaseAge: config.minimumReleaseAge,
9
- trustPolicy: config.trustPolicy,
10
- resolutionMode: config.resolutionMode,
11
- verifyDepsBeforeRun: config.verifyDepsBeforeRun
12
- });
13
5
  Object.assign(config, {
14
6
  ignoreWorkspaceRootCheck: true,
15
7
  minimumReleaseAge: 4320,
@@ -21,14 +13,6 @@ module.exports = {
21
13
  if (config.hoistPattern?.length === 1 && config.hoistPattern[0] === "*") {
22
14
  config.hoistPattern = [];
23
15
  }
24
- console.log("=== CONFIG AFTER UPDATE ===");
25
- console.dir({
26
- ignorePatchFailures: config.ignorePatchFailures,
27
- minimumReleaseAge: config.minimumReleaseAge,
28
- trustPolicy: config.trustPolicy,
29
- resolutionMode: config.resolutionMode,
30
- verifyDepsBeforeRun: config.verifyDepsBeforeRun
31
- });
32
16
  return config;
33
17
  }
34
18
  }