File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 "update-rspress" : " npx taze major --include /rspress/ -w -r -l" ,
4141 "update-rsbuild" : " npx taze major --include /rsbuild/ -w -r -l" ,
4242 "gen:docs" : " rm -rf doc_output && mkdir doc_output && cp -r ./packages/document/doc_build/* ./doc_output" ,
43- "build:docs" : " pnpm --filter @modern-js/main-doc... build && npm run gen:docs"
43+ "docs:v2-link" : " echo '/v2/* https://modernjs-v2.netlify.app/:splat 200' >> doc_output/_redirects" ,
44+ "build:docs" : " pnpm --filter @modern-js/main-doc... build && npm run gen:docs && npm run docs:v2-link"
4445 },
4546 "engines" : {
4647 "node" : " >=20" ,
Original file line number Diff line number Diff line change 3131 },
3232 {
3333 "text" : " Modern.js 2.x Docs" ,
34- "link" : " https://modernjs.dev/guides/get-started/introduction.html "
34+ "link" : " https://modernjs.dev/v2 "
3535 }
3636]
Original file line number Diff line number Diff line change 3131 },
3232 {
3333 "text" : " Modern.js 2.x 文档" ,
34- "link" : " https://modernjs.dev/zh/guides/get-started/introduction.html "
34+ "link" : " https://modernjs.dev/v2/ zh/"
3535 }
3636]
You can’t perform that action at this time.
0 commit comments