pnpm-plugin-alex-857 1.0.0 → 1.0.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.
- package/package.json +3 -2
- package/pnpm-catalog.json +12 -0
- package/pnpmfile.cjs +5 -8
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pnpm-plugin-alex-857",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A plugin for pnpm to use alex as a linter",
|
|
5
5
|
"files": [
|
|
6
|
-
"pnpmfile.cjs"
|
|
6
|
+
"pnpmfile.cjs",
|
|
7
|
+
"pnpm-catalog.json"
|
|
7
8
|
],
|
|
8
9
|
"keywords": ["pnpm", "plugin"],
|
|
9
10
|
"author": "aboungnaseng857",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"react": "18.3.1",
|
|
3
|
+
"react-dom": "18.3.1",
|
|
4
|
+
"react-router-dom": "6.22.3",
|
|
5
|
+
"react-router": "6.22.3",
|
|
6
|
+
"react-router-config": "6.22.3",
|
|
7
|
+
"vite": "6.22.3",
|
|
8
|
+
"vite-plugin-react": "6.22.3",
|
|
9
|
+
"vite-plugin-react-router": "6.22.3",
|
|
10
|
+
"vite-plugin-react-router-config": "6.22.3",
|
|
11
|
+
"vite-plugin-react-router-dom": "6.22.3"
|
|
12
|
+
}
|
package/pnpmfile.cjs
CHANGED
|
@@ -3,15 +3,12 @@ const catalog = require("./pnpm-catalog.json");
|
|
|
3
3
|
module.exports = {
|
|
4
4
|
hooks: {
|
|
5
5
|
updatedConfig: (config) => {
|
|
6
|
-
config.
|
|
7
|
-
|
|
8
|
-
...
|
|
9
|
-
};
|
|
10
|
-
config.catalog = {
|
|
11
|
-
...config.catalog,
|
|
6
|
+
config.catalogs ??= {};
|
|
7
|
+
config.catalogs.default = {
|
|
8
|
+
...config.catalogs.default,
|
|
12
9
|
...catalog,
|
|
13
10
|
};
|
|
14
11
|
return config;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
12
|
+
},
|
|
13
|
+
},
|
|
17
14
|
};
|