├── .eslintrc.yml ├── .gitbook.yaml ├── .github ├── dependabot.yml ├── semantic.yml └── workflows │ ├── auto-approve-dependabot-workflow.yml │ ├── continuous-deployment-workflow.yml │ ├── continuous-integration-workflow.yml │ └── lock-closed-issues-workflow.yml ├── .gitignore ├── .prettierrc.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── codecov.yml ├── docs ├── SUMMARY.md └── pages │ ├── 01-getting-started.md │ └── 02-basic-usage.md ├── jest.config.js ├── package.json ├── rollup.config.js ├── sample ├── sample1-simple-usage │ ├── Album.ts │ ├── Photo.ts │ ├── User.ts │ └── app.ts ├── sample2-iheritance │ ├── Album.ts │ ├── Authorable.ts │ ├── Photo.ts │ ├── User.ts │ └── app.ts ├── sample3-custom-arrays │ ├── Album.ts │ ├── AlbumArray.ts │ ├── Photo.ts │ └── app.ts ├── sample4-generics │ ├── SimpleCollection.ts │ ├── SuperCollection.ts │ ├── User.ts │ └── app.ts └── sample5-custom-transformer │ ├── User.ts │ └── app.ts ├── src ├── ClassTransformer.ts ├── MetadataStorage.ts ├── TransformOperationExecutor.ts ├── constants │ └── default-options.constant.ts ├── decorators │ ├── exclude.decorator.ts │ ├── expose.decorator.ts │ ├── index.ts │ ├── transform-instance-to-instance.decorator.ts │ ├── transform-instance-to-plain.decorator.ts │ ├── transform-plain-to-instance.decorator.ts │ ├── transform.decorator.ts │ └── type.decorator.ts ├── enums │ ├── index.ts │ └── transformation-type.enum.ts ├── index.ts ├── interfaces │ ├── class-constructor.type.ts │ ├── class-transformer-options.interface.ts │ ├── decorator-options │ │ ├── exclude-options.interface.ts │ │ ├── expose-options.interface.ts │ │ ├── transform-options.interface.ts │ │ ├── type-discriminator-descriptor.interface.ts │ │ └── type-options.interface.ts │ ├── index.ts │ ├── metadata │ │ ├── exclude-metadata.interface.ts │ │ ├── expose-metadata.interface.ts │ │ ├── transform-fn-params.interface.ts │ │ ├── transform-metadata.interface.ts │ │ └── type-metadata.interface.ts │ ├── target-map.interface.ts │ └── type-help-options.interface.ts ├── storage.ts └── utils │ ├── get-global.util.spect.ts │ ├── get-global.util.ts │ ├── index.ts │ └── is-promise.util.ts ├── test └── functional │ ├── basic-functionality.spec.ts │ ├── circular-reference-problem.spec.ts │ ├── custom-transform.spec.ts │ ├── default-values.spec.ts │ ├── es6-data-types.spec.ts │ ├── ignore-decorators.spec.ts │ ├── implicit-type-declarations.spec.ts │ ├── inheritence.spec.ts │ ├── prevent-array-bomb.spec.ts │ ├── promise-field.spec.ts │ ├── serialization-deserialization.spec.ts │ ├── specify-maps.spec.ts │ ├── transformation-option.spec.ts │ ├── transformer-method.spec.ts │ └── transformer-order.spec.ts ├── tsconfig.json ├── tsconfig.prod.cjs.json ├── tsconfig.prod.esm2015.json ├── tsconfig.prod.esm5.json ├── tsconfig.prod.json ├── tsconfig.prod.types.json └── tsconfig.spec.json /.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/.eslintrc.yml -------------------------------------------------------------------------------- /.gitbook.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/.gitbook.yaml -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/semantic.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/.github/semantic.yml -------------------------------------------------------------------------------- /.github/workflows/auto-approve-dependabot-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/.github/workflows/auto-approve-dependabot-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-deployment-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/.github/workflows/continuous-deployment-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-integration-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/.github/workflows/continuous-integration-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/lock-closed-issues-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/.github/workflows/lock-closed-issues-workflow.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/.prettierrc.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/codecov.yml -------------------------------------------------------------------------------- /docs/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/docs/SUMMARY.md -------------------------------------------------------------------------------- /docs/pages/01-getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/docs/pages/01-getting-started.md -------------------------------------------------------------------------------- /docs/pages/02-basic-usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/docs/pages/02-basic-usage.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/rollup.config.js -------------------------------------------------------------------------------- /sample/sample1-simple-usage/Album.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample1-simple-usage/Album.ts -------------------------------------------------------------------------------- /sample/sample1-simple-usage/Photo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample1-simple-usage/Photo.ts -------------------------------------------------------------------------------- /sample/sample1-simple-usage/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample1-simple-usage/User.ts -------------------------------------------------------------------------------- /sample/sample1-simple-usage/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample1-simple-usage/app.ts -------------------------------------------------------------------------------- /sample/sample2-iheritance/Album.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample2-iheritance/Album.ts -------------------------------------------------------------------------------- /sample/sample2-iheritance/Authorable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample2-iheritance/Authorable.ts -------------------------------------------------------------------------------- /sample/sample2-iheritance/Photo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample2-iheritance/Photo.ts -------------------------------------------------------------------------------- /sample/sample2-iheritance/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample2-iheritance/User.ts -------------------------------------------------------------------------------- /sample/sample2-iheritance/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample2-iheritance/app.ts -------------------------------------------------------------------------------- /sample/sample3-custom-arrays/Album.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample3-custom-arrays/Album.ts -------------------------------------------------------------------------------- /sample/sample3-custom-arrays/AlbumArray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample3-custom-arrays/AlbumArray.ts -------------------------------------------------------------------------------- /sample/sample3-custom-arrays/Photo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample3-custom-arrays/Photo.ts -------------------------------------------------------------------------------- /sample/sample3-custom-arrays/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample3-custom-arrays/app.ts -------------------------------------------------------------------------------- /sample/sample4-generics/SimpleCollection.ts: -------------------------------------------------------------------------------- 1 | export class SimpleCollection { 2 | items: T[]; 3 | count: number; 4 | } 5 | -------------------------------------------------------------------------------- /sample/sample4-generics/SuperCollection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample4-generics/SuperCollection.ts -------------------------------------------------------------------------------- /sample/sample4-generics/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample4-generics/User.ts -------------------------------------------------------------------------------- /sample/sample4-generics/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample4-generics/app.ts -------------------------------------------------------------------------------- /sample/sample5-custom-transformer/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample5-custom-transformer/User.ts -------------------------------------------------------------------------------- /sample/sample5-custom-transformer/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/sample/sample5-custom-transformer/app.ts -------------------------------------------------------------------------------- /src/ClassTransformer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/ClassTransformer.ts -------------------------------------------------------------------------------- /src/MetadataStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/MetadataStorage.ts -------------------------------------------------------------------------------- /src/TransformOperationExecutor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/TransformOperationExecutor.ts -------------------------------------------------------------------------------- /src/constants/default-options.constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/constants/default-options.constant.ts -------------------------------------------------------------------------------- /src/decorators/exclude.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/decorators/exclude.decorator.ts -------------------------------------------------------------------------------- /src/decorators/expose.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/decorators/expose.decorator.ts -------------------------------------------------------------------------------- /src/decorators/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/decorators/index.ts -------------------------------------------------------------------------------- /src/decorators/transform-instance-to-instance.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/decorators/transform-instance-to-instance.decorator.ts -------------------------------------------------------------------------------- /src/decorators/transform-instance-to-plain.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/decorators/transform-instance-to-plain.decorator.ts -------------------------------------------------------------------------------- /src/decorators/transform-plain-to-instance.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/decorators/transform-plain-to-instance.decorator.ts -------------------------------------------------------------------------------- /src/decorators/transform.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/decorators/transform.decorator.ts -------------------------------------------------------------------------------- /src/decorators/type.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/decorators/type.decorator.ts -------------------------------------------------------------------------------- /src/enums/index.ts: -------------------------------------------------------------------------------- 1 | export * from './transformation-type.enum'; 2 | -------------------------------------------------------------------------------- /src/enums/transformation-type.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/enums/transformation-type.enum.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces/class-constructor.type.ts: -------------------------------------------------------------------------------- 1 | export type ClassConstructor = { 2 | new (...args: any[]): T; 3 | }; 4 | -------------------------------------------------------------------------------- /src/interfaces/class-transformer-options.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/class-transformer-options.interface.ts -------------------------------------------------------------------------------- /src/interfaces/decorator-options/exclude-options.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/decorator-options/exclude-options.interface.ts -------------------------------------------------------------------------------- /src/interfaces/decorator-options/expose-options.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/decorator-options/expose-options.interface.ts -------------------------------------------------------------------------------- /src/interfaces/decorator-options/transform-options.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/decorator-options/transform-options.interface.ts -------------------------------------------------------------------------------- /src/interfaces/decorator-options/type-discriminator-descriptor.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/decorator-options/type-discriminator-descriptor.interface.ts -------------------------------------------------------------------------------- /src/interfaces/decorator-options/type-options.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/decorator-options/type-options.interface.ts -------------------------------------------------------------------------------- /src/interfaces/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/index.ts -------------------------------------------------------------------------------- /src/interfaces/metadata/exclude-metadata.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/metadata/exclude-metadata.interface.ts -------------------------------------------------------------------------------- /src/interfaces/metadata/expose-metadata.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/metadata/expose-metadata.interface.ts -------------------------------------------------------------------------------- /src/interfaces/metadata/transform-fn-params.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/metadata/transform-fn-params.interface.ts -------------------------------------------------------------------------------- /src/interfaces/metadata/transform-metadata.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/metadata/transform-metadata.interface.ts -------------------------------------------------------------------------------- /src/interfaces/metadata/type-metadata.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/metadata/type-metadata.interface.ts -------------------------------------------------------------------------------- /src/interfaces/target-map.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/target-map.interface.ts -------------------------------------------------------------------------------- /src/interfaces/type-help-options.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/interfaces/type-help-options.interface.ts -------------------------------------------------------------------------------- /src/storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/storage.ts -------------------------------------------------------------------------------- /src/utils/get-global.util.spect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/utils/get-global.util.spect.ts -------------------------------------------------------------------------------- /src/utils/get-global.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/utils/get-global.util.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/is-promise.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/src/utils/is-promise.util.ts -------------------------------------------------------------------------------- /test/functional/basic-functionality.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/basic-functionality.spec.ts -------------------------------------------------------------------------------- /test/functional/circular-reference-problem.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/circular-reference-problem.spec.ts -------------------------------------------------------------------------------- /test/functional/custom-transform.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/custom-transform.spec.ts -------------------------------------------------------------------------------- /test/functional/default-values.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/default-values.spec.ts -------------------------------------------------------------------------------- /test/functional/es6-data-types.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/es6-data-types.spec.ts -------------------------------------------------------------------------------- /test/functional/ignore-decorators.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/ignore-decorators.spec.ts -------------------------------------------------------------------------------- /test/functional/implicit-type-declarations.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/implicit-type-declarations.spec.ts -------------------------------------------------------------------------------- /test/functional/inheritence.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/inheritence.spec.ts -------------------------------------------------------------------------------- /test/functional/prevent-array-bomb.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/prevent-array-bomb.spec.ts -------------------------------------------------------------------------------- /test/functional/promise-field.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/promise-field.spec.ts -------------------------------------------------------------------------------- /test/functional/serialization-deserialization.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/serialization-deserialization.spec.ts -------------------------------------------------------------------------------- /test/functional/specify-maps.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/specify-maps.spec.ts -------------------------------------------------------------------------------- /test/functional/transformation-option.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/transformation-option.spec.ts -------------------------------------------------------------------------------- /test/functional/transformer-method.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/transformer-method.spec.ts -------------------------------------------------------------------------------- /test/functional/transformer-order.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/test/functional/transformer-order.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.prod.cjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/tsconfig.prod.cjs.json -------------------------------------------------------------------------------- /tsconfig.prod.esm2015.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/tsconfig.prod.esm2015.json -------------------------------------------------------------------------------- /tsconfig.prod.esm5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/tsconfig.prod.esm5.json -------------------------------------------------------------------------------- /tsconfig.prod.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/tsconfig.prod.json -------------------------------------------------------------------------------- /tsconfig.prod.types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/tsconfig.prod.types.json -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/class-transformer/HEAD/tsconfig.spec.json --------------------------------------------------------------------------------