rsbuild-plugin-arethetypeswrong 0.1.0 → 0.1.1
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/dist/698.js +6 -8
- package/package.json +2 -2
package/dist/698.js
CHANGED
|
@@ -12,17 +12,14 @@ export const __webpack_modules__ = {
|
|
|
12
12
|
var tinyexec__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("./node_modules/.pnpm/tinyexec@1.0.1/node_modules/tinyexec/dist/main.js");
|
|
13
13
|
async function createTarball(root, pkg) {
|
|
14
14
|
const tarballPath = node_path__WEBPACK_IMPORTED_MODULE_1__["default"].join(root, `${normalizeNpmPackageName(pkg.name)}-${pkg.version}.tgz`);
|
|
15
|
-
const
|
|
16
|
-
cwd: root
|
|
17
|
-
|
|
18
|
-
}) ?? {
|
|
19
|
-
agent: "npm"
|
|
20
|
-
};
|
|
15
|
+
const detectResult = await (0, package_manager_detector__WEBPACK_IMPORTED_MODULE_3__.q)({
|
|
16
|
+
cwd: root
|
|
17
|
+
});
|
|
21
18
|
const [command, args] = function() {
|
|
22
|
-
switch(agent){
|
|
19
|
+
switch(detectResult?.agent){
|
|
23
20
|
case "yarn":
|
|
24
21
|
return [
|
|
25
|
-
|
|
22
|
+
"yarn",
|
|
26
23
|
[
|
|
27
24
|
"pack",
|
|
28
25
|
"--filename",
|
|
@@ -41,6 +38,7 @@ export const __webpack_modules__ = {
|
|
|
41
38
|
case "npm":
|
|
42
39
|
case "bun":
|
|
43
40
|
case "deno":
|
|
41
|
+
case void 0:
|
|
44
42
|
return [
|
|
45
43
|
"npm",
|
|
46
44
|
[
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rsbuild-plugin-arethetypeswrong",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
|
-
"url": "git+https://github.com/
|
|
6
|
+
"url": "git+https://github.com/rspack-contrib/rsbuild-plugin-arethetypeswrong.git"
|
|
7
7
|
},
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"type": "module",
|