@mui/internal-code-infra 0.1.1-canary.27 → 0.1.1-canary.29

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/internal-code-infra",
3
- "version": "0.1.1-canary.27",
3
+ "version": "0.1.1-canary.29",
4
4
  "author": "MUI Team",
5
5
  "description": "Infra scripts and configs to be used across MUI repos.",
6
6
  "license": "MIT",
@@ -54,8 +54,8 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@argos-ci/core": "6.8.8",
57
- "@babel/cli": "^8.0.6",
58
- "@babel/core": "^8.0.7",
57
+ "@babel/cli": "^8.1.0",
58
+ "@babel/core": "^8.1.0",
59
59
  "@babel/helper-compilation-targets": "^8.0.7",
60
60
  "@babel/plugin-syntax-jsx": "^8.0.1",
61
61
  "@babel/plugin-syntax-typescript": "^8.0.3",
@@ -67,18 +67,18 @@
67
67
  "@eslint/compat": "^2.1.1",
68
68
  "@eslint/js": "^10.0.1",
69
69
  "@eslint/json": "^2.1.1",
70
- "@inquirer/confirm": "^6.3.4",
71
- "@inquirer/select": "^5.2.7",
72
- "@mui/internal-babel-plugin-display-name": "2.0.1-canary.2",
73
- "@mui/internal-babel-plugin-minify-errors": "3.0.1-canary.2",
74
- "@mui/internal-babel-plugin-resolve-imports": "3.0.1-canary.3",
70
+ "@inquirer/confirm": "^6.3.5",
71
+ "@inquirer/select": "^5.2.8",
72
+ "@mui/internal-babel-plugin-display-name": "2.0.1-canary.3",
73
+ "@mui/internal-babel-plugin-minify-errors": "3.0.1-canary.3",
74
+ "@mui/internal-babel-plugin-resolve-imports": "3.0.1-canary.4",
75
75
  "@napi-rs/keyring": "^2.1.2",
76
76
  "@octokit/auth-action": "^6.0.3",
77
77
  "@octokit/oauth-methods": "^6.0.5",
78
78
  "@octokit/plugin-retry": "^8.1.1",
79
79
  "@octokit/plugin-throttling": "^11.0.5",
80
80
  "@octokit/rest": "^22.0.1",
81
- "@pnpm/config.version-policy": "^1100.2.9",
81
+ "@pnpm/config.version-policy": "^1100.2.10",
82
82
  "@pnpm/find-workspace-dir": "^1000.1.5",
83
83
  "@pnpm/parse-wanted-dependency": "^1001.0.0",
84
84
  "@typescript-eslint/types": "^8.72.0",
@@ -93,7 +93,7 @@
93
93
  "clipboardy": "^5.3.2",
94
94
  "content-type": "^3.1.1",
95
95
  "env-ci": "^11.2.0",
96
- "es-toolkit": "^1.52.0",
96
+ "es-toolkit": "^1.53.2",
97
97
  "eslint-config-prettier": "^10.1.8",
98
98
  "eslint-import-resolver-typescript": "^4.4.5",
99
99
  "eslint-module-utils": "^2.14.0",
@@ -107,13 +107,13 @@
107
107
  "eslint-plugin-react-compiler": "^19.1.0-rc.2",
108
108
  "eslint-plugin-react-hooks": "^7.1.1",
109
109
  "eslint-plugin-testing-library": "^7.16.2",
110
- "execa": "^10.2.0",
110
+ "execa": "^10.2.1",
111
111
  "git-url-parse": "^16.1.0",
112
- "globals": "^17.13.0",
112
+ "globals": "^17.14.0",
113
113
  "globby": "^16.2.4",
114
- "html-validate": "^11.17.0",
114
+ "html-validate": "^11.18.0",
115
115
  "minimatch": "^10.2.6",
116
- "node-html-parser": "^9.0.5",
116
+ "node-html-parser": "^9.0.7",
117
117
  "open": "^11.0.4",
118
118
  "postcss-styled-syntax": "^0.7.4",
119
119
  "publint": "^0.3.25",
@@ -137,12 +137,12 @@
137
137
  "remark-parse": "^11.0.0",
138
138
  "remark-rehype": "^11.1.2",
139
139
  "resolve-pkg-maps": "^1.0.0",
140
- "semver": "^7.8.5",
141
- "stylelint-config-standard": "^40.0.0",
140
+ "semver": "^7.8.6",
141
+ "stylelint-config-standard": "^41.0.0",
142
142
  "typescript-eslint": "^8.72.0",
143
143
  "unified": "^11.0.5",
144
144
  "unified-lint-rule": "^3.0.1",
145
- "unist-util-visit": "^5.1.0",
145
+ "unist-util-visit": "^5.2.0",
146
146
  "yaml": "^2.9.1",
147
147
  "yargs": "^18.2.0"
148
148
  },
@@ -150,9 +150,13 @@
150
150
  "@next/eslint-plugin-next": "*",
151
151
  "eslint": "^9.0.0 || ^10.0.0",
152
152
  "prettier": "^3.0.0",
153
+ "stylelint": "^18.0.0",
153
154
  "typescript": "^5.0.0 || ^6.0.0 || ^7.0.0"
154
155
  },
155
156
  "peerDependenciesMeta": {
157
+ "stylelint": {
158
+ "optional": true
159
+ },
156
160
  "typescript": {
157
161
  "optional": true
158
162
  }
@@ -163,7 +167,7 @@
163
167
  "@types/babel__preset-env": "7.10.0",
164
168
  "@types/env-ci": "3.1.4",
165
169
  "@types/eslint-plugin-jsx-a11y": "6.10.1",
166
- "@types/estree": "1.0.9",
170
+ "@types/estree": "1.0.10",
167
171
  "@types/estree-jsx": "1.0.5",
168
172
  "@types/mdast": "4.0.4",
169
173
  "@types/regexp.escape": "2.0.0",
@@ -177,6 +181,7 @@
177
181
  "remark": "15.0.1",
178
182
  "remark-mdx": "3.1.1",
179
183
  "serve": "14.2.6",
184
+ "stylelint": "^18.0.0",
180
185
  "typescript": "npm:@typescript/typescript6@6.0.2"
181
186
  },
182
187
  "files": [
@@ -192,7 +197,7 @@
192
197
  "publishConfig": {
193
198
  "access": "public"
194
199
  },
195
- "gitSha": "b2f58176b88f16b02033eeb5517ad517e2b2aaca",
200
+ "gitSha": "1528dd11a9b88caecbdf6eb74002cbee8b601b3a",
196
201
  "scripts": {
197
202
  "build": "tsc -p tsconfig.build.json",
198
203
  "typescript": "tsc -noEmit",
@@ -621,6 +621,8 @@ export async function crawl(rawOptions) {
621
621
 
622
622
  /** @type {AbortController | null} */
623
623
  let controller = null;
624
+ /** @type {Promise<unknown> | null} */
625
+ let serverExited = null;
624
626
 
625
627
  try {
626
628
  if (options.startCommand) {
@@ -641,7 +643,10 @@ export async function crawl(rawOptions) {
641
643
  const serverPrefix = chalk.gray('server: ');
642
644
  appProcess.stdout.pipe(prefixLines(serverPrefix)).pipe(process.stdout);
643
645
  appProcess.stderr.pipe(prefixLines(serverPrefix)).pipe(process.stderr);
644
- appProcess.catch(() => {});
646
+ // Settles once the whole process tree has exited: descendants inherit the
647
+ // stdout/stderr pipes, so execa waits for them too, and escalates to SIGKILL
648
+ // after `forceKillAfterDelay` when a server is slow to shut down.
649
+ serverExited = appProcess.catch(() => {});
645
650
 
646
651
  // Poll the first page we are about to crawl (resolved against host) so we
647
652
  // wait for the actual entry point to be serveable rather than the
@@ -661,6 +666,7 @@ export async function crawl(rawOptions) {
661
666
  if (controller) {
662
667
  console.log(chalk.blue('Stopping server...'));
663
668
  controller.abort();
669
+ await serverExited;
664
670
  }
665
671
  }
666
672
  }