File tree Expand file tree Collapse file tree 24 files changed +30
-72
lines changed
docusaurus-cssnano-preset/src
docusaurus-mdx-loader/src Expand file tree Collapse file tree 24 files changed +30
-72
lines changed Original file line number Diff line number Diff line change @@ -85,14 +85,15 @@ jobs:
8585 # Ensure build with a cold cache does not increase too much
8686 - name : Build (cold cache)
8787 run : yarn build:website:fast
88- timeout-minutes : ${{ matrix.DOCUSAURUS_INFRA == 'SLOWER' && 3 || 1 }}
88+ timeout-minutes : ${{ matrix.DOCUSAURUS_INFRA == 'SLOWER' && 3 || 2 }}
8989 env :
9090 DOCUSAURUS_SLOWER : ${{ matrix.DOCUSAURUS_INFRA == 'SLOWER' && 'true' || 'false' }}
9191
9292 # Ensure build with a warm cache does not increase too much
9393 - name : Build (warm cache)
9494 run : yarn build:website:fast
95- timeout-minutes : 1
95+ # Temporary: upper value for Rspack until incremental cache works better
96+ timeout-minutes : ${{ matrix.DOCUSAURUS_INFRA == 'SLOWER' && 1 || 2 }}
9697 env :
9798 DOCUSAURUS_SLOWER : ${{ matrix.DOCUSAURUS_INFRA == 'SLOWER' && 'true' || 'false' }}
9899
Original file line number Diff line number Diff line change 123123 "stylelint" : " ^14.16.1" ,
124124 "stylelint-config-prettier" : " ^9.0.5" ,
125125 "stylelint-config-standard" : " ^29.0.0" ,
126- "typescript" : " ~5.7 .2"
126+ "typescript" : " ~5.8 .2"
127127 },
128128 "packageManager" :
" [email protected] +sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" 129129}
Original file line number Diff line number Diff line change @@ -26,4 +26,5 @@ const preset: typeof advancedBasePreset = function preset(opts) {
2626 return advancedPreset ;
2727} ;
2828
29+ // @ts -expect-error: TODO fix later
2930export = preset ;
Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ import type {WebpackCompilerName} from '@docusaurus/utils';
2222import type { MDXFrontMatter } from './frontMatter' ;
2323import type { Options } from './options' ;
2424import type { AdmonitionOptions } from './remark/admonitions' ;
25-
26- // @ts -expect-error: TODO see https://github.com/microsoft/TypeScript/issues/49721
2725import type { ProcessorOptions } from '@mdx-js/mdx' ;
2826
2927// TODO as of April 2023, no way to import/re-export this ESM type easily :/
Original file line number Diff line number Diff line change 44 * This source code is licensed under the MIT license found in the
55 * LICENSE file in the root directory of this source tree.
66 */
7- // @ts -expect-error: TODO see https://github.com/microsoft/TypeScript/issues/49721
87import type { Transformer , Plugin } from 'unified' ;
9-
10- // @ts -expect-error: TODO see https://github.com/microsoft/TypeScript/issues/49721
118import type { ContainerDirective } from 'mdast-util-directive' ;
129import type { Parent , Root } from 'mdast' ;
1310
Original file line number Diff line number Diff line change 44 * This source code is licensed under the MIT license found in the
55 * LICENSE file in the root directory of this source tree.
66 */
7- // @ts -expect-error: TODO see https://github.com/microsoft/TypeScript/issues/49721
87import type { Transformer , Plugin } from 'unified' ;
98import type { Heading , Parent , Root } from 'mdast' ;
10-
11- // @ts -expect-error: ES support...
129import type { MdxJsxFlowElement } from 'mdast-util-mdx' ;
1310
1411interface PluginOptions {
Original file line number Diff line number Diff line change 55 * LICENSE file in the root directory of this source tree.
66 */
77
8- // @ts -expect-error: TODO see https://github.com/microsoft/TypeScript/issues/49721
98import type { Transformer } from 'unified' ;
109
1110import type { Root } from 'mdast' ;
Original file line number Diff line number Diff line change 55 * LICENSE file in the root directory of this source tree.
66 */
77
8- // @ts -expect-error: TODO see https://github.com/microsoft/TypeScript/issues/49721
98import type { Transformer } from 'unified' ;
109
1110import type { Root } from 'mdast' ;
Original file line number Diff line number Diff line change 88/* Based on remark-slug (https://github.com/remarkjs/remark-slug) and gatsby-remark-autolink-headers (https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-autolink-headers) */
99
1010import { parseMarkdownHeadingId , createSlugger } from '@docusaurus/utils' ;
11- // @ts -expect-error: TODO see https://github.com/microsoft/TypeScript/issues/49721
1211import type { Plugin , Transformer } from 'unified' ;
1312import type { Root , Text } from 'mdast' ;
1413
Original file line number Diff line number Diff line change 55 * LICENSE file in the root directory of this source tree.
66 */
77
8- // @ts -expect-error: TODO see https://github.com/microsoft/TypeScript/issues/49721
98import type { Transformer , Plugin } from 'unified' ;
109import type { Root } from 'mdast' ;
1110
You can’t perform that action at this time.
0 commit comments