astro-accelerator 0.0.5 → 0.0.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/.gitignore ADDED
@@ -0,0 +1,23 @@
1
+ # build output
2
+ .cache/
3
+ dist/
4
+
5
+ # dependencies
6
+ node_modules/
7
+
8
+ # logs
9
+ npm-debug.log*
10
+ yarn-debug.log*
11
+ yarn-error.log*
12
+ pnpm-debug.log*
13
+
14
+
15
+ # environment variables
16
+ .env
17
+ .env.production
18
+
19
+ # macOS-specific files
20
+ .DS_Store
21
+ /test-results/
22
+ /playwright-report/
23
+ /playwright/.cache/
package/env.d.ts ADDED
@@ -0,0 +1 @@
1
+ /// <reference types="astro/client" />
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.5",
2
+ "version": "0.0.7",
3
3
  "author": "Steve Fenton",
4
4
  "name": "astro-accelerator",
5
5
  "description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
@@ -11,24 +11,6 @@
11
11
  "homepage": "https://astro.stevefenton.co.uk/",
12
12
  "bugs": "https://github.com/Steve-Fenton/astro-accelerator/issues",
13
13
  "license": "(Apache-2.0)",
14
- "files": [
15
- "astro.config.mjs",
16
- "src/config.ts",
17
- "src/pages/index.md",
18
- "src/pages/authors/[author]/[page].astro",
19
- "src/pages/articles/[page].astro",
20
- "src/pages/articles/feed.xml.ts",
21
- "src/pages/category/[category]/[page].astro",
22
- "src/pages/tag/[tag]/[page].astro",
23
- "src/pages/search.json.ts",
24
- "src/pages/sitemap.xml.ts",
25
- "src/pages/report/*",
26
- "src/layouts/*",
27
- "src/themes/**/*",
28
- "src/data/*",
29
- "public/css/**/*",
30
- "public/js/**/*"
31
- ],
32
14
  "repository": {
33
15
  "url": "https://github.com/Steve-Fenton/astro-accelerator"
34
16
  },
@@ -52,5 +34,28 @@
52
34
  },
53
35
  "engines": {
54
36
  "node": "*"
55
- }
37
+ },
38
+ "files": [
39
+ ".gitignore",
40
+ ".nprmc",
41
+ "env.d.ts",
42
+ "tsconfig.json",
43
+ "astro.config.mjs",
44
+ "src/config.ts",
45
+ "src/pages/index.md",
46
+ "src/pages/authors/[author]/[page].astro",
47
+ "src/pages/articles/[page].astro",
48
+ "src/pages/articles/feed.xml.ts",
49
+ "src/pages/category/[category]/[page].astro",
50
+ "src/pages/tag/[tag]/[page].astro",
51
+ "src/pages/search.json.ts",
52
+ "src/pages/sitemap.xml.ts",
53
+ "src/pages/report/*",
54
+ "src/layouts/*",
55
+ "src/themes/**/*",
56
+ "src/data/*",
57
+ "public/img/astro-lighthouse.png",
58
+ "public/css/**/*",
59
+ "public/js/**/*"
60
+ ]
56
61
  }
Binary file
package/tsconfig.json ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "extends": "astro/tsconfigs/strict",
3
+ "types": ["astro/client"],
4
+ "compilerOptions": {
5
+ "baseUrl": ".",
6
+ "paths": {
7
+ "@config": ["src/config"],
8
+ // Layouts and components for the theme
9
+ "@util/*": ["src/themes/accelerator/utilities/*"],
10
+ "@layouts/*": ["src/themes/accelerator/layouts/*"],
11
+ "@components/*": ["src/themes/accelerator/components/*"],
12
+ }
13
+ }
14
+ }