@cloudcannon/configuration-types 0.0.3 → 0.0.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcannon/configuration-types",
3
- "version": "0.0.3",
4
- "description": "Contains types and generates JSON Schemas for the CloudCannon configuration file.",
3
+ "version": "0.0.5",
4
+ "description": "Contains TypeScript declarations and generates JSONSchema files for the CloudCannon configuration file.",
5
5
  "author": "CloudCannon <support@cloudcannon.com>",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -18,10 +18,11 @@
18
18
  "email": "support@cloudcannon.com"
19
19
  },
20
20
  "scripts": {
21
- "build:default": "ts-json-schema-generator --path src/index.ts --type Configuration > build/cloudcannon-config.json",
22
- "build:eleventy": "ts-json-schema-generator --path src/index.ts --type EleventyConfiguration > build/cloudcannon-config-eleventy.json",
23
- "build:jekyll": "ts-json-schema-generator --path src/index.ts --type JekyllConfiguration > build/cloudcannon-config-jekyll.json",
24
- "build:hugo": "ts-json-schema-generator --path src/index.ts --type HugoConfiguration > build/cloudcannon-config-hugo.json",
21
+ "build:unknown": "ts-json-schema-generator --markdown-description --path src/index.d.ts --type Configuration --out build/cloudcannon-config.json",
22
+ "build:default": "ts-json-schema-generator --markdown-description --path src/index.d.ts --type DefaultConfiguration --out build/cloudcannon-config-default.json",
23
+ "build:eleventy": "ts-json-schema-generator --markdown-description --path src/index.d.ts --type EleventyConfiguration --out build/cloudcannon-config-eleventy.json",
24
+ "build:jekyll": "ts-json-schema-generator --markdown-description --path src/index.d.ts --type JekyllConfiguration --out build/cloudcannon-config-jekyll.json",
25
+ "build:hugo": "ts-json-schema-generator --markdown-description --path src/index.d.ts --type HugoConfiguration --out build/cloudcannon-config-hugo.json",
25
26
  "build": "run-p build:*",
26
27
  "prebuild": "mkdir -p build && rimraf --glob 'build/*.json'",
27
28
  "test": "exit 0"
@@ -32,14 +33,18 @@
32
33
  "access": "public"
33
34
  },
34
35
  "files": [
35
- "src/**/*"
36
+ "src/**/*",
37
+ "build/**/*"
36
38
  ],
37
39
  "dependencies": {
38
- "ts-json-schema-generator": "^1.3.0"
40
+ "@cloudcannon/snippet-types": "^1.1.11",
41
+ "ts-json-schema-generator": "^2.2.0"
39
42
  },
40
43
  "devDependencies": {
44
+ "@types/node": "^20.13.0",
41
45
  "npm-run-all": "^4.1.5",
42
- "prettier": "^3.0.3",
43
- "rimraf": "^5.0.5"
46
+ "prettier": "^3.2.5",
47
+ "prettier-plugin-jsdoc": "^1.3.0",
48
+ "rimraf": "^5.0.7"
44
49
  }
45
50
  }