@modern-js/main-doc 0.0.0-next-1679322744844 → 0.0.0-next-1679384104920

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.
package/CHANGELOG.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # @modern-js/main-doc
2
2
 
3
- ## 0.0.0-next-1679322744844
3
+ ## 0.0.0-next-1679384104920
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 19e552a07: fix: main doc theme
7
+ - 19e552a077: fix: main doc theme
8
8
 
9
9
  fix: 首页深色模式问题
10
10
 
11
- - Updated dependencies [cfdbf8033]
12
- - @modern-js/builder-doc@0.0.0-next-1679322744844
11
+ - Updated dependencies [cfdbf80331]
12
+ - @modern-js/builder-doc@0.0.0-next-1679384104920
13
13
 
14
14
  ## 2.9.0
15
15
 
@@ -12,8 +12,8 @@ API wrapper for file operations in microgenerators, providing methods to render
12
12
  import { FsAPI } from '@modern-js/codesmith-api-fs';
13
13
 
14
14
  export default async (context: GeneratorContext, generator: GeneratorCore) => {
15
- const handlebarApi = new HandlebarsAPI(generator);
16
- await handlebarsAPI.renderFile(
15
+ const fsApi = new FsAPI(generator);
16
+ await fsApi.renderFile(
17
17
  material.get('templates/a.js'),
18
18
  target: 'b.js'
19
19
  );
@@ -12,8 +12,8 @@ sidebar_position: 3
12
12
  import { FsAPI } from '@modern-js/codesmith-api-fs';
13
13
 
14
14
  export default async (context: GeneratorContext, generator: GeneratorCore) => {
15
- const handlebarApi = new HandlebarsAPI(generator);
16
- await handlebarsAPI.renderFile(
15
+ const fsApi = new FsAPI(generator);
16
+ await fsApi.renderFile(
17
17
  material.get('templates/a.js'),
18
18
  target: 'b.js'
19
19
  );
package/package.json CHANGED
@@ -11,13 +11,13 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "0.0.0-next-1679322744844",
14
+ "version": "0.0.0-next-1679384104920",
15
15
  "publishConfig": {
16
16
  "registry": "https://registry.npmjs.org/",
17
17
  "access": "public"
18
18
  },
19
19
  "peerDependencies": {
20
- "@modern-js/builder-doc": "0.0.0-next-1679322744844"
20
+ "@modern-js/builder-doc": "0.0.0-next-1679384104920"
21
21
  },
22
22
  "devDependencies": {
23
23
  "classnames": "^2",
@@ -29,9 +29,9 @@
29
29
  "fs-extra": "^10",
30
30
  "@types/node": "^16",
31
31
  "@types/fs-extra": "^9",
32
- "@modern-js/builder-doc": "0.0.0-next-1679322744844",
33
- "@modern-js/doc-tools": "0.0.0-next-1679322744844",
34
- "@modern-js/doc-plugin-auto-sidebar": "0.0.0-next-1679322744844"
32
+ "@modern-js/builder-doc": "0.0.0-next-1679384104920",
33
+ "@modern-js/doc-tools": "0.0.0-next-1679384104920",
34
+ "@modern-js/doc-plugin-auto-sidebar": "0.0.0-next-1679384104920"
35
35
  },
36
36
  "scripts": {
37
37
  "dev": "modern dev",