From b86a3ff359683685b59bef8ac382fc03a74ee1f5 Mon Sep 17 00:00:00 2001 From: Jordan Shatford Date: Wed, 3 Apr 2024 10:45:43 +1100 Subject: [PATCH] feat(repository): use monorepo setup --- .github/workflows/coverage.yml | 2 +- .gitignore | 4 - README.md | 6 + package-lock.json | 1448 ++++++----------- package.json | 115 +- .../openapi-ts/.eslintignore | 0 .../openapi-ts/.eslintrc.json | 0 packages/openapi-ts/.gitignore | 18 + .../openapi-ts/.prettierignore | 0 .../openapi-ts/.prettierrc.json | 0 .../openapi-ts/CHANGELOG-old.md | 0 .../openapi-ts/CHANGELOG.md | 0 {bin => packages/openapi-ts/bin}/index.js | 0 packages/openapi-ts/package.json | 112 ++ .../openapi-ts/rollup.config.ts | 0 .../openapi-ts/rollup.dts.config.ts | 0 .../openapi-ts/src}/index.spec.ts | 0 {src => packages/openapi-ts/src}/index.ts | 0 .../openapi-ts/src}/node/index.ts | 0 .../openapi-ts/src}/node/tsconfig.json | 0 .../src}/openApi/__tests__/index.spec.ts | 0 .../openApi/common/interfaces/Dictionary.ts | 0 .../src}/openApi/common/interfaces/OpenApi.ts | 0 .../src}/openApi/common/interfaces/Type.ts | 0 .../common/interfaces/WithEnumExtension.ts | 0 .../src}/openApi/common/interfaces/client.ts | 0 .../parser/__tests__/getPattern.spec.ts | 0 .../common/parser/__tests__/getRef.spec.ts | 0 .../common/parser/__tests__/operation.spec.ts | 0 .../common/parser/__tests__/sanitize.spec.ts | 0 .../common/parser/__tests__/service.spec.ts | 0 .../common/parser/__tests__/sort.spec.ts | 0 .../parser/__tests__/stripNamespace.spec.ts | 0 .../common/parser/__tests__/type.spec.ts | 0 .../src}/openApi/common/parser/getDefault.ts | 0 .../src}/openApi/common/parser/getEnums.ts | 0 .../src}/openApi/common/parser/getPattern.ts | 0 .../src}/openApi/common/parser/getRef.ts | 0 .../src}/openApi/common/parser/operation.ts | 0 .../openApi/common/parser/reservedWords.ts | 0 .../src}/openApi/common/parser/sanitize.ts | 0 .../src}/openApi/common/parser/service.ts | 0 .../src}/openApi/common/parser/sort.ts | 0 .../openApi/common/parser/stripNamespace.ts | 0 .../src}/openApi/common/parser/type.ts | 0 .../openapi-ts/src}/openApi/index.ts | 0 .../openapi-ts/src}/openApi/v2/index.ts | 0 .../Extensions/WithNullableExtension.ts | 0 .../src}/openApi/v2/interfaces/OpenApi.ts | 0 .../openApi/v2/interfaces/OpenApiContact.ts | 0 .../openApi/v2/interfaces/OpenApiExample.ts | 0 .../v2/interfaces/OpenApiExternalDocs.ts | 0 .../openApi/v2/interfaces/OpenApiHeader.ts | 0 .../src}/openApi/v2/interfaces/OpenApiInfo.ts | 0 .../openApi/v2/interfaces/OpenApiItems.ts | 0 .../openApi/v2/interfaces/OpenApiLicense.ts | 0 .../openApi/v2/interfaces/OpenApiOperation.ts | 0 .../openApi/v2/interfaces/OpenApiParameter.ts | 0 .../src}/openApi/v2/interfaces/OpenApiPath.ts | 0 .../openApi/v2/interfaces/OpenApiReference.ts | 0 .../openApi/v2/interfaces/OpenApiResponse.ts | 0 .../openApi/v2/interfaces/OpenApiResponses.ts | 0 .../openApi/v2/interfaces/OpenApiSchema.ts | 0 .../interfaces/OpenApiSecurityRequirement.ts | 0 .../v2/interfaces/OpenApiSecurityScheme.ts | 0 .../src}/openApi/v2/interfaces/OpenApiTag.ts | 0 .../src}/openApi/v2/interfaces/OpenApiXml.ts | 0 .../v2/parser/__tests__/getServer.spec.ts | 0 .../v2/parser/__tests__/getServices.spec.ts | 0 .../src}/openApi/v2/parser/getModel.ts | 0 .../openApi/v2/parser/getModelComposition.ts | 0 .../openApi/v2/parser/getModelProperties.ts | 0 .../src}/openApi/v2/parser/getModels.ts | 0 .../src}/openApi/v2/parser/getOperation.ts | 0 .../v2/parser/getOperationParameter.ts | 0 .../v2/parser/getOperationParameters.ts | 0 .../openApi/v2/parser/getOperationResponse.ts | 0 .../v2/parser/getOperationResponses.ts | 0 .../openApi/v2/parser/getOperationResults.ts | 0 .../getRequiredPropertiesFromComposition.ts | 0 .../src}/openApi/v2/parser/getServer.ts | 0 .../src}/openApi/v2/parser/getServices.ts | 0 .../openapi-ts/src}/openApi/v3/index.ts | 0 .../src}/openApi/v3/interfaces/OpenApi.ts | 0 .../openApi/v3/interfaces/OpenApiCallback.ts | 0 .../v3/interfaces/OpenApiComponents.ts | 0 .../openApi/v3/interfaces/OpenApiContact.ts | 0 .../v3/interfaces/OpenApiDiscriminator.ts | 0 .../openApi/v3/interfaces/OpenApiEncoding.ts | 0 .../openApi/v3/interfaces/OpenApiExample.ts | 0 .../v3/interfaces/OpenApiExternalDocs.ts | 0 .../openApi/v3/interfaces/OpenApiHeader.ts | 0 .../src}/openApi/v3/interfaces/OpenApiInfo.ts | 0 .../openApi/v3/interfaces/OpenApiLicense.ts | 0 .../src}/openApi/v3/interfaces/OpenApiLink.ts | 0 .../openApi/v3/interfaces/OpenApiMediaType.ts | 0 .../openApi/v3/interfaces/OpenApiOAuthFlow.ts | 0 .../v3/interfaces/OpenApiOAuthFlows.ts | 0 .../openApi/v3/interfaces/OpenApiOperation.ts | 0 .../openApi/v3/interfaces/OpenApiParameter.ts | 0 .../src}/openApi/v3/interfaces/OpenApiPath.ts | 0 .../openApi/v3/interfaces/OpenApiPaths.ts | 0 .../openApi/v3/interfaces/OpenApiReference.ts | 0 .../v3/interfaces/OpenApiRequestBody.ts | 0 .../openApi/v3/interfaces/OpenApiResponse.ts | 0 .../openApi/v3/interfaces/OpenApiResponses.ts | 0 .../openApi/v3/interfaces/OpenApiSchema.ts | 0 .../interfaces/OpenApiSecurityRequirement.ts | 0 .../v3/interfaces/OpenApiSecurityScheme.ts | 0 .../openApi/v3/interfaces/OpenApiServer.ts | 0 .../v3/interfaces/OpenApiServerVariable.ts | 0 .../src}/openApi/v3/interfaces/OpenApiTag.ts | 0 .../src}/openApi/v3/interfaces/OpenApiXml.ts | 0 .../v3/parser/__tests__/getModel.spec.ts | 0 .../v3/parser/__tests__/getServer.spec.ts | 0 .../v3/parser/__tests__/getServices.spec.ts | 0 .../src}/openApi/v3/parser/discriminator.ts | 0 .../src}/openApi/v3/parser/getContent.ts | 0 .../src}/openApi/v3/parser/getModel.ts | 0 .../openApi/v3/parser/getModelComposition.ts | 0 .../openApi/v3/parser/getModelProperties.ts | 0 .../src}/openApi/v3/parser/getModels.ts | 0 .../v3/parser/getOperationParameter.ts | 0 .../v3/parser/getOperationParameters.ts | 0 .../v3/parser/getOperationRequestBody.ts | 0 .../openApi/v3/parser/getOperationResponse.ts | 0 .../v3/parser/getOperationResponses.ts | 0 .../openApi/v3/parser/getOperationResults.ts | 0 .../getRequiredPropertiesFromComposition.ts | 0 .../src}/openApi/v3/parser/getServer.ts | 0 .../src}/openApi/v3/parser/getServices.ts | 0 .../src}/openApi/v3/parser/inferType.ts | 0 .../src}/openApi/v3/parser/operation.ts | 0 .../openapi-ts/src}/templates/client.hbs | 0 .../src}/templates/core/ApiError.hbs | 0 .../src}/templates/core/ApiRequestOptions.hbs | 0 .../src}/templates/core/ApiResult.hbs | 0 .../src}/templates/core/BaseHttpRequest.hbs | 0 .../src}/templates/core/CancelablePromise.hbs | 0 .../src}/templates/core/HttpRequest.hbs | 0 .../src}/templates/core/OpenAPI.hbs | 0 .../templates/core/angular/getHeaders.hbs | 0 .../templates/core/angular/getRequestBody.hbs | 0 .../core/angular/getResponseBody.hbs | 0 .../core/angular/getResponseHeader.hbs | 0 .../src}/templates/core/angular/request.hbs | 0 .../templates/core/angular/sendRequest.hbs | 0 .../src}/templates/core/axios/getHeaders.hbs | 0 .../templates/core/axios/getRequestBody.hbs | 0 .../templates/core/axios/getResponseBody.hbs | 0 .../core/axios/getResponseHeader.hbs | 0 .../src}/templates/core/axios/request.hbs | 0 .../src}/templates/core/axios/sendRequest.hbs | 0 .../src}/templates/core/fetch/getHeaders.hbs | 0 .../templates/core/fetch/getRequestBody.hbs | 0 .../templates/core/fetch/getResponseBody.hbs | 0 .../core/fetch/getResponseHeader.hbs | 0 .../src}/templates/core/fetch/request.hbs | 0 .../src}/templates/core/fetch/sendRequest.hbs | 0 .../src}/templates/core/functions/base64.hbs | 0 .../core/functions/catchErrorCodes.hbs | 0 .../templates/core/functions/getFormData.hbs | 0 .../core/functions/getQueryString.hbs | 0 .../src}/templates/core/functions/getUrl.hbs | 0 .../src}/templates/core/functions/isBlob.hbs | 0 .../templates/core/functions/isFormData.hbs | 0 .../templates/core/functions/isString.hbs | 0 .../core/functions/isStringWithValue.hbs | 0 .../templates/core/functions/isSuccess.hbs | 0 .../src}/templates/core/functions/resolve.hbs | 0 .../src}/templates/core/request.hbs | 0 .../openapi-ts/src}/templates/core/types.hbs | 0 .../src}/templates/core/xhr/getHeaders.hbs | 0 .../templates/core/xhr/getRequestBody.hbs | 0 .../templates/core/xhr/getResponseBody.hbs | 0 .../templates/core/xhr/getResponseHeader.hbs | 0 .../src}/templates/core/xhr/request.hbs | 0 .../src}/templates/core/xhr/sendRequest.hbs | 0 .../openapi-ts/src}/templates/exportModel.hbs | 0 .../src}/templates/exportSchema.hbs | 0 .../src}/templates/exportService.hbs | 0 .../openapi-ts/src}/templates/index.hbs | 0 .../src}/templates/partials/base.hbs | 0 .../templates/partials/dataDestructure.hbs | 0 .../templates/partials/exportComposition.hbs | 0 .../src}/templates/partials/exportEnum.hbs | 0 .../templates/partials/exportInterface.hbs | 0 .../src}/templates/partials/exportType.hbs | 0 .../src}/templates/partials/isNullable.hbs | 0 .../src}/templates/partials/isReadOnly.hbs | 0 .../src}/templates/partials/isRequired.hbs | 0 .../partials/operationParameters.hbs | 0 .../templates/partials/operationResult.hbs | 0 .../templates/partials/operationTypes.hbs | 0 .../src}/templates/partials/requestConfig.hbs | 0 .../src}/templates/partials/schema.hbs | 0 .../src}/templates/partials/schemaArray.hbs | 0 .../templates/partials/schemaComposition.hbs | 0 .../templates/partials/schemaDictionary.hbs | 0 .../src}/templates/partials/schemaEnum.hbs | 0 .../src}/templates/partials/schemaGeneric.hbs | 0 .../templates/partials/schemaInterface.hbs | 0 .../src}/templates/partials/type.hbs | 0 .../src}/templates/partials/typeArray.hbs | 0 .../templates/partials/typeDictionary.hbs | 0 .../src}/templates/partials/typeEnum.hbs | 0 .../src}/templates/partials/typeGeneric.hbs | 0 .../src}/templates/partials/typeInterface.hbs | 0 .../templates/partials/typeIntersection.hbs | 0 .../src}/templates/partials/typeReference.hbs | 0 .../src}/templates/partials/typeUnion.hbs | 0 .../openapi-ts/src}/types/client.ts | 0 .../openapi-ts/src}/types/config.ts | 0 .../openapi-ts/src}/types/hbs.d.ts | 0 .../src}/utils/__tests__/enum.spec.ts | 0 .../src}/utils/__tests__/escapeName.spec.ts | 0 .../src}/utils/__tests__/handlebars.spec.ts | 0 .../utils/__tests__/isSubdirectory.spec.ts | 0 .../src}/utils/__tests__/sort.spec.ts | 0 .../src}/utils/__tests__/unique.spec.ts | 0 .../openapi-ts/src}/utils/enum.ts | 0 .../openapi-ts/src}/utils/escapeName.ts | 0 .../src}/utils/getHttpRequestName.ts | 0 .../openapi-ts/src}/utils/getOpenApiSpec.ts | 0 .../openapi-ts/src}/utils/handlebars.ts | 0 .../openapi-ts/src}/utils/isSubdirectory.ts | 0 .../openapi-ts/src}/utils/postprocess.ts | 0 .../openapi-ts/src}/utils/sort.ts | 0 .../openapi-ts/src}/utils/unique.ts | 0 .../src}/utils/write/__tests__/class.spec.ts | 0 .../src}/utils/write/__tests__/client.spec.ts | 0 .../src}/utils/write/__tests__/core.spec.ts | 0 .../src}/utils/write/__tests__/index.spec.ts | 0 .../src}/utils/write/__tests__/mocks.ts | 0 .../src}/utils/write/__tests__/models.spec.ts | 0 .../utils/write/__tests__/schemas.spec.ts | 0 .../utils/write/__tests__/services.spec.ts | 0 .../openapi-ts/src}/utils/write/class.ts | 0 .../openapi-ts/src}/utils/write/client.ts | 0 .../openapi-ts/src}/utils/write/core.ts | 0 .../openapi-ts/src}/utils/write/index.ts | 0 .../openapi-ts/src}/utils/write/models.ts | 0 .../openapi-ts/src}/utils/write/schemas.ts | 0 .../openapi-ts/src}/utils/write/services.ts | 0 .../test/generated}/v2/core/ApiError.ts.snap | 0 .../v2/core/ApiRequestOptions.ts.snap | 0 .../test/generated}/v2/core/ApiResult.ts.snap | 0 .../v2/core/CancelablePromise.ts.snap | 0 .../test/generated}/v2/core/OpenAPI.ts.snap | 0 .../test/generated}/v2/core/request.ts.snap | 0 .../test/generated}/v2/core/types.ts.snap | 0 .../test/generated}/v2/index.ts.snap | 0 .../test/generated}/v2/models.ts.snap | 0 .../test/generated}/v2/schemas.ts.snap | 0 .../test/generated}/v2/services.ts.snap | 0 .../test/generated}/v3/core/ApiError.ts.snap | 0 .../v3/core/ApiRequestOptions.ts.snap | 0 .../test/generated}/v3/core/ApiResult.ts.snap | 0 .../v3/core/CancelablePromise.ts.snap | 0 .../test/generated}/v3/core/OpenAPI.ts.snap | 0 .../test/generated}/v3/core/request.ts.snap | 0 .../test/generated}/v3/core/types.ts.snap | 0 .../test/generated}/v3/index.ts.snap | 0 .../test/generated}/v3/models.ts.snap | 0 .../test/generated}/v3/schemas.ts.snap | 0 .../test/generated}/v3/services.ts.snap | 0 .../v3_angular/core/ApiError.ts.snap | 0 .../v3_angular/core/ApiRequestOptions.ts.snap | 0 .../v3_angular/core/ApiResult.ts.snap | 0 .../v3_angular/core/OpenAPI.ts.snap | 0 .../v3_angular/core/request.ts.snap | 0 .../generated}/v3_angular/core/types.ts.snap | 0 .../test/generated}/v3_angular/index.ts.snap | 0 .../test/generated}/v3_angular/models.ts.snap | 0 .../generated}/v3_angular/schemas.ts.snap | 0 .../generated}/v3_angular/services.ts.snap | 0 .../generated}/v3_axios/core/ApiError.ts.snap | 0 .../v3_axios/core/ApiRequestOptions.ts.snap | 0 .../v3_axios/core/ApiResult.ts.snap | 0 .../v3_axios/core/CancelablePromise.ts.snap | 0 .../generated}/v3_axios/core/OpenAPI.ts.snap | 0 .../generated}/v3_axios/core/request.ts.snap | 0 .../generated}/v3_axios/core/types.ts.snap | 0 .../test/generated}/v3_axios/index.ts.snap | 0 .../generated}/v3_client/ApiClient.ts.snap | 0 .../v3_client/core/ApiError.ts.snap | 0 .../v3_client/core/ApiRequestOptions.ts.snap | 0 .../v3_client/core/ApiResult.ts.snap | 0 .../v3_client/core/BaseHttpRequest.ts.snap | 0 .../v3_client/core/CancelablePromise.ts.snap | 0 .../v3_client/core/FetchHttpRequest.ts.snap | 0 .../generated}/v3_client/core/OpenAPI.ts.snap | 0 .../generated}/v3_client/core/request.ts.snap | 0 .../generated}/v3_client/core/types.ts.snap | 0 .../test/generated}/v3_client/index.ts.snap | 0 .../test/generated}/v3_client/models.ts.snap | 0 .../generated}/v3_client/services.ts.snap | 0 .../test/generated}/v3_date/index.ts.snap | 0 .../test/generated}/v3_date/models.ts.snap | 0 .../test/generated}/v3_date/schemas.ts.snap | 0 .../v3_enums_typescript/core/ApiError.ts.snap | 0 .../core/ApiRequestOptions.ts.snap | 0 .../core/ApiResult.ts.snap | 0 .../core/CancelablePromise.ts.snap | 0 .../v3_enums_typescript/core/OpenAPI.ts.snap | 0 .../v3_enums_typescript/core/request.ts.snap | 0 .../v3_enums_typescript/core/types.ts.snap | 0 .../v3_enums_typescript/index.ts.snap | 0 .../v3_enums_typescript/models.ts.snap | 0 .../v3_enums_typescript/schemas.ts.snap | 0 .../v3_enums_typescript/services.ts.snap | 0 .../v3_experimental/core/ApiError.ts.snap | 0 .../core/ApiRequestOptions.ts.snap | 0 .../v3_experimental/core/ApiResult.ts.snap | 0 .../core/CancelablePromise.ts.snap | 0 .../v3_experimental/core/OpenAPI.ts.snap | 0 .../v3_experimental/core/request.ts.snap | 0 .../v3_experimental/core/types.ts.snap | 0 .../generated}/v3_experimental/index.ts.snap | 0 .../generated}/v3_experimental/models.ts.snap | 0 .../v3_experimental/schemas.ts.snap | 0 .../v3_experimental/services.ts.snap | 0 .../test/generated}/v3_models/index.ts.snap | 0 .../test/generated}/v3_models/models.ts.snap | 0 .../generated}/v3_node/core/ApiError.ts.snap | 0 .../v3_node/core/ApiRequestOptions.ts.snap | 0 .../generated}/v3_node/core/ApiResult.ts.snap | 0 .../v3_node/core/CancelablePromise.ts.snap | 0 .../generated}/v3_node/core/OpenAPI.ts.snap | 0 .../generated}/v3_node/core/request.ts.snap | 0 .../generated}/v3_node/core/types.ts.snap | 0 .../test/generated}/v3_node/index.ts.snap | 0 .../v3_options/core/ApiError.ts.snap | 0 .../v3_options/core/ApiRequestOptions.ts.snap | 0 .../v3_options/core/ApiResult.ts.snap | 0 .../v3_options/core/CancelablePromise.ts.snap | 0 .../v3_options/core/OpenAPI.ts.snap | 0 .../v3_options/core/request.ts.snap | 0 .../generated}/v3_options/core/types.ts.snap | 0 .../test/generated}/v3_options/index.ts.snap | 0 .../test/generated}/v3_options/models.ts.snap | 0 .../generated}/v3_options/services.ts.snap | 0 .../generated}/v3_xhr/core/ApiError.ts.snap | 0 .../v3_xhr/core/ApiRequestOptions.ts.snap | 0 .../generated}/v3_xhr/core/ApiResult.ts.snap | 0 .../v3_xhr/core/CancelablePromise.ts.snap | 0 .../generated}/v3_xhr/core/OpenAPI.ts.snap | 0 .../generated}/v3_xhr/core/request.ts.snap | 0 .../test/generated}/v3_xhr/core/types.ts.snap | 0 .../test/generated}/v3_xhr/index.ts.snap | 0 .../openapi-ts/test}/bin.spec.ts | 0 .../openapi-ts/test}/custom/request.ts | 0 .../openapi-ts/test}/e2e/assets/index.html | 0 .../test}/e2e/assets/main-angular-module.ts | 0 .../test}/e2e/assets/main-angular.ts | 0 .../openapi-ts/test}/e2e/assets/main.ts | 0 .../test}/e2e/client.angular.spec.ts | 0 .../openapi-ts/test}/e2e/client.axios.spec.ts | 0 .../openapi-ts/test}/e2e/client.fetch.spec.ts | 0 .../openapi-ts/test}/e2e/client.node.spec.ts | 0 .../openapi-ts/test}/e2e/client.xhr.spec.ts | 0 .../openapi-ts/test}/e2e/scripts/angular.ts | 1 + .../openapi-ts/test}/e2e/scripts/browser.ts | 0 .../openapi-ts/test}/e2e/scripts/cleanup.ts | 0 .../e2e/scripts/compileWithTypescript.ts | 0 .../openapi-ts/test}/e2e/scripts/copyAsset.ts | 0 .../test}/e2e/scripts/generateClient.ts | 0 .../openapi-ts/test}/e2e/scripts/server.ts | 0 .../openapi-ts/test}/e2e/v2.angular.spec.ts | 0 .../openapi-ts/test}/e2e/v2.axios.spec.ts | 0 .../openapi-ts/test}/e2e/v2.fetch.spec.ts | 0 .../openapi-ts/test}/e2e/v2.node.spec.ts | 0 .../openapi-ts/test}/e2e/v2.xhr.spec.ts | 0 .../openapi-ts/test}/e2e/v3.angular.spec.ts | 0 .../openapi-ts/test}/e2e/v3.axios.spec.ts | 0 .../openapi-ts/test}/e2e/v3.fetch.spec.ts | 0 .../openapi-ts/test}/e2e/v3.node.spec.ts | 0 .../openapi-ts/test}/e2e/v3.xhr.spec.ts | 0 .../openapi-ts/test}/index.spec.ts | 0 {test => packages/openapi-ts/test}/sample.cjs | 0 .../openapi-ts/test}/spec/v2.json | 0 .../openapi-ts/test}/spec/v3.json | 0 .../openapi-ts/tsconfig.base.json | 0 .../openapi-ts/tsconfig.check.json | 0 .../openapi-ts/tsconfig.json | 0 .../openapi-ts/vitest.config.e2e.ts | 0 .../openapi-ts/vitest.config.unit.ts | 0 387 files changed, 700 insertions(+), 1006 deletions(-) rename .eslintignore => packages/openapi-ts/.eslintignore (100%) rename .eslintrc.json => packages/openapi-ts/.eslintrc.json (100%) create mode 100644 packages/openapi-ts/.gitignore rename .prettierignore => packages/openapi-ts/.prettierignore (100%) rename .prettierrc.json => packages/openapi-ts/.prettierrc.json (100%) rename CHANGELOG-old.md => packages/openapi-ts/CHANGELOG-old.md (100%) rename CHANGELOG.md => packages/openapi-ts/CHANGELOG.md (100%) rename {bin => packages/openapi-ts/bin}/index.js (100%) create mode 100644 packages/openapi-ts/package.json rename rollup.config.ts => packages/openapi-ts/rollup.config.ts (100%) rename rollup.dts.config.ts => packages/openapi-ts/rollup.dts.config.ts (100%) rename {src => packages/openapi-ts/src}/index.spec.ts (100%) rename {src => packages/openapi-ts/src}/index.ts (100%) rename {src => packages/openapi-ts/src}/node/index.ts (100%) rename {src => packages/openapi-ts/src}/node/tsconfig.json (100%) rename {src => packages/openapi-ts/src}/openApi/__tests__/index.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/interfaces/Dictionary.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/interfaces/OpenApi.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/interfaces/Type.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/interfaces/WithEnumExtension.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/interfaces/client.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/__tests__/getPattern.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/__tests__/getRef.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/__tests__/operation.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/__tests__/sanitize.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/__tests__/service.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/__tests__/sort.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/__tests__/stripNamespace.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/__tests__/type.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/getDefault.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/getEnums.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/getPattern.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/getRef.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/operation.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/reservedWords.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/sanitize.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/service.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/sort.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/stripNamespace.ts (100%) rename {src => packages/openapi-ts/src}/openApi/common/parser/type.ts (100%) rename {src => packages/openapi-ts/src}/openApi/index.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/index.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/Extensions/WithNullableExtension.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApi.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiContact.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiExample.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiExternalDocs.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiHeader.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiInfo.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiItems.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiLicense.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiOperation.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiParameter.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiPath.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiReference.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiResponse.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiResponses.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiSchema.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiSecurityRequirement.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiSecurityScheme.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiTag.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/interfaces/OpenApiXml.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/__tests__/getServer.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/__tests__/getServices.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getModel.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getModelComposition.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getModelProperties.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getModels.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getOperation.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getOperationParameter.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getOperationParameters.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getOperationResponse.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getOperationResponses.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getOperationResults.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getRequiredPropertiesFromComposition.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getServer.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v2/parser/getServices.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/index.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApi.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiCallback.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiComponents.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiContact.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiDiscriminator.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiEncoding.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiExample.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiExternalDocs.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiHeader.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiInfo.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiLicense.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiLink.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiMediaType.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiOAuthFlow.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiOAuthFlows.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiOperation.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiParameter.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiPath.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiPaths.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiReference.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiRequestBody.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiResponse.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiResponses.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiSchema.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiSecurityRequirement.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiSecurityScheme.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiServer.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiServerVariable.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiTag.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/interfaces/OpenApiXml.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/__tests__/getModel.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/__tests__/getServer.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/__tests__/getServices.spec.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/discriminator.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getContent.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getModel.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getModelComposition.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getModelProperties.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getModels.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getOperationParameter.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getOperationParameters.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getOperationRequestBody.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getOperationResponse.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getOperationResponses.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getOperationResults.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getRequiredPropertiesFromComposition.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getServer.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/getServices.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/inferType.ts (100%) rename {src => packages/openapi-ts/src}/openApi/v3/parser/operation.ts (100%) rename {src => packages/openapi-ts/src}/templates/client.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/ApiError.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/ApiRequestOptions.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/ApiResult.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/BaseHttpRequest.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/CancelablePromise.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/HttpRequest.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/OpenAPI.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/angular/getHeaders.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/angular/getRequestBody.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/angular/getResponseBody.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/angular/getResponseHeader.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/angular/request.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/angular/sendRequest.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/axios/getHeaders.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/axios/getRequestBody.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/axios/getResponseBody.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/axios/getResponseHeader.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/axios/request.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/axios/sendRequest.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/fetch/getHeaders.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/fetch/getRequestBody.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/fetch/getResponseBody.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/fetch/getResponseHeader.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/fetch/request.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/fetch/sendRequest.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/functions/base64.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/functions/catchErrorCodes.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/functions/getFormData.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/functions/getQueryString.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/functions/getUrl.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/functions/isBlob.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/functions/isFormData.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/functions/isString.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/functions/isStringWithValue.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/functions/isSuccess.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/functions/resolve.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/request.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/types.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/xhr/getHeaders.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/xhr/getRequestBody.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/xhr/getResponseBody.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/xhr/getResponseHeader.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/xhr/request.hbs (100%) rename {src => packages/openapi-ts/src}/templates/core/xhr/sendRequest.hbs (100%) rename {src => packages/openapi-ts/src}/templates/exportModel.hbs (100%) rename {src => packages/openapi-ts/src}/templates/exportSchema.hbs (100%) rename {src => packages/openapi-ts/src}/templates/exportService.hbs (100%) rename {src => packages/openapi-ts/src}/templates/index.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/base.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/dataDestructure.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/exportComposition.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/exportEnum.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/exportInterface.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/exportType.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/isNullable.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/isReadOnly.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/isRequired.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/operationParameters.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/operationResult.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/operationTypes.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/requestConfig.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/schema.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/schemaArray.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/schemaComposition.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/schemaDictionary.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/schemaEnum.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/schemaGeneric.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/schemaInterface.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/type.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/typeArray.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/typeDictionary.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/typeEnum.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/typeGeneric.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/typeInterface.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/typeIntersection.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/typeReference.hbs (100%) rename {src => packages/openapi-ts/src}/templates/partials/typeUnion.hbs (100%) rename {src => packages/openapi-ts/src}/types/client.ts (100%) rename {src => packages/openapi-ts/src}/types/config.ts (100%) rename {src => packages/openapi-ts/src}/types/hbs.d.ts (100%) rename {src => packages/openapi-ts/src}/utils/__tests__/enum.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/__tests__/escapeName.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/__tests__/handlebars.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/__tests__/isSubdirectory.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/__tests__/sort.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/__tests__/unique.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/enum.ts (100%) rename {src => packages/openapi-ts/src}/utils/escapeName.ts (100%) rename {src => packages/openapi-ts/src}/utils/getHttpRequestName.ts (100%) rename {src => packages/openapi-ts/src}/utils/getOpenApiSpec.ts (100%) rename {src => packages/openapi-ts/src}/utils/handlebars.ts (100%) rename {src => packages/openapi-ts/src}/utils/isSubdirectory.ts (100%) rename {src => packages/openapi-ts/src}/utils/postprocess.ts (100%) rename {src => packages/openapi-ts/src}/utils/sort.ts (100%) rename {src => packages/openapi-ts/src}/utils/unique.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/__tests__/class.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/__tests__/client.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/__tests__/core.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/__tests__/index.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/__tests__/mocks.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/__tests__/models.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/__tests__/schemas.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/__tests__/services.spec.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/class.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/client.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/core.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/index.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/models.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/schemas.ts (100%) rename {src => packages/openapi-ts/src}/utils/write/services.ts (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v2/core/ApiError.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v2/core/ApiRequestOptions.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v2/core/ApiResult.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v2/core/CancelablePromise.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v2/core/OpenAPI.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v2/core/request.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v2/core/types.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v2/index.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v2/models.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v2/schemas.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v2/services.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3/core/ApiError.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3/core/ApiRequestOptions.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3/core/ApiResult.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3/core/CancelablePromise.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3/core/OpenAPI.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3/core/request.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3/core/types.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3/index.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3/models.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3/schemas.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3/services.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_angular/core/ApiError.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_angular/core/ApiRequestOptions.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_angular/core/ApiResult.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_angular/core/OpenAPI.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_angular/core/request.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_angular/core/types.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_angular/index.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_angular/models.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_angular/schemas.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_angular/services.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_axios/core/ApiError.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_axios/core/ApiRequestOptions.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_axios/core/ApiResult.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_axios/core/CancelablePromise.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_axios/core/OpenAPI.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_axios/core/request.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_axios/core/types.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_axios/index.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/ApiClient.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/core/ApiError.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/core/ApiRequestOptions.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/core/ApiResult.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/core/BaseHttpRequest.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/core/CancelablePromise.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/core/FetchHttpRequest.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/core/OpenAPI.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/core/request.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/core/types.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/index.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/models.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_client/services.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_date/index.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_date/models.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_date/schemas.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_enums_typescript/core/ApiError.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_enums_typescript/core/ApiRequestOptions.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_enums_typescript/core/ApiResult.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_enums_typescript/core/CancelablePromise.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_enums_typescript/core/OpenAPI.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_enums_typescript/core/request.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_enums_typescript/core/types.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_enums_typescript/index.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_enums_typescript/models.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_enums_typescript/schemas.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_enums_typescript/services.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_experimental/core/ApiError.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_experimental/core/ApiRequestOptions.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_experimental/core/ApiResult.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_experimental/core/CancelablePromise.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_experimental/core/OpenAPI.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_experimental/core/request.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_experimental/core/types.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_experimental/index.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_experimental/models.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_experimental/schemas.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_experimental/services.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_models/index.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_models/models.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_node/core/ApiError.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_node/core/ApiRequestOptions.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_node/core/ApiResult.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_node/core/CancelablePromise.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_node/core/OpenAPI.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_node/core/request.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_node/core/types.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_node/index.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_options/core/ApiError.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_options/core/ApiRequestOptions.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_options/core/ApiResult.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_options/core/CancelablePromise.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_options/core/OpenAPI.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_options/core/request.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_options/core/types.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_options/index.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_options/models.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_options/services.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_xhr/core/ApiError.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_xhr/core/ApiRequestOptions.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_xhr/core/ApiResult.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_xhr/core/CancelablePromise.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_xhr/core/OpenAPI.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_xhr/core/request.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_xhr/core/types.ts.snap (100%) rename {test/__snapshots__ => packages/openapi-ts/test/__snapshots__/test/generated}/v3_xhr/index.ts.snap (100%) rename {test => packages/openapi-ts/test}/bin.spec.ts (100%) rename {test => packages/openapi-ts/test}/custom/request.ts (100%) rename {test => packages/openapi-ts/test}/e2e/assets/index.html (100%) rename {test => packages/openapi-ts/test}/e2e/assets/main-angular-module.ts (100%) rename {test => packages/openapi-ts/test}/e2e/assets/main-angular.ts (100%) rename {test => packages/openapi-ts/test}/e2e/assets/main.ts (100%) rename {test => packages/openapi-ts/test}/e2e/client.angular.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/client.axios.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/client.fetch.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/client.node.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/client.xhr.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/scripts/angular.ts (98%) rename {test => packages/openapi-ts/test}/e2e/scripts/browser.ts (100%) rename {test => packages/openapi-ts/test}/e2e/scripts/cleanup.ts (100%) rename {test => packages/openapi-ts/test}/e2e/scripts/compileWithTypescript.ts (100%) rename {test => packages/openapi-ts/test}/e2e/scripts/copyAsset.ts (100%) rename {test => packages/openapi-ts/test}/e2e/scripts/generateClient.ts (100%) rename {test => packages/openapi-ts/test}/e2e/scripts/server.ts (100%) rename {test => packages/openapi-ts/test}/e2e/v2.angular.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/v2.axios.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/v2.fetch.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/v2.node.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/v2.xhr.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/v3.angular.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/v3.axios.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/v3.fetch.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/v3.node.spec.ts (100%) rename {test => packages/openapi-ts/test}/e2e/v3.xhr.spec.ts (100%) rename {test => packages/openapi-ts/test}/index.spec.ts (100%) rename {test => packages/openapi-ts/test}/sample.cjs (100%) rename {test => packages/openapi-ts/test}/spec/v2.json (100%) rename {test => packages/openapi-ts/test}/spec/v3.json (100%) rename tsconfig.base.json => packages/openapi-ts/tsconfig.base.json (100%) rename tsconfig.check.json => packages/openapi-ts/tsconfig.check.json (100%) rename tsconfig.json => packages/openapi-ts/tsconfig.json (100%) rename vitest.config.e2e.ts => packages/openapi-ts/vitest.config.e2e.ts (100%) rename vitest.config.unit.ts => packages/openapi-ts/vitest.config.unit.ts (100%) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 36f5880ac..904e09f53 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -31,6 +31,6 @@ jobs: uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} - directory: ./coverage + directory: ./packages/openapi-ts/coverage flags: unittests fail_ci_if_error: true diff --git a/.gitignore b/.gitignore index 9abd3a293..a2b681b0e 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,3 @@ yarn-error.log* dist coverage .env - -# test files -test/generated -test/e2e/generated diff --git a/README.md b/README.md index 6e4d30b8a..6c4076664 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,12 @@ or yarn add @hey-api/openapi-ts -D ``` +or + +```sh +pnpm add @hey-api/openapi-ts -D +``` + If you want to use `openapi-ts` with CLI, add a script to your `package.json` file ```json diff --git a/package-lock.json b/package-lock.json index c03617d04..2dd7e8b84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,66 +1,19 @@ { - "name": "@hey-api/openapi-ts", - "version": "0.33.2", + "name": "openapi-ts-monorepo", + "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@hey-api/openapi-ts", - "version": "0.33.2", + "name": "openapi-ts-monorepo", + "version": "0.1.0", "license": "MIT", - "dependencies": { - "@apidevtools/json-schema-ref-parser": "11.5.4", - "camelcase": "8.0.0", - "commander": "12.0.0", - "handlebars": "4.7.8" - }, - "bin": { - "openapi-ts": "bin/index.js" - }, + "workspaces": [ + "packages/openapi-ts" + ], "devDependencies": { - "@angular-devkit/build-angular": "17.3.2", - "@angular/animations": "17.3.2", - "@angular/cli": "17.3.2", - "@angular/common": "17.3.2", - "@angular/compiler": "17.3.2", - "@angular/compiler-cli": "17.3.2", - "@angular/core": "17.3.2", - "@angular/forms": "17.3.2", - "@angular/platform-browser": "17.3.2", - "@angular/platform-browser-dynamic": "17.3.2", - "@angular/router": "17.3.2", "@changesets/cli": "2.27.1", - "@rollup/plugin-commonjs": "25.0.7", - "@rollup/plugin-json": "6.1.0", - "@rollup/plugin-node-resolve": "15.2.3", - "@rollup/plugin-terser": "0.4.4", - "@rollup/plugin-typescript": "11.1.6", - "@svitejs/changesets-changelog-github-compact": "1.1.0", - "@types/cross-spawn": "6.0.6", - "@types/express": "4.17.21", - "@types/node": "20.12.2", - "@typescript-eslint/eslint-plugin": "7.5.0", - "@typescript-eslint/parser": "7.5.0", - "@vitest/coverage-v8": "1.4.0", - "axios": "1.6.8", - "cross-spawn": "7.0.3", - "eslint": "8.57.0", - "eslint-config-prettier": "9.1.0", - "eslint-plugin-prettier": "5.1.3", - "eslint-plugin-simple-import-sort": "12.0.0", - "express": "4.19.2", - "node-fetch": "3.3.2", - "npm-run-all2": "6.1.2", - "prettier": "3.2.5", - "puppeteer": "22.6.1", - "rimraf": "5.0.5", - "rollup": "4.13.2", - "rollup-plugin-dts": "6.1.0", - "rxjs": "7.8.1", - "ts-node": "10.9.2", - "tslib": "2.6.2", - "typescript": "5.4.3", - "vitest": "1.4.0" + "@svitejs/changesets-changelog-github-compact": "1.1.0" }, "engines": { "node": "^18.0.0 || >=20.0.0" @@ -232,6 +185,18 @@ } } }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/runtime": { + "version": "7.24.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.0.tgz", + "integrity": "sha512-Chk32uHMg6TnQdvw2e9IlqPpFX/6NLuK0Ys2PqLb7/gL5uFn9mXvK715FGLlOLQrcO4qIkNHkvPGktzzXexsFw==", + "dev": true, + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@angular-devkit/build-webpack": { "version": "0.1703.2", "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1703.2.tgz", @@ -814,9 +779,9 @@ } }, "node_modules/@babel/helper-module-imports": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.1.tgz", - "integrity": "sha512-HfEWzysMyOa7xI5uQHc/OcZf67/jc+xe/RZlznWQHhbb8Pg1SkRdbK4yEi61aY8wxQA7PkSfoojtLQP/Kpe3og==", + "version": "7.24.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz", + "integrity": "sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg==", "dev": true, "dependencies": { "@babel/types": "^7.24.0" @@ -2236,9 +2201,9 @@ "dev": true }, "node_modules/@babel/runtime": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.0.tgz", - "integrity": "sha512-Chk32uHMg6TnQdvw2e9IlqPpFX/6NLuK0Ys2PqLb7/gL5uFn9mXvK715FGLlOLQrcO4qIkNHkvPGktzzXexsFw==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.1.tgz", + "integrity": "sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ==", "dev": true, "dependencies": { "regenerator-runtime": "^0.14.0" @@ -2338,53 +2303,6 @@ "semver": "^7.5.3" } }, - "node_modules/@changesets/apply-release-plan/node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/@changesets/apply-release-plan/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@changesets/apply-release-plan/node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, - "node_modules/@changesets/apply-release-plan/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/@changesets/assemble-release-plan": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/@changesets/assemble-release-plan/-/assemble-release-plan-6.0.0.tgz", @@ -2451,38 +2369,6 @@ "changeset": "bin.js" } }, - "node_modules/@changesets/cli/node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/@changesets/cli/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@changesets/cli/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/@changesets/config": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@changesets/config/-/config-3.0.0.tgz", @@ -2498,38 +2384,6 @@ "micromatch": "^4.0.2" } }, - "node_modules/@changesets/config/node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/@changesets/config/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@changesets/config/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/@changesets/errors": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/@changesets/errors/-/errors-0.2.0.tgz", @@ -2552,38 +2406,6 @@ "semver": "^7.5.3" } }, - "node_modules/@changesets/get-dependents-graph/node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/@changesets/get-dependents-graph/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@changesets/get-dependents-graph/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/@changesets/get-github-info": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/@changesets/get-github-info/-/get-github-info-0.5.2.tgz", @@ -2710,38 +2532,6 @@ "fs-extra": "^7.0.1" } }, - "node_modules/@changesets/pre/node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/@changesets/pre/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@changesets/pre/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/@changesets/read": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/@changesets/read/-/read-0.6.0.tgz", @@ -2758,38 +2548,6 @@ "p-filter": "^2.1.0" } }, - "node_modules/@changesets/read/node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/@changesets/read/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@changesets/read/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/@changesets/types": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/@changesets/types/-/types-6.0.0.tgz", @@ -2809,53 +2567,6 @@ "prettier": "^2.7.1" } }, - "node_modules/@changesets/write/node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/@changesets/write/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@changesets/write/node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, - "node_modules/@changesets/write/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", @@ -3382,6 +3093,10 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, + "node_modules/@hey-api/openapi-ts": { + "resolved": "packages/openapi-ts", + "link": true + }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.14", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", @@ -3432,9 +3147,9 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", - "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", "dev": true }, "node_modules/@isaacs/cliui": { @@ -3671,9 +3386,9 @@ "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" }, "node_modules/@leichtgewicht/ip-codec": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz", - "integrity": "sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz", + "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==", "dev": true }, "node_modules/@ljharb/through": { @@ -3720,24 +3435,6 @@ "node": ">=6 <7 || >=8" } }, - "node_modules/@manypkg/find-root/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@manypkg/find-root/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/@manypkg/get-packages": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@manypkg/get-packages/-/get-packages-1.1.3.tgz", @@ -3772,24 +3469,6 @@ "node": ">=6 <7 || >=8" } }, - "node_modules/@manypkg/get-packages/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@manypkg/get-packages/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/@ngtools/webpack": { "version": "17.3.2", "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-17.3.2.tgz", @@ -3842,16 +3521,16 @@ } }, "node_modules/@npmcli/agent": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-2.2.1.tgz", - "integrity": "sha512-H4FrOVtNyWC8MUwL3UfjOsAihHvT1Pe8POj3JvjXhSTJipsZMtgUALCT4mGyYZNxymkUfOw3PUj6dE4QPp6osQ==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@npmcli/agent/-/agent-2.2.2.tgz", + "integrity": "sha512-OrcNPXdpSl9UX7qPVRWbmWMCSXrcDa2M9DvrbOTj7ao1S4PlqVFYv9/yLKMkrJKZ/V5A/kDBC690or307i26Og==", "dev": true, "dependencies": { "agent-base": "^7.1.0", "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.1", "lru-cache": "^10.0.1", - "socks-proxy-agent": "^8.0.1" + "socks-proxy-agent": "^8.0.3" }, "engines": { "node": "^16.14.0 || >=18.0.0" @@ -3973,26 +3652,40 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/@npmcli/package-json/node_modules/glob": { - "version": "10.3.10", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", - "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "node_modules/@npmcli/package-json/node_modules/hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", "dev": true, "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^2.3.5", - "minimatch": "^9.0.1", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", - "path-scurry": "^1.10.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" + "lru-cache": "^10.0.1" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/package-json/node_modules/lru-cache": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "dev": true, + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/@npmcli/package-json/node_modules/normalize-package-data": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", + "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", + "dev": true, + "dependencies": { + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "engines": { + "node": "^16.14.0 || >=18.0.0" } }, "node_modules/@npmcli/promise-spawn": { @@ -4140,6 +3833,37 @@ } } }, + "node_modules/@rollup/plugin-commonjs/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@rollup/plugin-commonjs/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@rollup/plugin-json": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-6.1.0.tgz", @@ -4479,33 +4203,33 @@ } }, "node_modules/@sigstore/bundle": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.2.0.tgz", - "integrity": "sha512-5VI58qgNs76RDrwXNhpmyN/jKpq9evV/7f1XrcqcAfvxDl5SeVY/I5Rmfe96ULAV7/FK5dge9RBKGBJPhL1WsQ==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-2.3.0.tgz", + "integrity": "sha512-MU3XYHkOvKEFnuUtcAtVh0s4RTemRyi1NN87+v9fAL0qR9JZuK/nF27YJ79wjPvvi1W9sz3qc7cTgshH5tji6Q==", "dev": true, "dependencies": { - "@sigstore/protobuf-specs": "^0.3.0" + "@sigstore/protobuf-specs": "^0.3.1" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/@sigstore/core": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@sigstore/core/-/core-1.0.0.tgz", - "integrity": "sha512-dW2qjbWLRKGu6MIDUTBuJwXCnR8zivcSpf5inUzk7y84zqy/dji0/uahppoIgMoKeR+6pUZucrwHfkQQtiG9Rw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@sigstore/core/-/core-1.1.0.tgz", + "integrity": "sha512-JzBqdVIyqm2FRQCulY6nbQzMpJJpSiJ8XXWMhtOX9eKgaXXpfNOF53lzQEjIydlStnd/eFtuC1dW4VYdD93oRg==", "dev": true, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/@sigstore/protobuf-specs": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.3.0.tgz", - "integrity": "sha512-zxiQ66JFOjVvP9hbhGj/F/qNdsZfkGb/dVXSanNRNuAzMlr4MC95voPUBX8//ZNnmv3uSYzdfR/JSkrgvZTGxA==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.3.1.tgz", + "integrity": "sha512-aIL8Z9NsMr3C64jyQzE0XlkEyBLpgEJJFDHLVVStkFV5Q3Il/r/YtY6NJWKQ4cy4AE7spP1IX5Jq7VCAxHHMfQ==", "dev": true, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^16.14.0 || >=18.0.0" } }, "node_modules/@sigstore/sign": { @@ -4524,9 +4248,9 @@ } }, "node_modules/@sigstore/tuf": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-2.3.1.tgz", - "integrity": "sha512-9Iv40z652td/QbV0o5n/x25H9w6IYRt2pIGbTX55yFDYlApDQn/6YZomjz6+KBx69rXHLzHcbtTS586mDdFD+Q==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-2.3.2.tgz", + "integrity": "sha512-mwbY1VrEGU4CO55t+Kl6I7WZzIl+ysSzEYdA1Nv/FTrl2bkeaPXo5PnWZAVfcY2zSdhOpsUTJW67/M2zHXGn5w==", "dev": true, "dependencies": { "@sigstore/protobuf-specs": "^0.3.0", @@ -4537,13 +4261,13 @@ } }, "node_modules/@sigstore/verify": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@sigstore/verify/-/verify-1.1.0.tgz", - "integrity": "sha512-1fTqnqyTBWvV7cftUUFtDcHPdSox0N3Ub7C0lRyReYx4zZUlNTZjCV+HPy4Lre+r45dV7Qx5JLKvqqsgxuyYfg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@sigstore/verify/-/verify-1.1.1.tgz", + "integrity": "sha512-BNANJms49rw9Q5J+fJjrDqOQSzjXDcOq/pgKDaVdDoIvQwqIfaoUriy+fQfh8sBX04hr4bkkrwu3EbhQqoQH7A==", "dev": true, "dependencies": { "@sigstore/bundle": "^2.2.0", - "@sigstore/core": "^1.0.0", + "@sigstore/core": "^1.1.0", "@sigstore/protobuf-specs": "^0.3.0" }, "engines": { @@ -4576,9 +4300,9 @@ "dev": true }, "node_modules/@tsconfig/node10": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", - "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", + "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==", "dev": true }, "node_modules/@tsconfig/node12": { @@ -4669,9 +4393,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.56.6", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.6.tgz", - "integrity": "sha512-ymwc+qb1XkjT/gfoQwxIeHZ6ixH23A+tCT2ADSA/DPVKzAjwYkTXBMCQ/f6fe4wEa85Lhp26VPeUxI7wMhAi7A==", + "version": "8.56.7", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.7.tgz", + "integrity": "sha512-SjDvI/x3zsZnOkYZ3lCt9lOZWZLB2jIlNKz+LBgCtDurK0JZcwucxYHn1w2BJkD34dgX9Tjnak0txtq4WTggEA==", "dev": true, "dependencies": { "@types/estree": "*", @@ -4781,9 +4505,9 @@ "dev": true }, "node_modules/@types/qs": { - "version": "6.9.13", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.13.tgz", - "integrity": "sha512-iLR+1vTTJ3p0QaOUq6ACbY1mzKTODFDT/XedZI8BksOotFmL4ForwDfRQ/DZeuTHR7/2i4lI1D203gdfxuqTlA==", + "version": "6.9.14", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.14.tgz", + "integrity": "sha512-5khscbd3SwWMhFqylJBLQ0zIu7c1K6Vz0uBIt915BI3zV0q1nfjRQD3RqSBcPaO6PHEF4ov/t9y89fSiyThlPA==", "dev": true }, "node_modules/@types/range-parser": { @@ -4830,14 +4554,14 @@ } }, "node_modules/@types/serve-static": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.5.tgz", - "integrity": "sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.6.tgz", + "integrity": "sha512-xkChxykiNb1X2YBevPIhQhNU9m9M7h9e2gDsmePAP2kNqhOvpKOrZWOCzq2ERQqfNFzlzHG2bdM0u3z5x+gQgg==", "dev": true, "dependencies": { "@types/http-errors": "*", - "@types/mime": "*", - "@types/node": "*" + "@types/node": "*", + "@types/send": "*" } }, "node_modules/@types/sockjs": { @@ -5450,9 +5174,9 @@ } }, "node_modules/agent-base": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", - "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", + "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", "dev": true, "dependencies": { "debug": "^4.3.4" @@ -6062,21 +5786,6 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, - "node_modules/body-parser/node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", - "dev": true, - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/bonjour-service": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.2.1.tgz", @@ -6256,28 +5965,6 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/cacache/node_modules/glob": { - "version": "10.3.10", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", - "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", - "dev": true, - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^2.3.5", - "minimatch": "^9.0.1", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", - "path-scurry": "^1.10.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/cacache/node_modules/lru-cache": { "version": "10.2.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", @@ -6287,6 +5974,21 @@ "node": "14 || >=16.14" } }, + "node_modules/cacache/node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/call-bind": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", @@ -6353,9 +6055,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001599", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001599.tgz", - "integrity": "sha512-LRAQHZ4yT1+f9LemSMeqdMpMxZcc4RMWdj4tiFe3G8tNkWK+E58g+/tzotb5cU6TbcVJLr4fySiAW7XmxQvZQA==", + "version": "1.0.30001605", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001605.tgz", + "integrity": "sha512-nXwGlFWo34uliI9z3n6Qc0wZaf7zaZWA1CPZ169La5mV3I/gem7bst0vr5XQH5TJXZIMfDeZyOrZnSlVzKxxHQ==", "dev": true, "funding": [ { @@ -7130,12 +6832,12 @@ "dev": true }, "node_modules/data-uri-to-buffer": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", - "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", + "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", "dev": true, "engines": { - "node": ">= 14" + "node": ">= 12" } }, "node_modules/data-view-buffer": { @@ -7353,6 +7055,12 @@ "node": ">=8" } }, + "node_modules/default-gateway/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, "node_modules/default-gateway/node_modules/strip-final-newline": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", @@ -7614,9 +7322,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.4.711", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.711.tgz", - "integrity": "sha512-hRg81qzvUEibX2lDxnFlVCHACa+LtrCPIsWAxo161LDYIB3jauf57RGsMZV9mvGwE98yGH06icj3zBEoOkxd/w==", + "version": "1.4.724", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.724.tgz", + "integrity": "sha512-RTRvkmRkGhNBPPpdrgtDKvmOEYTrPlXDfc0J/Nfq5s29tEahAwhiX4mmhNzj6febWMleulxVYPh7QwCSL/EldA==", "dev": true }, "node_modules/emoji-regex": { @@ -7751,9 +7459,9 @@ } }, "node_modules/es-abstract": { - "version": "1.23.2", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.2.tgz", - "integrity": "sha512-60s3Xv2T2p1ICykc7c+DNDPLDMm9t4QxCOUU0K9JxiLjM3C1zB9YVdN7tjxrFd4+AkZ8CdX1ovUga4P2+1e+/w==", + "version": "1.23.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", + "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", "dev": true, "dependencies": { "array-buffer-byte-length": "^1.0.1", @@ -7795,11 +7503,11 @@ "safe-regex-test": "^1.0.3", "string.prototype.trim": "^1.2.9", "string.prototype.trimend": "^1.0.8", - "string.prototype.trimstart": "^1.0.7", + "string.prototype.trimstart": "^1.0.8", "typed-array-buffer": "^1.0.2", "typed-array-byte-length": "^1.0.1", "typed-array-byte-offset": "^1.0.2", - "typed-array-length": "^1.0.5", + "typed-array-length": "^1.0.6", "unbox-primitive": "^1.0.2", "which-typed-array": "^1.1.15" }, @@ -7832,9 +7540,9 @@ } }, "node_modules/es-module-lexer": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.2.tgz", - "integrity": "sha512-7nOqkomXZEaxUDJw21XZNtRk739QvrPSoZoRtbsEfcii00vdzZUh6zh1CQwHhrib8MdEtJfv5rJiGeb4KuV/vw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.5.0.tgz", + "integrity": "sha512-pqrTKmwEIgafsYZAGw9kszYzmagcE/n4dbgwGWLEXg7J4QFJVQRBld8j3Q3GNez79jzxZshq0bcT962QHOghjw==", "dev": true }, "node_modules/es-object-atoms": { @@ -8062,36 +7770,6 @@ "eslint": ">=7.0.0" } }, - "node_modules/eslint-plugin-prettier": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz", - "integrity": "sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==", - "dev": true, - "dependencies": { - "prettier-linter-helpers": "^1.0.0", - "synckit": "^0.8.6" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint-plugin-prettier" - }, - "peerDependencies": { - "@types/eslint": ">=8.0.0", - "eslint": ">=8.0.0", - "eslint-config-prettier": "*", - "prettier": ">=3.0.0" - }, - "peerDependenciesMeta": { - "@types/eslint": { - "optional": true - }, - "eslint-config-prettier": { - "optional": true - } - } - }, "node_modules/eslint-plugin-simple-import-sort": { "version": "12.0.0", "resolved": "https://registry.npmjs.org/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.0.0.tgz", @@ -8531,18 +8209,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/execa/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/exponential-backoff": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", @@ -8606,21 +8272,6 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, - "node_modules/express/node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", - "dev": true, - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/extendable-error": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/extendable-error/-/extendable-error-0.1.7.tgz", @@ -9014,18 +8665,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/foreground-child/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/form-data": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", @@ -9084,17 +8723,17 @@ } }, "node_modules/fs-extra": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", - "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", + "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", "dev": true, "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" }, "engines": { - "node": ">=14.14" + "node": ">=6 <7 || >=8" } }, "node_modules/fs-minipass": { @@ -9273,20 +8912,67 @@ "node": ">= 14" } }, + "node_modules/get-uri/node_modules/data-uri-to-buffer": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", + "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==", + "dev": true, + "engines": { + "node": ">= 14" + } + }, + "node_modules/get-uri/node_modules/fs-extra": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/get-uri/node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/get-uri/node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, "node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "version": "10.3.12", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.12.tgz", + "integrity": "sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg==", "dev": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.6", + "minimatch": "^9.0.1", + "minipass": "^7.0.4", + "path-scurry": "^1.10.2" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=12" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -9310,18 +8996,6 @@ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", "dev": true }, - "node_modules/glob/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", @@ -9521,25 +9195,10 @@ } }, "node_modules/hosted-git-info": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", - "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", - "dev": true, - "dependencies": { - "lru-cache": "^10.0.1" - }, - "engines": { - "node": "^16.14.0 || >=18.0.0" - } - }, - "node_modules/hosted-git-info/node_modules/lru-cache": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", - "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", - "dev": true, - "engines": { - "node": "14 || >=16.14" - } + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true }, "node_modules/hpack.js": { "version": "2.1.6", @@ -9553,6 +9212,12 @@ "wbuf": "^1.1.0" } }, + "node_modules/hpack.js/node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "dev": true + }, "node_modules/hpack.js/node_modules/readable-stream": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", @@ -10390,9 +10055,9 @@ } }, "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", "dev": true }, "node_modules/isexe": { @@ -10652,13 +10317,10 @@ "dev": true }, "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", "dev": true, - "dependencies": { - "universalify": "^2.0.0" - }, "optionalDependencies": { "graceful-fs": "^4.1.6" } @@ -11159,15 +10821,6 @@ "node": ">= 4.0.0" } }, - "node_modules/memorystream": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", - "integrity": "sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==", - "dev": true, - "engines": { - "node": ">= 0.10.0" - } - }, "node_modules/meow": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/meow/-/meow-6.1.1.tgz", @@ -11193,42 +10846,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/meow/node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/meow/node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, - "node_modules/meow/node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/meow/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, "node_modules/meow/node_modules/type-fest": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", @@ -11241,19 +10858,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/meow/node_modules/yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dev": true, - "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/merge-descriptors": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", @@ -11831,15 +11435,6 @@ "url": "https://opencollective.com/node-fetch" } }, - "node_modules/node-fetch/node_modules/data-uri-to-buffer": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", - "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", - "dev": true, - "engines": { - "node": ">= 12" - } - }, "node_modules/node-forge": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", @@ -11850,9 +11445,9 @@ } }, "node_modules/node-gyp": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.0.1.tgz", - "integrity": "sha512-gg3/bHehQfZivQVfqIyy8wTdSymF9yTyP4CJifK73imyNMU8AIGQE2pUa7dNWfmMeG9cDVF2eehiRMv0LC1iAg==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-10.1.0.tgz", + "integrity": "sha512-B4J5M1cABxPc5PwfjhbV5hoy2DP9p8lFXASnEN6hugXOa61416tnTZ29x9sSwAd0o99XNIcpvDDy1swAExsVKA==", "dev": true, "dependencies": { "env-paths": "^2.2.0", @@ -11885,28 +11480,6 @@ "node-gyp-build-test": "build-test.js" } }, - "node_modules/node-gyp/node_modules/glob": { - "version": "10.3.10", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", - "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", - "dev": true, - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^2.3.5", - "minimatch": "^9.0.1", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", - "path-scurry": "^1.10.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/node-gyp/node_modules/isexe": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz", @@ -11953,18 +11526,24 @@ } }, "node_modules/normalize-package-data": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", - "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, "dependencies": { - "hosted-git-info": "^7.0.0", - "is-core-module": "^2.8.1", - "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4" - }, - "engines": { - "node": "^16.14.0 || >=18.0.0" + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "bin": { + "semver": "bin/semver" } }, "node_modules/normalize-path": { @@ -12033,6 +11612,27 @@ "node": "^16.14.0 || >=18.0.0" } }, + "node_modules/npm-package-arg/node_modules/hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "dev": true, + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/npm-package-arg/node_modules/lru-cache": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "dev": true, + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/npm-packlist": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-8.0.2.tgz", @@ -12078,43 +11678,6 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/npm-run-all2": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/npm-run-all2/-/npm-run-all2-6.1.2.tgz", - "integrity": "sha512-WwwnS8Ft+RpXve6T2EIEVpFLSqN+ORHRvgNk3H9N62SZXjmzKoRhMFg3I17TK3oMaAEr+XFbRirWS2Fn3BCPSg==", - "dev": true, - "dependencies": { - "ansi-styles": "^6.2.1", - "cross-spawn": "^7.0.3", - "memorystream": "^0.3.1", - "minimatch": "^9.0.0", - "pidtree": "^0.6.0", - "read-package-json-fast": "^3.0.2", - "shell-quote": "^1.7.3" - }, - "bin": { - "npm-run-all": "bin/npm-run-all/index.js", - "npm-run-all2": "bin/npm-run-all/index.js", - "run-p": "bin/run-p/index.js", - "run-s": "bin/run-s/index.js" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0", - "npm": ">= 8" - } - }, - "node_modules/npm-run-all2/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/npm-run-path": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", @@ -12395,15 +11958,6 @@ "node": ">=8" } }, - "node_modules/p-filter/node_modules/p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -12432,18 +11986,12 @@ } }, "node_modules/p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", "dev": true, - "dependencies": { - "aggregate-error": "^3.0.0" - }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=6" } }, "node_modules/p-retry": { @@ -12667,12 +12215,12 @@ "dev": true }, "node_modules/path-scurry": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", - "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.2.tgz", + "integrity": "sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA==", "dev": true, "dependencies": { - "lru-cache": "^9.1.1 || ^10.0.0", + "lru-cache": "^10.2.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" }, "engines": { @@ -12745,18 +12293,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/pidtree": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz", - "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==", - "dev": true, - "bin": { - "pidtree": "bin/pidtree.js" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/pify": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", @@ -13121,15 +12657,15 @@ } }, "node_modules/prettier": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", - "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", "dev": true, "bin": { - "prettier": "bin/prettier.cjs" + "prettier": "bin-prettier.js" }, "engines": { - "node": ">=14" + "node": ">=10.13.0" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" @@ -13330,6 +12866,21 @@ "node": ">=18" } }, + "node_modules/qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dev": true, + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -13432,26 +12983,40 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/read-package-json/node_modules/glob": { - "version": "10.3.10", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", - "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "node_modules/read-package-json/node_modules/hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "dev": true, + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/lru-cache": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "dev": true, + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/read-package-json/node_modules/normalize-package-data": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", + "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", "dev": true, "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^2.3.5", - "minimatch": "^9.0.1", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", - "path-scurry": "^1.10.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" }, "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": "^16.14.0 || >=18.0.0" } }, "node_modules/read-pkg": { @@ -13495,33 +13060,6 @@ "node": ">=8" } }, - "node_modules/read-pkg/node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, - "node_modules/read-pkg/node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/read-pkg/node_modules/semver": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, "node_modules/read-pkg/node_modules/type-fest": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", @@ -13626,9 +13164,9 @@ } }, "node_modules/reflect-metadata": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.1.tgz", - "integrity": "sha512-i5lLI6iw9AU3Uu4szRNPPEkomnkjRTaVt9hy/bn5g/oSzekBSMeLZblcjP74AW0vBabqERLLIrz+gR8QYR54Tw==", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz", + "integrity": "sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==", "dev": true }, "node_modules/regenerate": { @@ -13834,6 +13372,12 @@ "node": ">=8" } }, + "node_modules/restore-cursor/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, "node_modules/retry": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", @@ -13871,28 +13415,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/rimraf/node_modules/glob": { - "version": "10.3.10", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", - "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", - "dev": true, - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^2.3.5", - "minimatch": "^9.0.1", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", - "path-scurry": "^1.10.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/rollup": { "version": "4.13.2", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.13.2.tgz", @@ -14008,12 +13530,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/safe-array-concat/node_modules/isarray": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", - "dev": true - }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -14450,10 +13966,16 @@ "dev": true }, "node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, "node_modules/sigstore": { "version": "2.2.2", @@ -14511,15 +14033,6 @@ "node": ">=6" } }, - "node_modules/smartwrap/node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/smartwrap/node_modules/cliui": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", @@ -14559,23 +14072,10 @@ "node": ">=8" } }, - "node_modules/smartwrap/node_modules/yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dev": true, - "dependencies": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/smob": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/smob/-/smob-1.4.1.tgz", - "integrity": "sha512-9LK+E7Hv5R9u4g4C3p+jjLstaLe11MDsL21UpYaCNmapvMkYhqCV4A/f/3gyH8QjMyh6l68q9xC85vihY9ahMQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/smob/-/smob-1.5.0.tgz", + "integrity": "sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==", "dev": true }, "node_modules/sockjs": { @@ -14604,12 +14104,12 @@ } }, "node_modules/socks-proxy-agent": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz", - "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==", + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.3.tgz", + "integrity": "sha512-VNegTZKhuGq5vSD6XNKlbqWhyt/40CgoEw8XxD6dhnm8Jq9IEa3nIa4HwnM8XOqU0CdB0BwWVXusqiFXfHB3+A==", "dev": true, "dependencies": { - "agent-base": "^7.0.2", + "agent-base": "^7.1.1", "debug": "^4.3.4", "socks": "^2.7.1" }, @@ -14738,6 +14238,12 @@ "node": ">=0.10.0" } }, + "node_modules/spawndamnit/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, "node_modules/spawndamnit/node_modules/which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", @@ -14950,14 +14456,17 @@ } }, "node_modules/string.prototype.trimstart": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", - "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -15034,21 +14543,21 @@ } }, "node_modules/strip-literal": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-2.0.0.tgz", - "integrity": "sha512-f9vHgsCWBq2ugHAkGMiiYY+AYG0D/cbloKKg0nhaaaSNsujdGIpVXCNsrJpCKr5M0f4aI31mr13UjY6GAuXCKA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-2.1.0.tgz", + "integrity": "sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==", "dev": true, "dependencies": { - "js-tokens": "^8.0.2" + "js-tokens": "^9.0.0" }, "funding": { "url": "https://github.com/sponsors/antfu" } }, "node_modules/strip-literal/node_modules/js-tokens": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-8.0.3.tgz", - "integrity": "sha512-UfJMcSJc+SEXEl9lH/VLHSZbThQyLpw1vLO1Lb+j4RWDvG3N2f7yj3PVQA3cmkTBNldJ9eFnM+xEXxHIXrYiJw==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.0.tgz", + "integrity": "sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==", "dev": true }, "node_modules/supports-color": { @@ -15110,9 +14619,9 @@ } }, "node_modules/tar": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz", - "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", + "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", "dev": true, "dependencies": { "chownr": "^2.0.0", @@ -15390,9 +14899,9 @@ "dev": true }, "node_modules/tinypool": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.8.2.tgz", - "integrity": "sha512-SUszKYe5wgsxnNOVlBYO6IC+8VGWdVGZWAqUxp3UErNBtptZvWbwyUOyzNL59zigz2rCA92QiL3wvG+JDSdJdQ==", + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.8.3.tgz", + "integrity": "sha512-Ud7uepAklqRH1bvwy22ynrliC7Dljz7Tm8M/0RBUW+YRa4YHhZ6e4PpgE+fu1zr/WqB1kbeuVrdfeuyIBpy4tw==", "dev": true, "engines": { "node": ">=14.0.0" @@ -15739,9 +15248,9 @@ } }, "node_modules/typed-array-length": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.5.tgz", - "integrity": "sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", "dev": true, "dependencies": { "call-bind": "^1.0.7", @@ -15778,9 +15287,9 @@ } }, "node_modules/ufo": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.5.2.tgz", - "integrity": "sha512-eiutMaL0J2MKdhcOM1tUy13pIrYnyR87fEd8STJQFrrAwImwvlXkxlZEjaKah8r2viPohld08lt73QfLG1NxMg==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.5.3.tgz", + "integrity": "sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==", "dev": true }, "node_modules/uglify-js": { @@ -15900,12 +15409,12 @@ } }, "node_modules/universalify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", - "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", "dev": true, "engines": { - "node": ">= 10.0.0" + "node": ">= 4.0.0" } }, "node_modules/unpipe": { @@ -17269,6 +16778,28 @@ } }, "node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dev": true, + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs-parser/node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/yargs/node_modules/yargs-parser": { "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", @@ -17326,6 +16857,111 @@ "dependencies": { "tslib": "^2.3.0" } + }, + "packages/openapi-ts": { + "name": "@hey-api/openapi-ts", + "version": "0.33.2", + "license": "MIT", + "dependencies": { + "@apidevtools/json-schema-ref-parser": "11.5.4", + "camelcase": "8.0.0", + "commander": "12.0.0", + "handlebars": "4.7.8" + }, + "bin": { + "openapi-ts": "bin/index.js" + }, + "devDependencies": { + "@angular-devkit/build-angular": "17.3.2", + "@angular/animations": "17.3.2", + "@angular/cli": "17.3.2", + "@angular/common": "17.3.2", + "@angular/compiler": "17.3.2", + "@angular/compiler-cli": "17.3.2", + "@angular/core": "17.3.2", + "@angular/forms": "17.3.2", + "@angular/platform-browser": "17.3.2", + "@angular/platform-browser-dynamic": "17.3.2", + "@angular/router": "17.3.2", + "@rollup/plugin-commonjs": "25.0.7", + "@rollup/plugin-json": "6.1.0", + "@rollup/plugin-node-resolve": "15.2.3", + "@rollup/plugin-terser": "0.4.4", + "@rollup/plugin-typescript": "11.1.6", + "@types/cross-spawn": "6.0.6", + "@types/express": "4.17.21", + "@types/node": "20.12.2", + "@typescript-eslint/eslint-plugin": "7.5.0", + "@typescript-eslint/parser": "7.5.0", + "@vitest/coverage-v8": "1.4.0", + "axios": "1.6.8", + "cross-spawn": "7.0.3", + "eslint": "8.57.0", + "eslint-config-prettier": "9.1.0", + "eslint-plugin-prettier": "5.1.3", + "eslint-plugin-simple-import-sort": "12.0.0", + "express": "4.19.2", + "glob": "10.3.12", + "node-fetch": "3.3.2", + "prettier": "3.2.5", + "puppeteer": "22.6.1", + "rimraf": "5.0.5", + "rollup": "4.13.2", + "rollup-plugin-dts": "6.1.0", + "rxjs": "7.8.1", + "ts-node": "10.9.2", + "tslib": "2.6.2", + "typescript": "5.4.3", + "vitest": "1.4.0" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "packages/openapi-ts/node_modules/eslint-plugin-prettier": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz", + "integrity": "sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==", + "dev": true, + "dependencies": { + "prettier-linter-helpers": "^1.0.0", + "synckit": "^0.8.6" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint-plugin-prettier" + }, + "peerDependencies": { + "@types/eslint": ">=8.0.0", + "eslint": ">=8.0.0", + "eslint-config-prettier": "*", + "prettier": ">=3.0.0" + }, + "peerDependenciesMeta": { + "@types/eslint": { + "optional": true + }, + "eslint-config-prettier": { + "optional": true + } + } + }, + "packages/openapi-ts/node_modules/prettier": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", + "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "dev": true, + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } } } } diff --git a/package.json b/package.json index fac2ace57..0fe3bb499 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,10 @@ { - "name": "@hey-api/openapi-ts", - "version": "0.33.2", + "name": "openapi-ts-monorepo", + "version": "0.1.0", + "description": "Monorepo for openapi-ts", + "private": true, "type": "module", - "description": "Turn your OpenAPI specification into a beautiful TypeScript client", + "license": "MIT", "homepage": "https://github.com/hey-api/openapi-ts/", "repository": { "type": "git", @@ -11,104 +13,27 @@ "bugs": { "url": "https://github.com/hey-api/openapi-ts/issues" }, - "license": "MIT", - "keywords": [ - "openapi", - "swagger", - "generator", - "typescript", - "javascript", - "codegen", - "yaml", - "json", - "fetch", - "xhr", - "axios", - "angular", - "node" - ], - "main": "./dist/node/index.js", - "types": "./dist/node/index.d.ts", - "bin": { - "openapi-ts": "bin/index.js" - }, - "files": [ - "bin", - "dist" - ], "scripts": { - "build-bundle": "rollup --config rollup.config.ts --configPlugin typescript", - "build-types-check": "tsc --project tsconfig.check.json", - "build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin typescript && rimraf temp", - "build-types-temp": "tsc --emitDeclarationOnly --outDir temp -p src/node", - "build-types": "run-s build-types-temp build-types-roll build-types-check", - "build": "run-s clean build-bundle build-types", - "clean": "rimraf dist test/generated test/e2e/generated coverage node_modules/.cache", - "dev": "rimraf dist && npm run build-bundle -- --watch", - "lint:fix": "eslint . --fix", - "lint": "eslint .", - "prepublishOnly": "npm run build", - "test:coverage": "vitest run --config vitest.config.unit.ts --coverage", - "test:e2e": "vitest run --config vitest.config.e2e.ts", - "test:sample": "node test/sample.cjs", - "test:update": "vitest watch --config vitest.config.unit.ts --update", - "test:watch": "vitest watch --config vitest.config.unit.ts", - "test": "vitest run --config vitest.config.unit.ts", - "typecheck": "tsc --noEmit", + "build": "npm run build --workspaces --if-present", + "lint:fix": "npm run lint:fix --workspaces --if-present", + "lint": "npm run lint --workspaces --if-present", + "test:coverage": "npm run test:coverage --workspaces --if-present", + "test:e2e": "npm run test:e2e --workspaces --if-present", + "test:update": "npm run test:update --workspaces --if-present", + "test": "npm run test --workspaces --if-present", + "typecheck": "npm run typecheck --workspaces --if-present", + "openapi-ts": "npm run --workspace packages/openapi-ts --", "changeset": "changeset" }, "engines": { "node": "^18.0.0 || >=20.0.0" }, - "dependencies": { - "@apidevtools/json-schema-ref-parser": "11.5.4", - "camelcase": "8.0.0", - "commander": "12.0.0", - "handlebars": "4.7.8" - }, "devDependencies": { - "@angular-devkit/build-angular": "17.3.2", - "@angular/animations": "17.3.2", - "@angular/cli": "17.3.2", - "@angular/common": "17.3.2", - "@angular/compiler": "17.3.2", - "@angular/compiler-cli": "17.3.2", - "@angular/core": "17.3.2", - "@angular/forms": "17.3.2", - "@angular/platform-browser": "17.3.2", - "@angular/platform-browser-dynamic": "17.3.2", - "@angular/router": "17.3.2", "@changesets/cli": "2.27.1", - "@rollup/plugin-commonjs": "25.0.7", - "@rollup/plugin-json": "6.1.0", - "@rollup/plugin-node-resolve": "15.2.3", - "@rollup/plugin-terser": "0.4.4", - "@rollup/plugin-typescript": "11.1.6", - "@svitejs/changesets-changelog-github-compact": "1.1.0", - "@types/cross-spawn": "6.0.6", - "@types/express": "4.17.21", - "@types/node": "20.12.2", - "@typescript-eslint/eslint-plugin": "7.5.0", - "@typescript-eslint/parser": "7.5.0", - "@vitest/coverage-v8": "1.4.0", - "axios": "1.6.8", - "cross-spawn": "7.0.3", - "eslint": "8.57.0", - "eslint-config-prettier": "9.1.0", - "eslint-plugin-prettier": "5.1.3", - "eslint-plugin-simple-import-sort": "12.0.0", - "express": "4.19.2", - "node-fetch": "3.3.2", - "npm-run-all2": "6.1.2", - "prettier": "3.2.5", - "puppeteer": "22.6.1", - "rimraf": "5.0.5", - "rollup": "4.13.2", - "rollup-plugin-dts": "6.1.0", - "rxjs": "7.8.1", - "ts-node": "10.9.2", - "tslib": "2.6.2", - "typescript": "5.4.3", - "vitest": "1.4.0" - } + "@svitejs/changesets-changelog-github-compact": "1.1.0" + }, + "workspaces": [ + "packages/openapi-ts" + ], + "packageManager": "npm@10.5.0+sha256.17ca6e08e7633b624e8f870db81a78f46afe119de62bcaf0a7407574139198fc" } diff --git a/.eslintignore b/packages/openapi-ts/.eslintignore similarity index 100% rename from .eslintignore rename to packages/openapi-ts/.eslintignore diff --git a/.eslintrc.json b/packages/openapi-ts/.eslintrc.json similarity index 100% rename from .eslintrc.json rename to packages/openapi-ts/.eslintrc.json diff --git a/packages/openapi-ts/.gitignore b/packages/openapi-ts/.gitignore new file mode 100644 index 000000000..9abd3a293 --- /dev/null +++ b/packages/openapi-ts/.gitignore @@ -0,0 +1,18 @@ +.DS_Store +.idea +.tmp +junit.xml +node_modules +npm-debug.log* +temp +yarn-debug.log* +yarn-error.log* + +*.iml +dist +coverage +.env + +# test files +test/generated +test/e2e/generated diff --git a/.prettierignore b/packages/openapi-ts/.prettierignore similarity index 100% rename from .prettierignore rename to packages/openapi-ts/.prettierignore diff --git a/.prettierrc.json b/packages/openapi-ts/.prettierrc.json similarity index 100% rename from .prettierrc.json rename to packages/openapi-ts/.prettierrc.json diff --git a/CHANGELOG-old.md b/packages/openapi-ts/CHANGELOG-old.md similarity index 100% rename from CHANGELOG-old.md rename to packages/openapi-ts/CHANGELOG-old.md diff --git a/CHANGELOG.md b/packages/openapi-ts/CHANGELOG.md similarity index 100% rename from CHANGELOG.md rename to packages/openapi-ts/CHANGELOG.md diff --git a/bin/index.js b/packages/openapi-ts/bin/index.js similarity index 100% rename from bin/index.js rename to packages/openapi-ts/bin/index.js diff --git a/packages/openapi-ts/package.json b/packages/openapi-ts/package.json new file mode 100644 index 000000000..4b3ab4ac9 --- /dev/null +++ b/packages/openapi-ts/package.json @@ -0,0 +1,112 @@ +{ + "name": "@hey-api/openapi-ts", + "version": "0.33.2", + "type": "module", + "description": "Turn your OpenAPI specification into a beautiful TypeScript client", + "homepage": "https://github.com/hey-api/openapi-ts/", + "repository": { + "type": "git", + "url": "git+https://github.com/hey-api/openapi-ts.git" + }, + "bugs": { + "url": "https://github.com/hey-api/openapi-ts/issues" + }, + "license": "MIT", + "keywords": [ + "openapi", + "swagger", + "generator", + "typescript", + "javascript", + "codegen", + "yaml", + "json", + "fetch", + "xhr", + "axios", + "angular", + "node" + ], + "main": "./dist/node/index.js", + "types": "./dist/node/index.d.ts", + "bin": { + "openapi-ts": "bin/index.js" + }, + "files": [ + "bin", + "dist" + ], + "scripts": { + "build-bundle": "rollup --config rollup.config.ts --configPlugin typescript", + "build-types-check": "tsc --project tsconfig.check.json", + "build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin typescript && rimraf temp", + "build-types-temp": "tsc --emitDeclarationOnly --outDir temp -p src/node", + "build-types": "npm run build-types-temp && npm run build-types-roll && npm run build-types-check", + "build": "npm run clean && npm run build-bundle && npm run build-types", + "clean": "rimraf dist test/generated test/e2e/generated coverage node_modules/.cache", + "dev": "rimraf dist && npm run build-bundle -- --watch", + "lint:fix": "eslint . --fix", + "lint": "eslint .", + "prepublishOnly": "npm run build", + "test:coverage": "vitest run --config vitest.config.unit.ts --coverage", + "test:e2e": "vitest run --config vitest.config.e2e.ts", + "test:sample": "node test/sample.cjs", + "test:update": "vitest watch --config vitest.config.unit.ts --update", + "test:watch": "vitest watch --config vitest.config.unit.ts", + "test": "vitest run --config vitest.config.unit.ts", + "typecheck": "tsc --noEmit", + "changeset": "changeset" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "dependencies": { + "@apidevtools/json-schema-ref-parser": "11.5.4", + "camelcase": "8.0.0", + "commander": "12.0.0", + "handlebars": "4.7.8" + }, + "devDependencies": { + "@angular-devkit/build-angular": "17.3.2", + "@angular/animations": "17.3.2", + "@angular/cli": "17.3.2", + "@angular/common": "17.3.2", + "@angular/compiler": "17.3.2", + "@angular/compiler-cli": "17.3.2", + "@angular/core": "17.3.2", + "@angular/forms": "17.3.2", + "@angular/platform-browser": "17.3.2", + "@angular/platform-browser-dynamic": "17.3.2", + "@angular/router": "17.3.2", + "@rollup/plugin-commonjs": "25.0.7", + "@rollup/plugin-json": "6.1.0", + "@rollup/plugin-node-resolve": "15.2.3", + "@rollup/plugin-terser": "0.4.4", + "@rollup/plugin-typescript": "11.1.6", + "@types/cross-spawn": "6.0.6", + "@types/express": "4.17.21", + "@types/node": "20.12.2", + "@typescript-eslint/eslint-plugin": "7.5.0", + "@typescript-eslint/parser": "7.5.0", + "@vitest/coverage-v8": "1.4.0", + "axios": "1.6.8", + "cross-spawn": "7.0.3", + "eslint": "8.57.0", + "eslint-config-prettier": "9.1.0", + "eslint-plugin-prettier": "5.1.3", + "eslint-plugin-simple-import-sort": "12.0.0", + "express": "4.19.2", + "glob": "10.3.12", + "node-fetch": "3.3.2", + "prettier": "3.2.5", + "puppeteer": "22.6.1", + "rimraf": "5.0.5", + "rollup": "4.13.2", + "rollup-plugin-dts": "6.1.0", + "rxjs": "7.8.1", + "ts-node": "10.9.2", + "tslib": "2.6.2", + "typescript": "5.4.3", + "vitest": "1.4.0" + } +} diff --git a/rollup.config.ts b/packages/openapi-ts/rollup.config.ts similarity index 100% rename from rollup.config.ts rename to packages/openapi-ts/rollup.config.ts diff --git a/rollup.dts.config.ts b/packages/openapi-ts/rollup.dts.config.ts similarity index 100% rename from rollup.dts.config.ts rename to packages/openapi-ts/rollup.dts.config.ts diff --git a/src/index.spec.ts b/packages/openapi-ts/src/index.spec.ts similarity index 100% rename from src/index.spec.ts rename to packages/openapi-ts/src/index.spec.ts diff --git a/src/index.ts b/packages/openapi-ts/src/index.ts similarity index 100% rename from src/index.ts rename to packages/openapi-ts/src/index.ts diff --git a/src/node/index.ts b/packages/openapi-ts/src/node/index.ts similarity index 100% rename from src/node/index.ts rename to packages/openapi-ts/src/node/index.ts diff --git a/src/node/tsconfig.json b/packages/openapi-ts/src/node/tsconfig.json similarity index 100% rename from src/node/tsconfig.json rename to packages/openapi-ts/src/node/tsconfig.json diff --git a/src/openApi/__tests__/index.spec.ts b/packages/openapi-ts/src/openApi/__tests__/index.spec.ts similarity index 100% rename from src/openApi/__tests__/index.spec.ts rename to packages/openapi-ts/src/openApi/__tests__/index.spec.ts diff --git a/src/openApi/common/interfaces/Dictionary.ts b/packages/openapi-ts/src/openApi/common/interfaces/Dictionary.ts similarity index 100% rename from src/openApi/common/interfaces/Dictionary.ts rename to packages/openapi-ts/src/openApi/common/interfaces/Dictionary.ts diff --git a/src/openApi/common/interfaces/OpenApi.ts b/packages/openapi-ts/src/openApi/common/interfaces/OpenApi.ts similarity index 100% rename from src/openApi/common/interfaces/OpenApi.ts rename to packages/openapi-ts/src/openApi/common/interfaces/OpenApi.ts diff --git a/src/openApi/common/interfaces/Type.ts b/packages/openapi-ts/src/openApi/common/interfaces/Type.ts similarity index 100% rename from src/openApi/common/interfaces/Type.ts rename to packages/openapi-ts/src/openApi/common/interfaces/Type.ts diff --git a/src/openApi/common/interfaces/WithEnumExtension.ts b/packages/openapi-ts/src/openApi/common/interfaces/WithEnumExtension.ts similarity index 100% rename from src/openApi/common/interfaces/WithEnumExtension.ts rename to packages/openapi-ts/src/openApi/common/interfaces/WithEnumExtension.ts diff --git a/src/openApi/common/interfaces/client.ts b/packages/openapi-ts/src/openApi/common/interfaces/client.ts similarity index 100% rename from src/openApi/common/interfaces/client.ts rename to packages/openapi-ts/src/openApi/common/interfaces/client.ts diff --git a/src/openApi/common/parser/__tests__/getPattern.spec.ts b/packages/openapi-ts/src/openApi/common/parser/__tests__/getPattern.spec.ts similarity index 100% rename from src/openApi/common/parser/__tests__/getPattern.spec.ts rename to packages/openapi-ts/src/openApi/common/parser/__tests__/getPattern.spec.ts diff --git a/src/openApi/common/parser/__tests__/getRef.spec.ts b/packages/openapi-ts/src/openApi/common/parser/__tests__/getRef.spec.ts similarity index 100% rename from src/openApi/common/parser/__tests__/getRef.spec.ts rename to packages/openapi-ts/src/openApi/common/parser/__tests__/getRef.spec.ts diff --git a/src/openApi/common/parser/__tests__/operation.spec.ts b/packages/openapi-ts/src/openApi/common/parser/__tests__/operation.spec.ts similarity index 100% rename from src/openApi/common/parser/__tests__/operation.spec.ts rename to packages/openapi-ts/src/openApi/common/parser/__tests__/operation.spec.ts diff --git a/src/openApi/common/parser/__tests__/sanitize.spec.ts b/packages/openapi-ts/src/openApi/common/parser/__tests__/sanitize.spec.ts similarity index 100% rename from src/openApi/common/parser/__tests__/sanitize.spec.ts rename to packages/openapi-ts/src/openApi/common/parser/__tests__/sanitize.spec.ts diff --git a/src/openApi/common/parser/__tests__/service.spec.ts b/packages/openapi-ts/src/openApi/common/parser/__tests__/service.spec.ts similarity index 100% rename from src/openApi/common/parser/__tests__/service.spec.ts rename to packages/openapi-ts/src/openApi/common/parser/__tests__/service.spec.ts diff --git a/src/openApi/common/parser/__tests__/sort.spec.ts b/packages/openapi-ts/src/openApi/common/parser/__tests__/sort.spec.ts similarity index 100% rename from src/openApi/common/parser/__tests__/sort.spec.ts rename to packages/openapi-ts/src/openApi/common/parser/__tests__/sort.spec.ts diff --git a/src/openApi/common/parser/__tests__/stripNamespace.spec.ts b/packages/openapi-ts/src/openApi/common/parser/__tests__/stripNamespace.spec.ts similarity index 100% rename from src/openApi/common/parser/__tests__/stripNamespace.spec.ts rename to packages/openapi-ts/src/openApi/common/parser/__tests__/stripNamespace.spec.ts diff --git a/src/openApi/common/parser/__tests__/type.spec.ts b/packages/openapi-ts/src/openApi/common/parser/__tests__/type.spec.ts similarity index 100% rename from src/openApi/common/parser/__tests__/type.spec.ts rename to packages/openapi-ts/src/openApi/common/parser/__tests__/type.spec.ts diff --git a/src/openApi/common/parser/getDefault.ts b/packages/openapi-ts/src/openApi/common/parser/getDefault.ts similarity index 100% rename from src/openApi/common/parser/getDefault.ts rename to packages/openapi-ts/src/openApi/common/parser/getDefault.ts diff --git a/src/openApi/common/parser/getEnums.ts b/packages/openapi-ts/src/openApi/common/parser/getEnums.ts similarity index 100% rename from src/openApi/common/parser/getEnums.ts rename to packages/openapi-ts/src/openApi/common/parser/getEnums.ts diff --git a/src/openApi/common/parser/getPattern.ts b/packages/openapi-ts/src/openApi/common/parser/getPattern.ts similarity index 100% rename from src/openApi/common/parser/getPattern.ts rename to packages/openapi-ts/src/openApi/common/parser/getPattern.ts diff --git a/src/openApi/common/parser/getRef.ts b/packages/openapi-ts/src/openApi/common/parser/getRef.ts similarity index 100% rename from src/openApi/common/parser/getRef.ts rename to packages/openapi-ts/src/openApi/common/parser/getRef.ts diff --git a/src/openApi/common/parser/operation.ts b/packages/openapi-ts/src/openApi/common/parser/operation.ts similarity index 100% rename from src/openApi/common/parser/operation.ts rename to packages/openapi-ts/src/openApi/common/parser/operation.ts diff --git a/src/openApi/common/parser/reservedWords.ts b/packages/openapi-ts/src/openApi/common/parser/reservedWords.ts similarity index 100% rename from src/openApi/common/parser/reservedWords.ts rename to packages/openapi-ts/src/openApi/common/parser/reservedWords.ts diff --git a/src/openApi/common/parser/sanitize.ts b/packages/openapi-ts/src/openApi/common/parser/sanitize.ts similarity index 100% rename from src/openApi/common/parser/sanitize.ts rename to packages/openapi-ts/src/openApi/common/parser/sanitize.ts diff --git a/src/openApi/common/parser/service.ts b/packages/openapi-ts/src/openApi/common/parser/service.ts similarity index 100% rename from src/openApi/common/parser/service.ts rename to packages/openapi-ts/src/openApi/common/parser/service.ts diff --git a/src/openApi/common/parser/sort.ts b/packages/openapi-ts/src/openApi/common/parser/sort.ts similarity index 100% rename from src/openApi/common/parser/sort.ts rename to packages/openapi-ts/src/openApi/common/parser/sort.ts diff --git a/src/openApi/common/parser/stripNamespace.ts b/packages/openapi-ts/src/openApi/common/parser/stripNamespace.ts similarity index 100% rename from src/openApi/common/parser/stripNamespace.ts rename to packages/openapi-ts/src/openApi/common/parser/stripNamespace.ts diff --git a/src/openApi/common/parser/type.ts b/packages/openapi-ts/src/openApi/common/parser/type.ts similarity index 100% rename from src/openApi/common/parser/type.ts rename to packages/openapi-ts/src/openApi/common/parser/type.ts diff --git a/src/openApi/index.ts b/packages/openapi-ts/src/openApi/index.ts similarity index 100% rename from src/openApi/index.ts rename to packages/openapi-ts/src/openApi/index.ts diff --git a/src/openApi/v2/index.ts b/packages/openapi-ts/src/openApi/v2/index.ts similarity index 100% rename from src/openApi/v2/index.ts rename to packages/openapi-ts/src/openApi/v2/index.ts diff --git a/src/openApi/v2/interfaces/Extensions/WithNullableExtension.ts b/packages/openapi-ts/src/openApi/v2/interfaces/Extensions/WithNullableExtension.ts similarity index 100% rename from src/openApi/v2/interfaces/Extensions/WithNullableExtension.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/Extensions/WithNullableExtension.ts diff --git a/src/openApi/v2/interfaces/OpenApi.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApi.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApi.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApi.ts diff --git a/src/openApi/v2/interfaces/OpenApiContact.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiContact.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiContact.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiContact.ts diff --git a/src/openApi/v2/interfaces/OpenApiExample.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiExample.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiExample.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiExample.ts diff --git a/src/openApi/v2/interfaces/OpenApiExternalDocs.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiExternalDocs.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiExternalDocs.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiExternalDocs.ts diff --git a/src/openApi/v2/interfaces/OpenApiHeader.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiHeader.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiHeader.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiHeader.ts diff --git a/src/openApi/v2/interfaces/OpenApiInfo.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiInfo.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiInfo.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiInfo.ts diff --git a/src/openApi/v2/interfaces/OpenApiItems.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiItems.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiItems.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiItems.ts diff --git a/src/openApi/v2/interfaces/OpenApiLicense.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiLicense.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiLicense.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiLicense.ts diff --git a/src/openApi/v2/interfaces/OpenApiOperation.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiOperation.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiOperation.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiOperation.ts diff --git a/src/openApi/v2/interfaces/OpenApiParameter.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiParameter.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiParameter.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiParameter.ts diff --git a/src/openApi/v2/interfaces/OpenApiPath.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiPath.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiPath.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiPath.ts diff --git a/src/openApi/v2/interfaces/OpenApiReference.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiReference.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiReference.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiReference.ts diff --git a/src/openApi/v2/interfaces/OpenApiResponse.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiResponse.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiResponse.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiResponse.ts diff --git a/src/openApi/v2/interfaces/OpenApiResponses.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiResponses.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiResponses.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiResponses.ts diff --git a/src/openApi/v2/interfaces/OpenApiSchema.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiSchema.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiSchema.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiSchema.ts diff --git a/src/openApi/v2/interfaces/OpenApiSecurityRequirement.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiSecurityRequirement.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiSecurityRequirement.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiSecurityRequirement.ts diff --git a/src/openApi/v2/interfaces/OpenApiSecurityScheme.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiSecurityScheme.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiSecurityScheme.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiSecurityScheme.ts diff --git a/src/openApi/v2/interfaces/OpenApiTag.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiTag.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiTag.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiTag.ts diff --git a/src/openApi/v2/interfaces/OpenApiXml.ts b/packages/openapi-ts/src/openApi/v2/interfaces/OpenApiXml.ts similarity index 100% rename from src/openApi/v2/interfaces/OpenApiXml.ts rename to packages/openapi-ts/src/openApi/v2/interfaces/OpenApiXml.ts diff --git a/src/openApi/v2/parser/__tests__/getServer.spec.ts b/packages/openapi-ts/src/openApi/v2/parser/__tests__/getServer.spec.ts similarity index 100% rename from src/openApi/v2/parser/__tests__/getServer.spec.ts rename to packages/openapi-ts/src/openApi/v2/parser/__tests__/getServer.spec.ts diff --git a/src/openApi/v2/parser/__tests__/getServices.spec.ts b/packages/openapi-ts/src/openApi/v2/parser/__tests__/getServices.spec.ts similarity index 100% rename from src/openApi/v2/parser/__tests__/getServices.spec.ts rename to packages/openapi-ts/src/openApi/v2/parser/__tests__/getServices.spec.ts diff --git a/src/openApi/v2/parser/getModel.ts b/packages/openapi-ts/src/openApi/v2/parser/getModel.ts similarity index 100% rename from src/openApi/v2/parser/getModel.ts rename to packages/openapi-ts/src/openApi/v2/parser/getModel.ts diff --git a/src/openApi/v2/parser/getModelComposition.ts b/packages/openapi-ts/src/openApi/v2/parser/getModelComposition.ts similarity index 100% rename from src/openApi/v2/parser/getModelComposition.ts rename to packages/openapi-ts/src/openApi/v2/parser/getModelComposition.ts diff --git a/src/openApi/v2/parser/getModelProperties.ts b/packages/openapi-ts/src/openApi/v2/parser/getModelProperties.ts similarity index 100% rename from src/openApi/v2/parser/getModelProperties.ts rename to packages/openapi-ts/src/openApi/v2/parser/getModelProperties.ts diff --git a/src/openApi/v2/parser/getModels.ts b/packages/openapi-ts/src/openApi/v2/parser/getModels.ts similarity index 100% rename from src/openApi/v2/parser/getModels.ts rename to packages/openapi-ts/src/openApi/v2/parser/getModels.ts diff --git a/src/openApi/v2/parser/getOperation.ts b/packages/openapi-ts/src/openApi/v2/parser/getOperation.ts similarity index 100% rename from src/openApi/v2/parser/getOperation.ts rename to packages/openapi-ts/src/openApi/v2/parser/getOperation.ts diff --git a/src/openApi/v2/parser/getOperationParameter.ts b/packages/openapi-ts/src/openApi/v2/parser/getOperationParameter.ts similarity index 100% rename from src/openApi/v2/parser/getOperationParameter.ts rename to packages/openapi-ts/src/openApi/v2/parser/getOperationParameter.ts diff --git a/src/openApi/v2/parser/getOperationParameters.ts b/packages/openapi-ts/src/openApi/v2/parser/getOperationParameters.ts similarity index 100% rename from src/openApi/v2/parser/getOperationParameters.ts rename to packages/openapi-ts/src/openApi/v2/parser/getOperationParameters.ts diff --git a/src/openApi/v2/parser/getOperationResponse.ts b/packages/openapi-ts/src/openApi/v2/parser/getOperationResponse.ts similarity index 100% rename from src/openApi/v2/parser/getOperationResponse.ts rename to packages/openapi-ts/src/openApi/v2/parser/getOperationResponse.ts diff --git a/src/openApi/v2/parser/getOperationResponses.ts b/packages/openapi-ts/src/openApi/v2/parser/getOperationResponses.ts similarity index 100% rename from src/openApi/v2/parser/getOperationResponses.ts rename to packages/openapi-ts/src/openApi/v2/parser/getOperationResponses.ts diff --git a/src/openApi/v2/parser/getOperationResults.ts b/packages/openapi-ts/src/openApi/v2/parser/getOperationResults.ts similarity index 100% rename from src/openApi/v2/parser/getOperationResults.ts rename to packages/openapi-ts/src/openApi/v2/parser/getOperationResults.ts diff --git a/src/openApi/v2/parser/getRequiredPropertiesFromComposition.ts b/packages/openapi-ts/src/openApi/v2/parser/getRequiredPropertiesFromComposition.ts similarity index 100% rename from src/openApi/v2/parser/getRequiredPropertiesFromComposition.ts rename to packages/openapi-ts/src/openApi/v2/parser/getRequiredPropertiesFromComposition.ts diff --git a/src/openApi/v2/parser/getServer.ts b/packages/openapi-ts/src/openApi/v2/parser/getServer.ts similarity index 100% rename from src/openApi/v2/parser/getServer.ts rename to packages/openapi-ts/src/openApi/v2/parser/getServer.ts diff --git a/src/openApi/v2/parser/getServices.ts b/packages/openapi-ts/src/openApi/v2/parser/getServices.ts similarity index 100% rename from src/openApi/v2/parser/getServices.ts rename to packages/openapi-ts/src/openApi/v2/parser/getServices.ts diff --git a/src/openApi/v3/index.ts b/packages/openapi-ts/src/openApi/v3/index.ts similarity index 100% rename from src/openApi/v3/index.ts rename to packages/openapi-ts/src/openApi/v3/index.ts diff --git a/src/openApi/v3/interfaces/OpenApi.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApi.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApi.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApi.ts diff --git a/src/openApi/v3/interfaces/OpenApiCallback.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiCallback.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiCallback.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiCallback.ts diff --git a/src/openApi/v3/interfaces/OpenApiComponents.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiComponents.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiComponents.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiComponents.ts diff --git a/src/openApi/v3/interfaces/OpenApiContact.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiContact.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiContact.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiContact.ts diff --git a/src/openApi/v3/interfaces/OpenApiDiscriminator.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiDiscriminator.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiDiscriminator.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiDiscriminator.ts diff --git a/src/openApi/v3/interfaces/OpenApiEncoding.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiEncoding.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiEncoding.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiEncoding.ts diff --git a/src/openApi/v3/interfaces/OpenApiExample.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiExample.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiExample.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiExample.ts diff --git a/src/openApi/v3/interfaces/OpenApiExternalDocs.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiExternalDocs.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiExternalDocs.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiExternalDocs.ts diff --git a/src/openApi/v3/interfaces/OpenApiHeader.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiHeader.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiHeader.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiHeader.ts diff --git a/src/openApi/v3/interfaces/OpenApiInfo.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiInfo.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiInfo.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiInfo.ts diff --git a/src/openApi/v3/interfaces/OpenApiLicense.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiLicense.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiLicense.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiLicense.ts diff --git a/src/openApi/v3/interfaces/OpenApiLink.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiLink.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiLink.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiLink.ts diff --git a/src/openApi/v3/interfaces/OpenApiMediaType.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiMediaType.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiMediaType.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiMediaType.ts diff --git a/src/openApi/v3/interfaces/OpenApiOAuthFlow.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiOAuthFlow.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiOAuthFlow.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiOAuthFlow.ts diff --git a/src/openApi/v3/interfaces/OpenApiOAuthFlows.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiOAuthFlows.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiOAuthFlows.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiOAuthFlows.ts diff --git a/src/openApi/v3/interfaces/OpenApiOperation.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiOperation.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiOperation.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiOperation.ts diff --git a/src/openApi/v3/interfaces/OpenApiParameter.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiParameter.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiParameter.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiParameter.ts diff --git a/src/openApi/v3/interfaces/OpenApiPath.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiPath.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiPath.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiPath.ts diff --git a/src/openApi/v3/interfaces/OpenApiPaths.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiPaths.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiPaths.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiPaths.ts diff --git a/src/openApi/v3/interfaces/OpenApiReference.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiReference.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiReference.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiReference.ts diff --git a/src/openApi/v3/interfaces/OpenApiRequestBody.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiRequestBody.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiRequestBody.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiRequestBody.ts diff --git a/src/openApi/v3/interfaces/OpenApiResponse.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiResponse.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiResponse.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiResponse.ts diff --git a/src/openApi/v3/interfaces/OpenApiResponses.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiResponses.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiResponses.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiResponses.ts diff --git a/src/openApi/v3/interfaces/OpenApiSchema.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiSchema.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiSchema.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiSchema.ts diff --git a/src/openApi/v3/interfaces/OpenApiSecurityRequirement.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiSecurityRequirement.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiSecurityRequirement.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiSecurityRequirement.ts diff --git a/src/openApi/v3/interfaces/OpenApiSecurityScheme.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiSecurityScheme.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiSecurityScheme.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiSecurityScheme.ts diff --git a/src/openApi/v3/interfaces/OpenApiServer.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiServer.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiServer.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiServer.ts diff --git a/src/openApi/v3/interfaces/OpenApiServerVariable.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiServerVariable.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiServerVariable.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiServerVariable.ts diff --git a/src/openApi/v3/interfaces/OpenApiTag.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiTag.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiTag.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiTag.ts diff --git a/src/openApi/v3/interfaces/OpenApiXml.ts b/packages/openapi-ts/src/openApi/v3/interfaces/OpenApiXml.ts similarity index 100% rename from src/openApi/v3/interfaces/OpenApiXml.ts rename to packages/openapi-ts/src/openApi/v3/interfaces/OpenApiXml.ts diff --git a/src/openApi/v3/parser/__tests__/getModel.spec.ts b/packages/openapi-ts/src/openApi/v3/parser/__tests__/getModel.spec.ts similarity index 100% rename from src/openApi/v3/parser/__tests__/getModel.spec.ts rename to packages/openapi-ts/src/openApi/v3/parser/__tests__/getModel.spec.ts diff --git a/src/openApi/v3/parser/__tests__/getServer.spec.ts b/packages/openapi-ts/src/openApi/v3/parser/__tests__/getServer.spec.ts similarity index 100% rename from src/openApi/v3/parser/__tests__/getServer.spec.ts rename to packages/openapi-ts/src/openApi/v3/parser/__tests__/getServer.spec.ts diff --git a/src/openApi/v3/parser/__tests__/getServices.spec.ts b/packages/openapi-ts/src/openApi/v3/parser/__tests__/getServices.spec.ts similarity index 100% rename from src/openApi/v3/parser/__tests__/getServices.spec.ts rename to packages/openapi-ts/src/openApi/v3/parser/__tests__/getServices.spec.ts diff --git a/src/openApi/v3/parser/discriminator.ts b/packages/openapi-ts/src/openApi/v3/parser/discriminator.ts similarity index 100% rename from src/openApi/v3/parser/discriminator.ts rename to packages/openapi-ts/src/openApi/v3/parser/discriminator.ts diff --git a/src/openApi/v3/parser/getContent.ts b/packages/openapi-ts/src/openApi/v3/parser/getContent.ts similarity index 100% rename from src/openApi/v3/parser/getContent.ts rename to packages/openapi-ts/src/openApi/v3/parser/getContent.ts diff --git a/src/openApi/v3/parser/getModel.ts b/packages/openapi-ts/src/openApi/v3/parser/getModel.ts similarity index 100% rename from src/openApi/v3/parser/getModel.ts rename to packages/openapi-ts/src/openApi/v3/parser/getModel.ts diff --git a/src/openApi/v3/parser/getModelComposition.ts b/packages/openapi-ts/src/openApi/v3/parser/getModelComposition.ts similarity index 100% rename from src/openApi/v3/parser/getModelComposition.ts rename to packages/openapi-ts/src/openApi/v3/parser/getModelComposition.ts diff --git a/src/openApi/v3/parser/getModelProperties.ts b/packages/openapi-ts/src/openApi/v3/parser/getModelProperties.ts similarity index 100% rename from src/openApi/v3/parser/getModelProperties.ts rename to packages/openapi-ts/src/openApi/v3/parser/getModelProperties.ts diff --git a/src/openApi/v3/parser/getModels.ts b/packages/openapi-ts/src/openApi/v3/parser/getModels.ts similarity index 100% rename from src/openApi/v3/parser/getModels.ts rename to packages/openapi-ts/src/openApi/v3/parser/getModels.ts diff --git a/src/openApi/v3/parser/getOperationParameter.ts b/packages/openapi-ts/src/openApi/v3/parser/getOperationParameter.ts similarity index 100% rename from src/openApi/v3/parser/getOperationParameter.ts rename to packages/openapi-ts/src/openApi/v3/parser/getOperationParameter.ts diff --git a/src/openApi/v3/parser/getOperationParameters.ts b/packages/openapi-ts/src/openApi/v3/parser/getOperationParameters.ts similarity index 100% rename from src/openApi/v3/parser/getOperationParameters.ts rename to packages/openapi-ts/src/openApi/v3/parser/getOperationParameters.ts diff --git a/src/openApi/v3/parser/getOperationRequestBody.ts b/packages/openapi-ts/src/openApi/v3/parser/getOperationRequestBody.ts similarity index 100% rename from src/openApi/v3/parser/getOperationRequestBody.ts rename to packages/openapi-ts/src/openApi/v3/parser/getOperationRequestBody.ts diff --git a/src/openApi/v3/parser/getOperationResponse.ts b/packages/openapi-ts/src/openApi/v3/parser/getOperationResponse.ts similarity index 100% rename from src/openApi/v3/parser/getOperationResponse.ts rename to packages/openapi-ts/src/openApi/v3/parser/getOperationResponse.ts diff --git a/src/openApi/v3/parser/getOperationResponses.ts b/packages/openapi-ts/src/openApi/v3/parser/getOperationResponses.ts similarity index 100% rename from src/openApi/v3/parser/getOperationResponses.ts rename to packages/openapi-ts/src/openApi/v3/parser/getOperationResponses.ts diff --git a/src/openApi/v3/parser/getOperationResults.ts b/packages/openapi-ts/src/openApi/v3/parser/getOperationResults.ts similarity index 100% rename from src/openApi/v3/parser/getOperationResults.ts rename to packages/openapi-ts/src/openApi/v3/parser/getOperationResults.ts diff --git a/src/openApi/v3/parser/getRequiredPropertiesFromComposition.ts b/packages/openapi-ts/src/openApi/v3/parser/getRequiredPropertiesFromComposition.ts similarity index 100% rename from src/openApi/v3/parser/getRequiredPropertiesFromComposition.ts rename to packages/openapi-ts/src/openApi/v3/parser/getRequiredPropertiesFromComposition.ts diff --git a/src/openApi/v3/parser/getServer.ts b/packages/openapi-ts/src/openApi/v3/parser/getServer.ts similarity index 100% rename from src/openApi/v3/parser/getServer.ts rename to packages/openapi-ts/src/openApi/v3/parser/getServer.ts diff --git a/src/openApi/v3/parser/getServices.ts b/packages/openapi-ts/src/openApi/v3/parser/getServices.ts similarity index 100% rename from src/openApi/v3/parser/getServices.ts rename to packages/openapi-ts/src/openApi/v3/parser/getServices.ts diff --git a/src/openApi/v3/parser/inferType.ts b/packages/openapi-ts/src/openApi/v3/parser/inferType.ts similarity index 100% rename from src/openApi/v3/parser/inferType.ts rename to packages/openapi-ts/src/openApi/v3/parser/inferType.ts diff --git a/src/openApi/v3/parser/operation.ts b/packages/openapi-ts/src/openApi/v3/parser/operation.ts similarity index 100% rename from src/openApi/v3/parser/operation.ts rename to packages/openapi-ts/src/openApi/v3/parser/operation.ts diff --git a/src/templates/client.hbs b/packages/openapi-ts/src/templates/client.hbs similarity index 100% rename from src/templates/client.hbs rename to packages/openapi-ts/src/templates/client.hbs diff --git a/src/templates/core/ApiError.hbs b/packages/openapi-ts/src/templates/core/ApiError.hbs similarity index 100% rename from src/templates/core/ApiError.hbs rename to packages/openapi-ts/src/templates/core/ApiError.hbs diff --git a/src/templates/core/ApiRequestOptions.hbs b/packages/openapi-ts/src/templates/core/ApiRequestOptions.hbs similarity index 100% rename from src/templates/core/ApiRequestOptions.hbs rename to packages/openapi-ts/src/templates/core/ApiRequestOptions.hbs diff --git a/src/templates/core/ApiResult.hbs b/packages/openapi-ts/src/templates/core/ApiResult.hbs similarity index 100% rename from src/templates/core/ApiResult.hbs rename to packages/openapi-ts/src/templates/core/ApiResult.hbs diff --git a/src/templates/core/BaseHttpRequest.hbs b/packages/openapi-ts/src/templates/core/BaseHttpRequest.hbs similarity index 100% rename from src/templates/core/BaseHttpRequest.hbs rename to packages/openapi-ts/src/templates/core/BaseHttpRequest.hbs diff --git a/src/templates/core/CancelablePromise.hbs b/packages/openapi-ts/src/templates/core/CancelablePromise.hbs similarity index 100% rename from src/templates/core/CancelablePromise.hbs rename to packages/openapi-ts/src/templates/core/CancelablePromise.hbs diff --git a/src/templates/core/HttpRequest.hbs b/packages/openapi-ts/src/templates/core/HttpRequest.hbs similarity index 100% rename from src/templates/core/HttpRequest.hbs rename to packages/openapi-ts/src/templates/core/HttpRequest.hbs diff --git a/src/templates/core/OpenAPI.hbs b/packages/openapi-ts/src/templates/core/OpenAPI.hbs similarity index 100% rename from src/templates/core/OpenAPI.hbs rename to packages/openapi-ts/src/templates/core/OpenAPI.hbs diff --git a/src/templates/core/angular/getHeaders.hbs b/packages/openapi-ts/src/templates/core/angular/getHeaders.hbs similarity index 100% rename from src/templates/core/angular/getHeaders.hbs rename to packages/openapi-ts/src/templates/core/angular/getHeaders.hbs diff --git a/src/templates/core/angular/getRequestBody.hbs b/packages/openapi-ts/src/templates/core/angular/getRequestBody.hbs similarity index 100% rename from src/templates/core/angular/getRequestBody.hbs rename to packages/openapi-ts/src/templates/core/angular/getRequestBody.hbs diff --git a/src/templates/core/angular/getResponseBody.hbs b/packages/openapi-ts/src/templates/core/angular/getResponseBody.hbs similarity index 100% rename from src/templates/core/angular/getResponseBody.hbs rename to packages/openapi-ts/src/templates/core/angular/getResponseBody.hbs diff --git a/src/templates/core/angular/getResponseHeader.hbs b/packages/openapi-ts/src/templates/core/angular/getResponseHeader.hbs similarity index 100% rename from src/templates/core/angular/getResponseHeader.hbs rename to packages/openapi-ts/src/templates/core/angular/getResponseHeader.hbs diff --git a/src/templates/core/angular/request.hbs b/packages/openapi-ts/src/templates/core/angular/request.hbs similarity index 100% rename from src/templates/core/angular/request.hbs rename to packages/openapi-ts/src/templates/core/angular/request.hbs diff --git a/src/templates/core/angular/sendRequest.hbs b/packages/openapi-ts/src/templates/core/angular/sendRequest.hbs similarity index 100% rename from src/templates/core/angular/sendRequest.hbs rename to packages/openapi-ts/src/templates/core/angular/sendRequest.hbs diff --git a/src/templates/core/axios/getHeaders.hbs b/packages/openapi-ts/src/templates/core/axios/getHeaders.hbs similarity index 100% rename from src/templates/core/axios/getHeaders.hbs rename to packages/openapi-ts/src/templates/core/axios/getHeaders.hbs diff --git a/src/templates/core/axios/getRequestBody.hbs b/packages/openapi-ts/src/templates/core/axios/getRequestBody.hbs similarity index 100% rename from src/templates/core/axios/getRequestBody.hbs rename to packages/openapi-ts/src/templates/core/axios/getRequestBody.hbs diff --git a/src/templates/core/axios/getResponseBody.hbs b/packages/openapi-ts/src/templates/core/axios/getResponseBody.hbs similarity index 100% rename from src/templates/core/axios/getResponseBody.hbs rename to packages/openapi-ts/src/templates/core/axios/getResponseBody.hbs diff --git a/src/templates/core/axios/getResponseHeader.hbs b/packages/openapi-ts/src/templates/core/axios/getResponseHeader.hbs similarity index 100% rename from src/templates/core/axios/getResponseHeader.hbs rename to packages/openapi-ts/src/templates/core/axios/getResponseHeader.hbs diff --git a/src/templates/core/axios/request.hbs b/packages/openapi-ts/src/templates/core/axios/request.hbs similarity index 100% rename from src/templates/core/axios/request.hbs rename to packages/openapi-ts/src/templates/core/axios/request.hbs diff --git a/src/templates/core/axios/sendRequest.hbs b/packages/openapi-ts/src/templates/core/axios/sendRequest.hbs similarity index 100% rename from src/templates/core/axios/sendRequest.hbs rename to packages/openapi-ts/src/templates/core/axios/sendRequest.hbs diff --git a/src/templates/core/fetch/getHeaders.hbs b/packages/openapi-ts/src/templates/core/fetch/getHeaders.hbs similarity index 100% rename from src/templates/core/fetch/getHeaders.hbs rename to packages/openapi-ts/src/templates/core/fetch/getHeaders.hbs diff --git a/src/templates/core/fetch/getRequestBody.hbs b/packages/openapi-ts/src/templates/core/fetch/getRequestBody.hbs similarity index 100% rename from src/templates/core/fetch/getRequestBody.hbs rename to packages/openapi-ts/src/templates/core/fetch/getRequestBody.hbs diff --git a/src/templates/core/fetch/getResponseBody.hbs b/packages/openapi-ts/src/templates/core/fetch/getResponseBody.hbs similarity index 100% rename from src/templates/core/fetch/getResponseBody.hbs rename to packages/openapi-ts/src/templates/core/fetch/getResponseBody.hbs diff --git a/src/templates/core/fetch/getResponseHeader.hbs b/packages/openapi-ts/src/templates/core/fetch/getResponseHeader.hbs similarity index 100% rename from src/templates/core/fetch/getResponseHeader.hbs rename to packages/openapi-ts/src/templates/core/fetch/getResponseHeader.hbs diff --git a/src/templates/core/fetch/request.hbs b/packages/openapi-ts/src/templates/core/fetch/request.hbs similarity index 100% rename from src/templates/core/fetch/request.hbs rename to packages/openapi-ts/src/templates/core/fetch/request.hbs diff --git a/src/templates/core/fetch/sendRequest.hbs b/packages/openapi-ts/src/templates/core/fetch/sendRequest.hbs similarity index 100% rename from src/templates/core/fetch/sendRequest.hbs rename to packages/openapi-ts/src/templates/core/fetch/sendRequest.hbs diff --git a/src/templates/core/functions/base64.hbs b/packages/openapi-ts/src/templates/core/functions/base64.hbs similarity index 100% rename from src/templates/core/functions/base64.hbs rename to packages/openapi-ts/src/templates/core/functions/base64.hbs diff --git a/src/templates/core/functions/catchErrorCodes.hbs b/packages/openapi-ts/src/templates/core/functions/catchErrorCodes.hbs similarity index 100% rename from src/templates/core/functions/catchErrorCodes.hbs rename to packages/openapi-ts/src/templates/core/functions/catchErrorCodes.hbs diff --git a/src/templates/core/functions/getFormData.hbs b/packages/openapi-ts/src/templates/core/functions/getFormData.hbs similarity index 100% rename from src/templates/core/functions/getFormData.hbs rename to packages/openapi-ts/src/templates/core/functions/getFormData.hbs diff --git a/src/templates/core/functions/getQueryString.hbs b/packages/openapi-ts/src/templates/core/functions/getQueryString.hbs similarity index 100% rename from src/templates/core/functions/getQueryString.hbs rename to packages/openapi-ts/src/templates/core/functions/getQueryString.hbs diff --git a/src/templates/core/functions/getUrl.hbs b/packages/openapi-ts/src/templates/core/functions/getUrl.hbs similarity index 100% rename from src/templates/core/functions/getUrl.hbs rename to packages/openapi-ts/src/templates/core/functions/getUrl.hbs diff --git a/src/templates/core/functions/isBlob.hbs b/packages/openapi-ts/src/templates/core/functions/isBlob.hbs similarity index 100% rename from src/templates/core/functions/isBlob.hbs rename to packages/openapi-ts/src/templates/core/functions/isBlob.hbs diff --git a/src/templates/core/functions/isFormData.hbs b/packages/openapi-ts/src/templates/core/functions/isFormData.hbs similarity index 100% rename from src/templates/core/functions/isFormData.hbs rename to packages/openapi-ts/src/templates/core/functions/isFormData.hbs diff --git a/src/templates/core/functions/isString.hbs b/packages/openapi-ts/src/templates/core/functions/isString.hbs similarity index 100% rename from src/templates/core/functions/isString.hbs rename to packages/openapi-ts/src/templates/core/functions/isString.hbs diff --git a/src/templates/core/functions/isStringWithValue.hbs b/packages/openapi-ts/src/templates/core/functions/isStringWithValue.hbs similarity index 100% rename from src/templates/core/functions/isStringWithValue.hbs rename to packages/openapi-ts/src/templates/core/functions/isStringWithValue.hbs diff --git a/src/templates/core/functions/isSuccess.hbs b/packages/openapi-ts/src/templates/core/functions/isSuccess.hbs similarity index 100% rename from src/templates/core/functions/isSuccess.hbs rename to packages/openapi-ts/src/templates/core/functions/isSuccess.hbs diff --git a/src/templates/core/functions/resolve.hbs b/packages/openapi-ts/src/templates/core/functions/resolve.hbs similarity index 100% rename from src/templates/core/functions/resolve.hbs rename to packages/openapi-ts/src/templates/core/functions/resolve.hbs diff --git a/src/templates/core/request.hbs b/packages/openapi-ts/src/templates/core/request.hbs similarity index 100% rename from src/templates/core/request.hbs rename to packages/openapi-ts/src/templates/core/request.hbs diff --git a/src/templates/core/types.hbs b/packages/openapi-ts/src/templates/core/types.hbs similarity index 100% rename from src/templates/core/types.hbs rename to packages/openapi-ts/src/templates/core/types.hbs diff --git a/src/templates/core/xhr/getHeaders.hbs b/packages/openapi-ts/src/templates/core/xhr/getHeaders.hbs similarity index 100% rename from src/templates/core/xhr/getHeaders.hbs rename to packages/openapi-ts/src/templates/core/xhr/getHeaders.hbs diff --git a/src/templates/core/xhr/getRequestBody.hbs b/packages/openapi-ts/src/templates/core/xhr/getRequestBody.hbs similarity index 100% rename from src/templates/core/xhr/getRequestBody.hbs rename to packages/openapi-ts/src/templates/core/xhr/getRequestBody.hbs diff --git a/src/templates/core/xhr/getResponseBody.hbs b/packages/openapi-ts/src/templates/core/xhr/getResponseBody.hbs similarity index 100% rename from src/templates/core/xhr/getResponseBody.hbs rename to packages/openapi-ts/src/templates/core/xhr/getResponseBody.hbs diff --git a/src/templates/core/xhr/getResponseHeader.hbs b/packages/openapi-ts/src/templates/core/xhr/getResponseHeader.hbs similarity index 100% rename from src/templates/core/xhr/getResponseHeader.hbs rename to packages/openapi-ts/src/templates/core/xhr/getResponseHeader.hbs diff --git a/src/templates/core/xhr/request.hbs b/packages/openapi-ts/src/templates/core/xhr/request.hbs similarity index 100% rename from src/templates/core/xhr/request.hbs rename to packages/openapi-ts/src/templates/core/xhr/request.hbs diff --git a/src/templates/core/xhr/sendRequest.hbs b/packages/openapi-ts/src/templates/core/xhr/sendRequest.hbs similarity index 100% rename from src/templates/core/xhr/sendRequest.hbs rename to packages/openapi-ts/src/templates/core/xhr/sendRequest.hbs diff --git a/src/templates/exportModel.hbs b/packages/openapi-ts/src/templates/exportModel.hbs similarity index 100% rename from src/templates/exportModel.hbs rename to packages/openapi-ts/src/templates/exportModel.hbs diff --git a/src/templates/exportSchema.hbs b/packages/openapi-ts/src/templates/exportSchema.hbs similarity index 100% rename from src/templates/exportSchema.hbs rename to packages/openapi-ts/src/templates/exportSchema.hbs diff --git a/src/templates/exportService.hbs b/packages/openapi-ts/src/templates/exportService.hbs similarity index 100% rename from src/templates/exportService.hbs rename to packages/openapi-ts/src/templates/exportService.hbs diff --git a/src/templates/index.hbs b/packages/openapi-ts/src/templates/index.hbs similarity index 100% rename from src/templates/index.hbs rename to packages/openapi-ts/src/templates/index.hbs diff --git a/src/templates/partials/base.hbs b/packages/openapi-ts/src/templates/partials/base.hbs similarity index 100% rename from src/templates/partials/base.hbs rename to packages/openapi-ts/src/templates/partials/base.hbs diff --git a/src/templates/partials/dataDestructure.hbs b/packages/openapi-ts/src/templates/partials/dataDestructure.hbs similarity index 100% rename from src/templates/partials/dataDestructure.hbs rename to packages/openapi-ts/src/templates/partials/dataDestructure.hbs diff --git a/src/templates/partials/exportComposition.hbs b/packages/openapi-ts/src/templates/partials/exportComposition.hbs similarity index 100% rename from src/templates/partials/exportComposition.hbs rename to packages/openapi-ts/src/templates/partials/exportComposition.hbs diff --git a/src/templates/partials/exportEnum.hbs b/packages/openapi-ts/src/templates/partials/exportEnum.hbs similarity index 100% rename from src/templates/partials/exportEnum.hbs rename to packages/openapi-ts/src/templates/partials/exportEnum.hbs diff --git a/src/templates/partials/exportInterface.hbs b/packages/openapi-ts/src/templates/partials/exportInterface.hbs similarity index 100% rename from src/templates/partials/exportInterface.hbs rename to packages/openapi-ts/src/templates/partials/exportInterface.hbs diff --git a/src/templates/partials/exportType.hbs b/packages/openapi-ts/src/templates/partials/exportType.hbs similarity index 100% rename from src/templates/partials/exportType.hbs rename to packages/openapi-ts/src/templates/partials/exportType.hbs diff --git a/src/templates/partials/isNullable.hbs b/packages/openapi-ts/src/templates/partials/isNullable.hbs similarity index 100% rename from src/templates/partials/isNullable.hbs rename to packages/openapi-ts/src/templates/partials/isNullable.hbs diff --git a/src/templates/partials/isReadOnly.hbs b/packages/openapi-ts/src/templates/partials/isReadOnly.hbs similarity index 100% rename from src/templates/partials/isReadOnly.hbs rename to packages/openapi-ts/src/templates/partials/isReadOnly.hbs diff --git a/src/templates/partials/isRequired.hbs b/packages/openapi-ts/src/templates/partials/isRequired.hbs similarity index 100% rename from src/templates/partials/isRequired.hbs rename to packages/openapi-ts/src/templates/partials/isRequired.hbs diff --git a/src/templates/partials/operationParameters.hbs b/packages/openapi-ts/src/templates/partials/operationParameters.hbs similarity index 100% rename from src/templates/partials/operationParameters.hbs rename to packages/openapi-ts/src/templates/partials/operationParameters.hbs diff --git a/src/templates/partials/operationResult.hbs b/packages/openapi-ts/src/templates/partials/operationResult.hbs similarity index 100% rename from src/templates/partials/operationResult.hbs rename to packages/openapi-ts/src/templates/partials/operationResult.hbs diff --git a/src/templates/partials/operationTypes.hbs b/packages/openapi-ts/src/templates/partials/operationTypes.hbs similarity index 100% rename from src/templates/partials/operationTypes.hbs rename to packages/openapi-ts/src/templates/partials/operationTypes.hbs diff --git a/src/templates/partials/requestConfig.hbs b/packages/openapi-ts/src/templates/partials/requestConfig.hbs similarity index 100% rename from src/templates/partials/requestConfig.hbs rename to packages/openapi-ts/src/templates/partials/requestConfig.hbs diff --git a/src/templates/partials/schema.hbs b/packages/openapi-ts/src/templates/partials/schema.hbs similarity index 100% rename from src/templates/partials/schema.hbs rename to packages/openapi-ts/src/templates/partials/schema.hbs diff --git a/src/templates/partials/schemaArray.hbs b/packages/openapi-ts/src/templates/partials/schemaArray.hbs similarity index 100% rename from src/templates/partials/schemaArray.hbs rename to packages/openapi-ts/src/templates/partials/schemaArray.hbs diff --git a/src/templates/partials/schemaComposition.hbs b/packages/openapi-ts/src/templates/partials/schemaComposition.hbs similarity index 100% rename from src/templates/partials/schemaComposition.hbs rename to packages/openapi-ts/src/templates/partials/schemaComposition.hbs diff --git a/src/templates/partials/schemaDictionary.hbs b/packages/openapi-ts/src/templates/partials/schemaDictionary.hbs similarity index 100% rename from src/templates/partials/schemaDictionary.hbs rename to packages/openapi-ts/src/templates/partials/schemaDictionary.hbs diff --git a/src/templates/partials/schemaEnum.hbs b/packages/openapi-ts/src/templates/partials/schemaEnum.hbs similarity index 100% rename from src/templates/partials/schemaEnum.hbs rename to packages/openapi-ts/src/templates/partials/schemaEnum.hbs diff --git a/src/templates/partials/schemaGeneric.hbs b/packages/openapi-ts/src/templates/partials/schemaGeneric.hbs similarity index 100% rename from src/templates/partials/schemaGeneric.hbs rename to packages/openapi-ts/src/templates/partials/schemaGeneric.hbs diff --git a/src/templates/partials/schemaInterface.hbs b/packages/openapi-ts/src/templates/partials/schemaInterface.hbs similarity index 100% rename from src/templates/partials/schemaInterface.hbs rename to packages/openapi-ts/src/templates/partials/schemaInterface.hbs diff --git a/src/templates/partials/type.hbs b/packages/openapi-ts/src/templates/partials/type.hbs similarity index 100% rename from src/templates/partials/type.hbs rename to packages/openapi-ts/src/templates/partials/type.hbs diff --git a/src/templates/partials/typeArray.hbs b/packages/openapi-ts/src/templates/partials/typeArray.hbs similarity index 100% rename from src/templates/partials/typeArray.hbs rename to packages/openapi-ts/src/templates/partials/typeArray.hbs diff --git a/src/templates/partials/typeDictionary.hbs b/packages/openapi-ts/src/templates/partials/typeDictionary.hbs similarity index 100% rename from src/templates/partials/typeDictionary.hbs rename to packages/openapi-ts/src/templates/partials/typeDictionary.hbs diff --git a/src/templates/partials/typeEnum.hbs b/packages/openapi-ts/src/templates/partials/typeEnum.hbs similarity index 100% rename from src/templates/partials/typeEnum.hbs rename to packages/openapi-ts/src/templates/partials/typeEnum.hbs diff --git a/src/templates/partials/typeGeneric.hbs b/packages/openapi-ts/src/templates/partials/typeGeneric.hbs similarity index 100% rename from src/templates/partials/typeGeneric.hbs rename to packages/openapi-ts/src/templates/partials/typeGeneric.hbs diff --git a/src/templates/partials/typeInterface.hbs b/packages/openapi-ts/src/templates/partials/typeInterface.hbs similarity index 100% rename from src/templates/partials/typeInterface.hbs rename to packages/openapi-ts/src/templates/partials/typeInterface.hbs diff --git a/src/templates/partials/typeIntersection.hbs b/packages/openapi-ts/src/templates/partials/typeIntersection.hbs similarity index 100% rename from src/templates/partials/typeIntersection.hbs rename to packages/openapi-ts/src/templates/partials/typeIntersection.hbs diff --git a/src/templates/partials/typeReference.hbs b/packages/openapi-ts/src/templates/partials/typeReference.hbs similarity index 100% rename from src/templates/partials/typeReference.hbs rename to packages/openapi-ts/src/templates/partials/typeReference.hbs diff --git a/src/templates/partials/typeUnion.hbs b/packages/openapi-ts/src/templates/partials/typeUnion.hbs similarity index 100% rename from src/templates/partials/typeUnion.hbs rename to packages/openapi-ts/src/templates/partials/typeUnion.hbs diff --git a/src/types/client.ts b/packages/openapi-ts/src/types/client.ts similarity index 100% rename from src/types/client.ts rename to packages/openapi-ts/src/types/client.ts diff --git a/src/types/config.ts b/packages/openapi-ts/src/types/config.ts similarity index 100% rename from src/types/config.ts rename to packages/openapi-ts/src/types/config.ts diff --git a/src/types/hbs.d.ts b/packages/openapi-ts/src/types/hbs.d.ts similarity index 100% rename from src/types/hbs.d.ts rename to packages/openapi-ts/src/types/hbs.d.ts diff --git a/src/utils/__tests__/enum.spec.ts b/packages/openapi-ts/src/utils/__tests__/enum.spec.ts similarity index 100% rename from src/utils/__tests__/enum.spec.ts rename to packages/openapi-ts/src/utils/__tests__/enum.spec.ts diff --git a/src/utils/__tests__/escapeName.spec.ts b/packages/openapi-ts/src/utils/__tests__/escapeName.spec.ts similarity index 100% rename from src/utils/__tests__/escapeName.spec.ts rename to packages/openapi-ts/src/utils/__tests__/escapeName.spec.ts diff --git a/src/utils/__tests__/handlebars.spec.ts b/packages/openapi-ts/src/utils/__tests__/handlebars.spec.ts similarity index 100% rename from src/utils/__tests__/handlebars.spec.ts rename to packages/openapi-ts/src/utils/__tests__/handlebars.spec.ts diff --git a/src/utils/__tests__/isSubdirectory.spec.ts b/packages/openapi-ts/src/utils/__tests__/isSubdirectory.spec.ts similarity index 100% rename from src/utils/__tests__/isSubdirectory.spec.ts rename to packages/openapi-ts/src/utils/__tests__/isSubdirectory.spec.ts diff --git a/src/utils/__tests__/sort.spec.ts b/packages/openapi-ts/src/utils/__tests__/sort.spec.ts similarity index 100% rename from src/utils/__tests__/sort.spec.ts rename to packages/openapi-ts/src/utils/__tests__/sort.spec.ts diff --git a/src/utils/__tests__/unique.spec.ts b/packages/openapi-ts/src/utils/__tests__/unique.spec.ts similarity index 100% rename from src/utils/__tests__/unique.spec.ts rename to packages/openapi-ts/src/utils/__tests__/unique.spec.ts diff --git a/src/utils/enum.ts b/packages/openapi-ts/src/utils/enum.ts similarity index 100% rename from src/utils/enum.ts rename to packages/openapi-ts/src/utils/enum.ts diff --git a/src/utils/escapeName.ts b/packages/openapi-ts/src/utils/escapeName.ts similarity index 100% rename from src/utils/escapeName.ts rename to packages/openapi-ts/src/utils/escapeName.ts diff --git a/src/utils/getHttpRequestName.ts b/packages/openapi-ts/src/utils/getHttpRequestName.ts similarity index 100% rename from src/utils/getHttpRequestName.ts rename to packages/openapi-ts/src/utils/getHttpRequestName.ts diff --git a/src/utils/getOpenApiSpec.ts b/packages/openapi-ts/src/utils/getOpenApiSpec.ts similarity index 100% rename from src/utils/getOpenApiSpec.ts rename to packages/openapi-ts/src/utils/getOpenApiSpec.ts diff --git a/src/utils/handlebars.ts b/packages/openapi-ts/src/utils/handlebars.ts similarity index 100% rename from src/utils/handlebars.ts rename to packages/openapi-ts/src/utils/handlebars.ts diff --git a/src/utils/isSubdirectory.ts b/packages/openapi-ts/src/utils/isSubdirectory.ts similarity index 100% rename from src/utils/isSubdirectory.ts rename to packages/openapi-ts/src/utils/isSubdirectory.ts diff --git a/src/utils/postprocess.ts b/packages/openapi-ts/src/utils/postprocess.ts similarity index 100% rename from src/utils/postprocess.ts rename to packages/openapi-ts/src/utils/postprocess.ts diff --git a/src/utils/sort.ts b/packages/openapi-ts/src/utils/sort.ts similarity index 100% rename from src/utils/sort.ts rename to packages/openapi-ts/src/utils/sort.ts diff --git a/src/utils/unique.ts b/packages/openapi-ts/src/utils/unique.ts similarity index 100% rename from src/utils/unique.ts rename to packages/openapi-ts/src/utils/unique.ts diff --git a/src/utils/write/__tests__/class.spec.ts b/packages/openapi-ts/src/utils/write/__tests__/class.spec.ts similarity index 100% rename from src/utils/write/__tests__/class.spec.ts rename to packages/openapi-ts/src/utils/write/__tests__/class.spec.ts diff --git a/src/utils/write/__tests__/client.spec.ts b/packages/openapi-ts/src/utils/write/__tests__/client.spec.ts similarity index 100% rename from src/utils/write/__tests__/client.spec.ts rename to packages/openapi-ts/src/utils/write/__tests__/client.spec.ts diff --git a/src/utils/write/__tests__/core.spec.ts b/packages/openapi-ts/src/utils/write/__tests__/core.spec.ts similarity index 100% rename from src/utils/write/__tests__/core.spec.ts rename to packages/openapi-ts/src/utils/write/__tests__/core.spec.ts diff --git a/src/utils/write/__tests__/index.spec.ts b/packages/openapi-ts/src/utils/write/__tests__/index.spec.ts similarity index 100% rename from src/utils/write/__tests__/index.spec.ts rename to packages/openapi-ts/src/utils/write/__tests__/index.spec.ts diff --git a/src/utils/write/__tests__/mocks.ts b/packages/openapi-ts/src/utils/write/__tests__/mocks.ts similarity index 100% rename from src/utils/write/__tests__/mocks.ts rename to packages/openapi-ts/src/utils/write/__tests__/mocks.ts diff --git a/src/utils/write/__tests__/models.spec.ts b/packages/openapi-ts/src/utils/write/__tests__/models.spec.ts similarity index 100% rename from src/utils/write/__tests__/models.spec.ts rename to packages/openapi-ts/src/utils/write/__tests__/models.spec.ts diff --git a/src/utils/write/__tests__/schemas.spec.ts b/packages/openapi-ts/src/utils/write/__tests__/schemas.spec.ts similarity index 100% rename from src/utils/write/__tests__/schemas.spec.ts rename to packages/openapi-ts/src/utils/write/__tests__/schemas.spec.ts diff --git a/src/utils/write/__tests__/services.spec.ts b/packages/openapi-ts/src/utils/write/__tests__/services.spec.ts similarity index 100% rename from src/utils/write/__tests__/services.spec.ts rename to packages/openapi-ts/src/utils/write/__tests__/services.spec.ts diff --git a/src/utils/write/class.ts b/packages/openapi-ts/src/utils/write/class.ts similarity index 100% rename from src/utils/write/class.ts rename to packages/openapi-ts/src/utils/write/class.ts diff --git a/src/utils/write/client.ts b/packages/openapi-ts/src/utils/write/client.ts similarity index 100% rename from src/utils/write/client.ts rename to packages/openapi-ts/src/utils/write/client.ts diff --git a/src/utils/write/core.ts b/packages/openapi-ts/src/utils/write/core.ts similarity index 100% rename from src/utils/write/core.ts rename to packages/openapi-ts/src/utils/write/core.ts diff --git a/src/utils/write/index.ts b/packages/openapi-ts/src/utils/write/index.ts similarity index 100% rename from src/utils/write/index.ts rename to packages/openapi-ts/src/utils/write/index.ts diff --git a/src/utils/write/models.ts b/packages/openapi-ts/src/utils/write/models.ts similarity index 100% rename from src/utils/write/models.ts rename to packages/openapi-ts/src/utils/write/models.ts diff --git a/src/utils/write/schemas.ts b/packages/openapi-ts/src/utils/write/schemas.ts similarity index 100% rename from src/utils/write/schemas.ts rename to packages/openapi-ts/src/utils/write/schemas.ts diff --git a/src/utils/write/services.ts b/packages/openapi-ts/src/utils/write/services.ts similarity index 100% rename from src/utils/write/services.ts rename to packages/openapi-ts/src/utils/write/services.ts diff --git a/test/__snapshots__/v2/core/ApiError.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v2/core/ApiError.ts.snap similarity index 100% rename from test/__snapshots__/v2/core/ApiError.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v2/core/ApiError.ts.snap diff --git a/test/__snapshots__/v2/core/ApiRequestOptions.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v2/core/ApiRequestOptions.ts.snap similarity index 100% rename from test/__snapshots__/v2/core/ApiRequestOptions.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v2/core/ApiRequestOptions.ts.snap diff --git a/test/__snapshots__/v2/core/ApiResult.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v2/core/ApiResult.ts.snap similarity index 100% rename from test/__snapshots__/v2/core/ApiResult.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v2/core/ApiResult.ts.snap diff --git a/test/__snapshots__/v2/core/CancelablePromise.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v2/core/CancelablePromise.ts.snap similarity index 100% rename from test/__snapshots__/v2/core/CancelablePromise.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v2/core/CancelablePromise.ts.snap diff --git a/test/__snapshots__/v2/core/OpenAPI.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v2/core/OpenAPI.ts.snap similarity index 100% rename from test/__snapshots__/v2/core/OpenAPI.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v2/core/OpenAPI.ts.snap diff --git a/test/__snapshots__/v2/core/request.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v2/core/request.ts.snap similarity index 100% rename from test/__snapshots__/v2/core/request.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v2/core/request.ts.snap diff --git a/test/__snapshots__/v2/core/types.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v2/core/types.ts.snap similarity index 100% rename from test/__snapshots__/v2/core/types.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v2/core/types.ts.snap diff --git a/test/__snapshots__/v2/index.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v2/index.ts.snap similarity index 100% rename from test/__snapshots__/v2/index.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v2/index.ts.snap diff --git a/test/__snapshots__/v2/models.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v2/models.ts.snap similarity index 100% rename from test/__snapshots__/v2/models.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v2/models.ts.snap diff --git a/test/__snapshots__/v2/schemas.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v2/schemas.ts.snap similarity index 100% rename from test/__snapshots__/v2/schemas.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v2/schemas.ts.snap diff --git a/test/__snapshots__/v2/services.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v2/services.ts.snap similarity index 100% rename from test/__snapshots__/v2/services.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v2/services.ts.snap diff --git a/test/__snapshots__/v3/core/ApiError.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3/core/ApiError.ts.snap similarity index 100% rename from test/__snapshots__/v3/core/ApiError.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3/core/ApiError.ts.snap diff --git a/test/__snapshots__/v3/core/ApiRequestOptions.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3/core/ApiRequestOptions.ts.snap similarity index 100% rename from test/__snapshots__/v3/core/ApiRequestOptions.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3/core/ApiRequestOptions.ts.snap diff --git a/test/__snapshots__/v3/core/ApiResult.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3/core/ApiResult.ts.snap similarity index 100% rename from test/__snapshots__/v3/core/ApiResult.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3/core/ApiResult.ts.snap diff --git a/test/__snapshots__/v3/core/CancelablePromise.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3/core/CancelablePromise.ts.snap similarity index 100% rename from test/__snapshots__/v3/core/CancelablePromise.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3/core/CancelablePromise.ts.snap diff --git a/test/__snapshots__/v3/core/OpenAPI.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3/core/OpenAPI.ts.snap similarity index 100% rename from test/__snapshots__/v3/core/OpenAPI.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3/core/OpenAPI.ts.snap diff --git a/test/__snapshots__/v3/core/request.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3/core/request.ts.snap similarity index 100% rename from test/__snapshots__/v3/core/request.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3/core/request.ts.snap diff --git a/test/__snapshots__/v3/core/types.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3/core/types.ts.snap similarity index 100% rename from test/__snapshots__/v3/core/types.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3/core/types.ts.snap diff --git a/test/__snapshots__/v3/index.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3/index.ts.snap similarity index 100% rename from test/__snapshots__/v3/index.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3/index.ts.snap diff --git a/test/__snapshots__/v3/models.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3/models.ts.snap similarity index 100% rename from test/__snapshots__/v3/models.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3/models.ts.snap diff --git a/test/__snapshots__/v3/schemas.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3/schemas.ts.snap similarity index 100% rename from test/__snapshots__/v3/schemas.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3/schemas.ts.snap diff --git a/test/__snapshots__/v3/services.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3/services.ts.snap similarity index 100% rename from test/__snapshots__/v3/services.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3/services.ts.snap diff --git a/test/__snapshots__/v3_angular/core/ApiError.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/core/ApiError.ts.snap similarity index 100% rename from test/__snapshots__/v3_angular/core/ApiError.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/core/ApiError.ts.snap diff --git a/test/__snapshots__/v3_angular/core/ApiRequestOptions.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/core/ApiRequestOptions.ts.snap similarity index 100% rename from test/__snapshots__/v3_angular/core/ApiRequestOptions.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/core/ApiRequestOptions.ts.snap diff --git a/test/__snapshots__/v3_angular/core/ApiResult.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/core/ApiResult.ts.snap similarity index 100% rename from test/__snapshots__/v3_angular/core/ApiResult.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/core/ApiResult.ts.snap diff --git a/test/__snapshots__/v3_angular/core/OpenAPI.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/core/OpenAPI.ts.snap similarity index 100% rename from test/__snapshots__/v3_angular/core/OpenAPI.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/core/OpenAPI.ts.snap diff --git a/test/__snapshots__/v3_angular/core/request.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/core/request.ts.snap similarity index 100% rename from test/__snapshots__/v3_angular/core/request.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/core/request.ts.snap diff --git a/test/__snapshots__/v3_angular/core/types.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/core/types.ts.snap similarity index 100% rename from test/__snapshots__/v3_angular/core/types.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/core/types.ts.snap diff --git a/test/__snapshots__/v3_angular/index.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/index.ts.snap similarity index 100% rename from test/__snapshots__/v3_angular/index.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/index.ts.snap diff --git a/test/__snapshots__/v3_angular/models.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/models.ts.snap similarity index 100% rename from test/__snapshots__/v3_angular/models.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/models.ts.snap diff --git a/test/__snapshots__/v3_angular/schemas.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/schemas.ts.snap similarity index 100% rename from test/__snapshots__/v3_angular/schemas.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/schemas.ts.snap diff --git a/test/__snapshots__/v3_angular/services.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/services.ts.snap similarity index 100% rename from test/__snapshots__/v3_angular/services.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_angular/services.ts.snap diff --git a/test/__snapshots__/v3_axios/core/ApiError.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/ApiError.ts.snap similarity index 100% rename from test/__snapshots__/v3_axios/core/ApiError.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/ApiError.ts.snap diff --git a/test/__snapshots__/v3_axios/core/ApiRequestOptions.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/ApiRequestOptions.ts.snap similarity index 100% rename from test/__snapshots__/v3_axios/core/ApiRequestOptions.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/ApiRequestOptions.ts.snap diff --git a/test/__snapshots__/v3_axios/core/ApiResult.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/ApiResult.ts.snap similarity index 100% rename from test/__snapshots__/v3_axios/core/ApiResult.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/ApiResult.ts.snap diff --git a/test/__snapshots__/v3_axios/core/CancelablePromise.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/CancelablePromise.ts.snap similarity index 100% rename from test/__snapshots__/v3_axios/core/CancelablePromise.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/CancelablePromise.ts.snap diff --git a/test/__snapshots__/v3_axios/core/OpenAPI.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/OpenAPI.ts.snap similarity index 100% rename from test/__snapshots__/v3_axios/core/OpenAPI.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/OpenAPI.ts.snap diff --git a/test/__snapshots__/v3_axios/core/request.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/request.ts.snap similarity index 100% rename from test/__snapshots__/v3_axios/core/request.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/request.ts.snap diff --git a/test/__snapshots__/v3_axios/core/types.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/types.ts.snap similarity index 100% rename from test/__snapshots__/v3_axios/core/types.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/core/types.ts.snap diff --git a/test/__snapshots__/v3_axios/index.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/index.ts.snap similarity index 100% rename from test/__snapshots__/v3_axios/index.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_axios/index.ts.snap diff --git a/test/__snapshots__/v3_client/ApiClient.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/ApiClient.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/ApiClient.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/ApiClient.ts.snap diff --git a/test/__snapshots__/v3_client/core/ApiError.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/ApiError.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/core/ApiError.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/ApiError.ts.snap diff --git a/test/__snapshots__/v3_client/core/ApiRequestOptions.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/ApiRequestOptions.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/core/ApiRequestOptions.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/ApiRequestOptions.ts.snap diff --git a/test/__snapshots__/v3_client/core/ApiResult.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/ApiResult.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/core/ApiResult.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/ApiResult.ts.snap diff --git a/test/__snapshots__/v3_client/core/BaseHttpRequest.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/BaseHttpRequest.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/core/BaseHttpRequest.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/BaseHttpRequest.ts.snap diff --git a/test/__snapshots__/v3_client/core/CancelablePromise.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/CancelablePromise.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/core/CancelablePromise.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/CancelablePromise.ts.snap diff --git a/test/__snapshots__/v3_client/core/FetchHttpRequest.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/FetchHttpRequest.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/core/FetchHttpRequest.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/FetchHttpRequest.ts.snap diff --git a/test/__snapshots__/v3_client/core/OpenAPI.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/OpenAPI.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/core/OpenAPI.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/OpenAPI.ts.snap diff --git a/test/__snapshots__/v3_client/core/request.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/request.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/core/request.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/request.ts.snap diff --git a/test/__snapshots__/v3_client/core/types.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/types.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/core/types.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/core/types.ts.snap diff --git a/test/__snapshots__/v3_client/index.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/index.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/index.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/index.ts.snap diff --git a/test/__snapshots__/v3_client/models.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/models.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/models.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/models.ts.snap diff --git a/test/__snapshots__/v3_client/services.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_client/services.ts.snap similarity index 100% rename from test/__snapshots__/v3_client/services.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_client/services.ts.snap diff --git a/test/__snapshots__/v3_date/index.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_date/index.ts.snap similarity index 100% rename from test/__snapshots__/v3_date/index.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_date/index.ts.snap diff --git a/test/__snapshots__/v3_date/models.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_date/models.ts.snap similarity index 100% rename from test/__snapshots__/v3_date/models.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_date/models.ts.snap diff --git a/test/__snapshots__/v3_date/schemas.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_date/schemas.ts.snap similarity index 100% rename from test/__snapshots__/v3_date/schemas.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_date/schemas.ts.snap diff --git a/test/__snapshots__/v3_enums_typescript/core/ApiError.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/ApiError.ts.snap similarity index 100% rename from test/__snapshots__/v3_enums_typescript/core/ApiError.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/ApiError.ts.snap diff --git a/test/__snapshots__/v3_enums_typescript/core/ApiRequestOptions.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/ApiRequestOptions.ts.snap similarity index 100% rename from test/__snapshots__/v3_enums_typescript/core/ApiRequestOptions.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/ApiRequestOptions.ts.snap diff --git a/test/__snapshots__/v3_enums_typescript/core/ApiResult.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/ApiResult.ts.snap similarity index 100% rename from test/__snapshots__/v3_enums_typescript/core/ApiResult.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/ApiResult.ts.snap diff --git a/test/__snapshots__/v3_enums_typescript/core/CancelablePromise.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/CancelablePromise.ts.snap similarity index 100% rename from test/__snapshots__/v3_enums_typescript/core/CancelablePromise.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/CancelablePromise.ts.snap diff --git a/test/__snapshots__/v3_enums_typescript/core/OpenAPI.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/OpenAPI.ts.snap similarity index 100% rename from test/__snapshots__/v3_enums_typescript/core/OpenAPI.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/OpenAPI.ts.snap diff --git a/test/__snapshots__/v3_enums_typescript/core/request.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/request.ts.snap similarity index 100% rename from test/__snapshots__/v3_enums_typescript/core/request.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/request.ts.snap diff --git a/test/__snapshots__/v3_enums_typescript/core/types.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/types.ts.snap similarity index 100% rename from test/__snapshots__/v3_enums_typescript/core/types.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/core/types.ts.snap diff --git a/test/__snapshots__/v3_enums_typescript/index.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/index.ts.snap similarity index 100% rename from test/__snapshots__/v3_enums_typescript/index.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/index.ts.snap diff --git a/test/__snapshots__/v3_enums_typescript/models.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/models.ts.snap similarity index 100% rename from test/__snapshots__/v3_enums_typescript/models.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/models.ts.snap diff --git a/test/__snapshots__/v3_enums_typescript/schemas.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/schemas.ts.snap similarity index 100% rename from test/__snapshots__/v3_enums_typescript/schemas.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/schemas.ts.snap diff --git a/test/__snapshots__/v3_enums_typescript/services.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/services.ts.snap similarity index 100% rename from test/__snapshots__/v3_enums_typescript/services.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_enums_typescript/services.ts.snap diff --git a/test/__snapshots__/v3_experimental/core/ApiError.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/ApiError.ts.snap similarity index 100% rename from test/__snapshots__/v3_experimental/core/ApiError.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/ApiError.ts.snap diff --git a/test/__snapshots__/v3_experimental/core/ApiRequestOptions.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/ApiRequestOptions.ts.snap similarity index 100% rename from test/__snapshots__/v3_experimental/core/ApiRequestOptions.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/ApiRequestOptions.ts.snap diff --git a/test/__snapshots__/v3_experimental/core/ApiResult.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/ApiResult.ts.snap similarity index 100% rename from test/__snapshots__/v3_experimental/core/ApiResult.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/ApiResult.ts.snap diff --git a/test/__snapshots__/v3_experimental/core/CancelablePromise.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/CancelablePromise.ts.snap similarity index 100% rename from test/__snapshots__/v3_experimental/core/CancelablePromise.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/CancelablePromise.ts.snap diff --git a/test/__snapshots__/v3_experimental/core/OpenAPI.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/OpenAPI.ts.snap similarity index 100% rename from test/__snapshots__/v3_experimental/core/OpenAPI.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/OpenAPI.ts.snap diff --git a/test/__snapshots__/v3_experimental/core/request.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/request.ts.snap similarity index 100% rename from test/__snapshots__/v3_experimental/core/request.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/request.ts.snap diff --git a/test/__snapshots__/v3_experimental/core/types.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/types.ts.snap similarity index 100% rename from test/__snapshots__/v3_experimental/core/types.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/core/types.ts.snap diff --git a/test/__snapshots__/v3_experimental/index.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/index.ts.snap similarity index 100% rename from test/__snapshots__/v3_experimental/index.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/index.ts.snap diff --git a/test/__snapshots__/v3_experimental/models.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/models.ts.snap similarity index 100% rename from test/__snapshots__/v3_experimental/models.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/models.ts.snap diff --git a/test/__snapshots__/v3_experimental/schemas.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/schemas.ts.snap similarity index 100% rename from test/__snapshots__/v3_experimental/schemas.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/schemas.ts.snap diff --git a/test/__snapshots__/v3_experimental/services.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/services.ts.snap similarity index 100% rename from test/__snapshots__/v3_experimental/services.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_experimental/services.ts.snap diff --git a/test/__snapshots__/v3_models/index.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_models/index.ts.snap similarity index 100% rename from test/__snapshots__/v3_models/index.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_models/index.ts.snap diff --git a/test/__snapshots__/v3_models/models.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_models/models.ts.snap similarity index 100% rename from test/__snapshots__/v3_models/models.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_models/models.ts.snap diff --git a/test/__snapshots__/v3_node/core/ApiError.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/ApiError.ts.snap similarity index 100% rename from test/__snapshots__/v3_node/core/ApiError.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/ApiError.ts.snap diff --git a/test/__snapshots__/v3_node/core/ApiRequestOptions.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/ApiRequestOptions.ts.snap similarity index 100% rename from test/__snapshots__/v3_node/core/ApiRequestOptions.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/ApiRequestOptions.ts.snap diff --git a/test/__snapshots__/v3_node/core/ApiResult.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/ApiResult.ts.snap similarity index 100% rename from test/__snapshots__/v3_node/core/ApiResult.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/ApiResult.ts.snap diff --git a/test/__snapshots__/v3_node/core/CancelablePromise.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/CancelablePromise.ts.snap similarity index 100% rename from test/__snapshots__/v3_node/core/CancelablePromise.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/CancelablePromise.ts.snap diff --git a/test/__snapshots__/v3_node/core/OpenAPI.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/OpenAPI.ts.snap similarity index 100% rename from test/__snapshots__/v3_node/core/OpenAPI.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/OpenAPI.ts.snap diff --git a/test/__snapshots__/v3_node/core/request.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/request.ts.snap similarity index 100% rename from test/__snapshots__/v3_node/core/request.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/request.ts.snap diff --git a/test/__snapshots__/v3_node/core/types.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/types.ts.snap similarity index 100% rename from test/__snapshots__/v3_node/core/types.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_node/core/types.ts.snap diff --git a/test/__snapshots__/v3_node/index.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_node/index.ts.snap similarity index 100% rename from test/__snapshots__/v3_node/index.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_node/index.ts.snap diff --git a/test/__snapshots__/v3_options/core/ApiError.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/ApiError.ts.snap similarity index 100% rename from test/__snapshots__/v3_options/core/ApiError.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/ApiError.ts.snap diff --git a/test/__snapshots__/v3_options/core/ApiRequestOptions.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/ApiRequestOptions.ts.snap similarity index 100% rename from test/__snapshots__/v3_options/core/ApiRequestOptions.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/ApiRequestOptions.ts.snap diff --git a/test/__snapshots__/v3_options/core/ApiResult.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/ApiResult.ts.snap similarity index 100% rename from test/__snapshots__/v3_options/core/ApiResult.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/ApiResult.ts.snap diff --git a/test/__snapshots__/v3_options/core/CancelablePromise.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/CancelablePromise.ts.snap similarity index 100% rename from test/__snapshots__/v3_options/core/CancelablePromise.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/CancelablePromise.ts.snap diff --git a/test/__snapshots__/v3_options/core/OpenAPI.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/OpenAPI.ts.snap similarity index 100% rename from test/__snapshots__/v3_options/core/OpenAPI.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/OpenAPI.ts.snap diff --git a/test/__snapshots__/v3_options/core/request.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/request.ts.snap similarity index 100% rename from test/__snapshots__/v3_options/core/request.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/request.ts.snap diff --git a/test/__snapshots__/v3_options/core/types.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/types.ts.snap similarity index 100% rename from test/__snapshots__/v3_options/core/types.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_options/core/types.ts.snap diff --git a/test/__snapshots__/v3_options/index.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_options/index.ts.snap similarity index 100% rename from test/__snapshots__/v3_options/index.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_options/index.ts.snap diff --git a/test/__snapshots__/v3_options/models.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_options/models.ts.snap similarity index 100% rename from test/__snapshots__/v3_options/models.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_options/models.ts.snap diff --git a/test/__snapshots__/v3_options/services.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_options/services.ts.snap similarity index 100% rename from test/__snapshots__/v3_options/services.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_options/services.ts.snap diff --git a/test/__snapshots__/v3_xhr/core/ApiError.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/ApiError.ts.snap similarity index 100% rename from test/__snapshots__/v3_xhr/core/ApiError.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/ApiError.ts.snap diff --git a/test/__snapshots__/v3_xhr/core/ApiRequestOptions.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/ApiRequestOptions.ts.snap similarity index 100% rename from test/__snapshots__/v3_xhr/core/ApiRequestOptions.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/ApiRequestOptions.ts.snap diff --git a/test/__snapshots__/v3_xhr/core/ApiResult.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/ApiResult.ts.snap similarity index 100% rename from test/__snapshots__/v3_xhr/core/ApiResult.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/ApiResult.ts.snap diff --git a/test/__snapshots__/v3_xhr/core/CancelablePromise.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/CancelablePromise.ts.snap similarity index 100% rename from test/__snapshots__/v3_xhr/core/CancelablePromise.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/CancelablePromise.ts.snap diff --git a/test/__snapshots__/v3_xhr/core/OpenAPI.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/OpenAPI.ts.snap similarity index 100% rename from test/__snapshots__/v3_xhr/core/OpenAPI.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/OpenAPI.ts.snap diff --git a/test/__snapshots__/v3_xhr/core/request.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/request.ts.snap similarity index 100% rename from test/__snapshots__/v3_xhr/core/request.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/request.ts.snap diff --git a/test/__snapshots__/v3_xhr/core/types.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/types.ts.snap similarity index 100% rename from test/__snapshots__/v3_xhr/core/types.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/core/types.ts.snap diff --git a/test/__snapshots__/v3_xhr/index.ts.snap b/packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/index.ts.snap similarity index 100% rename from test/__snapshots__/v3_xhr/index.ts.snap rename to packages/openapi-ts/test/__snapshots__/test/generated/v3_xhr/index.ts.snap diff --git a/test/bin.spec.ts b/packages/openapi-ts/test/bin.spec.ts similarity index 100% rename from test/bin.spec.ts rename to packages/openapi-ts/test/bin.spec.ts diff --git a/test/custom/request.ts b/packages/openapi-ts/test/custom/request.ts similarity index 100% rename from test/custom/request.ts rename to packages/openapi-ts/test/custom/request.ts diff --git a/test/e2e/assets/index.html b/packages/openapi-ts/test/e2e/assets/index.html similarity index 100% rename from test/e2e/assets/index.html rename to packages/openapi-ts/test/e2e/assets/index.html diff --git a/test/e2e/assets/main-angular-module.ts b/packages/openapi-ts/test/e2e/assets/main-angular-module.ts similarity index 100% rename from test/e2e/assets/main-angular-module.ts rename to packages/openapi-ts/test/e2e/assets/main-angular-module.ts diff --git a/test/e2e/assets/main-angular.ts b/packages/openapi-ts/test/e2e/assets/main-angular.ts similarity index 100% rename from test/e2e/assets/main-angular.ts rename to packages/openapi-ts/test/e2e/assets/main-angular.ts diff --git a/test/e2e/assets/main.ts b/packages/openapi-ts/test/e2e/assets/main.ts similarity index 100% rename from test/e2e/assets/main.ts rename to packages/openapi-ts/test/e2e/assets/main.ts diff --git a/test/e2e/client.angular.spec.ts b/packages/openapi-ts/test/e2e/client.angular.spec.ts similarity index 100% rename from test/e2e/client.angular.spec.ts rename to packages/openapi-ts/test/e2e/client.angular.spec.ts diff --git a/test/e2e/client.axios.spec.ts b/packages/openapi-ts/test/e2e/client.axios.spec.ts similarity index 100% rename from test/e2e/client.axios.spec.ts rename to packages/openapi-ts/test/e2e/client.axios.spec.ts diff --git a/test/e2e/client.fetch.spec.ts b/packages/openapi-ts/test/e2e/client.fetch.spec.ts similarity index 100% rename from test/e2e/client.fetch.spec.ts rename to packages/openapi-ts/test/e2e/client.fetch.spec.ts diff --git a/test/e2e/client.node.spec.ts b/packages/openapi-ts/test/e2e/client.node.spec.ts similarity index 100% rename from test/e2e/client.node.spec.ts rename to packages/openapi-ts/test/e2e/client.node.spec.ts diff --git a/test/e2e/client.xhr.spec.ts b/packages/openapi-ts/test/e2e/client.xhr.spec.ts similarity index 100% rename from test/e2e/client.xhr.spec.ts rename to packages/openapi-ts/test/e2e/client.xhr.spec.ts diff --git a/test/e2e/scripts/angular.ts b/packages/openapi-ts/test/e2e/scripts/angular.ts similarity index 98% rename from test/e2e/scripts/angular.ts rename to packages/openapi-ts/test/e2e/scripts/angular.ts index defb7ed81..0badade0b 100644 --- a/test/e2e/scripts/angular.ts +++ b/packages/openapi-ts/test/e2e/scripts/angular.ts @@ -65,4 +65,5 @@ export const buildAngularProject = (dir: string, name: string, output: string) = stdio: 'inherit', } ); + sync('npm install'); }; diff --git a/test/e2e/scripts/browser.ts b/packages/openapi-ts/test/e2e/scripts/browser.ts similarity index 100% rename from test/e2e/scripts/browser.ts rename to packages/openapi-ts/test/e2e/scripts/browser.ts diff --git a/test/e2e/scripts/cleanup.ts b/packages/openapi-ts/test/e2e/scripts/cleanup.ts similarity index 100% rename from test/e2e/scripts/cleanup.ts rename to packages/openapi-ts/test/e2e/scripts/cleanup.ts diff --git a/test/e2e/scripts/compileWithTypescript.ts b/packages/openapi-ts/test/e2e/scripts/compileWithTypescript.ts similarity index 100% rename from test/e2e/scripts/compileWithTypescript.ts rename to packages/openapi-ts/test/e2e/scripts/compileWithTypescript.ts diff --git a/test/e2e/scripts/copyAsset.ts b/packages/openapi-ts/test/e2e/scripts/copyAsset.ts similarity index 100% rename from test/e2e/scripts/copyAsset.ts rename to packages/openapi-ts/test/e2e/scripts/copyAsset.ts diff --git a/test/e2e/scripts/generateClient.ts b/packages/openapi-ts/test/e2e/scripts/generateClient.ts similarity index 100% rename from test/e2e/scripts/generateClient.ts rename to packages/openapi-ts/test/e2e/scripts/generateClient.ts diff --git a/test/e2e/scripts/server.ts b/packages/openapi-ts/test/e2e/scripts/server.ts similarity index 100% rename from test/e2e/scripts/server.ts rename to packages/openapi-ts/test/e2e/scripts/server.ts diff --git a/test/e2e/v2.angular.spec.ts b/packages/openapi-ts/test/e2e/v2.angular.spec.ts similarity index 100% rename from test/e2e/v2.angular.spec.ts rename to packages/openapi-ts/test/e2e/v2.angular.spec.ts diff --git a/test/e2e/v2.axios.spec.ts b/packages/openapi-ts/test/e2e/v2.axios.spec.ts similarity index 100% rename from test/e2e/v2.axios.spec.ts rename to packages/openapi-ts/test/e2e/v2.axios.spec.ts diff --git a/test/e2e/v2.fetch.spec.ts b/packages/openapi-ts/test/e2e/v2.fetch.spec.ts similarity index 100% rename from test/e2e/v2.fetch.spec.ts rename to packages/openapi-ts/test/e2e/v2.fetch.spec.ts diff --git a/test/e2e/v2.node.spec.ts b/packages/openapi-ts/test/e2e/v2.node.spec.ts similarity index 100% rename from test/e2e/v2.node.spec.ts rename to packages/openapi-ts/test/e2e/v2.node.spec.ts diff --git a/test/e2e/v2.xhr.spec.ts b/packages/openapi-ts/test/e2e/v2.xhr.spec.ts similarity index 100% rename from test/e2e/v2.xhr.spec.ts rename to packages/openapi-ts/test/e2e/v2.xhr.spec.ts diff --git a/test/e2e/v3.angular.spec.ts b/packages/openapi-ts/test/e2e/v3.angular.spec.ts similarity index 100% rename from test/e2e/v3.angular.spec.ts rename to packages/openapi-ts/test/e2e/v3.angular.spec.ts diff --git a/test/e2e/v3.axios.spec.ts b/packages/openapi-ts/test/e2e/v3.axios.spec.ts similarity index 100% rename from test/e2e/v3.axios.spec.ts rename to packages/openapi-ts/test/e2e/v3.axios.spec.ts diff --git a/test/e2e/v3.fetch.spec.ts b/packages/openapi-ts/test/e2e/v3.fetch.spec.ts similarity index 100% rename from test/e2e/v3.fetch.spec.ts rename to packages/openapi-ts/test/e2e/v3.fetch.spec.ts diff --git a/test/e2e/v3.node.spec.ts b/packages/openapi-ts/test/e2e/v3.node.spec.ts similarity index 100% rename from test/e2e/v3.node.spec.ts rename to packages/openapi-ts/test/e2e/v3.node.spec.ts diff --git a/test/e2e/v3.xhr.spec.ts b/packages/openapi-ts/test/e2e/v3.xhr.spec.ts similarity index 100% rename from test/e2e/v3.xhr.spec.ts rename to packages/openapi-ts/test/e2e/v3.xhr.spec.ts diff --git a/test/index.spec.ts b/packages/openapi-ts/test/index.spec.ts similarity index 100% rename from test/index.spec.ts rename to packages/openapi-ts/test/index.spec.ts diff --git a/test/sample.cjs b/packages/openapi-ts/test/sample.cjs similarity index 100% rename from test/sample.cjs rename to packages/openapi-ts/test/sample.cjs diff --git a/test/spec/v2.json b/packages/openapi-ts/test/spec/v2.json similarity index 100% rename from test/spec/v2.json rename to packages/openapi-ts/test/spec/v2.json diff --git a/test/spec/v3.json b/packages/openapi-ts/test/spec/v3.json similarity index 100% rename from test/spec/v3.json rename to packages/openapi-ts/test/spec/v3.json diff --git a/tsconfig.base.json b/packages/openapi-ts/tsconfig.base.json similarity index 100% rename from tsconfig.base.json rename to packages/openapi-ts/tsconfig.base.json diff --git a/tsconfig.check.json b/packages/openapi-ts/tsconfig.check.json similarity index 100% rename from tsconfig.check.json rename to packages/openapi-ts/tsconfig.check.json diff --git a/tsconfig.json b/packages/openapi-ts/tsconfig.json similarity index 100% rename from tsconfig.json rename to packages/openapi-ts/tsconfig.json diff --git a/vitest.config.e2e.ts b/packages/openapi-ts/vitest.config.e2e.ts similarity index 100% rename from vitest.config.e2e.ts rename to packages/openapi-ts/vitest.config.e2e.ts diff --git a/vitest.config.unit.ts b/packages/openapi-ts/vitest.config.unit.ts similarity index 100% rename from vitest.config.unit.ts rename to packages/openapi-ts/vitest.config.unit.ts