pnpm-plugin-storm-software 0.1.96 → 0.1.98

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 (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -3
  3. package/pnpmfile.cjs +12 -17
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.1.94-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-0.1.96-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pnpm-plugin-storm-software",
3
- "version": "0.1.96",
3
+ "version": "0.1.98",
4
4
  "private": false,
5
5
  "description": "A [pnpm](https://pnpm.io/) plugin to enhance pnpm functionality for Storm Software projects.",
6
6
  "repository": {
@@ -20,11 +20,11 @@
20
20
  "files": ["./pnpmfile.cjs", "./esm_loader.mjs", "./allow.json"],
21
21
  "devDependencies": {
22
22
  "@pnpm/types": "^1001.3.0",
23
- "@storm-software/build-tools": "^0.158.145",
23
+ "@storm-software/package-constants": "^0.1.1",
24
24
  "@types/node": "^25.5.0",
25
25
  "defu": "6.1.4",
26
26
  "tsup": "8.4.0"
27
27
  },
28
28
  "publishConfig": { "access": "public" },
29
- "gitHead": "5e8536ca8d6f26e6b448632e0f50e6271dce0269"
29
+ "gitHead": "c42d6c0ae19c100006234c16e077e9a189ffcbec"
30
30
  }
package/pnpmfile.cjs CHANGED
@@ -1,24 +1,13 @@
1
1
  'use strict';
2
2
 
3
- require('@swc/core');
4
- require('fs');
5
- require('module');
6
- var path2 = require('path');
7
- require('resolve');
8
- require('@nx/devkit');
9
- require('@nx/js/src/utils/assets/copy-assets-handler');
10
- require('glob');
11
- require('fs/promises');
12
- require('@nx/js/src/utils/buildable-libs-utils');
13
- require('nx/src/project-graph/project-graph');
14
- require('nx/src/tasks-runner/create-task-graph');
3
+ var path = require('path');
15
4
  var url = require('url');
16
5
 
17
6
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
18
7
 
19
- var path2__default = /*#__PURE__*/_interopDefault(path2);
8
+ var path__default = /*#__PURE__*/_interopDefault(path);
20
9
 
21
- // ../build-tools/src/constants/internal-packages.ts
10
+ // ../package-constants/src/internal-packages.ts
22
11
  var INTERNAL_PACKAGES = [
23
12
  "@storm-software/*",
24
13
  "conventional-changelog-storm-software",
@@ -89,6 +78,7 @@ var defu = createDefu();
89
78
  var pnpmfile_default = {
90
79
  hooks: {
91
80
  updateConfig(config) {
81
+ var _a;
92
82
  const result = defu(config, {
93
83
  enableGlobalVirtualStore: true,
94
84
  enablePrePostScripts: false,
@@ -100,14 +90,17 @@ var pnpmfile_default = {
100
90
  catalogMode: "prefer",
101
91
  cleanupUnusedCatalogs: true,
102
92
  linkWorkspacePackages: true,
93
+ dedupeDirectDeps: true,
94
+ dedupePeerDependents: true,
95
+ useNodeVersion: "25.5.0",
103
96
  minimumReleaseAge: 800,
104
- minimumReleaseAgeExclude: INTERNAL_PACKAGES
97
+ minimumReleaseAgeExclude: [...INTERNAL_PACKAGES]
105
98
  });
106
- if (result.hoistPattern?.length === 1 && result.hoistPattern[0] === "*") {
99
+ if (((_a = result.hoistPattern) == null ? void 0 : _a.length) === 1 && result.hoistPattern[0] === "*") {
107
100
  result.hoistPattern = [];
108
101
  }
109
102
  config.extraEnv.NODE_OPTIONS = `${process.env.NODE_OPTIONS ? `${process.env.NODE_OPTIONS} ` : ""}--import=data:text/javascript,${encodeURIComponent(
110
- `import{register}from'node:module';register('${url.pathToFileURL(path2__default.default.resolve(__dirname, "esm_loader.mjs")).href}','${url.pathToFileURL(path2__default.default.resolve("./")).href}');`
103
+ `import{register}from'node:module';register('${url.pathToFileURL(path__default.default.resolve(__dirname, "esm_loader.mjs")).href}','${url.pathToFileURL(path__default.default.resolve("./")).href}');`
111
104
  )}`;
112
105
  return config;
113
106
  },
@@ -130,3 +123,5 @@ var pnpmfile_default = {
130
123
  };
131
124
 
132
125
  module.exports = pnpmfile_default;
126
+
127
+ module.exports = exports.default;