@markuplint/ml-spec 5.0.0-rc.0 → 5.0.0-rc.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/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@markuplint/ml-spec",
3
- "version": "5.0.0-rc.0",
3
+ "version": "5.0.0-rc.2",
4
4
  "description": "Types and schema that specs of the Markup languages for markuplint",
5
- "repository": "git@github.com:markuplint/markuplint.git",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/markuplint/markuplint.git",
8
+ "directory": "packages/@markuplint/ml-spec"
9
+ },
6
10
  "author": "Yusuke Hirao <yusukehirao@me.com>",
7
11
  "license": "MIT",
8
12
  "engines": {
@@ -25,23 +29,21 @@
25
29
  "build": "tsc --project tsconfig.build.json",
26
30
  "dev": "tsc --watch --project tsconfig.build.json",
27
31
  "clean": "tsc --build --clean tsconfig.build.json",
28
- "schema": "run-s schema:json schema:content-models schema:attributes schema:aria schema:prettier schema:eslint schema:prettier",
29
- "schema:json": "tsx ./gen/gen.ts",
32
+ "schema": "run-s schema:json schema:content-models schema:attributes schema:aria",
33
+ "schema:json": "npx tsx ./gen/gen.ts",
30
34
  "schema:content-models": "npx json2ts ./schemas/content-models.schema.json > ./src/types/permitted-structures.ts",
31
35
  "schema:attributes": "npx json2ts ./schemas/attributes.schema.json --cwd ./schemas > ./src/types/attributes.ts",
32
- "schema:aria": "npx json2ts ./schemas/aria.schema.json --cwd ./schemas > ./src/types/aria.ts",
33
- "schema:eslint": "npx eslint --fix \"./src/types/*.ts\"",
34
- "schema:prettier": "npx prettier --write \"./schemas/*.json\" \"./src/types/*.ts\" --log-level warn"
36
+ "schema:aria": "npx json2ts ./schemas/aria.schema.json --cwd ./schemas > ./src/types/aria.ts"
35
37
  },
36
38
  "dependencies": {
37
- "@markuplint/ml-ast": "5.0.0-rc.0",
38
- "@markuplint/types": "5.0.0-rc.0",
39
+ "@markuplint/ml-ast": "5.0.0-rc.2",
40
+ "@markuplint/types": "5.0.0-rc.2",
39
41
  "is-plain-object": "5.0.0",
40
- "type-fest": "5.4.4"
42
+ "type-fest": "5.5.0"
41
43
  },
42
44
  "devDependencies": {
43
- "@markuplint/test-tools": "5.0.0-rc.0",
45
+ "@markuplint/test-tools": "5.0.0-rc.2",
44
46
  "json-schema-to-typescript": "15.0.4"
45
47
  },
46
- "gitHead": "ebf4d7cfca0c259aead3b292c6b8a202db4cd802"
48
+ "gitHead": "e43763858d9234c417053becc73dbd088c1e7ea6"
47
49
  }