mirror of
https://github.com/modernweb-dev/rocket.git
synced 2026-03-10 08:51:24 +00:00
chore: update to typescript 4.8.4
This commit is contained in:
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -8,5 +8,5 @@
|
||||
"**/*-mdjs-generated.js": true,
|
||||
"**/dist-types": true,
|
||||
},
|
||||
"editor.experimental.stickyScroll.enabled": true
|
||||
"editor.stickyScroll.enabled": true
|
||||
}
|
||||
|
||||
15
package-lock.json
generated
15
package-lock.json
generated
@@ -56,7 +56,7 @@
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"sinon": "^9.2.3",
|
||||
"ts-node": "^9.1.1",
|
||||
"typescript": "^4.6.3"
|
||||
"typescript": "^4.8.4"
|
||||
}
|
||||
},
|
||||
"examples/01-hydration-starter": {
|
||||
@@ -14837,11 +14837,10 @@
|
||||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "4.7.4",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz",
|
||||
"integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==",
|
||||
"version": "4.8.4",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz",
|
||||
"integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
"tsserver": "bin/tsserver"
|
||||
@@ -26455,9 +26454,9 @@
|
||||
}
|
||||
},
|
||||
"typescript": {
|
||||
"version": "4.7.4",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz",
|
||||
"integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==",
|
||||
"version": "4.8.4",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz",
|
||||
"integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==",
|
||||
"dev": true
|
||||
},
|
||||
"typical": {
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"sinon": "^9.2.3",
|
||||
"ts-node": "^9.1.1",
|
||||
"typescript": "^4.6.3"
|
||||
"typescript": "^4.8.4"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"parser": "@typescript-eslint/parser",
|
||||
|
||||
@@ -393,11 +393,6 @@ export class Engine {
|
||||
return await urlToSourceFilePath(url, this.docsDir);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {object} [options]
|
||||
* @param {string} [options.triggerSourceFilePath]
|
||||
* @param {boolean} [options.deleteOtherFiles]
|
||||
*/
|
||||
async renderAllOpenedFiles({ deleteOtherFiles = true, triggerSourceFilePath = '' } = {}) {
|
||||
if (this.watcher) {
|
||||
for (const [sourceFilePath, page] of this.watcher.pages.entries()) {
|
||||
|
||||
@@ -7,11 +7,16 @@
|
||||
import { unified } from 'unified';
|
||||
import markdown from 'remark-parse';
|
||||
import gfm from 'remark-gfm';
|
||||
// @ts-ignore
|
||||
import remark2rehype from 'remark-rehype';
|
||||
// @ts-ignore
|
||||
import raw from 'rehype-raw';
|
||||
// @ts-ignore
|
||||
import htmlSlug from 'rehype-slug';
|
||||
// @ts-ignore
|
||||
import htmlHeading from 'rehype-autolink-headings';
|
||||
import rehypePrism from 'rehype-prism-plus';
|
||||
// @ts-ignore
|
||||
import htmlStringify from 'rehype-stringify';
|
||||
import { executeSetupFunctions } from 'plugins-manager';
|
||||
import { mdjsParse } from './mdjsParse.js';
|
||||
|
||||
Reference in New Issue
Block a user