Skip to content

Commit

Permalink
feat(cli): fern jsonschema <output-filename> --type <typeId> (#4952)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi authored Oct 19, 2024
1 parent cfd1918 commit 8b96a9e
Show file tree
Hide file tree
Showing 619 changed files with 54,452 additions and 254 deletions.
2 changes: 1 addition & 1 deletion generators/commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"devDependencies": {
"@types/js-yaml": "^4.0.8",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"globals": "link:@types/vitest/globals",
Expand Down
2 changes: 1 addition & 1 deletion generators/csharp/codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"organize-imports-cli": "^0.10.0",
Expand Down
2 changes: 1 addition & 1 deletion generators/csharp/model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@fern-fern/ir-sdk": "^53.7.0",
"zod": "^3.22.3",
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.14",
"depcheck": "^1.4.6",
"esbuild": "^0.24.0",
Expand Down
2 changes: 1 addition & 1 deletion generators/csharp/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"zod": "^3.22.3",
"@types/jest": "^29.5.12",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.14",
"depcheck": "^1.4.6",
"esbuild": "^0.24.0",
Expand Down
2 changes: 1 addition & 1 deletion generators/openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@types/jest": "^29.5.12",
"@types/js-yaml": "^4.0.8",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.14",
"depcheck": "^1.4.6",
"esbuild": "^0.24.0",
Expand Down
2 changes: 1 addition & 1 deletion generators/php/codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@fern-fern/ir-sdk": "^53.7.0",
"zod": "^3.22.3",
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"organize-imports-cli": "^0.10.0",
Expand Down
2 changes: 1 addition & 1 deletion generators/php/model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@fern-api/php-codegen": "workspace:*",
"@fern-fern/ir-sdk": "^53.7.0",
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.14",
"depcheck": "^1.4.6",
"esbuild": "^0.24.0",
Expand Down
2 changes: 1 addition & 1 deletion generators/php/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@fern-fern/ir-sdk": "^53.7.0",
"@types/jest": "^29.5.12",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.14",
"depcheck": "^1.4.6",
"esbuild": "^0.24.0",
Expand Down
2 changes: 1 addition & 1 deletion generators/postman/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@fern-fern/postman-sdk": "0.1.1",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.4",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.14",
"depcheck": "^1.4.6",
"endent": "^2.1.0",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@
"dependencies": {
"@fern-api/core-utils": "workspace:*",
"@fern-api/generator-commons": "workspace:*",
"@fern-fern/ir-sdk": "^53.7.0",
"@fern-fern/ir-sdk": "53.7.0",
"@wasm-fmt/ruff_fmt": "^0.6.1"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"organize-imports-cli": "^0.10.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion generators/ruby/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
2 changes: 1 addition & 1 deletion generators/ruby/codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"organize-imports-cli": "^0.10.0",
Expand Down
2 changes: 1 addition & 1 deletion generators/ruby/model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@fern-fern/generator-exec-sdk": "^0.0.898",
"@fern-fern/ir-sdk": "^39",
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.14",
"depcheck": "^1.4.6",
"esbuild": "^0.24.0",
Expand Down
2 changes: 1 addition & 1 deletion generators/ruby/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@fern-fern/generator-exec-sdk": "^0.0.898",
"@fern-fern/ir-sdk": "^39",
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.14",
"depcheck": "^1.4.6",
"esbuild": "^0.24.0",
Expand Down
2 changes: 1 addition & 1 deletion generators/swift/codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.14",
"depcheck": "^1.4.6",
"esbuild": "^0.24.0",
Expand Down
2 changes: 1 addition & 1 deletion generators/typescript/codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@fern-api/generator-commons": "workspace:*",
"@fern-fern/ir-sdk": "53.8.0",
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"organize-imports-cli": "^0.10.0",
Expand Down
2 changes: 1 addition & 1 deletion generators/typescript/express/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@ts-morph/common": "^0.25.0",
"@types/jest": "^29.5.12",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@types/tmp": "^0.2.4",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
2 changes: 1 addition & 1 deletion generators/typescript/express/generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
2 changes: 1 addition & 1 deletion generators/typescript/model/type-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
2 changes: 1 addition & 1 deletion generators/typescript/model/union-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
2 changes: 1 addition & 1 deletion generators/typescript/playground/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"url-join": "^5.0.0"
},
"devDependencies": {
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@types/node-fetch": "2.6.9",
"@types/qs": "6.9.15",
"@types/react": "^18.2.43",
Expand Down
2 changes: 1 addition & 1 deletion generators/typescript/sdk/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@ts-morph/common": "^0.25.0",
"@types/jest": "^29.5.12",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@types/tmp": "^0.2.4",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
2 changes: 1 addition & 1 deletion generators/typescript/sdk/generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/jest-specific-snapshot": "^0.5.9",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"@types/url-join": "4.0.1",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
2 changes: 1 addition & 1 deletion generators/typescript/sdk/sdk-error-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.7.18",
"@types/node": "18.7.18",
"depcheck": "^1.4.6",
"eslint": "^8.56.0",
"vitest": "^2.0.5",
Expand Down
Loading

0 comments on commit 8b96a9e

Please sign in to comment.