@nuasite/core 0.0.6 → 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/README.md +35 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,15 +1,44 @@
|
|
|
1
|
-
# core
|
|
1
|
+
# @nuasite/core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
`@nuasite/core` is the dependency manifest that keeps Nua Site projects in sync
|
|
4
|
+
with the toolchain used by the hosted platform. It pins the versions of the
|
|
5
|
+
Astro integrations our builders expect so your local project matches the
|
|
6
|
+
environment that deploys it.
|
|
7
|
+
|
|
8
|
+
## Included tooling
|
|
9
|
+
|
|
10
|
+
Installing `@nuasite/core` adds the following peer dependencies to your project:
|
|
11
|
+
|
|
12
|
+
- `@astrojs/check` – type-aware diagnostics for Astro/TypeScript.
|
|
13
|
+
- `@astrojs/mdx` – Markdown+JSX content authoring with shared layouts.
|
|
14
|
+
- `@astrojs/rss` – RSS feed generation for blog-style sites.
|
|
15
|
+
- `@astrojs/sitemap` – sitemap generation aligned with Nua Site routing.
|
|
16
|
+
|
|
17
|
+
Keeping these packages aligned with `@nuasite/core` avoids version drift between
|
|
18
|
+
local dev, CI, and the Nua Site build service.
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
4
21
|
|
|
5
22
|
```bash
|
|
6
|
-
bun
|
|
23
|
+
bun add -d @nuasite/core
|
|
7
24
|
```
|
|
8
25
|
|
|
9
|
-
|
|
26
|
+
The package only ships metadata, so there is nothing to import at runtime.
|
|
27
|
+
Include it in `devDependencies` (or `dependencies` if you prefer) and run
|
|
28
|
+
`bun install`. Bun/npm/pnpm will ensure the required peer dependencies are
|
|
29
|
+
present—if you are missing one it will tell you exactly what to add.
|
|
30
|
+
|
|
31
|
+
When combined with `@nuasite/nua` or `@nuasite/build`, this gives you the same
|
|
32
|
+
stack that powers sites maintained through [Nua Site](https://www.nuasite.com).
|
|
33
|
+
|
|
34
|
+
## Updating
|
|
35
|
+
|
|
36
|
+
To pick up the latest integration versions that Nua Site supports, bump the
|
|
37
|
+
package and reinstall:
|
|
10
38
|
|
|
11
39
|
```bash
|
|
12
|
-
bun
|
|
40
|
+
bun up @nuasite/core
|
|
13
41
|
```
|
|
14
42
|
|
|
15
|
-
|
|
43
|
+
Because the package is just a manifest, updates are fast and low risk—your site
|
|
44
|
+
continues to control its own Astro config while inheriting the vetted baseline.
|