@vuepress/core 2.0.0-rc.23 → 2.0.0-rc.25
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/dist/index.js +5 -5
- package/package.json +8 -7
package/dist/index.js
CHANGED
|
@@ -546,11 +546,11 @@ var resolveAppMarkdown = async (app) => {
|
|
|
546
546
|
};
|
|
547
547
|
|
|
548
548
|
// src/app/resolveAppPages.ts
|
|
549
|
-
import { debug as debug2,
|
|
549
|
+
import { debug as debug2, tinyglobby } from "@vuepress/utils";
|
|
550
550
|
var log2 = debug2("vuepress:core/app");
|
|
551
551
|
var resolveAppPages = async (app) => {
|
|
552
552
|
log2("resolveAppPages start");
|
|
553
|
-
const pageFilePaths = await
|
|
553
|
+
const pageFilePaths = await tinyglobby.glob(app.options.pagePatterns, {
|
|
554
554
|
absolute: true,
|
|
555
555
|
cwd: app.dir.source()
|
|
556
556
|
});
|
|
@@ -772,7 +772,7 @@ var createPluginApi = () => {
|
|
|
772
772
|
};
|
|
773
773
|
|
|
774
774
|
// src/app/resolveAppDir.ts
|
|
775
|
-
import { createRequire } from "
|
|
775
|
+
import { createRequire } from "module";
|
|
776
776
|
import { path as path7 } from "@vuepress/utils";
|
|
777
777
|
var require2 = createRequire(import.meta.url);
|
|
778
778
|
var createAppDirFunction = (baseDir) => (...args) => path7.resolve(baseDir, ...args);
|
|
@@ -803,7 +803,7 @@ var resolveAppEnv = (options) => ({
|
|
|
803
803
|
});
|
|
804
804
|
|
|
805
805
|
// src/app/resolveAppOptions.ts
|
|
806
|
-
import { createRequire as createRequire2 } from "
|
|
806
|
+
import { createRequire as createRequire2 } from "module";
|
|
807
807
|
import { path as path8, templateRenderer } from "@vuepress/utils";
|
|
808
808
|
var require3 = createRequire2(import.meta.url);
|
|
809
809
|
var resolveAppOptions = ({
|
|
@@ -882,7 +882,7 @@ var resolveAppSiteData = (options) => ({
|
|
|
882
882
|
});
|
|
883
883
|
|
|
884
884
|
// src/app/resolveAppVersion.ts
|
|
885
|
-
import { createRequire as createRequire3 } from "
|
|
885
|
+
import { createRequire as createRequire3 } from "module";
|
|
886
886
|
import { fs as fs3 } from "@vuepress/utils";
|
|
887
887
|
var require4 = createRequire3(import.meta.url);
|
|
888
888
|
var resolveAppVersion = () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuepress/core",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.25",
|
|
4
4
|
"description": "Core package of VuePress",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vuepress",
|
|
@@ -22,16 +22,17 @@
|
|
|
22
22
|
"./package.json": "./package.json"
|
|
23
23
|
},
|
|
24
24
|
"main": "./dist/index.js",
|
|
25
|
+
"module": "./dist/index.js",
|
|
25
26
|
"types": "./dist/index.d.ts",
|
|
26
27
|
"files": [
|
|
27
28
|
"dist"
|
|
28
29
|
],
|
|
29
30
|
"dependencies": {
|
|
30
|
-
"vue": "^3.5.
|
|
31
|
-
"@vuepress/
|
|
32
|
-
"@vuepress/shared": "2.0.0-rc.
|
|
33
|
-
"@vuepress/
|
|
34
|
-
"@vuepress/
|
|
31
|
+
"vue": "^3.5.20",
|
|
32
|
+
"@vuepress/client": "2.0.0-rc.25",
|
|
33
|
+
"@vuepress/shared": "2.0.0-rc.25",
|
|
34
|
+
"@vuepress/markdown": "2.0.0-rc.25",
|
|
35
|
+
"@vuepress/utils": "2.0.0-rc.25"
|
|
35
36
|
},
|
|
36
37
|
"publishConfig": {
|
|
37
38
|
"access": "public"
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
],
|
|
48
49
|
"outDir": "./dist",
|
|
49
50
|
"sourcemap": false,
|
|
50
|
-
"target": "
|
|
51
|
+
"target": "es2023",
|
|
51
52
|
"tsconfig": "../../tsconfig.dts.json"
|
|
52
53
|
},
|
|
53
54
|
"scripts": {
|