@riebeckite/plugin-backlinks 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.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/package.json +8 -3
  3. package/style.css +45 -45
package/README.md CHANGED
@@ -69,6 +69,6 @@ an eyebrow label and a list of links to each backlink's resolved `permalink`.
69
69
 
70
70
  ## See also
71
71
 
72
- - [Plugin guide](../../docs/plugins_en.md)
73
- - [`@riebeckite/plugin-local-graph`](../plugin-local-graph/README.md)
74
- - [`@riebeckite/plugin-garden-explorer`](../plugin-garden-explorer/README.md)
72
+ - [Plugin guide](../../../docs/en/plugin-system.md)
73
+ - [`@riebeckite/plugin-local-graph`](../local-graph/README.md)
74
+ - [`@riebeckite/plugin-garden-explorer`](../garden-explorer/README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-backlinks",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,11 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "hono": "^4.12.25",
25
- "@riebeckite/core": "0.0.5"
25
+ "@riebeckite/core": "0.0.7"
26
+ },
27
+ "devDependencies": {
28
+ "tsx": "^4.22.4",
29
+ "@riebeckite/test": "0.0.7"
26
30
  },
27
31
  "publishConfig": {
28
32
  "access": "public"
@@ -57,6 +61,7 @@
57
61
  "./style.css"
58
62
  ],
59
63
  "scripts": {
60
- "build": "node ../../../scripts/build_package.mjs"
64
+ "build": "node ../../../scripts/build_package.mjs",
65
+ "test": "node --import tsx --test \"test/*.test.ts\""
61
66
  }
62
67
  }
package/style.css CHANGED
@@ -1,45 +1,45 @@
1
- .article-backlinks {
2
- margin-top: 4rem;
3
- padding-top: 1.5rem;
4
- border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
5
- }
6
-
7
- .article-backlinks__eyebrow {
8
- margin: 0 0 0.25rem;
9
- font-size: 0.75rem;
10
- font-weight: 700;
11
- letter-spacing: 0.12em;
12
- text-transform: uppercase;
13
- opacity: 0.62;
14
- }
15
-
16
- .article-backlinks__title {
17
- margin: 0;
18
- font-size: 1.15rem;
19
- line-height: 1.4;
20
- }
21
-
22
- .article-backlinks__list {
23
- display: grid;
24
- gap: 0.5rem;
25
- margin: 1rem 0 0;
26
- padding: 0;
27
- list-style: none;
28
- }
29
-
30
- .article-backlinks__item {
31
- margin: 0;
32
- }
33
-
34
- .article-backlinks__link {
35
- display: block;
36
- padding: 0.75rem 0.875rem;
37
- border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
38
- border-radius: 0.75rem;
39
- text-decoration: none;
40
- }
41
-
42
- .article-backlinks__link:hover {
43
- border-color: color-mix(in srgb, currentColor 28%, transparent);
44
- background: color-mix(in srgb, currentColor 4%, transparent);
45
- }
1
+ .article-backlinks {
2
+ margin-top: 4rem;
3
+ padding-top: 1.5rem;
4
+ border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
5
+ }
6
+
7
+ .article-backlinks__eyebrow {
8
+ margin: 0 0 0.25rem;
9
+ font-size: 0.75rem;
10
+ font-weight: 700;
11
+ letter-spacing: 0.12em;
12
+ text-transform: uppercase;
13
+ opacity: 0.62;
14
+ }
15
+
16
+ .article-backlinks__title {
17
+ margin: 0;
18
+ font-size: 1.15rem;
19
+ line-height: 1.4;
20
+ }
21
+
22
+ .article-backlinks__list {
23
+ display: grid;
24
+ gap: 0.5rem;
25
+ margin: 1rem 0 0;
26
+ padding: 0;
27
+ list-style: none;
28
+ }
29
+
30
+ .article-backlinks__item {
31
+ margin: 0;
32
+ }
33
+
34
+ .article-backlinks__link {
35
+ display: block;
36
+ padding: 0.75rem 0.875rem;
37
+ border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
38
+ border-radius: 0.75rem;
39
+ text-decoration: none;
40
+ }
41
+
42
+ .article-backlinks__link:hover {
43
+ border-color: color-mix(in srgb, currentColor 28%, transparent);
44
+ background: color-mix(in srgb, currentColor 4%, transparent);
45
+ }