@umijs/plugin-run 4.1.1 → 4.1.3

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 (2) hide show
  1. package/dist/index.js +9 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -81,7 +81,15 @@ var src_default = (api) => {
81
81
  "utf-8"
82
82
  );
83
83
  const tsxPath = getBinPath();
84
- (0, import_child_process.fork)(tsxPath, [absTmpFilePath, ...restArgs], { stdio: "inherit" });
84
+ (0, import_child_process.fork)(tsxPath, [absTmpFilePath, ...restArgs], {
85
+ stdio: "inherit",
86
+ env: {
87
+ ...process.env,
88
+ // disable `(node:92349) ExperimentalWarning: `--experimental-loader` may be removed in the future;` warning
89
+ // more context: https://github.com/umijs/umi/pull/11981
90
+ NODE_NO_WARNINGS: "1"
91
+ }
92
+ });
85
93
  }
86
94
  });
87
95
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/plugin-run",
3
- "version": "4.1.1",
3
+ "version": "4.1.3",
4
4
  "description": "@umijs/plugin-run",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/plugin-run#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",
@@ -15,7 +15,7 @@
15
15
  "dist"
16
16
  ],
17
17
  "dependencies": {
18
- "tsx": "^3.12.2"
18
+ "tsx": "3.12.2"
19
19
  },
20
20
  "publishConfig": {
21
21
  "access": "public"