minearm-website 0.1.3 → 0.2.0

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.
Files changed (31) hide show
  1. package/.hintrc +16 -0
  2. package/README.md +2 -2
  3. package/package.json +28 -27
  4. package/public/scripts/mdata.json +3 -3
  5. package/public/scripts/searchData.json +46 -46
  6. package/src/components/Search.astro +30 -0
  7. package/src/components/icons/bilibili.astro +1 -2
  8. package/src/components/icons/c.astro +1 -2
  9. package/src/components/icons/cube.astro +1 -2
  10. package/src/components/icons/hardDriver.astro +1 -2
  11. package/src/components/icons/home.astro +1 -2
  12. package/src/components/loading/loading.vue +0 -12
  13. package/src/components/postlist/pagination.astro +39 -25
  14. package/src/components/postlist/postsList.astro +57 -0
  15. package/src/content/blog/history//345/205/254/345/205/203/345/211/215//347/247/246/345/247/213/347/232/207/347/273/237/344/270/200/345/205/255/345/233/275.md +1 -0
  16. package/src/content/blog/history//350/277/221/344/273/243/347/257/207//344/270/255/345/233/275/345/205/261/344/272/247/345/205/232/345/205/232/345/217/262.md +2360 -2361
  17. package/src/content/blog/it/Rust/345/237/272/346/234/254/350/257/255/346/263/225.md +14 -0
  18. package/src/content/config.ts +0 -1
  19. package/src/layouts/BaseLayout.astro +1 -0
  20. package/src/layouts/DefaultMdLayout.astro +4 -0
  21. package/src/layouts/HomeLayout.astro +2 -0
  22. package/src/layouts/TagsLayout.astro +1 -0
  23. package/src/pages/[...page].astro +13 -10
  24. package/src/pages/about/index.md +2 -2
  25. package/src/pages/friends/index.md +3 -3
  26. package/src/styles/components/aside.scss +1 -1
  27. package/src/styles/components/header.scss +1 -1
  28. package/src/styles/components/main.scss +1 -1
  29. package/src/styles/global.scss +2 -2
  30. package/src/styles/tags/tags.scss +13 -23
  31. package/src/theme_config.ts +1 -1
package/.hintrc ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "extends": [
3
+ "development"
4
+ ],
5
+ "hints": {
6
+ "compat-api/css": [
7
+ "default",
8
+ {
9
+ "ignore": [
10
+ "backdrop-filter",
11
+ "user-select"
12
+ ]
13
+ }
14
+ ]
15
+ }
16
+ }
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Minearm & Website
2
2
  # 本主题是从[HusBlog](https://github.com/KraHsu/HsuBlog.git)改进而来的
3
- 最新的正式版是0.1.3
3
+ 最新的正式版是0.2.0
4
4
  最新的测试版是0.0.3-beta.4
5
5
 
6
- 但是Minearm & Website做出了很大的改变,比如修复了scss警告和升级astro版本到5.1.2
6
+ 但是Minearm & Website做出了很大的改变,比如修复了scss警告和升级astro版本到5.1.10
7
7
 
8
8
  # 效果
9
9
  ![Minearm](https://portal.astro.build/_image?href=https%3A%2F%2Fstorage.googleapis.com%2Fdev-portal-bucket%2Fkotpt1ztaalrk5frua5pnwdvoh185ylgg0rio9.webp)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "minearm-website",
3
3
  "description": "Welcome to Minearm & Website.",
4
- "version": "0.1.3",
4
+ "version": "0.2.0",
5
5
  "homepage": "https://github.com/Minearm-RPM/minearm",
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -18,39 +18,40 @@
18
18
  "pu": "ts-node ./pu.ts"
19
19
  },
20
20
  "dependencies": {
21
- "@astrojs/markdown-remark": "^6.0.1",
22
- "@astrojs/mdx": "^4.0.3",
23
- "@astrojs/rss": "^4.0.11",
24
- "@duannx/vue-client-only": "^1.0.3",
25
- "@fortawesome/fontawesome-svg-core": "^6.4.0",
26
- "@fortawesome/free-solid-svg-icons": "^6.4.0",
27
- "@iconify-json/tabler": "^1.2.8",
28
- "astro": "^5.1.2",
29
- "astro-i18next": "^1.0.0-beta.21",
30
- "astro-icon": "^1.1.2",
31
- "fuse.js": "^6.6.2",
32
- "glob": "^10.3.3",
33
- "hastscript": "^7.2.0",
34
- "html-loader": "^5.1.0",
35
- "markdown-loader": "^8.0.0",
36
- "marked": "^15.0.0",
37
- "mdast-util-to-string": "^4.0.0",
38
- "pnpm": "^9.14.2",
39
- "reading-time": "^1.5.0",
21
+ "@astrojs/markdown-remark": "6.0.2",
22
+ "@astrojs/mdx": "4.0.7",
23
+ "@astrojs/rss": "4.0.11",
24
+ "@duannx/vue-client-only": "1.0.3",
25
+ "@fortawesome/fontawesome-svg-core": "6.7.2",
26
+ "@fortawesome/free-solid-svg-icons": "6.7.2",
27
+ "@iconify-json/tabler": "1.2.15",
28
+ "astro": "5.1.10",
29
+ "astro-i18next": "1.0.0-beta.21",
30
+ "astro-icon": "1.1.5",
31
+ "fuse.js": "7.0.0",
32
+ "glob": "11.0.1",
33
+ "hastscript": "9.0.0",
34
+ "html-loader": "5.1.0",
35
+ "markdown-loader": "8.0.0",
36
+ "marked": "15.0.6",
37
+ "mdast-util-to-string": "4.0.0",
38
+ "minearm-website": "^0.1.3",
39
+ "pnpm": "9.15.4",
40
+ "reading-time": "1.5.0",
40
41
  "rehype-katex": "7.0.1",
41
42
  "rehype-mathjax": "6.0.0",
42
- "remark-directive": "3.0.0",
43
+ "remark-directive": "3.0.1",
43
44
  "remark-gfm": "4.0.0",
44
45
  "remark-math": "6.0.0",
45
- "showdown": "^2.1.0",
46
- "yargs": "^17.7.2"
46
+ "showdown": "2.1.0",
47
+ "yargs": "17.7.2"
47
48
  },
48
49
  "devDependencies": {
49
- "@astrojs/sitemap": "^3.2.1",
50
- "@astrojs/vue": "^5.0.4",
51
- "@types/yargs": "^17.0.24",
50
+ "@astrojs/sitemap": "3.2.1",
51
+ "@astrojs/vue": "5.0.6",
52
+ "@types/yargs": "17.0.33",
52
53
  "sass": "1.70.0",
53
- "scss": "^0.2.4",
54
+ "scss": "0.2.4",
54
55
  "ts-node": "10.9.2",
55
56
  "vue": "^3.5.13"
56
57
  },
@@ -1,4 +1,4 @@
1
- {
2
- "totalWordCounts": 896,
3
- "totalPostCounts": 2
1
+ {
2
+ "totalWordCounts": 1172,
3
+ "totalPostCounts": 3
4
4
  }