@mui/internal-code-infra 0.0.4-canary.3 → 0.0.4-canary.4

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/package.json +7 -4
  2. package/src/build-env.d.ts +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/internal-code-infra",
3
- "version": "0.0.4-canary.3",
3
+ "version": "0.0.4-canary.4",
4
4
  "description": "Infra scripts and configs to be used across MUI repos.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -43,6 +43,9 @@
43
43
  "./brokenLinksChecker": {
44
44
  "types": "./build/brokenLinksChecker/index.d.mts",
45
45
  "default": "./src/brokenLinksChecker/index.mjs"
46
+ },
47
+ "./build-env": {
48
+ "types": "./src/build-env.d.ts"
46
49
  }
47
50
  },
48
51
  "bin": {
@@ -114,8 +117,8 @@
114
117
  "unified": "^11.0.5",
115
118
  "yargs": "^18.0.0",
116
119
  "@mui/internal-babel-plugin-display-name": "1.0.4-canary.14",
117
- "@mui/internal-babel-plugin-resolve-imports": "2.0.7-canary.33",
118
- "@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.24"
120
+ "@mui/internal-babel-plugin-minify-errors": "2.0.8-canary.24",
121
+ "@mui/internal-babel-plugin-resolve-imports": "2.0.7-canary.33"
119
122
  },
120
123
  "peerDependencies": {
121
124
  "@next/eslint-plugin-next": "*",
@@ -161,7 +164,7 @@
161
164
  "publishConfig": {
162
165
  "access": "public"
163
166
  },
164
- "gitSha": "b172a15e6b44720b15353ba8b15816cbbf5674e8",
167
+ "gitSha": "96a7c608aa3603924622f70e8fe30cf084d59909",
165
168
  "scripts": {
166
169
  "build": "tsgo -p tsconfig.build.json",
167
170
  "typescript": "tsgo -noEmit",
@@ -0,0 +1,13 @@
1
+ export {};
2
+
3
+ declare global {
4
+ interface Env {
5
+ NODE_ENV?: 'production' | undefined;
6
+ }
7
+
8
+ interface Process {
9
+ env: Env;
10
+ }
11
+
12
+ const process: Process;
13
+ }