portosaurus 1.16.6 → 1.16.7
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "portosaurus",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.7",
|
|
4
4
|
"author": "soymadip",
|
|
5
5
|
"license": "GPL-3.0-only",
|
|
6
6
|
"description": "Complete portfolio cum personal website solution for your digital personality.",
|
|
@@ -26,7 +26,11 @@
|
|
|
26
26
|
"#internal/*": "./src/internal/src/*"
|
|
27
27
|
},
|
|
28
28
|
"exports": {
|
|
29
|
-
"./utils":
|
|
29
|
+
"./utils": {
|
|
30
|
+
"browser": "./src/utils/.exports.client.js",
|
|
31
|
+
"node": "./src/utils/.exports.js",
|
|
32
|
+
"default": "./src/utils/.exports.js"
|
|
33
|
+
},
|
|
30
34
|
"./config": "./src/config/.exports.js"
|
|
31
35
|
},
|
|
32
36
|
"bin": {
|
package/src/config/.exports.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Layout from "@theme/Layout";
|
|
2
2
|
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
|
|
3
|
-
import UpdateTitle from "
|
|
3
|
+
import { UpdateTitle } from "portosaurus/utils";
|
|
4
4
|
|
|
5
5
|
// Import components
|
|
6
6
|
import HeroSection from "@site/src/components/HeroSection";
|
|
@@ -3,7 +3,7 @@ import Layout from "@theme/Layout";
|
|
|
3
3
|
import NoteCards from "@site/src/components/NoteIndex";
|
|
4
4
|
import { usePluginData } from "@docusaurus/useGlobalData";
|
|
5
5
|
import ScrollToTop from "../components/ScrollToTop";
|
|
6
|
-
import HashNavigation from "
|
|
6
|
+
import { HashNavigation } from "portosaurus/utils";
|
|
7
7
|
|
|
8
8
|
const style = {
|
|
9
9
|
notesContainer: {
|
package/src/utils/.exports.js
CHANGED
|
@@ -2,7 +2,7 @@ export * from "./appVersion.js";
|
|
|
2
2
|
export * from "./createDocuConf.js";
|
|
3
3
|
export * from "./logger.js";
|
|
4
4
|
export * from "./packageManager.js";
|
|
5
|
-
export
|
|
5
|
+
export { default as HashNavigation } from "./HashNavigation.js";
|
|
6
6
|
export * from "./cssUtils.js";
|
|
7
7
|
export * from "./filterEnabledItems.js";
|
|
8
8
|
export * from "./generateFavicon.js";
|
|
@@ -11,4 +11,4 @@ export * from "./iconExtractor.js";
|
|
|
11
11
|
export * from "./imageDownloader.js";
|
|
12
12
|
export * from "./imageProcessor.js";
|
|
13
13
|
export * from "./linkShortner.js";
|
|
14
|
-
export
|
|
14
|
+
export { default as UpdateTitle } from "./updateTitle.js";
|
package/src/utils/appVersion.js
CHANGED
|
@@ -12,7 +12,7 @@ function appVersion() {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
try {
|
|
15
|
-
const pkgPath = path.resolve(__dirname, "
|
|
15
|
+
const pkgPath = path.resolve(__dirname, "../../package.json");
|
|
16
16
|
const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf8"));
|
|
17
17
|
|
|
18
18
|
cachedVersion = pkg.version || "0.0.0";
|