astro-accelerator 0.3.3 → 0.3.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/package.json CHANGED
@@ -1,75 +1,75 @@
1
- {
2
- "version": "0.3.3",
3
- "author": "Steve Fenton",
4
- "name": "astro-accelerator",
5
- "description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
6
- "keywords": [
7
- "astro",
8
- "themes"
9
- ],
10
- "type": "module",
11
- "packageManager": "pnpm@8.7.0",
12
- "engines": {
13
- "node": ">=18.14.1",
14
- "pnpm": ">=8.6.12"
15
- },
16
- "homepage": "https://astro.stevefenton.co.uk/",
17
- "bugs": "https://github.com/Steve-Fenton/astro-accelerator/issues",
18
- "license": "(Apache-2.0)",
19
- "repository": {
20
- "url": "https://github.com/Steve-Fenton/astro-accelerator"
21
- },
22
- "scripts": {
23
- "img": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs",
24
- "dev": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs && astro dev",
25
- "stats": "node --no-experimental-fetch ./src/themes/accelerator/utilities/stats.mjs",
26
- "test": "astro build && npx playwright install --with-deps && npx playwright test",
27
- "build": "astro build",
28
- "preview": "astro preview",
29
- "astro": "astro",
30
- "dts": "tsc ./tests/locate-content.js ./tests/locate-navigation.js ./tests/locate-search.js --allowJs --declaration --emitDeclarationOnly"
31
- },
32
- "dependencies": {
33
- "@astrojs/mdx": "^1.0.0",
34
- "astro": "^3.0.5",
35
- "astro-accelerator-utils": "^0.2.40",
36
- "csv": "^6.3.3",
37
- "hast-util-from-selector": "^3.0.0",
38
- "html-to-text": "^9.0.5",
39
- "keyword-extractor": "^0.0.25",
40
- "remark-directive": "^2.0.1",
41
- "sharp": "^0.32.5"
42
- },
43
- "devDependencies": {
44
- "@playwright/test": "^1.37.1"
45
- },
46
- "files": [
47
- ".npmrc",
48
- "env.d.ts",
49
- "tsconfig.json",
50
- "astro.config.mjs",
51
- "sample/*",
52
- "sample/**/*",
53
- "src/config.ts",
54
- "src/pages/index.md",
55
- "src/pages/search.md",
56
- "src/pages/authors/[[]author[]]/[[]page[]].astro",
57
- "src/pages/articles/[[]page[]].astro",
58
- "src/pages/articles/index.astro",
59
- "src/pages/articles/feed.xml.ts",
60
- "src/pages/category/[[]category[]]/[[]page[]].astro",
61
- "src/pages/category/[[]category[]]/index.astro",
62
- "src/pages/tag/[[]tag[]]/[[]page[]].astro",
63
- "src/pages/tag/[[]tag[]]/index.astro",
64
- "src/pages/search.json.ts",
65
- "src/pages/sitemap.xml.ts",
66
- "src/pages/report/*",
67
- "src/layouts/*",
68
- "src/themes/**/*",
69
- "src/data/*",
70
- "public/img/astro-lighthouse.png",
71
- "public/icons/**/*",
72
- "public/css/**/*",
73
- "public/js/**/*"
74
- ]
75
- }
1
+ {
2
+ "version": "0.3.5",
3
+ "author": "Steve Fenton",
4
+ "name": "astro-accelerator",
5
+ "description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
6
+ "keywords": [
7
+ "astro",
8
+ "themes"
9
+ ],
10
+ "type": "module",
11
+ "packageManager": "pnpm@8.7.0",
12
+ "engines": {
13
+ "node": ">=18.14.1",
14
+ "pnpm": ">=8.6.12"
15
+ },
16
+ "homepage": "https://astro.stevefenton.co.uk/",
17
+ "bugs": "https://github.com/Steve-Fenton/astro-accelerator/issues",
18
+ "license": "(Apache-2.0)",
19
+ "repository": {
20
+ "url": "https://github.com/Steve-Fenton/astro-accelerator"
21
+ },
22
+ "scripts": {
23
+ "img": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs",
24
+ "dev": "node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs && astro dev",
25
+ "stats": "node --no-experimental-fetch ./src/themes/accelerator/utilities/stats.mjs",
26
+ "test": "astro build && npx playwright install --with-deps && npx playwright test",
27
+ "build": "astro build",
28
+ "preview": "astro preview",
29
+ "astro": "astro",
30
+ "dts": "tsc ./tests/locate-content.js ./tests/locate-navigation.js ./tests/locate-search.js --allowJs --declaration --emitDeclarationOnly"
31
+ },
32
+ "dependencies": {
33
+ "@astrojs/mdx": "^1.0.0",
34
+ "astro": "^3.0.5",
35
+ "astro-accelerator-utils": "^0.3.0",
36
+ "csv": "^6.3.3",
37
+ "hast-util-from-selector": "^3.0.0",
38
+ "html-to-text": "^9.0.5",
39
+ "keyword-extractor": "^0.0.25",
40
+ "remark-directive": "^2.0.1",
41
+ "sharp": "^0.32.5"
42
+ },
43
+ "devDependencies": {
44
+ "@playwright/test": "^1.37.1"
45
+ },
46
+ "files": [
47
+ ".npmrc",
48
+ "env.d.ts",
49
+ "tsconfig.json",
50
+ "astro.config.mjs",
51
+ "sample/*",
52
+ "sample/**/*",
53
+ "src/config.ts",
54
+ "src/pages/index.md",
55
+ "src/pages/search.md",
56
+ "src/pages/authors/[[]author[]]/[[]page[]].astro",
57
+ "src/pages/articles/[[]page[]].astro",
58
+ "src/pages/articles/index.astro",
59
+ "src/pages/articles/feed.xml.ts",
60
+ "src/pages/category/[[]category[]]/[[]page[]].astro",
61
+ "src/pages/category/[[]category[]]/index.astro",
62
+ "src/pages/tag/[[]tag[]]/[[]page[]].astro",
63
+ "src/pages/tag/[[]tag[]]/index.astro",
64
+ "src/pages/search.json.ts",
65
+ "src/pages/sitemap.xml.ts",
66
+ "src/pages/report/*",
67
+ "src/layouts/*",
68
+ "src/themes/**/*",
69
+ "src/data/*",
70
+ "public/img/astro-lighthouse.png",
71
+ "public/icons/**/*",
72
+ "public/css/**/*",
73
+ "public/js/**/*"
74
+ ]
75
+ }
@@ -26,7 +26,7 @@ stats.stop();
26
26
  {authorList.writers.length > 0 &&
27
27
  <div class="post-meta">
28
28
  <div class="author-info">
29
- <span>{ _(Translations.post.written_by) }
29
+ <span>{ _(Translations.post.written_by) + ' ' }
30
30
  {authorList.mainAuthor &&
31
31
  <span>{ authorList.mainAuthor.frontmatter.title }</span>
32
32
  }{authorList.contributors.map((writer) => (
@@ -78,7 +78,7 @@ stats.stop();
78
78
  <h3>
79
79
  <a href={ accelerator.urlFormatter.formatAddress(post.url) }>{ post.frontmatter.title }</a>
80
80
  </h3>
81
- <AuthorsMini lang={ lang } frontmatter={ post.frontmatter satisfies Frontmatter } />
81
+ <AuthorsMini lang={ lang } frontmatter={ post.frontmatter as Frontmatter } />
82
82
  </div>
83
83
  </article>
84
84
  </li>