@zpress/config 0.2.0 → 0.2.2

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 CHANGED
@@ -52,7 +52,7 @@ export default defineConfig({
52
52
 
53
53
  ```json
54
54
  {
55
- "$schema": "https://raw.githubusercontent.com/joggrdocs/zpress/v0.1.0/packages/config/schemas/schema.json",
55
+ "$schema": "https://raw.githubusercontent.com/joggrdocs/zpress/v0.2.0/packages/config/schemas/schema.json",
56
56
  "title": "My Documentation",
57
57
  "theme": {
58
58
  "name": "arcade",
@@ -70,7 +70,7 @@ export default defineConfig({
70
70
  ### YAML Config with Schema
71
71
 
72
72
  ```yaml
73
- # yaml-language-server: $schema=https://raw.githubusercontent.com/joggrdocs/zpress/v0.1.0/packages/config/schemas/schema.json
73
+ # yaml-language-server: $schema=https://raw.githubusercontent.com/joggrdocs/zpress/v0.2.0/packages/config/schemas/schema.json
74
74
 
75
75
  title: My Documentation
76
76
  theme:
@@ -165,7 +165,7 @@ Add `$schema` property to your `zpress.config.json`:
165
165
 
166
166
  ```json
167
167
  {
168
- "$schema": "https://raw.githubusercontent.com/joggrdocs/zpress/v0.1.0/packages/config/schemas/schema.json"
168
+ "$schema": "https://raw.githubusercontent.com/joggrdocs/zpress/v0.2.0/packages/config/schemas/schema.json"
169
169
  }
170
170
  ```
171
171
 
@@ -174,7 +174,7 @@ Add `$schema` property to your `zpress.config.json`:
174
174
  Add a modeline comment to your `zpress.config.yaml`:
175
175
 
176
176
  ```yaml
177
- # yaml-language-server: $schema=https://raw.githubusercontent.com/joggrdocs/zpress/v0.1.0/packages/config/schemas/schema.json
177
+ # yaml-language-server: $schema=https://raw.githubusercontent.com/joggrdocs/zpress/v0.2.0/packages/config/schemas/schema.json
178
178
  ```
179
179
 
180
180
  ### Versioned Schemas
@@ -314,7 +314,7 @@ function configErrorFromZod(zodError: z.ZodError): ConfigError
314
314
 
315
315
  Re-exported from `@zpress/theme`:
316
316
 
317
- - `THEME_NAMES` - Array of built-in theme names: `['base', 'midnight', 'arcade', 'arcade-fx']`
317
+ - `THEME_NAMES` - Array of built-in theme names: `['base', 'midnight', 'arcade']`
318
318
  - `COLOR_MODES` - Array of valid color modes: `['dark', 'light', 'toggle']`
319
319
  - `ICON_COLORS` - Array of built-in icon colors: `['purple', 'blue', 'green', 'amber', 'cyan', 'red', 'pink', 'slate']`
320
320
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zpress/config",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Configuration loading and validation for zpress",
5
5
  "keywords": [
6
6
  "config",
@@ -40,7 +40,7 @@
40
40
  "ts-pattern": "^5.9.0",
41
41
  "type-fest": "^5.4.4",
42
42
  "zod": "^4.3.6",
43
- "@zpress/theme": "0.2.0"
43
+ "@zpress/theme": "0.3.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@rslib/core": "^0.20.0",
@@ -55,6 +55,7 @@
55
55
  "scripts": {
56
56
  "build": "tsx scripts/generate-schema.ts && rslib build",
57
57
  "dev": "rslib build --watch --no-clean",
58
+ "test": "vitest run",
58
59
  "typecheck": "tsc --noEmit",
59
60
  "generate:schema": "tsx scripts/generate-schema.ts"
60
61
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://raw.githubusercontent.com/joggrdocs/zpress/v0.2.0/packages/config/schemas/schema.json",
3
+ "$id": "https://raw.githubusercontent.com/joggrdocs/zpress/v0.2.2/packages/config/schemas/schema.json",
4
4
  "title": "Zpress Configuration",
5
5
  "description": "Configuration file for zpress documentation framework",
6
6
  "$ref": "#/definitions/ZpressConfig",