@mui/internal-docs-infra 0.12.1-canary.49 → 0.12.1-canary.50
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-docs-infra",
|
|
3
|
-
"version": "0.12.1-canary.
|
|
3
|
+
"version": "0.12.1-canary.50",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "MUI Infra - internal documentation creation tools.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -814,5 +814,5 @@
|
|
|
814
814
|
"bin": {
|
|
815
815
|
"docs-infra": "./cli/index.mjs"
|
|
816
816
|
},
|
|
817
|
-
"gitSha": "
|
|
817
|
+
"gitSha": "5aa500cdf1274a4ecc6674e3cab2ef7dc8a92aa9"
|
|
818
818
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* `@wooorm/starry-night` grammar module, so the bundler emits one chunk per
|
|
4
4
|
* grammar instead of the all-in-one `./grammars` barrel. `ensureGrammars`
|
|
5
5
|
* (in `./parseSource`) resolves only the scopes a block needs, keeping the
|
|
6
|
-
* unused grammar payloads (~146 KB gzip for all
|
|
6
|
+
* unused grammar payloads (~146 KB+ gzip for all 11) out of the download.
|
|
7
7
|
*
|
|
8
8
|
* Keys are starry-night scope names — the same values `./grammarMaps` resolves
|
|
9
9
|
* file extensions and language props to, so every detectable language has a
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* `@wooorm/starry-night` grammar module, so the bundler emits one chunk per
|
|
4
4
|
* grammar instead of the all-in-one `./grammars` barrel. `ensureGrammars`
|
|
5
5
|
* (in `./parseSource`) resolves only the scopes a block needs, keeping the
|
|
6
|
-
* unused grammar payloads (~146 KB gzip for all
|
|
6
|
+
* unused grammar payloads (~146 KB+ gzip for all 11) out of the download.
|
|
7
7
|
*
|
|
8
8
|
* Keys are starry-night scope names — the same values `./grammarMaps` resolves
|
|
9
9
|
* file extensions and language props to, so every detectable language has a
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
export const grammarLoaders = {
|
|
14
|
+
'source.diff': () => import('@wooorm/starry-night/source.diff').then(mod => mod.default),
|
|
14
15
|
'source.js': () => import('@wooorm/starry-night/source.js').then(mod => mod.default),
|
|
15
16
|
'source.ts': () => import('@wooorm/starry-night/source.ts').then(mod => mod.default),
|
|
16
17
|
'source.tsx': () => import('@wooorm/starry-night/source.tsx').then(mod => mod.default),
|
|
@@ -16,6 +16,7 @@ import textHtmlBasic from '@wooorm/starry-night/text.html.basic';
|
|
|
16
16
|
import sourceCss from '@wooorm/starry-night/source.css';
|
|
17
17
|
import sourceShell from '@wooorm/starry-night/source.shell';
|
|
18
18
|
import sourceYaml from '@wooorm/starry-night/source.yaml';
|
|
19
|
+
import sourceDiff from '@wooorm/starry-night/source.diff';
|
|
19
20
|
export const grammars = [sourceJs, sourceTs, sourceTsx, sourceJson, textMd, sourceMdx,
|
|
20
21
|
// needs sourceTsx
|
|
21
|
-
textHtmlBasic, sourceCss, sourceShell, sourceYaml];
|
|
22
|
+
textHtmlBasic, sourceCss, sourceShell, sourceYaml, sourceDiff];
|