You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- this implementation avoids the use of `typeChecker.getTypeAtLocation()` (so probably it keeps correct type aliases)
12
-
- processing AST and formatting JSON schema have been split into two independent steps
13
-
- not exported types, interfaces, enums are not exposed in the `definitions` section in the JSON schema
14
+
- this implementation avoids the use of `typeChecker.getTypeAtLocation()` (so
15
+
probably it keeps correct type aliases)
16
+
- processing AST and formatting JSON schema have been split into two independent
17
+
steps
18
+
- not exported types, interfaces, enums are not exposed in the `definitions`
19
+
section in the JSON schema
14
20
15
21
## Contributors
16
22
17
-
This project is made possible by a [community of contributors](https://github.com/vega/ts-json-schema-generator/graphs/contributors). We welcome contributions of any kind (issues, code, documentation, examples, tests,...). Please read our [code of conduct](https://vega.github.io/vega/about/code-of-conduct).
23
+
This project is made possible by a
24
+
[community of contributors](https://github.com/vega/ts-json-schema-generator/graphs/contributors).
25
+
We welcome contributions of any kind (issues, code, documentation, examples,
26
+
tests,...). Please read our
27
+
[code of conduct](https://vega.github.io/vega/about/code-of-conduct).
Note that different platforms (e.g. Windows) may use different path separators so you may have to adjust the command above.
44
+
Note that different platforms (e.g. Windows) may use different path separators
45
+
so you may have to adjust the command above.
35
46
36
-
Also note that you need to quote paths with `*` as otherwise the shell will expand the paths and therefore only pass the first path to the generator.
47
+
Also note that you need to quote paths with `*` as otherwise the shell will
48
+
expand the paths and therefore only pass the first path to the generator.
37
49
38
-
By default, the command-line generator will use the `tsconfig.json` file in the current working directory, or the first parent directory that contains a `tsconfig.json` file up to the root of the filesystem. If you want to use a different `tsconfig.json` file, you can use the `--tsconfig` option. In particular, if you need to use different compilation options for types, you may want to create a separate `tsconfig.json` file for the schema generation only.
50
+
By default, the command-line generator will use the `tsconfig.json` file in the
51
+
current working directory, or the first parent directory that contains a
52
+
`tsconfig.json` file up to the root of the filesystem. If you want to use a
53
+
different `tsconfig.json` file, you can use the `--tsconfig` option. In
54
+
particular, if you need to use different compilation options for types, you may
55
+
want to create a separate `tsconfig.json` file for the schema generation only.
--markdown-description Generate `markdownDescription` in addition to `description`.
50
-
--functions <functions> How to handle functions. `fail` will throw an error. `comment` will add a comment. `hide` will treat the function like a NeverType or HiddenType.
--markdown-description Generate `markdownDescription` in addition to `description`.
67
+
--functions <functions> How to handle functions. `fail` will throw an error. `comment` will add a comment. `hide` will treat the function like a NeverType or HiddenType.
@@ -250,9 +303,17 @@ And connect via the debugger protocol.
250
303
251
304
## Publish
252
305
253
-
Publishing is handled by a 2-branch [pre-release process](https://intuit.github.io/auto/docs/generated/shipit#next-branch-default), configured in `publish-auto.yml`. All changes should be based off the default `next` branch, and are published automatically.
254
-
255
-
- PRs made into the default branch are auto-deployed to the `next` pre-release tag on NPM. The result can be installed with `npm install ts-json-schema-generator@next`
256
-
- When merging into `next`, please use the `squash and merge` strategy.
257
-
- To release a new stable version, open a PR from `next` into `stable` using this [compare link](https://github.com/vega/ts-json-schema-generator/compare/stable...next).
258
-
- When merging from `next` into `stable`, please use the `create a merge commit` strategy.
0 commit comments