@stacksjs/docs 0.58.72 → 0.59.1
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.d.ts +30 -0
- package/dist/index.js +2 -2
- package/dist/meta.d.ts +15 -0
- package/dist/plugins.d.ts +3 -0
- package/dist/scripts/pwa.d.ts +2 -0
- package/package.json +5 -4
- package/src/index.ts +2 -2
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const frameworkDefaults: {
|
|
2
|
+
base: string;
|
|
3
|
+
cleanUrls: true;
|
|
4
|
+
srcDir: string;
|
|
5
|
+
outDir: string;
|
|
6
|
+
cacheDir: string;
|
|
7
|
+
assetsDir: string;
|
|
8
|
+
vite: {
|
|
9
|
+
envDir: string;
|
|
10
|
+
envPrefix: string;
|
|
11
|
+
server: {
|
|
12
|
+
host: string;
|
|
13
|
+
port: any;
|
|
14
|
+
open: boolean;
|
|
15
|
+
};
|
|
16
|
+
resolve: {
|
|
17
|
+
alias: Record<string, string>;
|
|
18
|
+
};
|
|
19
|
+
plugins: {
|
|
20
|
+
name: string;
|
|
21
|
+
configureServer(this: void, server: import("vite").ViteDevServer): void;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
pwa: import("@vite-pwa/vitepress").PwaOptions;
|
|
25
|
+
};
|
|
26
|
+
declare const _default: Promise<any>;
|
|
27
|
+
export default _default;
|
|
28
|
+
export * from './plugins';
|
|
29
|
+
export * from './scripts/pwa';
|
|
30
|
+
export * from './meta';
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {docs as docs2} from "@stacksjs/config";
|
|
|
6
6
|
import {server as server2} from "@stacksjs/server";
|
|
7
7
|
import {kolorist as c} from "@stacksjs/cli";
|
|
8
8
|
import {withPwa} from "@vite-pwa/vitepress";
|
|
9
|
-
//
|
|
9
|
+
// ../../../../package.json
|
|
10
10
|
var version = "0.0.0";
|
|
11
11
|
|
|
12
12
|
// src/scripts/pwa.ts
|
|
@@ -168,7 +168,7 @@ var frameworkDefaults = {
|
|
|
168
168
|
server3.printUrls = () => {
|
|
169
169
|
console.log(` ${c.blue(c.bold("STACKS"))} ${c.blue(version)}`);
|
|
170
170
|
console.log(` ${c.green("\u279C")} ${c.bold("Docs")}: ${c.green("https://stacks.localhost/docs")}`);
|
|
171
|
-
console.log(` ${c.green("\u279C")} ${c.bold("Temp URL")}: ${c.green("http://stacksjs.test:
|
|
171
|
+
console.log(` ${c.green("\u279C")} ${c.bold("Temp URL")}: ${c.green("http://stacksjs.test:3000")}`);
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
}
|
package/dist/meta.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const googleapis = "https://fonts.googleapis.com";
|
|
2
|
+
export declare const gstatic = "https://fonts.gstatic.com";
|
|
3
|
+
export declare const font = "https://fonts.googleapis.com/css2?family=Readex+Pro:wght@200;400;600&display=swap";
|
|
4
|
+
export declare const ogUrl = "https://stacksjs.org/";
|
|
5
|
+
export declare const ogImage = "https://stacksjs.org/og.png";
|
|
6
|
+
export declare const github = "https://github.com/stacksjs/stacks";
|
|
7
|
+
export declare const releases = "https://github.com/stacksjs/stacks/releases";
|
|
8
|
+
export declare const contributing = "https://github.com/stacksjs/stacks/blob/main/CONTRIBUTING.md";
|
|
9
|
+
export declare const discord = "https://chat.stacksjs.org";
|
|
10
|
+
export declare const twitter = "https://twitter.com/stacksjs";
|
|
11
|
+
export declare const preconnectLinks: string[];
|
|
12
|
+
export declare const preconnectHomeLinks: string[];
|
|
13
|
+
export declare const pwaFontsRegex: RegExp;
|
|
14
|
+
export declare const pwaFontStylesRegex: RegExp;
|
|
15
|
+
export declare const githubusercontentRegex: RegExp;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/docs",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.59.1",
|
|
5
5
|
"description": "The Stacks way to document.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
"@stacksjs/path": "latest",
|
|
53
53
|
"@stacksjs/server": "latest",
|
|
54
54
|
"@stacksjs/vite": "latest",
|
|
55
|
-
"vitepress": "1.0.0-rc.
|
|
55
|
+
"vitepress": "1.0.0-rc.44",
|
|
56
|
+
"vitepress-plugin-twoslash": "^0.10.2"
|
|
56
57
|
},
|
|
57
58
|
"dependencies": {
|
|
58
59
|
"@stacksjs/alias": "latest",
|
|
@@ -60,11 +61,11 @@
|
|
|
60
61
|
"@stacksjs/path": "latest",
|
|
61
62
|
"@stacksjs/server": "latest",
|
|
62
63
|
"@stacksjs/vite": "latest",
|
|
63
|
-
"vitepress": "1.0.0-rc.
|
|
64
|
+
"vitepress": "1.0.0-rc.44",
|
|
64
65
|
"vitepress-plugin-twoslash": "^0.10.2"
|
|
65
66
|
},
|
|
66
67
|
"devDependencies": {
|
|
67
68
|
"@stacksjs/development": "latest",
|
|
68
|
-
"@vite-pwa/vitepress": "^0.
|
|
69
|
+
"@vite-pwa/vitepress": "^0.4.0"
|
|
69
70
|
}
|
|
70
71
|
}
|
package/src/index.ts
CHANGED
|
@@ -41,11 +41,11 @@ export const frameworkDefaults = {
|
|
|
41
41
|
server.printUrls = () => { // eslint-disable-next-line no-console
|
|
42
42
|
console.log(` ${c.blue(c.bold('STACKS'))} ${c.blue(version)}`)
|
|
43
43
|
|
|
44
|
-
// console.log(` ${c.green('➜')} ${c.bold('Docs')}: ${c.green('http://stacks.localhost:
|
|
44
|
+
// console.log(` ${c.green('➜')} ${c.bold('Docs')}: ${c.green('http://stacks.localhost:3000/docs')}`)
|
|
45
45
|
// eslint-disable-next-line no-console
|
|
46
46
|
console.log(` ${c.green('➜')} ${c.bold('Docs')}: ${c.green('https://stacks.localhost/docs')}`)
|
|
47
47
|
// eslint-disable-next-line no-console
|
|
48
|
-
console.log(` ${c.green('➜')} ${c.bold('Temp URL')}: ${c.green('http://stacksjs.test:
|
|
48
|
+
console.log(` ${c.green('➜')} ${c.bold('Temp URL')}: ${c.green('http://stacksjs.test:3000')}`)
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
},
|