Skip to content

Commit

Permalink
docs: ts-node is no longer required
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Nov 16, 2024
1 parent f38e68c commit 53bafe8
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 106 deletions.
1 change: 0 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down
2 changes: 1 addition & 1 deletion packages/document/docs/en/guide/start/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:

<PackageManagerTabs command="install rspress typescript ts-node -D" />
<PackageManagerTabs command="install rspress -D" />

Then create the file with the following command

Expand Down
2 changes: 1 addition & 1 deletion packages/document/docs/zh/guide/start/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mkdir rspress-app && cd rspress-app

执行 `npm init -y` 来初始化一个项目。你可以使用 npm、yarn 或 pnpm 安装 Rspress:

<PackageManagerTabs command="install rspress typescript ts-node -D" />
<PackageManagerTabs command="install rspress -D" />

然后通过如下命令创建文件:

Expand Down
1 change: 0 additions & 1 deletion packages/document/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
1 change: 0 additions & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down
102 changes: 1 addition & 101 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 53bafe8

Please sign in to comment.