@module-federation/devtools 0.13.0 → 0.14.0
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/install-deps.bash +8 -1
- package/package.json +3 -3
package/install-deps.bash
CHANGED
|
@@ -5,7 +5,14 @@ fi
|
|
|
5
5
|
|
|
6
6
|
if [ "$GITHUB_ACTIONS" = "true" ]; then
|
|
7
7
|
echo "Running in GitHub Actions environment."
|
|
8
|
-
|
|
8
|
+
# Only install if cache miss was reported by the cache action
|
|
9
|
+
if [ "$PLAYWRIGHT_CACHE_HIT" != "true" ]; then
|
|
10
|
+
echo "Playwright cache miss, installing dependencies and browsers..."
|
|
11
|
+
npx playwright install-deps && npx playwright install
|
|
12
|
+
else
|
|
13
|
+
npx playwright install
|
|
14
|
+
echo "Using cached Playwright browsers."
|
|
15
|
+
fi
|
|
9
16
|
else
|
|
10
17
|
echo "Not running in GitHub Actions environment."
|
|
11
18
|
# 在这里放置不在 GitHub Actions 环境时要执行的命令
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@module-federation/devtools",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"react": "~18.3.1",
|
|
45
45
|
"react-dom": "~18.3.1",
|
|
46
46
|
"reactflow": "11.11.4",
|
|
47
|
-
"@module-federation/sdk": "0.
|
|
47
|
+
"@module-federation/sdk": "0.14.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@modern-js-app/eslint-config": "2.54.6",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"rimraf": "~6.0.1",
|
|
68
68
|
"typescript": "~5.0.4",
|
|
69
69
|
"vitest": "1.2.2",
|
|
70
|
-
"@module-federation/runtime": "0.
|
|
70
|
+
"@module-federation/runtime": "0.14.0"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build:storybook": "storybook build",
|