@modern-js/main-doc 0.0.0-nightly-20231126170618 → 0.0.0-nightly-20231128170637

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -99,7 +99,7 @@ export default function (context: IPluginContext) {
99
99
 
100
100
  ## templates
101
101
 
102
- `templates` 目录存在当前定制化方式的模板文件,支持 [Handlebars](https://handlebarsjs.com/) 和 [EJS](https://ejs.co/) 格式,将根据模板文件后缀使用不同的渲染引擎就行渲染,如果无后缀,将会直接复制模板文件到目标目录。
102
+ `templates` 目录存在当前定制化方式的模板文件,支持 [Handlebars](https://handlebarsjs.com/) 和 [EJS](https://ejs.co/) 格式,将根据模板文件后缀使用不同的渲染引擎执行渲染,如果无后缀,将会直接复制模板文件到目标目录。
103
103
 
104
104
  如果模板文件为 `js`、`ts` 或者 `json` 文件,推荐直接使用 `.handlebars` 或者 `.ejs` 后缀,可避免项目 eslint 报错和在 Monorepo 中项目识别问题。
105
105
 
package/package.json CHANGED
@@ -15,17 +15,17 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-nightly-20231126170618",
18
+ "version": "0.0.0-nightly-20231128170637",
19
19
  "publishConfig": {
20
20
  "registry": "https://registry.npmjs.org/",
21
21
  "access": "public",
22
22
  "provenance": true
23
23
  },
24
24
  "dependencies": {
25
- "@modern-js/sandpack-react": "0.0.0-nightly-20231126170618"
25
+ "@modern-js/sandpack-react": "0.0.0-nightly-20231128170637"
26
26
  },
27
27
  "peerDependencies": {
28
- "@modern-js/builder-doc": "0.0.0-nightly-20231126170618"
28
+ "@modern-js/builder-doc": "0.0.0-nightly-20231128170637"
29
29
  },
30
30
  "devDependencies": {
31
31
  "classnames": "^2",
@@ -39,8 +39,8 @@
39
39
  "@rspress/shared": "1.7.4",
40
40
  "@types/node": "^16",
41
41
  "@types/fs-extra": "9.0.13",
42
- "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20231126170618",
43
- "@modern-js/builder-doc": "0.0.0-nightly-20231126170618"
42
+ "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20231128170637",
43
+ "@modern-js/builder-doc": "0.0.0-nightly-20231128170637"
44
44
  },
45
45
  "scripts": {
46
46
  "dev": "rspress dev",