@ama-sdk/schematics 0.0.0-placeholder

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/LICENSE +26 -0
  2. package/README.md +72 -0
  3. package/collection.json +42 -0
  4. package/package.json +148 -0
  5. package/schematics/api-extension/index.d.ts +9 -0
  6. package/schematics/api-extension/index.d.ts.map +1 -0
  7. package/schematics/api-extension/index.js +21 -0
  8. package/schematics/api-extension/index.js.map +1 -0
  9. package/schematics/api-extension/schema.d.ts +10 -0
  10. package/schematics/api-extension/schema.d.ts.map +1 -0
  11. package/schematics/api-extension/schema.js +3 -0
  12. package/schematics/api-extension/schema.js.map +1 -0
  13. package/schematics/api-extension/schema.json +37 -0
  14. package/schematics/api-extension/templates/.gitignore.template +38 -0
  15. package/schematics/api-extension/templates/.npmrc.template +4 -0
  16. package/schematics/api-extension/templates/package.json.template +16 -0
  17. package/schematics/api-extension/templates/src/API_swagger_template.yaml +269 -0
  18. package/schematics/api-extension/templates/src/definitions/__name__ExampleReply.yaml +20 -0
  19. package/schematics/api-extension/templates/src/generate.config.json +10 -0
  20. package/schematics/api-extension/templates/src/override/.gitkeep +0 -0
  21. package/schematics/api-extension/templates/src/products/Additional Products.yaml +25 -0
  22. package/schematics/helpers/execute-jars.d.ts +14 -0
  23. package/schematics/helpers/execute-jars.d.ts.map +1 -0
  24. package/schematics/helpers/execute-jars.js +62 -0
  25. package/schematics/helpers/execute-jars.js.map +1 -0
  26. package/schematics/helpers/generator-java.task.d.ts +59 -0
  27. package/schematics/helpers/generator-java.task.d.ts.map +1 -0
  28. package/schematics/helpers/generator-java.task.js +83 -0
  29. package/schematics/helpers/generator-java.task.js.map +1 -0
  30. package/schematics/helpers/read-package.d.ts +4 -0
  31. package/schematics/helpers/read-package.d.ts.map +1 -0
  32. package/schematics/helpers/read-package.js +12 -0
  33. package/schematics/helpers/read-package.js.map +1 -0
  34. package/schematics/helpers/tree-glob.d.ts +9 -0
  35. package/schematics/helpers/tree-glob.d.ts.map +1 -0
  36. package/schematics/helpers/tree-glob.js +27 -0
  37. package/schematics/helpers/tree-glob.js.map +1 -0
  38. package/schematics/java/client-core/index.d.ts +9 -0
  39. package/schematics/java/client-core/index.d.ts.map +1 -0
  40. package/schematics/java/client-core/index.js +74 -0
  41. package/schematics/java/client-core/index.js.map +1 -0
  42. package/schematics/java/client-core/schema.d.ts +8 -0
  43. package/schematics/java/client-core/schema.d.ts.map +1 -0
  44. package/schematics/java/client-core/schema.js +3 -0
  45. package/schematics/java/client-core/schema.js.map +1 -0
  46. package/schematics/java/client-core/schema.json +26 -0
  47. package/schematics/ng-add/index.d.ts +15 -0
  48. package/schematics/ng-add/index.d.ts.map +1 -0
  49. package/schematics/ng-add/index.js +106 -0
  50. package/schematics/ng-add/index.js.map +1 -0
  51. package/schematics/ng-add/schema.d.ts +6 -0
  52. package/schematics/ng-add/schema.d.ts.map +1 -0
  53. package/schematics/ng-add/schema.js +3 -0
  54. package/schematics/ng-add/schema.js.map +1 -0
  55. package/schematics/ng-add/schema.json +18 -0
  56. package/schematics/resources/swagger-codegen-cli.jar +0 -0
  57. package/schematics/typescript/core/index.d.ts +9 -0
  58. package/schematics/typescript/core/index.d.ts.map +1 -0
  59. package/schematics/typescript/core/index.js +109 -0
  60. package/schematics/typescript/core/index.js.map +1 -0
  61. package/schematics/typescript/core/schema.d.ts +6 -0
  62. package/schematics/typescript/core/schema.d.ts.map +1 -0
  63. package/schematics/typescript/core/schema.js +3 -0
  64. package/schematics/typescript/core/schema.js.map +1 -0
  65. package/schematics/typescript/core/schema.json +21 -0
  66. package/schematics/typescript/core/templates/src/spec/operation-adapter.ts.template +5 -0
  67. package/schematics/typescript/create/index.d.ts +9 -0
  68. package/schematics/typescript/create/index.d.ts.map +1 -0
  69. package/schematics/typescript/create/index.js +17 -0
  70. package/schematics/typescript/create/index.js.map +1 -0
  71. package/schematics/typescript/create/schema.d.ts +5 -0
  72. package/schematics/typescript/create/schema.d.ts.map +1 -0
  73. package/schematics/typescript/create/schema.js +3 -0
  74. package/schematics/typescript/create/schema.js.map +1 -0
  75. package/schematics/typescript/create/schema.json +40 -0
  76. package/schematics/typescript/mock/index.d.ts +15 -0
  77. package/schematics/typescript/mock/index.d.ts.map +1 -0
  78. package/schematics/typescript/mock/index.js +84 -0
  79. package/schematics/typescript/mock/index.js.map +1 -0
  80. package/schematics/typescript/mock/schema.d.ts +12 -0
  81. package/schematics/typescript/mock/schema.d.ts.map +1 -0
  82. package/schematics/typescript/mock/schema.js +3 -0
  83. package/schematics/typescript/mock/schema.js.map +1 -0
  84. package/schematics/typescript/mock/schema.json +42 -0
  85. package/schematics/typescript/mock/templates/__dasherizeModelName__.mock.ts +85 -0
  86. package/schematics/typescript/mock/templates/__dasherizeModelName__.spec.ts +51 -0
  87. package/schematics/typescript/mock/templates/index.ts +1 -0
  88. package/schematics/typescript/shell/index.d.ts +7 -0
  89. package/schematics/typescript/shell/index.d.ts.map +1 -0
  90. package/schematics/typescript/shell/index.js +54 -0
  91. package/schematics/typescript/shell/index.js.map +1 -0
  92. package/schematics/typescript/shell/schema.d.ts +10 -0
  93. package/schematics/typescript/shell/schema.d.ts.map +1 -0
  94. package/schematics/typescript/shell/schema.js +3 -0
  95. package/schematics/typescript/shell/schema.js.map +1 -0
  96. package/schematics/typescript/shell/schema.json +30 -0
  97. package/schematics/typescript/shell/templates/base/.commitlintrc.json +37 -0
  98. package/schematics/typescript/shell/templates/base/.editorconfig +13 -0
  99. package/schematics/typescript/shell/templates/base/.eslintignore +9 -0
  100. package/schematics/typescript/shell/templates/base/.eslintrc.js +46 -0
  101. package/schematics/typescript/shell/templates/base/.husky/commit-msg +4 -0
  102. package/schematics/typescript/shell/templates/base/.husky/pre-commit +4 -0
  103. package/schematics/typescript/shell/templates/base/.renovaterc.json +93 -0
  104. package/schematics/typescript/shell/templates/base/.swagger-codegen-ignore +1 -0
  105. package/schematics/typescript/shell/templates/base/.swcrc +16 -0
  106. package/schematics/typescript/shell/templates/base/.versionrc.json +9 -0
  107. package/schematics/typescript/shell/templates/base/.yarnrc.yml +6 -0
  108. package/schematics/typescript/shell/templates/base/CONTRIBUTING.md +4 -0
  109. package/schematics/typescript/shell/templates/base/configs/tsconfig.test.json +21 -0
  110. package/schematics/typescript/shell/templates/base/jest.config.js +23 -0
  111. package/schematics/typescript/shell/templates/base/package.json +119 -0
  112. package/schematics/typescript/shell/templates/base/readme.md +134 -0
  113. package/schematics/typescript/shell/templates/base/scripts/clear-index.js +30 -0
  114. package/schematics/typescript/shell/templates/base/scripts/files-pack.js +74 -0
  115. package/schematics/typescript/shell/templates/base/scripts/override-readme.js +15 -0
  116. package/schematics/typescript/shell/templates/base/scripts/restore-readme.js +14 -0
  117. package/schematics/typescript/shell/templates/base/src/fixtures/jest/index.ts +1 -0
  118. package/schematics/typescript/shell/templates/base/src/fixtures/jest/package.json +10 -0
  119. package/schematics/typescript/shell/templates/base/src/helpers/index.ts +1 -0
  120. package/schematics/typescript/shell/templates/base/src/helpers/package.json +10 -0
  121. package/schematics/typescript/shell/templates/base/src/index.ts +4 -0
  122. package/schematics/typescript/shell/templates/base/src/models/base/index.ts +0 -0
  123. package/schematics/typescript/shell/templates/base/src/models/core/enums.ts +2 -0
  124. package/schematics/typescript/shell/templates/base/src/models/core/index.ts +2 -0
  125. package/schematics/typescript/shell/templates/base/src/models/core/patterns.ts +2 -0
  126. package/schematics/typescript/shell/templates/base/src/models/custom/enums.ts +2 -0
  127. package/schematics/typescript/shell/templates/base/src/models/custom/index.ts +1 -0
  128. package/schematics/typescript/shell/templates/base/src/models/custom/patterns.ts +2 -0
  129. package/schematics/typescript/shell/templates/base/src/models/enums.ts +4 -0
  130. package/schematics/typescript/shell/templates/base/src/models/index.ts +6 -0
  131. package/schematics/typescript/shell/templates/base/src/models/patterns.ts +4 -0
  132. package/schematics/typescript/shell/templates/base/src/spec/index.ts +3 -0
  133. package/schematics/typescript/shell/templates/base/src/spec/mock-factory/index.ts +2 -0
  134. package/schematics/typescript/shell/templates/base/src/spec/package.json +10 -0
  135. package/schematics/typescript/shell/templates/base/testing/tsconfig.spec.json +24 -0
  136. package/schematics/typescript/shell/templates/base/tsconfig.build.json +44 -0
  137. package/schematics/typescript/shell/templates/base/tsconfig.doc.json +20 -0
  138. package/schematics/typescript/shell/templates/base/tsconfig.json +14 -0
  139. package/schematics/typescript/shell/templates/base/tsconfigs/esm2020/tsconfig.jest.json +16 -0
  140. package/schematics/typescript/shell/templates/base/tsconfigs/esm2020/tsconfig.json +10 -0
  141. package/schematics/typescript/shell/templates/base/tsconfigs/esm2020/tsconfig.source.json +11 -0
  142. package/schematics/typescript/shell/templates/base/tsconfigs/tsconfig.jest.json +20 -0
  143. package/schematics/typescript/shell/templates/base/tsconfigs/tsconfig.source.json +13 -0
  144. package/schematics/typescript/shell/templates/base/typedoc.json +12 -0
@@ -0,0 +1,20 @@
1
+ {
2
+ "extends": "./tsconfig.build",
3
+ "compilerOptions": {
4
+ "rootDir": ".",
5
+ "baseUrl": "."
6
+ },
7
+ "exclude": [
8
+ "**/*.fixture.ts",
9
+ "**/fixtures/*.ts",
10
+ "**/fixtures*.ts",
11
+ "**/*.mock*.ts",
12
+ "**/*.spec.ts",
13
+ "**/*.perf.ts",
14
+ "**/*.reviver.ts"
15
+ ],
16
+ "include": [
17
+ "./src/models/**/*.ts",
18
+ "./src/helpers/**/*.ts"
19
+ ]
20
+ }
@@ -0,0 +1,14 @@
1
+ /* IDE usage only */
2
+ {
3
+ "references": [
4
+ {
5
+ "path": "./testing/tsconfig.spec.json"
6
+ },
7
+ {
8
+ "path": "./tsconfigs/tsconfig.source.json"
9
+ },
10
+ {
11
+ "path": "./tsconfigs/tsconfig.jest.json"
12
+ }
13
+ ]
14
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "extends": "../tsconfig.jest",
3
+ "compilerOptions": {
4
+ "declarationDir": "../../dist",
5
+ "declarationMap": true,
6
+ "target": "es2020",
7
+ "module": "es2020",
8
+ "outDir": "../../dist/esm2020",
9
+ "tsBuildInfoFile": "../../build/esm2020/tsconfig.jest.tsbuildinfo"
10
+ },
11
+ "references": [
12
+ {
13
+ "path": "./tsconfig.source.json"
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "references": [
3
+ {
4
+ "path": "./tsconfig.source.json"
5
+ },
6
+ {
7
+ "path": "./tsconfig.jest.json"
8
+ }
9
+ ]
10
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "../tsconfig.source",
3
+ "compilerOptions": {
4
+ "declarationDir": "../../dist",
5
+ "declarationMap": true,
6
+ "target": "es2020",
7
+ "module": "es2020",
8
+ "outDir": "../../dist/esm2020",
9
+ "tsBuildInfoFile": "../../build/esm2020/tsconfig.source.tsbuildinfo"
10
+ }
11
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "extends": "../tsconfig.build",
3
+ "compilerOptions": {
4
+ "types": [
5
+ "jest"
6
+ ]
7
+ },
8
+ "exclude": [
9
+ ],
10
+ "include": [
11
+ "../src/**/*.jest.fixture.ts",
12
+ "../src/api/fixtures.jest.ts",
13
+ "../src/fixtures/jest/**/*.ts",
14
+ ],
15
+ "references": [
16
+ {
17
+ "path": "./tsconfig.source.json"
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "extends": "../tsconfig.build",
3
+ "exclude": [
4
+ "../src/**/*.spec.ts",
5
+ "../src/**/*.perf.ts",
6
+ "../src/**/*.fixture.ts",
7
+ "../src/**/fixtures*.ts",
8
+ "../src/fixtures/**/*.ts"
9
+ ],
10
+ "include": [
11
+ "../src/**/*.ts"
12
+ ]
13
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "entryPoints": [
3
+ "./src/models/index.ts",
4
+ "./src/helpers/index.ts",
5
+ "./src/api/index.ts"
6
+ ],
7
+ "exclude": "./**/*+(.reviver|.spec|.e2e|.mock|.fixture).ts",
8
+ "pretty": true,
9
+ "excludeExternals": true,
10
+ "tsconfig": "./tsconfig.doc.json",
11
+ "out": "./generated-typedoc"
12
+ }