starlight-recipes 0.0.1
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/README.md +15 -0
- package/index.ts +21 -0
- package/package.json +33 -0
package/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# `starlight-recipes`
|
|
2
|
+
|
|
3
|
+
Starlight plugin to create a recipe website.
|
|
4
|
+
|
|
5
|
+
## Documentation
|
|
6
|
+
|
|
7
|
+
Want to get started immediately?
|
|
8
|
+
|
|
9
|
+
Check out the `starlight-recipes` getting started guide.
|
|
10
|
+
|
|
11
|
+
## License
|
|
12
|
+
|
|
13
|
+
Licensed under the MIT license, Copyright © trueberryless.
|
|
14
|
+
|
|
15
|
+
See [LICENSE](/LICENSE) for more information.
|
package/index.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { StarlightPlugin } from "@astrojs/starlight/types";
|
|
2
|
+
|
|
3
|
+
export default function starlightRecipes(): StarlightPlugin {
|
|
4
|
+
return {
|
|
5
|
+
name: "starlight-recipes",
|
|
6
|
+
hooks: {
|
|
7
|
+
"config:setup"({ logger }) {
|
|
8
|
+
/**
|
|
9
|
+
* This is the entry point of your Starlight plugin.
|
|
10
|
+
* The `config:setup` hook is called when Starlight is initialized (during the Astro `astro:config:setup`
|
|
11
|
+
* integration hook).
|
|
12
|
+
* To learn more about the Starlight plugin API and all available options in this hook, check the Starlight
|
|
13
|
+
* plugins reference.
|
|
14
|
+
*
|
|
15
|
+
* @see https://starlight.astro.build/reference/plugins/
|
|
16
|
+
*/
|
|
17
|
+
logger.info("Hello from the starlight-recipes plugin!");
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "starlight-recipes",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Starlight plugin to create a recipe website.",
|
|
5
|
+
"homepage": "https://github.com/trueberryless-org/starlight-recipes",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/trueberryless-org/starlight-recipes/issues"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/trueberryless-org/starlight-recipes.git",
|
|
12
|
+
"directory": "packages/starlight-recipes"
|
|
13
|
+
},
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"author": "trueberryless <trueberryless@gmail.com> (https://trueberryless.org)",
|
|
16
|
+
"type": "module",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": "./index.ts"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@astrojs/starlight": "^0.37.2",
|
|
22
|
+
"astro": "^5.16.7"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"@astrojs/starlight": ">=0.37"
|
|
26
|
+
},
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
|
|
29
|
+
},
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public"
|
|
32
|
+
}
|
|
33
|
+
}
|