@mui/internal-code-infra 0.1.1-canary.26 → 0.1.1-canary.28

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.26",
3
+ "version": "0.1.1-canary.28",
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",
140
+ "semver": "^7.8.6",
141
141
  "stylelint-config-standard": "^40.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
  },
@@ -163,7 +163,7 @@
163
163
  "@types/babel__preset-env": "7.10.0",
164
164
  "@types/env-ci": "3.1.4",
165
165
  "@types/eslint-plugin-jsx-a11y": "6.10.1",
166
- "@types/estree": "1.0.9",
166
+ "@types/estree": "1.0.10",
167
167
  "@types/estree-jsx": "1.0.5",
168
168
  "@types/mdast": "4.0.4",
169
169
  "@types/regexp.escape": "2.0.0",
@@ -192,7 +192,7 @@
192
192
  "publishConfig": {
193
193
  "access": "public"
194
194
  },
195
- "gitSha": "cb47b4587dd0f55f095a4fe67c059dd8baf2acba",
195
+ "gitSha": "3a5b17e9ac5077b917c12e906420a110e59e50eb",
196
196
  "scripts": {
197
197
  "build": "tsc -p tsconfig.build.json",
198
198
  "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) {
@@ -630,6 +632,7 @@ export async function crawl(rawOptions) {
630
632
  stdout: 'pipe',
631
633
  stderr: 'pipe',
632
634
  cancelSignal: controller.signal,
635
+ killDescendants: true,
633
636
  env: {
634
637
  FORCE_COLOR: '1',
635
638
  ...process.env,
@@ -640,7 +643,10 @@ export async function crawl(rawOptions) {
640
643
  const serverPrefix = chalk.gray('server: ');
641
644
  appProcess.stdout.pipe(prefixLines(serverPrefix)).pipe(process.stdout);
642
645
  appProcess.stderr.pipe(prefixLines(serverPrefix)).pipe(process.stderr);
643
- 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(() => {});
644
650
 
645
651
  // Poll the first page we are about to crawl (resolved against host) so we
646
652
  // wait for the actual entry point to be serveable rather than the
@@ -660,6 +666,7 @@ export async function crawl(rawOptions) {
660
666
  if (controller) {
661
667
  console.log(chalk.blue('Stopping server...'));
662
668
  controller.abort();
669
+ await serverExited;
663
670
  }
664
671
  }
665
672
  }