@krate/core 0.4.0-rc.4 → 0.4.0-rc.6

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/bin/krate CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/bin/krate
3
- size: 35238153 bytes
4
- sha256: bf5622981d1bde1ecdf48809acc2068c41c84e5e18ee3776affeb0618b18cea4
3
+ size: 36036873 bytes
4
+ sha256: 92e967c5dea26389e3808c22d4884ce7c6abd4f39548795556a71919cf6b6691
package/dist/cli.js CHANGED
@@ -47,7 +47,7 @@ async function main() {
47
47
  const cmd = args[0];
48
48
  // Commands handled by the JS wrapper itself (cross-platform scaffolding) or
49
49
  // that need no Go binary. Everything else is forwarded to the native binary so
50
- // the two command lists cannot drift — a missing entry here was previously
50
+ // the two command lists cannot drift - a missing entry here was previously
51
51
  // swallowing `krate types` and `krate check`.
52
52
  switch (cmd) {
53
53
  case 'init':
package/dist/config.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Typed configuration helpers for Krate.
3
3
  *
4
4
  * Use `defineConfig` in `krate.config.ts` to get full type-checking of every
5
- * supported config key — unknown or misspelled keys will fail to compile.
5
+ * supported config key - unknown or misspelled keys will fail to compile.
6
6
  *
7
7
  * ```ts
8
8
  * import { defineConfig, sitemap, docs } from '@krate/core';
@@ -155,9 +155,9 @@ export interface DocsPluginOptions {
155
155
  */
156
156
  layout?: string;
157
157
  /**
158
- * Docs theme — the component every generated docs page is rendered through.
158
+ * Docs theme - the component every generated docs page is rendered through.
159
159
  * Like {@link layout}: a root-relative file path (`./` or `/`) or an npm
160
- * package name (a docs theme installed from a registry) — or a theme
160
+ * package name (a docs theme installed from a registry) - or a theme
161
161
  * descriptor returned by a theme factory (bare object). `theme` and
162
162
  * `layout` are aliases: set only one unless both resolve to the same
163
163
  * component.
@@ -221,8 +221,8 @@ export interface KrateConfig {
221
221
  };
222
222
  /**
223
223
  * Multi-language docs. Locales live in subdirectories of the docs content dir
224
- * (`src/content/docs/<locale>/…`); the default locale is unprefixed
225
- * (`/docs/…`) and others are path-prefixed (`/fr/docs/…`).
224
+ * (`src/content/docs/<locale>/...`); the default locale is unprefixed
225
+ * (`/docs/...`) and others are path-prefixed (`/fr/docs/...`).
226
226
  */
227
227
  i18n?: {
228
228
  defaultLocale?: string;
@@ -231,7 +231,7 @@ export interface KrateConfig {
231
231
  };
232
232
  /**
233
233
  * Versioned docs. Versions live in subdirectories
234
- * (`src/content/docs/<version>/…`); the current version is unprefixed.
234
+ * (`src/content/docs/<version>/...`); the current version is unprefixed.
235
235
  */
236
236
  versions?: {
237
237
  current?: string;
@@ -347,7 +347,7 @@ export interface ContentCollection {
347
347
  /** The shape passed to {@link defineContent}. */
348
348
  export type ContentConfig = Record<string, ContentCollection>;
349
349
  /**
350
- * Define typed content collections. Optional identity helper — you can also
350
+ * Define typed content collections. Optional identity helper - you can also
351
351
  * pass a plain object to `defineConfig({ content: {...} })`; it exists purely
352
352
  * for type-checking and editor assistance.
353
353
  *
package/dist/config.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Typed configuration helpers for Krate.
3
3
  *
4
4
  * Use `defineConfig` in `krate.config.ts` to get full type-checking of every
5
- * supported config key — unknown or misspelled keys will fail to compile.
5
+ * supported config key - unknown or misspelled keys will fail to compile.
6
6
  *
7
7
  * ```ts
8
8
  * import { defineConfig, sitemap, docs } from '@krate/core';
@@ -45,7 +45,7 @@ export function docs(options = {}) {
45
45
  return { name: "docs", order: 10, options };
46
46
  }
47
47
  /**
48
- * Define typed content collections. Optional identity helper — you can also
48
+ * Define typed content collections. Optional identity helper - you can also
49
49
  * pass a plain object to `defineConfig({ content: {...} })`; it exists purely
50
50
  * for type-checking and editor assistance.
51
51
  *
package/install.js CHANGED
@@ -19,7 +19,7 @@ function resolveBinary() {
19
19
  const binary = join(pkgPath, 'bin', binaryName);
20
20
  if (existsSync(binary)) return binary;
21
21
  } catch {
22
- // Platform package not installed — fall through to local binary.
22
+ // Platform package not installed - fall through to local binary.
23
23
  }
24
24
  const local = join(binDir, binaryName);
25
25
  if (existsSync(local)) return local;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krate/core",
3
- "version": "0.4.0-rc.4",
3
+ "version": "0.4.0-rc.6",
4
4
  "description": "The Krate CLI — a Go-native static site generator with signal-based reactivity.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -37,20 +37,20 @@
37
37
  "install.js"
38
38
  ],
39
39
  "dependencies": {
40
- "@krate/plugin": "0.4.0-rc.4"
40
+ "@krate/plugin": "0.4.0-rc.6"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "^20.19.43",
44
44
  "typescript": "^5.5.0"
45
45
  },
46
46
  "optionalDependencies": {
47
- "@krate/core-darwin-arm64": "0.4.0-rc.4",
48
- "@krate/core-darwin-x64": "0.4.0-rc.4",
49
- "@krate/core-linux-arm64": "0.4.0-rc.4",
50
- "@krate/core-linux-x64": "0.4.0-rc.4",
51
- "@krate/core-linux-x64-musl": "0.4.0-rc.4",
52
- "@krate/core-win32-arm64": "0.4.0-rc.4",
53
- "@krate/core-win32-x64": "0.4.0-rc.4"
47
+ "@krate/core-darwin-arm64": "0.4.0-rc.6",
48
+ "@krate/core-darwin-x64": "0.4.0-rc.6",
49
+ "@krate/core-linux-arm64": "0.4.0-rc.6",
50
+ "@krate/core-linux-x64": "0.4.0-rc.6",
51
+ "@krate/core-linux-x64-musl": "0.4.0-rc.6",
52
+ "@krate/core-win32-arm64": "0.4.0-rc.6",
53
+ "@krate/core-win32-x64": "0.4.0-rc.6"
54
54
  },
55
55
  "scripts": {
56
56
  "build": "tsc",