diff --git a/packages/cli/package.json b/packages/cli/package.json index d8a89595e..4fadc6531 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -49,7 +49,6 @@ "@types/node": "^18.11.17", "@types/react": "^18.3.12", "rimraf": "^3.0.2", - "ts-node": "^10.9.2", "typescript": "^5.5.3" }, "sideEffects": [], diff --git a/packages/document/docs/en/guide/start/getting-started.mdx b/packages/document/docs/en/guide/start/getting-started.mdx index d66bfc6c9..46b89d481 100644 --- a/packages/document/docs/en/guide/start/getting-started.mdx +++ b/packages/document/docs/en/guide/start/getting-started.mdx @@ -22,7 +22,7 @@ mkdir rspress-app && cd rspress-app Execute `npm init -y` to initialize a project. You can install Rspress using npm, yarn or pnpm: - + Then create the file with the following command diff --git a/packages/document/docs/zh/guide/start/getting-started.mdx b/packages/document/docs/zh/guide/start/getting-started.mdx index b0834fb05..5ed06a933 100644 --- a/packages/document/docs/zh/guide/start/getting-started.mdx +++ b/packages/document/docs/zh/guide/start/getting-started.mdx @@ -22,7 +22,7 @@ mkdir rspress-app && cd rspress-app 执行 `npm init -y` 来初始化一个项目。你可以使用 npm、yarn 或 pnpm 安装 Rspress: - + 然后通过如下命令创建文件: diff --git a/packages/document/package.json b/packages/document/package.json index 11f045346..a016395df 100644 --- a/packages/document/package.json +++ b/packages/document/package.json @@ -25,7 +25,6 @@ "rspress": "workspace:*", "rspress-plugin-font-open-sans": "^1.0.0", "rspress-plugin-sitemap": "^1.1.1", - "ts-node": "^10.9.2", "typescript": "^5.5.3" }, "publishConfig": { diff --git a/packages/shared/package.json b/packages/shared/package.json index 4c39a2a89..245536df4 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -70,7 +70,6 @@ "lodash-es": "^4.17.21", "medium-zoom": "1.1.0", "rimraf": "^3.0.2", - "ts-node": "^10.9.2", "typescript": "^5.5.3" }, "sideEffects": [], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5b1ef3647..29239dd28 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -579,9 +579,6 @@ importers: rimraf: specifier: ^3.0.2 version: 3.0.2 - ts-node: - specifier: ^10.9.2 - version: 10.9.2(@types/node@18.11.17)(typescript@5.5.3) typescript: specifier: ^5.5.3 version: 5.5.3 @@ -844,9 +841,6 @@ importers: rspress-plugin-sitemap: specifier: ^1.1.1 version: 1.1.1 - ts-node: - specifier: ^10.9.2 - version: 10.9.2(@types/node@18.11.17)(typescript@5.5.3) typescript: specifier: ^5.5.3 version: 5.5.3 @@ -1431,9 +1425,6 @@ importers: rimraf: specifier: ^3.0.2 version: 3.0.2 - ts-node: - specifier: ^10.9.2 - version: 10.9.2(@types/node@18.11.17)(typescript@5.5.3) typescript: specifier: ^5.5.3 version: 5.5.3 @@ -2428,13 +2419,6 @@ packages: prettier: 2.8.1 dev: true - /@cspotcode/source-map-support@0.8.1: - resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/trace-mapping': 0.3.9 - dev: true - /@emnapi/core@1.3.0: resolution: {integrity: sha512-9hRqVlhwqBqCoToZ3hFcNVqL+uyHV06Y47ax4UB8L6XgVRqYz7MFnfessojo6+5TK89pKwJnpophwjTMOeKI9Q==} dependencies: @@ -3126,13 +3110,6 @@ packages: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 - /@jridgewell/trace-mapping@0.3.9: - resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - dependencies: - '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.0 - dev: true - /@manypkg/find-root@1.1.0: resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} dependencies: @@ -4138,22 +4115,6 @@ packages: dependencies: tslib: 2.8.1 - /@tsconfig/node10@1.0.9: - resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} - dev: true - - /@tsconfig/node12@1.0.11: - resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} - dev: true - - /@tsconfig/node14@1.0.3: - resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} - dev: true - - /@tsconfig/node16@1.0.4: - resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} - dev: true - /@tybys/wasm-util@0.9.0: resolution: {integrity: sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==} dependencies: @@ -4670,15 +4631,11 @@ packages: acorn: 8.12.1 dev: false - /acorn-walk@8.2.0: - resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} - engines: {node: '>=0.4.0'} - dev: true - /acorn@8.12.1: resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} engines: {node: '>=0.4.0'} hasBin: true + dev: false /acorn@8.14.0: resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} @@ -4766,10 +4723,6 @@ packages: normalize-path: 3.0.0 picomatch: 2.3.1 - /arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} - dev: true - /arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} dev: true @@ -5224,10 +5177,6 @@ packages: yaml: 1.10.2 dev: true - /create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - dev: true - /create-rstack@1.0.9: resolution: {integrity: sha512-aMhPAraggsD00QejY4wRkMLOJAykVV4ltzaGI8whDs09GNBibOxBMzuDxSp3SdXztPT9Y1SzkjNVlDT2xxjRrA==} dev: false @@ -5366,11 +5315,6 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true - /diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} - dev: true - /diff@5.1.0: resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==} engines: {node: '>=0.3.1'} @@ -7154,10 +7098,6 @@ packages: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 - /make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - dev: true - /map-cache@0.2.2: resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} engines: {node: '>=0.10.0'} @@ -9802,37 +9742,6 @@ packages: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} dev: true - /ts-node@10.9.2(@types/node@18.11.17)(typescript@5.5.3): - resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.9 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 18.11.17 - acorn: 8.12.1 - acorn-walk: 8.2.0 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.5.3 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - dev: true - /tsconfig-paths-webpack-plugin@4.1.0: resolution: {integrity: sha512-xWFISjviPydmtmgeUAuXp4N1fky+VCtfhOkDUFIv5ea7p4wuTomI4QTrXvFBX2S4jZsmyTSrStQl+E+4w+RzxA==} engines: {node: '>=10.13.0'} @@ -10083,10 +9992,6 @@ packages: kleur: 4.1.5 sade: 1.8.1 - /v8-compile-cache-lib@3.0.1: - resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - dev: true - /validate-html-nesting@1.2.2: resolution: {integrity: sha512-hGdgQozCsQJMyfK5urgFcWEqsSSrK63Awe0t/IMR0bZ0QMtnuaiHzThW81guu3qx9abLi99NEuiaN6P9gVYsNg==} dev: false @@ -10490,11 +10395,6 @@ packages: y18n: 5.0.8 yargs-parser: 21.1.1 - /yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} - dev: true - /yocto-queue@1.0.0: resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} engines: {node: '>=12.20'}