@stnd/modules 0.11.3 → 0.11.5
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 +17 -0
- package/manifest/route.js +5 -0
- package/package.json +4 -4
- package/robots/route.js +5 -2
- package/themes/index.module.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @stnd/folios
|
|
2
2
|
|
|
3
|
+
## 0.11.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @stnd/icon@0.9.0
|
|
10
|
+
- @stnd/styles@0.22.0
|
|
11
|
+
- @stnd/layout@0.8.4
|
|
12
|
+
|
|
13
|
+
## 0.11.4
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @stnd/styles@0.21.1
|
|
19
|
+
|
|
3
20
|
## 0.11.3
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/manifest/route.js
CHANGED
|
@@ -36,6 +36,11 @@ export async function GET() {
|
|
|
36
36
|
icons: manifestConfig.icons || defaults.icons,
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
+
// Identity and reach of an installed app: where it starts being "itself" (scope),
|
|
40
|
+
// what identifies it across URL changes (id), its language and text direction.
|
|
41
|
+
for (const key of ["id", "scope", "lang", "dir", "display_override"]) {
|
|
42
|
+
if (manifestConfig[key]) manifest[key] = manifestConfig[key];
|
|
43
|
+
}
|
|
39
44
|
if (manifestConfig.categories)
|
|
40
45
|
manifest.categories = manifestConfig.categories;
|
|
41
46
|
if (manifestConfig.screenshots)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stnd/modules",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"svelte": "./stripe/views/CheckoutView.svelte",
|
|
6
6
|
"author": "Francis Fontaine",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@astrojs/sitemap": "^3.7.3",
|
|
20
20
|
"@stnd/client": "0.7.6",
|
|
21
|
-
"@stnd/icon": "0.
|
|
22
|
-
"@stnd/layout": "0.8.
|
|
21
|
+
"@stnd/icon": "0.9.0",
|
|
22
|
+
"@stnd/layout": "0.8.4",
|
|
23
23
|
"@stnd/log": "0.6.0",
|
|
24
24
|
"@stnd/server": "0.10.0",
|
|
25
|
-
"@stnd/styles": "0.
|
|
25
|
+
"@stnd/styles": "0.22.0",
|
|
26
26
|
"@stnd/utils": "0.8.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
package/robots/route.js
CHANGED
|
@@ -12,9 +12,12 @@ export async function GET(context) {
|
|
|
12
12
|
const allow = robots.allow || [];
|
|
13
13
|
const customRules = robots.customRules || [];
|
|
14
14
|
const crawlDelay = robots.crawlDelay;
|
|
15
|
+
// `sitemapUrl: false` for a site that publishes no sitemap (an internal tool).
|
|
15
16
|
const sitemapUrl =
|
|
16
|
-
robots.sitemapUrl
|
|
17
|
-
|
|
17
|
+
robots.sitemapUrl === false
|
|
18
|
+
? null
|
|
19
|
+
: robots.sitemapUrl ||
|
|
20
|
+
(context.site ? new URL("sitemap.xml", context.site).href : null);
|
|
18
21
|
|
|
19
22
|
let content = `# robots.txt for ${site}
|
|
20
23
|
# Generated by Standard Framework
|
package/themes/index.module.js
CHANGED
|
@@ -5,7 +5,7 @@ const isDev = process.env.NODE_ENV !== "production";
|
|
|
5
5
|
* Loads individual theme folios so their fonts and styles are registered via the module system.
|
|
6
6
|
*
|
|
7
7
|
* Production: macOS + the 6 official Garden temperaments (international, documentation,
|
|
8
|
-
* humanist, editorial, academic, gallery).
|
|
8
|
+
* humanist, editorial, academic, gallery), plus mono, book and forest.
|
|
9
9
|
* Development: full suite of experimental and vault-originated themes.
|
|
10
10
|
*/
|
|
11
11
|
export default {
|
|
@@ -15,7 +15,7 @@ export default {
|
|
|
15
15
|
"Loads theme folios so each can register styles & font dependencies.",
|
|
16
16
|
|
|
17
17
|
dependencies: [
|
|
18
|
-
// Production themes: macOS + Garden official temperaments (
|
|
18
|
+
// Production themes: macOS + Garden official temperaments (10 themes)
|
|
19
19
|
"@stnd/themes/macos",
|
|
20
20
|
"@stnd/themes/international",
|
|
21
21
|
"@stnd/themes/documentation",
|
|
@@ -25,11 +25,11 @@ export default {
|
|
|
25
25
|
"@stnd/themes/gallery",
|
|
26
26
|
"@stnd/themes/mono",
|
|
27
27
|
"@stnd/themes/book",
|
|
28
|
+
"@stnd/themes/forest",
|
|
28
29
|
|
|
29
30
|
// Dev-only / experimental variants (excluded in production)
|
|
30
31
|
...(isDev
|
|
31
32
|
? [
|
|
32
|
-
"@stnd/themes/forest",
|
|
33
33
|
"@stnd/themes/kernel",
|
|
34
34
|
"@stnd/themes/frank",
|
|
35
35
|
"@stnd/themes/venetian",
|