pnpm-plugin-storm-software 0.1.98 → 0.1.99
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 +1 -1
- package/package.json +3 -3
- package/pnpmfile.cjs +10 -12
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
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.
|
|
3
|
+
"version": "0.1.99",
|
|
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/package-constants": "^0.1.
|
|
23
|
+
"@storm-software/package-constants": "^0.1.2",
|
|
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": "
|
|
29
|
+
"gitHead": "fdb02933cac978c02a7a8e0e3fb877354ee45ab8"
|
|
30
30
|
}
|
package/pnpmfile.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var path = require('path');
|
|
4
|
-
var
|
|
3
|
+
var path = require('node:path');
|
|
4
|
+
var node_url = require('node:url');
|
|
5
5
|
|
|
6
6
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
7
7
|
|
|
@@ -75,11 +75,10 @@ function createDefu(merger) {
|
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
77
|
var defu = createDefu();
|
|
78
|
-
var
|
|
78
|
+
var config = {
|
|
79
79
|
hooks: {
|
|
80
|
-
updateConfig(
|
|
81
|
-
|
|
82
|
-
const result = defu(config, {
|
|
80
|
+
updateConfig(config2) {
|
|
81
|
+
const result = defu(config2, {
|
|
83
82
|
enableGlobalVirtualStore: true,
|
|
84
83
|
enablePrePostScripts: false,
|
|
85
84
|
ignorePatchFailures: false,
|
|
@@ -96,13 +95,13 @@ var pnpmfile_default = {
|
|
|
96
95
|
minimumReleaseAge: 800,
|
|
97
96
|
minimumReleaseAgeExclude: [...INTERNAL_PACKAGES]
|
|
98
97
|
});
|
|
99
|
-
if (
|
|
98
|
+
if (result.hoistPattern?.length === 1 && result.hoistPattern[0] === "*") {
|
|
100
99
|
result.hoistPattern = [];
|
|
101
100
|
}
|
|
102
|
-
|
|
103
|
-
`import{register}from'node:module';register('${
|
|
101
|
+
config2.extraEnv.NODE_OPTIONS = `${process.env.NODE_OPTIONS ? `${process.env.NODE_OPTIONS} ` : ""}--import=data:text/javascript,${encodeURIComponent(
|
|
102
|
+
`import{register}from'node:module';register('${node_url.pathToFileURL(path__default.default.resolve(__dirname, "esm_loader.mjs")).href}','${node_url.pathToFileURL(path__default.default.resolve("./")).href}');`
|
|
104
103
|
)}`;
|
|
105
|
-
return
|
|
104
|
+
return config2;
|
|
106
105
|
},
|
|
107
106
|
readPackage(pkg) {
|
|
108
107
|
for (const [devDepName, devDepRange] of Object.entries(
|
|
@@ -121,7 +120,6 @@ var pnpmfile_default = {
|
|
|
121
120
|
}
|
|
122
121
|
}
|
|
123
122
|
};
|
|
123
|
+
var pnpmfile_default = config;
|
|
124
124
|
|
|
125
125
|
module.exports = pnpmfile_default;
|
|
126
|
-
|
|
127
|
-
module.exports = exports.default;
|