declapract-typescript-ehmpathy 0.49.10 → 0.49.12

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 (1236) hide show
  1. package/dist/.test/assets/cache/declarations/declapract.declare.yml +4 -0
  2. package/dist/.test/assets/cache/declarations/practices/cache/.declapract.integration.test.ts +108 -0
  3. package/dist/.test/assets/cache/declarations/practices/cache/.test/assets/repo-with-old-cache-package/declapract.use.yml +6 -0
  4. package/dist/.test/assets/cache/declarations/practices/cache/.test/assets/repo-with-old-cache-package/package.json +7 -0
  5. package/dist/.test/assets/cache/declarations/practices/cache/.test/assets/repo-with-valid-cache-package/declapract.use.yml +6 -0
  6. package/dist/.test/assets/cache/declarations/practices/cache/.test/assets/repo-with-valid-cache-package/package.json +7 -0
  7. package/dist/.test/assets/cache/declarations/practices/cache/.test/assets/repo-without-cache-package/declapract.use.yml +6 -0
  8. package/dist/.test/assets/cache/declarations/practices/cache/.test/assets/repo-without-cache-package/package.json +7 -0
  9. package/dist/.test/assets/cache/declarations/practices/cache/best-practice/package.json +7 -0
  10. package/dist/.test/assets/cache/declarations/useCases.yml +5 -0
  11. package/dist/.test/assets/cicd-service/declarations/declapract.declare.yml +9 -0
  12. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/.declapract.integration.test.ts +175 -0
  13. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/.test/assets/demo-repo-pre-stamped-nords/.github/workflows/provision.yml +110 -0
  14. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/.test/assets/demo-repo-pre-stamped-nords/declapract.use.nords.yml +20 -0
  15. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/.test/assets/demo-repo-pre-stamped-nords/declapract.use.rds.yml +20 -0
  16. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/.test/assets/demo-repo-service/declapract.use.nords.yml +20 -0
  17. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/.test/assets/demo-repo-service/declapract.use.rds.yml +20 -0
  18. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/.test/assets/demo-repo-service/package.json +4 -0
  19. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/__snapshots__/.declapract.integration.test.ts.snap +24 -0
  20. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/__snapshots__/acceptanceContempFleetGuard.declapract.integration.test.ts.snap +13 -0
  21. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/__snapshots__/insync-grep.declapract.integration.test.ts.snap +5 -0
  22. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/__snapshots__/provision.yml.declapract.integration.test.ts.snap +297 -0
  23. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/acceptanceContempFleetGuard.declapract.integration.test.ts +89 -0
  24. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.declapract.integration.test.ts +153 -0
  25. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.declapract.readme.md +38 -0
  26. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.github/workflows/provision.yml.declapract.integration.test.ts +167 -0
  27. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.github/workflows/provision.yml.declapract.ts +88 -0
  28. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.test/assets/repo-non-rds/readme.md +9 -0
  29. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.test/assets/repo-with-aws-resources-callee/provision/aws/resources.ts +5 -0
  30. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.test/assets/repo-with-schema-callee/provision/schema/init.sql +5 -0
  31. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/__snapshots__/.declapract.integration.test.ts.snap +183 -0
  32. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/best-practice/.declapract.readme.md +22 -0
  33. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/best-practice/.github/workflows/.deploy-sls.yml +163 -0
  34. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/best-practice/.github/workflows/.sql-schema-control.yml +154 -0
  35. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/best-practice/.github/workflows/.terraform.yml +118 -0
  36. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/best-practice/.github/workflows/deploy.yml +77 -0
  37. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/best-practice/.github/workflows/deploy.yml.declapract.ts +15 -0
  38. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/best-practice/.github/workflows/provision.yml +110 -0
  39. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/best-practice/.github/workflows/provision.yml.declapract.ts +74 -0
  40. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/best-practice/package.json +7 -0
  41. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/insync-grep.declapract.integration.test.ts +76 -0
  42. package/dist/.test/assets/cicd-service/declarations/practices/cicd-service/provision.yml.declapract.integration.test.ts +182 -0
  43. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/.declapract.integration.test.ts +224 -0
  44. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/.extensions.sql.declapract.integration.test.ts +38 -0
  45. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/.test/assets/demo-repo-with-dev-config/config/dev.json +18 -0
  46. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/.test/assets/demo-repo-with-dev-config/declapract.use.yml +18 -0
  47. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/.test/assets/demo-repo-with-dev-config/package.json +4 -0
  48. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/__snapshots__/.declapract.integration.test.ts.snap +45 -0
  49. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/__snapshots__/.extensions.sql.declapract.integration.test.ts.snap +42 -0
  50. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/__snapshots__/deploy-database-gerunds.declapract.integration.test.ts.snap +102 -0
  51. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/__snapshots__/provision-testdb-access.declapract.integration.test.ts.snap +3 -0
  52. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/__snapshots__/ssm-cicd-param-names.declapract.integration.test.ts.snap +10 -0
  53. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/__snapshots__/testdb-preflight-failloud.declapract.integration.test.ts.snap +30 -0
  54. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/non-prefixed-manual-init-sqls/provision/schema/sql/init/extensions.sql.declapract.ts +13 -0
  55. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/non-prefixed-manual-init-sqls/provision/schema/sql/init/schema.sql.declapract.ts +3 -0
  56. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/non-prefixed-manual-init-sqls/provision/schema/sql/init/user.cicd.sql.declapract.ts +3 -0
  57. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/non-prefixed-manual-init-sqls/provision/schema/sql/init/user.datalakedb.sql.declapract.ts +3 -0
  58. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/non-prefixed-manual-init-sqls/readme.md +5 -0
  59. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/old-config-file-names/codegen.sql.yml.declapract.ts +3 -0
  60. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/old-dev-config-location/config/dev.json.declapract.ts +33 -0
  61. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/old-integration-test-db-dir/.declapract.readme.md +1 -0
  62. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/old-integration-test-db-dir/provision/docker/integration_test_db/<star><star>/<star>.declapract.ts +15 -0
  63. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/old-integration-test-db-hyphen-dir/.declapract.readme.md +1 -0
  64. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/old-integration-test-db-hyphen-dir/provision/docker/integration-test-db/<star><star>/<star>.declapract.ts +15 -0
  65. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/old-integration-test-db-paths/.declapract.readme.md +1 -0
  66. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/old-integration-test-db-paths/package.json +8 -0
  67. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/old-integration-test-db-paths/package.json.declapract.ts +10 -0
  68. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/old-packagejson-script-names/package.json +9 -0
  69. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/old-packagejson-script-names/package.json.declapract.ts +22 -0
  70. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/old-param-placeholder/config/<star>.json.declapract.ts +14 -0
  71. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/schema-entities-dir/.declapract.readme.md +1 -0
  72. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/schema-entities-dir/provision/schema/entities/<star>.ts.declapract.ts +12 -0
  73. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/schema-entities-dir/provision/schema/sql/entities.yml.declapract.ts +13 -0
  74. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/terraform-parameters/.declapract.integration.test.ts +88 -0
  75. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/terraform-parameters/.test/assets/demo-repo-with-terraform-ssm/declapract.declare.yml +4 -0
  76. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/terraform-parameters/.test/assets/demo-repo-with-terraform-ssm/declapract.use.yml +18 -0
  77. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/terraform-parameters/.test/assets/demo-repo-with-terraform-ssm/package.json +4 -0
  78. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/terraform-parameters/.test/assets/demo-repo-with-terraform-ssm/provision/aws/product/parameter-store.tf +23 -0
  79. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/terraform-parameters/__snapshots__/.declapract.integration.test.ts.snap +44 -0
  80. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/terraform-parameters/provision/aws/product/parameter-store.tf.declapract.ts +55 -0
  81. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/with-connection-in-input/.declapract.readme.md +1 -0
  82. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/with-connection-in-input/src/utils/database/withDatabaseConnection.ts +3 -0
  83. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/.declapract.readme.md +58 -0
  84. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/codegen.sql.dao.yml +18 -0
  85. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/codegen.sql.dao.yml.declapract.ts +3 -0
  86. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/codegen.sql.schema.yml +6 -0
  87. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/codegen.sql.types.yml +16 -0
  88. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/config/prep.json +36 -0
  89. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/config/prep.json.declapract.ts +15 -0
  90. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/config/prod.json +36 -0
  91. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/config/prod.json.declapract.ts +15 -0
  92. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/config/test.json +33 -0
  93. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/config/test.json.declapract.ts +15 -0
  94. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/package.json +30 -0
  95. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/aws/readme.md +79 -0
  96. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/aws/resources.parameters.ts +101 -0
  97. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/aws/resources.ts +30 -0
  98. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/docker/testdb/build-image.dockerfile +7 -0
  99. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/docker/testdb/docker-compose.yml +18 -0
  100. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/docker/testdb/init/.gitignore +3 -0
  101. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/docker/testdb/init/readme.md +3 -0
  102. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/docker/testdb/wait-for-postgres.sh +25 -0
  103. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/connection.config.js +29 -0
  104. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/control.yml +7 -0
  105. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/deploy.database.sh +97 -0
  106. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/sql/init/.database.sql +10 -0
  107. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/sql/init/.extensions.sql +16 -0
  108. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/sql/init/.extensions.sql.declapract.ts +37 -0
  109. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/sql/init/.schema.sql +11 -0
  110. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/sql/init/.user.cicd.sql +14 -0
  111. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/sql/init/.user.datalakedb.sql +12 -0
  112. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/sql/init/default_transaction_isolation.sql +6 -0
  113. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/sql/init/user.service.sql +16 -0
  114. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/sql/init.yml +9 -0
  115. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/provision/schema/sql/init.yml.declapract.ts +3 -0
  116. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/src/utils/config/config.schema.ts +110 -0
  117. package/dist/{practices/persist-with-rds/best-practice/src/utils/database/getDatabaseConnection.integration.test.ts → .test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/src/utils/database/getOneDatabaseConnection.integration.test.ts} +3 -3
  118. package/dist/{practices/persist-with-rds/best-practice/src/utils/database/getDatabaseConnection.ts → .test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/src/utils/database/getOneDatabaseConnection.ts} +1 -1
  119. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/src/utils/database/withDatabaseContext.ts +53 -0
  120. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/src/utils/database/withDatabaseTransaction.ts +33 -0
  121. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/deploy-database-gerunds.declapract.integration.test.ts +57 -0
  122. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/empty-template-declares-zero-clusters.declapract.integration.test.ts +71 -0
  123. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/provision-testdb-access.declapract.integration.test.ts +50 -0
  124. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/ssm-cicd-param-names.declapract.integration.test.ts +73 -0
  125. package/dist/.test/assets/cicd-service/declarations/practices/persist-with-rds/testdb-preflight-failloud.declapract.integration.test.ts +83 -0
  126. package/dist/.test/assets/cicd-service/declarations/useCases.yml +13 -0
  127. package/dist/.test/assets/environments/declarations/declapract.declare.yml +4 -0
  128. package/dist/.test/assets/environments/declarations/practices/environments/.declapract.integration.test.ts +136 -0
  129. package/dist/.test/assets/environments/declarations/practices/environments/__snapshots__/.declapract.integration.test.ts.snap +55 -0
  130. package/dist/.test/assets/environments/declarations/practices/environments/bad-practices/old-dev-scripts/package.json.declapract.ts +59 -0
  131. package/dist/.test/assets/environments/declarations/practices/environments/bad-practices/old-stage-enum/.declapract.integration.test.ts +133 -0
  132. package/dist/.test/assets/environments/declarations/practices/environments/bad-practices/old-stage-enum/.test/assets/demo-repo-with-stage-enum/declapract.use.yml +8 -0
  133. package/dist/.test/assets/environments/declarations/practices/environments/bad-practices/old-stage-enum/.test/assets/demo-repo-with-stage-enum/package.json +4 -0
  134. package/dist/.test/assets/environments/declarations/practices/environments/bad-practices/old-stage-enum/.test/assets/demo-repo-with-stage-enum/src/logic/getDeployTarget.ts +15 -0
  135. package/dist/.test/assets/environments/declarations/practices/environments/bad-practices/old-stage-enum/__snapshots__/.declapract.integration.test.ts.snap +40 -0
  136. package/dist/.test/assets/environments/declarations/practices/environments/bad-practices/old-stage-enum/src/<star><star>/<star>.ts.declapract.ts +304 -0
  137. package/dist/.test/assets/environments/declarations/practices/environments/best-practice/.declapract.readme.md +61 -0
  138. package/dist/.test/assets/environments/declarations/practices/environments/best-practice/package.json +7 -0
  139. package/dist/.test/assets/environments/declarations/practices/environments/best-practice/package.json.declapract.ts +3 -0
  140. package/dist/.test/assets/environments/declarations/practices/environments/best-practice/src/access/sdks/sdkAwsLambdaEnvAccessAncient.ts +32 -0
  141. package/dist/.test/assets/environments/declarations/practices/environments/best-practice/src/access/sdks/sdkAwsLambdaEnvAccessContemp.ts +14 -0
  142. package/dist/.test/assets/environments/declarations/practices/environments/best-practice/src/utils/environment.ts +9 -0
  143. package/dist/.test/assets/environments/declarations/useCases.yml +5 -0
  144. package/dist/.test/assets/expo/declarations/declapract.declare.yml +4 -0
  145. package/dist/.test/assets/expo/declarations/practices/cicd-app-react-native-expo/.declapract.integration.test.ts +910 -0
  146. package/dist/.test/assets/expo/declarations/practices/cicd-app-react-native-expo/__snapshots__/.declapract.integration.test.ts.snap +300 -0
  147. package/dist/.test/assets/expo/declarations/practices/cicd-app-react-native-expo/best-practice/.declapract.readme.md +27 -0
  148. package/dist/.test/assets/expo/declarations/practices/cicd-app-react-native-expo/best-practice/.github/workflows/.deploy-expo.yml +137 -0
  149. package/dist/.test/assets/expo/declarations/practices/cicd-app-react-native-expo/best-practice/.github/workflows/deploy.yml +76 -0
  150. package/dist/.test/assets/expo/declarations/practices/cicd-app-react-native-expo/best-practice/.github/workflows/test.yml +25 -0
  151. package/dist/.test/assets/expo/declarations/practices/cicd-app-react-native-expo/best-practice/.gitignore.declapract.ts +28 -0
  152. package/dist/.test/assets/expo/declarations/practices/cicd-app-react-native-expo/best-practice/package.json +36 -0
  153. package/dist/.test/assets/expo/declarations/practices/cicd-app-react-native-expo/best-practice/package.json.declapract.ts +3 -0
  154. package/dist/.test/assets/expo/declarations/practices/node/.npmrc.declapract.integration.test.ts +165 -0
  155. package/dist/.test/assets/expo/declarations/practices/node/.test/assets/repo-expo-npmrc/declapract.use.yml +23 -0
  156. package/dist/.test/assets/expo/declarations/practices/node/.test/assets/repo-expo-npmrc/package.json +4 -0
  157. package/dist/.test/assets/expo/declarations/practices/node/__snapshots__/.npmrc.declapract.integration.test.ts.snap +24 -0
  158. package/dist/.test/assets/expo/declarations/practices/node/bad-practices/self-deps-not-link/.declapract.integration.test.ts +102 -0
  159. package/dist/.test/assets/expo/declarations/practices/node/bad-practices/self-deps-not-link/.declapract.readme.md +10 -0
  160. package/dist/.test/assets/expo/declarations/practices/node/bad-practices/self-deps-not-link/.test/assets/demo-repo-with-self-deps/declapract.declare.yml +4 -0
  161. package/dist/.test/assets/expo/declarations/practices/node/bad-practices/self-deps-not-link/.test/assets/demo-repo-with-self-deps/declapract.use.yml +8 -0
  162. package/dist/.test/assets/expo/declarations/practices/node/bad-practices/self-deps-not-link/.test/assets/demo-repo-with-self-deps/package.json +15 -0
  163. package/dist/.test/assets/expo/declarations/practices/node/bad-practices/self-deps-not-link/__snapshots__/.declapract.integration.test.ts.snap +46 -0
  164. package/dist/.test/assets/expo/declarations/practices/node/bad-practices/self-deps-not-link/package.json.declapract.ts +69 -0
  165. package/dist/.test/assets/expo/declarations/practices/node/best-practice/.npmrc.declapract.ts +64 -0
  166. package/dist/.test/assets/expo/declarations/practices/node/best-practice/.nvmrc +1 -0
  167. package/dist/.test/assets/expo/declarations/practices/node/best-practice/package.json +15 -0
  168. package/dist/.test/assets/expo/declarations/practices/node/best-practice/package.json.declapract.ts +3 -0
  169. package/dist/.test/assets/expo/declarations/practices/node/best-practice/readme.md +1 -0
  170. package/dist/.test/assets/expo/declarations/practices/node/best-practice/readme.md.declapract.ts +3 -0
  171. package/dist/.test/assets/expo/declarations/useCases.yml +8 -0
  172. package/dist/.test/assets/expo-fullusecase/declarations/declapract.declare.yml +10 -0
  173. package/dist/.test/assets/expo-fullusecase/declarations/practices/cache/.declapract.integration.test.ts +108 -0
  174. package/dist/.test/assets/expo-fullusecase/declarations/practices/cache/.test/assets/repo-with-old-cache-package/declapract.use.yml +6 -0
  175. package/dist/.test/assets/expo-fullusecase/declarations/practices/cache/.test/assets/repo-with-old-cache-package/package.json +7 -0
  176. package/dist/.test/assets/expo-fullusecase/declarations/practices/cache/.test/assets/repo-with-valid-cache-package/declapract.use.yml +6 -0
  177. package/dist/.test/assets/expo-fullusecase/declarations/practices/cache/.test/assets/repo-with-valid-cache-package/package.json +7 -0
  178. package/dist/.test/assets/expo-fullusecase/declarations/practices/cache/.test/assets/repo-without-cache-package/declapract.use.yml +6 -0
  179. package/dist/.test/assets/expo-fullusecase/declarations/practices/cache/.test/assets/repo-without-cache-package/package.json +7 -0
  180. package/dist/.test/assets/expo-fullusecase/declarations/practices/cache/best-practice/package.json +7 -0
  181. package/dist/.test/assets/expo-fullusecase/declarations/practices/cache/best-practice/package.json.declapract.ts +3 -0
  182. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-app-react-native-expo/.declapract.integration.test.ts +910 -0
  183. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-app-react-native-expo/__snapshots__/.declapract.integration.test.ts.snap +300 -0
  184. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-app-react-native-expo/best-practice/.declapract.readme.md +27 -0
  185. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-app-react-native-expo/best-practice/.github/workflows/.deploy-expo.yml +137 -0
  186. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-app-react-native-expo/best-practice/.github/workflows/deploy.yml +76 -0
  187. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-app-react-native-expo/best-practice/.github/workflows/test.yml +25 -0
  188. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-app-react-native-expo/best-practice/.gitignore.declapract.ts +28 -0
  189. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-app-react-native-expo/best-practice/package.json +36 -0
  190. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-app-react-native-expo/best-practice/package.json.declapract.ts +3 -0
  191. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/.declapract.integration.test.ts +597 -0
  192. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/.test/assets/repo-with-unpinned-workflow/.github/workflows/.test.yml +19 -0
  193. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/.test/assets/repo-with-unpinned-workflow/.github/workflows/consumer-owned.yml +21 -0
  194. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/.test/assets/repo-with-unpinned-workflow/.github/workflows/review.yml +26 -0
  195. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/.test/assets/repo-with-unpinned-workflow/declapract.use.yml +6 -0
  196. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/.test/assets/repo-with-unpinned-workflow/package.json +4 -0
  197. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/__snapshots__/.declapract.integration.test.ts.snap +538 -0
  198. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/__snapshots__/declastruct-insync-grep.declapract.integration.test.ts.snap +3 -0
  199. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/bad-practices/has-changelog-file/changelog.md.declapract.ts +11 -0
  200. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/bad-practices/old-names/.github/workflows/ci-on-commit.yml.declapract.ts +3 -0
  201. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/bad-practices/old-names/.github/workflows/ci_on_commit.yml.declapract.ts +3 -0
  202. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/bad-practices/old-names/.github/workflows/pr-release-on-main.yml.declapract.ts +3 -0
  203. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/bad-practices/old-names/.github/workflows/test-on-commit.yml.declapract.ts +3 -0
  204. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/bad-practices/old-names/.github/workflows/test_on_commit.yml.declapract.ts +3 -0
  205. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/bad-practices/old-use-apikeys/.agent/repo=.this/role=any/skills/use.apikeys.json.declapract.ts +7 -0
  206. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/bad-practices/old-use-apikeys/.agent/repo=.this/role=any/skills/use.apikeys.sh.declapract.ts +7 -0
  207. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/best-practice/.declapract.readme.md +8 -0
  208. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/best-practice/.github/actions/please-release/action.yml +469 -0
  209. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/best-practice/.github/actions/test-shards-setup/action.yml +68 -0
  210. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/best-practice/.github/workflows/.declastruct.yml +212 -0
  211. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/best-practice/.github/workflows/.install.yml +56 -0
  212. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/best-practice/.github/workflows/.test.yml +368 -0
  213. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/best-practice/.github/workflows/.test.yml.declapract.ts +26 -0
  214. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/best-practice/.github/workflows/release.yml +32 -0
  215. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/best-practice/.github/workflows/report-slow-tests.sh +65 -0
  216. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/best-practice/.github/workflows/review.yml +26 -0
  217. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/best-practice/.github/workflows/test.yml +25 -0
  218. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/best-practice/.github/workflows/test.yml.declapract.ts +15 -0
  219. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/declastruct-insync-grep.declapract.integration.test.ts +49 -0
  220. package/dist/.test/assets/expo-fullusecase/declarations/practices/cicd-common/report-slow-tests.play.declapract.integration.test.ts +144 -0
  221. package/dist/.test/assets/expo-fullusecase/declarations/practices/conventional-commits/__snapshots__/commitlint-body-max-line.declapract.integration.test.ts.snap +3 -0
  222. package/dist/.test/assets/expo-fullusecase/declarations/practices/conventional-commits/bad-practices/commitlint/package.json +5 -0
  223. package/dist/.test/assets/expo-fullusecase/declarations/practices/conventional-commits/bad-practices/commitlint/package.json.declapract.ts +19 -0
  224. package/dist/.test/assets/expo-fullusecase/declarations/practices/conventional-commits/best-practice/.declapract.readme.md +5 -0
  225. package/dist/.test/assets/expo-fullusecase/declarations/practices/conventional-commits/best-practice/.husky/check.commit.sh +7 -0
  226. package/dist/.test/assets/expo-fullusecase/declarations/practices/conventional-commits/best-practice/.husky/commit-msg +8 -0
  227. package/dist/.test/assets/expo-fullusecase/declarations/practices/conventional-commits/best-practice/commitlint.config.js +26 -0
  228. package/dist/.test/assets/expo-fullusecase/declarations/practices/conventional-commits/best-practice/package.json +17 -0
  229. package/dist/.test/assets/expo-fullusecase/declarations/practices/conventional-commits/best-practice/package.json.declapract.ts +3 -0
  230. package/dist/.test/assets/expo-fullusecase/declarations/practices/conventional-commits/commitlint-body-max-line.declapract.integration.test.ts +49 -0
  231. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/data-dir/.declapract.readme.md +10 -0
  232. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/data-dir/src/<star><star>/data/<star><star>/<star>.declapract.ts +19 -0
  233. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/domain-dir/.declapract.readme.md +8 -0
  234. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/domain-dir/src/<star><star>/domain/<star><star>/<star>.declapract.ts +59 -0
  235. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/logic-dir/.declapract.readme.md +8 -0
  236. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/logic-dir/src/<star><star>/logic/<star><star>/<star>.declapract.ts +19 -0
  237. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/model-dir/.declapract.readme.md +3 -0
  238. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/model-dir/src/<star><star>/<star>.ts.declapract.ts +46 -0
  239. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/model-dir/src/<star><star>/model/<star><star>/<star>.declapract.ts +16 -0
  240. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/nonpublished-modules-dir/src/__nonpublished_modules__/<star><star>/<star>.declapract.ts +17 -0
  241. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/old-import-paths/.declapract.readme.md +21 -0
  242. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/old-import-paths/src/<star><star>/<star>.ts.declapract.ts +67 -0
  243. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/services-dir/.declapract.readme.md +5 -0
  244. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/bad-practices/services-dir/src/<star><star>/services/<star><star>/<star>.declapract.ts +16 -0
  245. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/best-practice/.declapract.readme.md +73 -0
  246. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/best-practice/src/access/daos/<star><star>/<star>.ts.declapract.ts +4 -0
  247. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/best-practice/src/access/sdks/<star><star>/<star>.ts.declapract.ts +4 -0
  248. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/best-practice/src/access/svcs/<star><star>/<star>.ts.declapract.ts +4 -0
  249. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/best-practice/src/contract/<star><star>/<star>.ts.declapract.ts +4 -0
  250. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/best-practice/src/domain.objects/<star><star>/<star>.ts.declapract.ts +4 -0
  251. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/best-practice/src/domain.operations/<star><star>/<star>.ts.declapract.ts +4 -0
  252. package/dist/.test/assets/expo-fullusecase/declarations/practices/directory-structure-src/best-practice/src/infra/<star><star>/<star>.ts.declapract.ts +4 -0
  253. package/dist/.test/assets/expo-fullusecase/declarations/practices/domain/.declapract.integration.test.ts +115 -0
  254. package/dist/{practices/domain/bad-practices/schematic-joi-model/src/domain → .test/assets/expo-fullusecase/declarations/practices/domain/bad-practices/schematic-joi-model/src/domain.objects}/<star><star>/<star>.ts.declapract.ts +4 -1
  255. package/dist/.test/assets/expo-fullusecase/declarations/practices/domain/bad-practices/simple-type-guards/.declapract.readme.md +1 -0
  256. package/dist/.test/assets/expo-fullusecase/declarations/practices/domain/bad-practices/simple-type-guards/package.json.declapract.ts +23 -0
  257. package/dist/.test/assets/expo-fullusecase/declarations/practices/domain/best-practice/package.json +6 -0
  258. package/dist/.test/assets/expo-fullusecase/declarations/practices/domain/best-practice/package.json.declapract.ts +3 -0
  259. package/dist/.test/assets/expo-fullusecase/declarations/practices/domain/best-practice/src/domain.objects/index.ts.declapract.ts +12 -0
  260. package/dist/.test/assets/expo-fullusecase/declarations/practices/errors/.declapract.integration.test.ts +121 -0
  261. package/dist/.test/assets/expo-fullusecase/declarations/practices/errors/bad-practices/error-fns/package.json +5 -0
  262. package/dist/.test/assets/expo-fullusecase/declarations/practices/errors/bad-practices/error-fns/package.json.declapract.ts +23 -0
  263. package/dist/.test/assets/expo-fullusecase/declarations/practices/errors/bad-practices/error-fns/src/<star><star>/<star>.ts.declapract.ts +17 -0
  264. package/dist/.test/assets/expo-fullusecase/declarations/practices/errors/bad-practices/local-error-imports/src/<star><star>/<star>.ts.declapract.ts +85 -0
  265. package/dist/.test/assets/expo-fullusecase/declarations/practices/errors/bad-practices/own-implementation/src/<star><star>/UnexpectedCodePathError.ts.declapract.ts +8 -0
  266. package/dist/.test/assets/expo-fullusecase/declarations/practices/errors/best-practice/package.json +5 -0
  267. package/dist/.test/assets/expo-fullusecase/declarations/practices/errors/best-practice/package.json.declapract.ts +4 -0
  268. package/dist/.test/assets/expo-fullusecase/declarations/practices/format/.declapract.integration.test.ts +131 -0
  269. package/dist/.test/assets/expo-fullusecase/declarations/practices/format/__snapshots__/.declapract.integration.test.ts.snap +17 -0
  270. package/dist/.test/assets/expo-fullusecase/declarations/practices/format/bad-practices/format-script/package.json.declapract.ts +26 -0
  271. package/dist/.test/assets/expo-fullusecase/declarations/practices/format/bad-practices/prettier/.declapract.readme.md +6 -0
  272. package/dist/.test/assets/expo-fullusecase/declarations/practices/format/bad-practices/prettier/.prettierignore +3 -0
  273. package/dist/.test/assets/expo-fullusecase/declarations/practices/format/bad-practices/prettier/.prettierignore.declapract.ts +8 -0
  274. package/dist/.test/assets/expo-fullusecase/declarations/practices/format/bad-practices/prettier/package.json +10 -0
  275. package/dist/.test/assets/expo-fullusecase/declarations/practices/format/bad-practices/prettier/package.json.declapract.ts +35 -0
  276. package/dist/.test/assets/expo-fullusecase/declarations/practices/format/bad-practices/prettier/prettier.config.js +10 -0
  277. package/dist/.test/assets/expo-fullusecase/declarations/practices/format/bad-practices/prettier/prettier.config.js.declapract.ts +8 -0
  278. package/dist/.test/assets/expo-fullusecase/declarations/practices/format/best-practice/package.json.declapract.ts +50 -0
  279. package/dist/.test/assets/expo-fullusecase/declarations/practices/git/.declapract.integration.test.ts +1001 -0
  280. package/dist/.test/assets/expo-fullusecase/declarations/practices/git/.test/assets/repo-with-rhachet-only/declapract.use.yml +6 -0
  281. package/dist/.test/assets/expo-fullusecase/declarations/practices/git/.test/assets/repo-with-rhachet-only/package.json +4 -0
  282. package/dist/.test/assets/expo-fullusecase/declarations/practices/git/.test/assets/repo-without-cache-ignores/declapract.use.yml +9 -0
  283. package/dist/.test/assets/expo-fullusecase/declarations/practices/git/.test/assets/repo-without-cache-ignores/package.json +4 -0
  284. package/dist/.test/assets/expo-fullusecase/declarations/practices/git/__snapshots__/.declapract.integration.test.ts.snap +53 -0
  285. package/dist/.test/assets/expo-fullusecase/declarations/practices/git/best-practice/.declapract.readme.md +23 -0
  286. package/dist/.test/assets/expo-fullusecase/declarations/practices/git/best-practice/.gitattributes +7 -0
  287. package/dist/.test/assets/expo-fullusecase/declarations/practices/git/best-practice/.gitattributes.declapract.ts +172 -0
  288. package/dist/.test/assets/expo-fullusecase/declarations/practices/git/best-practice/.gitignore.declapract.ts +100 -0
  289. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/__snapshots__/check.timestamps.play.declapract.integration.test.ts.snap +7 -0
  290. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/bad-practices/postinstall/package.json.declapract.ts +18 -0
  291. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/best-practice/.husky/check.commit.sh +7 -0
  292. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/best-practice/.husky/check.lockfile.sh +14 -0
  293. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/best-practice/.husky/check.nvm.sh +4 -0
  294. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/best-practice/.husky/check.timestamps.sh +57 -0
  295. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/best-practice/.husky/check.yalc.sh +11 -0
  296. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/best-practice/.husky/commit-msg +8 -0
  297. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/best-practice/.husky/post-checkout +9 -0
  298. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/best-practice/.husky/post-merge +8 -0
  299. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/best-practice/.husky/post-rewrite +8 -0
  300. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/best-practice/.husky/pre-commit +10 -0
  301. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/best-practice/package.json +9 -0
  302. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/best-practice/package.json.declapract.ts +3 -0
  303. package/dist/.test/assets/expo-fullusecase/declarations/practices/husky/check.timestamps.play.declapract.integration.test.ts +213 -0
  304. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/__snapshots__/dpdmrc-exclude-policy.declapract.integration.test.ts.snap +3 -0
  305. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/bad-practices/biome-json-extension/biome.json.declapract.ts +7 -0
  306. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/bad-practices/depcheck-denylisted-ignores/.declapract.readme.md +8 -0
  307. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/bad-practices/depcheck-denylisted-ignores/.depcheckrc.yml.declapract.ts +64 -0
  308. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/bad-practices/eslint/.eslintrc.js +67 -0
  309. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/bad-practices/eslint/.eslintrc.js.declapract.ts +3 -0
  310. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/bad-practices/eslint/package.json.declapract.ts +51 -0
  311. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/bad-practices/tslint/package.json.declapract.ts +22 -0
  312. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/bad-practices/tslint/tslint.json.declapract.ts +3 -0
  313. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/best-practice/.declapract.readme.md +5 -0
  314. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/best-practice/.depcheckrc.yml +25 -0
  315. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/best-practice/.depcheckrc.yml.declapract.ts +42 -0
  316. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/best-practice/.dpdmrc.yaml +13 -0
  317. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/best-practice/biome.jsonc +103 -0
  318. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/best-practice/package.json +17 -0
  319. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/best-practice/package.json.declapract.ts +4 -0
  320. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint/dpdmrc-exclude-policy.declapract.integration.test.ts +50 -0
  321. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint-react/best-practice/package.json +7 -0
  322. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint-react/best-practice/package.json.declapract.ts +4 -0
  323. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint-react-native/best-practice/.eslintrc.js +57 -0
  324. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint-react-native/best-practice/package.json +5 -0
  325. package/dist/.test/assets/expo-fullusecase/declarations/practices/lint-react-native/best-practice/package.json.declapract.ts +4 -0
  326. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/.npmrc.declapract.integration.test.ts +165 -0
  327. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/.test/assets/repo-expo-npmrc/declapract.use.yml +23 -0
  328. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/.test/assets/repo-expo-npmrc/package.json +4 -0
  329. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/__snapshots__/.npmrc.declapract.integration.test.ts.snap +24 -0
  330. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/bad-practices/self-deps-not-link/.declapract.integration.test.ts +102 -0
  331. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/bad-practices/self-deps-not-link/.declapract.readme.md +10 -0
  332. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/bad-practices/self-deps-not-link/.test/assets/demo-repo-with-self-deps/declapract.declare.yml +4 -0
  333. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/bad-practices/self-deps-not-link/.test/assets/demo-repo-with-self-deps/declapract.use.yml +8 -0
  334. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/bad-practices/self-deps-not-link/.test/assets/demo-repo-with-self-deps/package.json +15 -0
  335. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/bad-practices/self-deps-not-link/__snapshots__/.declapract.integration.test.ts.snap +46 -0
  336. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/bad-practices/self-deps-not-link/package.json.declapract.ts +69 -0
  337. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/best-practice/.npmrc.declapract.ts +64 -0
  338. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/best-practice/.nvmrc +1 -0
  339. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/best-practice/package.json +15 -0
  340. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/best-practice/package.json.declapract.ts +3 -0
  341. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/best-practice/readme.md +1 -0
  342. package/dist/.test/assets/expo-fullusecase/declarations/practices/node/best-practice/readme.md.declapract.ts +3 -0
  343. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/.declapract.readme.md +5 -0
  344. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/bad-practices/ahbode-standard-lambda-handler/.declapract.readme.md +1 -0
  345. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/bad-practices/ahbode-standard-lambda-handler/src/__nonpublished_modules__/ahbode-standard-lambda-handler/<star><star>/<star>.ts.declapract.ts +3 -0
  346. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/bad-practices/ahbode-standard-lambda-handler/src/contract/handlers/<star>.integration.test.ts +1 -0
  347. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/bad-practices/ahbode-standard-lambda-handler/src/contract/handlers/<star>.integration.test.ts.declapract.ts +15 -0
  348. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/bad-practices/ahbode-standard-lambda-handler/src/contract/handlers/<star>.ts +1 -0
  349. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/bad-practices/ahbode-standard-lambda-handler/src/contract/handlers/<star>.ts.declapract.ts +13 -0
  350. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/bad-practices/deep-omit/.declapract.readme.md +1 -0
  351. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/bad-practices/deep-omit/src/__nonpublished_modules__/deep-omit/<star><star>/<star>.ts.declapract.ts +3 -0
  352. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/bad-practices/deep-omit/src/data/dao/<star><star>/<star>.integration.test.ts +1 -0
  353. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/bad-practices/deep-omit/src/data/dao/<star><star>/<star>.integration.test.ts.declapract.ts +18 -0
  354. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/bad-practices/simple-dynamodb-client/.declapract.readme.md +1 -0
  355. package/dist/.test/assets/expo-fullusecase/declarations/practices/nonpublished-modules/bad-practices/simple-dynamodb-client/src/__nonpublished_modules__/simple-dynamodb-client/<star><star>/<star>.ts.declapract.ts +3 -0
  356. package/dist/.test/assets/expo-fullusecase/declarations/practices/package-json-order/best-practice/.declapract.readme.md +3 -0
  357. package/dist/.test/assets/expo-fullusecase/declarations/practices/package-json-order/best-practice/package.json.declapract.ts +233 -0
  358. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/.declapract.integration.test.ts +325 -0
  359. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/.test/assets/repo-npm-to-pnpm/.husky/check.lockfile.sh +10 -0
  360. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/.test/assets/repo-npm-to-pnpm/declapract.use.yml +7 -0
  361. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/.test/assets/repo-npm-to-pnpm/package.json +16 -0
  362. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/.test/assets/repo-npm-to-pnpm/pnpm-workspace.yaml +3 -0
  363. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/__snapshots__/.declapract.integration.test.ts.snap +75 -0
  364. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/bad-practices/husky-lockfile-check/.declapract.readme.md +17 -0
  365. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/bad-practices/husky-lockfile-check/.husky/check.lockfile.sh.declapract.ts +28 -0
  366. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/bad-practices/inert-build-allowlist/pnpm-workspace.yaml.declapract.ts +59 -0
  367. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/bad-practices/npm-overrides/.declapract.readme.md +20 -0
  368. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/bad-practices/npm-overrides/package.json.declapract.ts +75 -0
  369. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/bad-practices/package-lock-json/.declapract.readme.md +30 -0
  370. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/bad-practices/package-lock-json/package-lock.json.declapract.integration.test.ts +105 -0
  371. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/bad-practices/package-lock-json/package-lock.json.declapract.ts +41 -0
  372. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/best-practice/.declapract.readme.md +22 -0
  373. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/best-practice/package.json +3 -0
  374. package/dist/.test/assets/expo-fullusecase/declarations/practices/pnpm/best-practice/package.json.declapract.ts +17 -0
  375. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/bad-practices/deprecated-reviewers-variable/declapract.use.yml.declapract.ts +41 -0
  376. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/bad-practices/old-declastruct-resources-path/provision/github/declastruct.resources.ts.declapract.ts +7 -0
  377. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/bad-practices/terraform-github/provision/github/environment/import-existing-repo.sh +12 -0
  378. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/bad-practices/terraform-github/provision/github/environment/import-existing-repo.sh.declapract.ts +3 -0
  379. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/bad-practices/terraform-github/provision/github/environment/main.tf +20 -0
  380. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/bad-practices/terraform-github/provision/github/environment/main.tf.declapract.ts +3 -0
  381. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/bad-practices/terraform-github/provision/github/environment/versions.tf +9 -0
  382. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/bad-practices/terraform-github/provision/github/environment/versions.tf.declapract.ts +3 -0
  383. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/bad-practices/terraform-github/provision/github/product/repository.tf +74 -0
  384. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/bad-practices/terraform-github/provision/github/product/repository.tf.declapract.ts +3 -0
  385. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/best-practice/.declapract.readme.md +7 -0
  386. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/best-practice/package.json +7 -0
  387. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/best-practice/package.json.declapract.ts +3 -0
  388. package/dist/.test/assets/expo-fullusecase/declarations/practices/provision-github/best-practice/provision/github.repo/resources.ts +245 -0
  389. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/.declapract.integration.test.ts +98 -0
  390. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/.test/assets/demo-repo-with-consumer-boot/.agent/repo=.this/role=any/boot.yml +7 -0
  391. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/.test/assets/demo-repo-with-consumer-boot/declapract.declare.yml +4 -0
  392. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/.test/assets/demo-repo-with-consumer-boot/declapract.use.yml +2 -0
  393. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/.test/assets/demo-repo-with-consumer-boot/package.json +4 -0
  394. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/__snapshots__/.declapract.integration.test.ts.snap +45 -0
  395. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/__snapshots__/boot-refs-glossary.declapract.integration.test.ts.snap +6 -0
  396. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/__snapshots__/boot-yml-findsert.declapract.integration.test.ts.snap +27 -0
  397. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/bad-practices/deprecated-use-file/.declapract.readme.md +11 -0
  398. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/bad-practices/deprecated-use-file/rhachet.use.ts.declapract.ts +12 -0
  399. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/bad-practices/prod-deps/.declapract.readme.md +59 -0
  400. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/bad-practices/prod-deps/.test/assets/demo-repo-with-rhachet-prod-deps/declapract.declare.yml +4 -0
  401. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/bad-practices/prod-deps/.test/assets/demo-repo-with-rhachet-prod-deps/declapract.use.yml +2 -0
  402. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/bad-practices/prod-deps/.test/assets/demo-repo-with-rhachet-prod-deps/package.json +12 -0
  403. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/bad-practices/prod-deps/package.json +5 -0
  404. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/bad-practices/prod-deps/package.json.declapract.ts +88 -0
  405. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/bad-practices/review-peer-artifacts/.behavior/<star><star>/.reviews/<star><star>/<star>peer-review<star>.md.declapract.ts +16 -0
  406. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/bad-practices/review-peer-artifacts/.behavior/<star><star>/.reviews/peer/<star><star>/<star>.md.declapract.ts +16 -0
  407. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/bad-practices/review-peer-artifacts/.declapract.readme.md +12 -0
  408. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/best-practice/.agent/keyrack.yml.declapract.ts +3 -0
  409. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/best-practice/.agent/repo=.this/role=any/boot.yml +46 -0
  410. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/best-practice/.agent/repo=.this/role=any/boot.yml.declapract.ts +165 -0
  411. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/best-practice/.declapract.readme.md +32 -0
  412. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/best-practice/.gitignore.declapract.ts +77 -0
  413. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/best-practice/package.json +18 -0
  414. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/best-practice/package.json.declapract.ts +3 -0
  415. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/boot-refs-glossary.declapract.integration.test.ts +89 -0
  416. package/dist/.test/assets/expo-fullusecase/declarations/practices/rhachet/boot-yml-findsert.declapract.integration.test.ts +145 -0
  417. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-any/__snapshots__/changedsince-origin-main.declapract.integration.test.ts.snap +8 -0
  418. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-any/autoprune-hooks.declapract.integration.test.ts +104 -0
  419. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-any/bad-practices/javascript-config-files/jest.<star>.js.declapract.ts +17 -0
  420. package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-dir-location/.declapract.integration.test.ts +2 -2
  421. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/declapract.declare.yml +4 -0
  422. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/package.json +4 -0
  423. package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-import-paths/.declapract.readme.md +2 -2
  424. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils/blackbox/_utils/getDataFromLastOpenBracketAtStartOfLine.ts.declapract.ts +3 -0
  425. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils/blackbox/_utils/invokeLambda.ts.declapract.ts +3 -0
  426. package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-test-utils/blackbox/lambdas/<star>.ts.declapract.ts +9 -9
  427. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils-3/blackbox/_utils/environment.ts.declapract.ts +3 -0
  428. package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/best-practice/package.json +4 -6
  429. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-any/best-practice/package.json.declapract.ts +3 -0
  430. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-any/changedsince-origin-main.declapract.integration.test.ts +58 -0
  431. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-any/package.json.shell-flags.declapract.integration.test.ts +139 -0
  432. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/.declapract.integration.test.ts +138 -0
  433. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/.test/assets/repo-expo-greenfield/declapract.use.yml +6 -0
  434. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/.test/assets/repo-expo-greenfield/package.json +8 -0
  435. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/__snapshots__/.declapract.integration.test.ts.snap +121 -0
  436. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/__snapshots__/package.json.declapract.integration.test.ts.snap +60 -0
  437. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/bad-practices/inline-jest-config/.declapract.readme.md +22 -0
  438. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/bad-practices/inline-jest-config/package.json.declapract.ts +36 -0
  439. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/best-practice/jest.acceptance.config.ts +48 -0
  440. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/best-practice/jest.acceptance.env.ts +15 -0
  441. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/best-practice/jest.integration.config.ts +47 -0
  442. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/best-practice/jest.integration.env.ts +26 -0
  443. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/best-practice/jest.unit.config.ts +58 -0
  444. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/best-practice/jest.unit.env.ts +23 -0
  445. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/best-practice/package.json.declapract.ts +193 -0
  446. package/dist/.test/assets/expo-fullusecase/declarations/practices/tests-expo/package.json.declapract.integration.test.ts +94 -0
  447. package/dist/.test/assets/expo-fullusecase/declarations/practices/typescript-any/bad-practices/relative-imports/.declapract.readme.md +45 -0
  448. package/dist/{practices/typescript → .test/assets/expo-fullusecase/declarations/practices/typescript-any}/bad-practices/relative-imports/src/<star><star>/<star>.ts.declapract.ts +11 -0
  449. package/dist/.test/assets/expo-fullusecase/declarations/practices/typescript-any/best-practice/.declapract.readme.md +17 -0
  450. package/dist/.test/assets/expo-fullusecase/declarations/practices/typescript-any/best-practice/package.json +8 -0
  451. package/dist/.test/assets/expo-fullusecase/declarations/practices/typescript-any/best-practice/package.json.declapract.ts +11 -0
  452. package/dist/.test/assets/expo-fullusecase/declarations/practices/typescript-expo/__snapshots__/package.json.declapract.integration.test.ts.snap +8 -0
  453. package/dist/.test/assets/expo-fullusecase/declarations/practices/typescript-expo/__snapshots__/tsconfig.json.declapract.integration.test.ts.snap +19 -0
  454. package/dist/.test/assets/expo-fullusecase/declarations/practices/typescript-expo/best-practice/package.json +6 -0
  455. package/dist/.test/assets/expo-fullusecase/declarations/practices/typescript-expo/best-practice/package.json.declapract.ts +12 -0
  456. package/dist/.test/assets/expo-fullusecase/declarations/practices/typescript-expo/best-practice/tsconfig.json +14 -0
  457. package/dist/.test/assets/expo-fullusecase/declarations/practices/typescript-expo/best-practice/tsconfig.json.declapract.ts +12 -0
  458. package/dist/.test/assets/expo-fullusecase/declarations/practices/typescript-expo/package.json.declapract.integration.test.ts +43 -0
  459. package/dist/.test/assets/expo-fullusecase/declarations/practices/typescript-expo/tsconfig.json.declapract.integration.test.ts +43 -0
  460. package/dist/.test/assets/expo-fullusecase/declarations/useCases.yml +36 -0
  461. package/dist/.test/assets/expo-fullusecase/repo-greenfield/app.json +6 -0
  462. package/dist/.test/assets/expo-fullusecase/repo-greenfield/declapract.use.yml +24 -0
  463. package/dist/.test/assets/expo-fullusecase/repo-greenfield/package.json +7 -0
  464. package/dist/.test/assets/expo-migration/declarations/declapract.declare.yml +4 -0
  465. package/dist/.test/assets/expo-migration/declarations/practices/cicd-app-react-native-expo/.declapract.integration.test.ts +910 -0
  466. package/dist/.test/assets/expo-migration/declarations/practices/cicd-app-react-native-expo/__snapshots__/.declapract.integration.test.ts.snap +300 -0
  467. package/dist/.test/assets/expo-migration/declarations/practices/cicd-app-react-native-expo/best-practice/.declapract.readme.md +27 -0
  468. package/dist/.test/assets/expo-migration/declarations/practices/cicd-app-react-native-expo/best-practice/.github/workflows/.deploy-expo.yml +137 -0
  469. package/dist/.test/assets/expo-migration/declarations/practices/cicd-app-react-native-expo/best-practice/.github/workflows/deploy.yml +76 -0
  470. package/dist/.test/assets/expo-migration/declarations/practices/cicd-app-react-native-expo/best-practice/.github/workflows/test.yml +25 -0
  471. package/dist/.test/assets/expo-migration/declarations/practices/cicd-app-react-native-expo/best-practice/.gitignore.declapract.ts +28 -0
  472. package/dist/.test/assets/expo-migration/declarations/practices/cicd-app-react-native-expo/best-practice/package.json +36 -0
  473. package/dist/.test/assets/expo-migration/declarations/practices/cicd-app-react-native-expo/best-practice/package.json.declapract.ts +3 -0
  474. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/data-dir/.declapract.readme.md +10 -0
  475. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/data-dir/src/<star><star>/data/<star><star>/<star>.declapract.ts +19 -0
  476. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/domain-dir/.declapract.readme.md +8 -0
  477. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/domain-dir/src/<star><star>/domain/<star><star>/<star>.declapract.ts +59 -0
  478. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/logic-dir/.declapract.readme.md +8 -0
  479. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/logic-dir/src/<star><star>/logic/<star><star>/<star>.declapract.ts +19 -0
  480. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/model-dir/.declapract.readme.md +3 -0
  481. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/model-dir/src/<star><star>/<star>.ts.declapract.ts +46 -0
  482. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/model-dir/src/<star><star>/model/<star><star>/<star>.declapract.ts +16 -0
  483. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/nonpublished-modules-dir/src/__nonpublished_modules__/<star><star>/<star>.declapract.ts +17 -0
  484. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/old-import-paths/.declapract.readme.md +21 -0
  485. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/old-import-paths/src/<star><star>/<star>.ts.declapract.ts +67 -0
  486. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/services-dir/.declapract.readme.md +5 -0
  487. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/bad-practices/services-dir/src/<star><star>/services/<star><star>/<star>.declapract.ts +16 -0
  488. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/best-practice/.declapract.readme.md +73 -0
  489. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/best-practice/src/access/daos/<star><star>/<star>.ts.declapract.ts +4 -0
  490. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/best-practice/src/access/sdks/<star><star>/<star>.ts.declapract.ts +4 -0
  491. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/best-practice/src/access/svcs/<star><star>/<star>.ts.declapract.ts +4 -0
  492. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/best-practice/src/contract/<star><star>/<star>.ts.declapract.ts +4 -0
  493. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/best-practice/src/domain.objects/<star><star>/<star>.ts.declapract.ts +4 -0
  494. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/best-practice/src/domain.operations/<star><star>/<star>.ts.declapract.ts +4 -0
  495. package/dist/.test/assets/expo-migration/declarations/practices/directory-structure-src/best-practice/src/infra/<star><star>/<star>.ts.declapract.ts +4 -0
  496. package/dist/.test/assets/expo-migration/declarations/practices/domain/.declapract.integration.test.ts +115 -0
  497. package/dist/.test/assets/expo-migration/declarations/practices/domain/bad-practices/schematic-joi-model/src/domain.objects/<star><star>/<star>.ts.declapract.ts +19 -0
  498. package/dist/.test/assets/expo-migration/declarations/practices/domain/bad-practices/simple-type-guards/.declapract.readme.md +1 -0
  499. package/dist/.test/assets/expo-migration/declarations/practices/domain/bad-practices/simple-type-guards/package.json.declapract.ts +23 -0
  500. package/dist/.test/assets/expo-migration/declarations/practices/domain/best-practice/package.json +6 -0
  501. package/dist/.test/assets/expo-migration/declarations/practices/domain/best-practice/package.json.declapract.ts +3 -0
  502. package/dist/.test/assets/expo-migration/declarations/practices/domain/best-practice/src/domain.objects/index.ts.declapract.ts +12 -0
  503. package/dist/.test/assets/expo-migration/declarations/practices/git/.declapract.integration.test.ts +1001 -0
  504. package/dist/.test/assets/expo-migration/declarations/practices/git/.test/assets/repo-with-rhachet-only/declapract.use.yml +6 -0
  505. package/dist/.test/assets/expo-migration/declarations/practices/git/.test/assets/repo-with-rhachet-only/package.json +4 -0
  506. package/dist/.test/assets/expo-migration/declarations/practices/git/.test/assets/repo-without-cache-ignores/declapract.use.yml +9 -0
  507. package/dist/.test/assets/expo-migration/declarations/practices/git/.test/assets/repo-without-cache-ignores/package.json +4 -0
  508. package/dist/.test/assets/expo-migration/declarations/practices/git/__snapshots__/.declapract.integration.test.ts.snap +53 -0
  509. package/dist/.test/assets/expo-migration/declarations/practices/git/best-practice/.declapract.readme.md +23 -0
  510. package/dist/.test/assets/expo-migration/declarations/practices/git/best-practice/.gitattributes +7 -0
  511. package/dist/.test/assets/expo-migration/declarations/practices/git/best-practice/.gitattributes.declapract.ts +172 -0
  512. package/dist/.test/assets/expo-migration/declarations/practices/git/best-practice/.gitignore.declapract.ts +100 -0
  513. package/dist/.test/assets/expo-migration/declarations/practices/node/.npmrc.declapract.integration.test.ts +165 -0
  514. package/dist/.test/assets/expo-migration/declarations/practices/node/.test/assets/repo-expo-npmrc/declapract.use.yml +23 -0
  515. package/dist/.test/assets/expo-migration/declarations/practices/node/.test/assets/repo-expo-npmrc/package.json +4 -0
  516. package/dist/.test/assets/expo-migration/declarations/practices/node/__snapshots__/.npmrc.declapract.integration.test.ts.snap +24 -0
  517. package/dist/.test/assets/expo-migration/declarations/practices/node/bad-practices/self-deps-not-link/.declapract.integration.test.ts +102 -0
  518. package/dist/.test/assets/expo-migration/declarations/practices/node/bad-practices/self-deps-not-link/.declapract.readme.md +10 -0
  519. package/dist/.test/assets/expo-migration/declarations/practices/node/bad-practices/self-deps-not-link/.test/assets/demo-repo-with-self-deps/declapract.declare.yml +4 -0
  520. package/dist/.test/assets/expo-migration/declarations/practices/node/bad-practices/self-deps-not-link/.test/assets/demo-repo-with-self-deps/declapract.use.yml +8 -0
  521. package/dist/.test/assets/expo-migration/declarations/practices/node/bad-practices/self-deps-not-link/.test/assets/demo-repo-with-self-deps/package.json +15 -0
  522. package/dist/.test/assets/expo-migration/declarations/practices/node/bad-practices/self-deps-not-link/__snapshots__/.declapract.integration.test.ts.snap +46 -0
  523. package/dist/.test/assets/expo-migration/declarations/practices/node/bad-practices/self-deps-not-link/package.json.declapract.ts +69 -0
  524. package/dist/.test/assets/expo-migration/declarations/practices/node/best-practice/.npmrc.declapract.ts +64 -0
  525. package/dist/.test/assets/expo-migration/declarations/practices/node/best-practice/.nvmrc +1 -0
  526. package/dist/.test/assets/expo-migration/declarations/practices/node/best-practice/package.json +15 -0
  527. package/dist/.test/assets/expo-migration/declarations/practices/node/best-practice/package.json.declapract.ts +3 -0
  528. package/dist/.test/assets/expo-migration/declarations/practices/node/best-practice/readme.md +1 -0
  529. package/dist/.test/assets/expo-migration/declarations/practices/node/best-practice/readme.md.declapract.ts +3 -0
  530. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/.declapract.integration.test.ts +325 -0
  531. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/.test/assets/repo-npm-to-pnpm/.husky/check.lockfile.sh +10 -0
  532. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/.test/assets/repo-npm-to-pnpm/declapract.use.yml +7 -0
  533. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/.test/assets/repo-npm-to-pnpm/package.json +16 -0
  534. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/.test/assets/repo-npm-to-pnpm/pnpm-workspace.yaml +3 -0
  535. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/__snapshots__/.declapract.integration.test.ts.snap +75 -0
  536. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/bad-practices/husky-lockfile-check/.declapract.readme.md +17 -0
  537. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/bad-practices/husky-lockfile-check/.husky/check.lockfile.sh.declapract.ts +28 -0
  538. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/bad-practices/inert-build-allowlist/pnpm-workspace.yaml.declapract.ts +59 -0
  539. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/bad-practices/npm-overrides/.declapract.readme.md +20 -0
  540. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/bad-practices/npm-overrides/package.json.declapract.ts +75 -0
  541. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/bad-practices/package-lock-json/.declapract.readme.md +30 -0
  542. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/bad-practices/package-lock-json/package-lock.json.declapract.integration.test.ts +105 -0
  543. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/bad-practices/package-lock-json/package-lock.json.declapract.ts +41 -0
  544. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/best-practice/.declapract.readme.md +22 -0
  545. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/best-practice/package.json +3 -0
  546. package/dist/.test/assets/expo-migration/declarations/practices/pnpm/best-practice/package.json.declapract.ts +17 -0
  547. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/.declapract.integration.test.ts +98 -0
  548. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/.test/assets/demo-repo-with-consumer-boot/.agent/repo=.this/role=any/boot.yml +7 -0
  549. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/.test/assets/demo-repo-with-consumer-boot/declapract.declare.yml +4 -0
  550. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/.test/assets/demo-repo-with-consumer-boot/declapract.use.yml +2 -0
  551. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/.test/assets/demo-repo-with-consumer-boot/package.json +4 -0
  552. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/__snapshots__/.declapract.integration.test.ts.snap +45 -0
  553. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/__snapshots__/boot-refs-glossary.declapract.integration.test.ts.snap +6 -0
  554. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/__snapshots__/boot-yml-findsert.declapract.integration.test.ts.snap +27 -0
  555. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/bad-practices/deprecated-use-file/.declapract.readme.md +11 -0
  556. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/bad-practices/deprecated-use-file/rhachet.use.ts.declapract.ts +12 -0
  557. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/bad-practices/prod-deps/.declapract.readme.md +59 -0
  558. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/bad-practices/prod-deps/.test/assets/demo-repo-with-rhachet-prod-deps/declapract.declare.yml +4 -0
  559. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/bad-practices/prod-deps/.test/assets/demo-repo-with-rhachet-prod-deps/declapract.use.yml +2 -0
  560. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/bad-practices/prod-deps/.test/assets/demo-repo-with-rhachet-prod-deps/package.json +12 -0
  561. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/bad-practices/prod-deps/package.json +5 -0
  562. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/bad-practices/prod-deps/package.json.declapract.ts +88 -0
  563. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/bad-practices/review-peer-artifacts/.behavior/<star><star>/.reviews/<star><star>/<star>peer-review<star>.md.declapract.ts +16 -0
  564. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/bad-practices/review-peer-artifacts/.behavior/<star><star>/.reviews/peer/<star><star>/<star>.md.declapract.ts +16 -0
  565. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/bad-practices/review-peer-artifacts/.declapract.readme.md +12 -0
  566. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/best-practice/.agent/keyrack.yml.declapract.ts +3 -0
  567. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/best-practice/.agent/repo=.this/role=any/boot.yml +46 -0
  568. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/best-practice/.agent/repo=.this/role=any/boot.yml.declapract.ts +165 -0
  569. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/best-practice/.declapract.readme.md +32 -0
  570. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/best-practice/.gitignore.declapract.ts +77 -0
  571. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/best-practice/package.json +18 -0
  572. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/best-practice/package.json.declapract.ts +3 -0
  573. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/boot-refs-glossary.declapract.integration.test.ts +89 -0
  574. package/dist/.test/assets/expo-migration/declarations/practices/rhachet/boot-yml-findsert.declapract.integration.test.ts +145 -0
  575. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/__snapshots__/changedsince-origin-main.declapract.integration.test.ts.snap +8 -0
  576. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/autoprune-hooks.declapract.integration.test.ts +104 -0
  577. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/javascript-config-files/.declapract.readme.md +1 -0
  578. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/javascript-config-files/jest.<star>.js.declapract.ts +17 -0
  579. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/mocks/.declapract.readme.md +8 -0
  580. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/mocks/<star><star>/__mock__/<star>.js +3 -0
  581. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/mocks/<star><star>/__mock__/<star>.ts +3 -0
  582. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.declapract.integration.test.ts +63 -0
  583. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.declapract.readme.md +22 -0
  584. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/accept.blackbox/.test/assets/.agent/config.yml +1 -0
  585. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/accept.blackbox/.test/assets/.rhachet/manifest.json +1 -0
  586. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/accept.blackbox/somefile.ts +1 -0
  587. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/declapract.declare.yml +4 -0
  588. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/declapract.use.yml +5 -0
  589. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/package.json +4 -0
  590. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/accept.blackbox/<star><star>/<star>.declapract.ts +19 -0
  591. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/acceptance/<star><star>/<star>.declapract.ts +19 -0
  592. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-import-paths/.declapract.readme.md +31 -0
  593. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-import-paths/<star><star>/<star>.ts.declapract.ts +25 -0
  594. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils/blackbox/_utils/getDataFromLastOpenBracketAtStartOfLine.ts.declapract.ts +3 -0
  595. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils/blackbox/_utils/invokeLambda.ts.declapract.ts +3 -0
  596. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils/blackbox/lambdas/<star>.ts.declapract.ts +44 -0
  597. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils-2/blackbox/lambdas/<star>.ts.declapract.ts +22 -0
  598. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils-3/blackbox/_utils/environment.ts.declapract.ts +3 -0
  599. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils-3/blackbox/lambdas/<star>.ts.declapract.ts +18 -0
  600. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-extension-pattern/.declapract.readme.md +3 -0
  601. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-extension-pattern/<star><star>/<star>.test.acceptance.ts.declapract.ts +11 -0
  602. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-extension-pattern/<star><star>/<star>.test.integration.ts.declapract.ts +11 -0
  603. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-test-utils-and-assets-location/.declapract.readme.md +8 -0
  604. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-test-utils-and-assets-location/<star><star>/<star>.ts.declapract.ts +27 -0
  605. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-test-utils-and-assets-location/<star><star>/__test_assets__/<star><star>/<star>.declapract.ts +17 -0
  606. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/bad-practices/old-test-utils-and-assets-location/<star><star>/__test_utils__/<star><star>/<star>.declapract.ts +17 -0
  607. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/best-practice/.declapract.readme.md +45 -0
  608. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/best-practice/.declapract.todo.md +3 -0
  609. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/best-practice/package.json +17 -0
  610. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/best-practice/package.json.declapract.ts +3 -0
  611. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/best-practice/src/<star><star>/<star>.integration.test.ts.declapract.ts +3 -0
  612. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/best-practice/src/<star><star>/<star>.test.ts.declapract.ts +3 -0
  613. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/changedsince-origin-main.declapract.integration.test.ts +58 -0
  614. package/dist/.test/assets/expo-migration/declarations/practices/tests-any/package.json.shell-flags.declapract.integration.test.ts +139 -0
  615. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/.declapract.integration.test.ts +138 -0
  616. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/.test/assets/repo-expo-greenfield/declapract.use.yml +6 -0
  617. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/.test/assets/repo-expo-greenfield/package.json +8 -0
  618. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/__snapshots__/.declapract.integration.test.ts.snap +121 -0
  619. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/__snapshots__/package.json.declapract.integration.test.ts.snap +60 -0
  620. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/bad-practices/inline-jest-config/.declapract.readme.md +22 -0
  621. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/bad-practices/inline-jest-config/package.json.declapract.ts +36 -0
  622. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/best-practice/jest.acceptance.config.ts +48 -0
  623. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/best-practice/jest.acceptance.env.ts +15 -0
  624. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/best-practice/jest.config.ts +7 -0
  625. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/best-practice/jest.integration.config.ts +47 -0
  626. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/best-practice/jest.integration.env.ts +26 -0
  627. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/best-practice/jest.unit.config.ts +58 -0
  628. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/best-practice/jest.unit.env.ts +23 -0
  629. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/best-practice/package.json.declapract.ts +193 -0
  630. package/dist/.test/assets/expo-migration/declarations/practices/tests-expo/package.json.declapract.integration.test.ts +94 -0
  631. package/dist/.test/assets/expo-migration/declarations/practices/typescript-any/bad-practices/relative-imports/.declapract.readme.md +45 -0
  632. package/dist/.test/assets/expo-migration/declarations/practices/typescript-any/bad-practices/relative-imports/src/<star><star>/<star>.ts.declapract.ts +97 -0
  633. package/dist/.test/assets/expo-migration/declarations/practices/typescript-any/best-practice/.declapract.readme.md +17 -0
  634. package/dist/.test/assets/expo-migration/declarations/practices/typescript-any/best-practice/package.json +8 -0
  635. package/dist/.test/assets/expo-migration/declarations/practices/typescript-any/best-practice/package.json.declapract.ts +11 -0
  636. package/dist/.test/assets/expo-migration/declarations/practices/typescript-expo/__snapshots__/package.json.declapract.integration.test.ts.snap +8 -0
  637. package/dist/.test/assets/expo-migration/declarations/practices/typescript-expo/__snapshots__/tsconfig.json.declapract.integration.test.ts.snap +19 -0
  638. package/dist/.test/assets/expo-migration/declarations/practices/typescript-expo/best-practice/package.json +6 -0
  639. package/dist/.test/assets/expo-migration/declarations/practices/typescript-expo/best-practice/package.json.declapract.ts +12 -0
  640. package/dist/.test/assets/expo-migration/declarations/practices/typescript-expo/best-practice/tsconfig.json +14 -0
  641. package/dist/.test/assets/expo-migration/declarations/practices/typescript-expo/best-practice/tsconfig.json.declapract.ts +12 -0
  642. package/dist/.test/assets/expo-migration/declarations/practices/typescript-expo/package.json.declapract.integration.test.ts +43 -0
  643. package/dist/.test/assets/expo-migration/declarations/practices/typescript-expo/tsconfig.json.declapract.integration.test.ts +43 -0
  644. package/dist/.test/assets/expo-migration/declarations/useCases.yml +21 -0
  645. package/dist/.test/assets/expo-migration/repo-app-protools-shaped/.github/workflows/.deploy-expo.yml +30 -0
  646. package/dist/.test/assets/expo-migration/repo-app-protools-shaped/.husky/check.lockfile.sh +5 -0
  647. package/dist/.test/assets/expo-migration/repo-app-protools-shaped/declapract.use.yml +24 -0
  648. package/dist/.test/assets/expo-migration/repo-app-protools-shaped/jest.config.js +8 -0
  649. package/dist/.test/assets/expo-migration/repo-app-protools-shaped/package-lock.json +7 -0
  650. package/dist/.test/assets/expo-migration/repo-app-protools-shaped/package.json +22 -0
  651. package/dist/.test/assets/expo-migration/repo-app-protools-shaped/pnpm-lock.yaml +5 -0
  652. package/dist/.test/assets/expo-migration/repo-app-protools-shaped/src/data/dao/daoCustomer.ts +9 -0
  653. package/dist/.test/assets/expo-migration/repo-app-protools-shaped/src/logic/customer/getCustomer.ts +25 -0
  654. package/dist/.test/assets/expo-migration/repo-app-protools-shaped/src/logic/shared/formatCustomer.ts +8 -0
  655. package/dist/.test/assets/expo-migration/repo-app-protools-shaped/tsconfig.json +12 -0
  656. package/dist/.test/assets/expo-toolchain/declarations/declapract.declare.yml +4 -0
  657. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/__snapshots__/changedsince-origin-main.declapract.integration.test.ts.snap +8 -0
  658. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/autoprune-hooks.declapract.integration.test.ts +104 -0
  659. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/javascript-config-files/.declapract.readme.md +1 -0
  660. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/javascript-config-files/jest.<star>.js.declapract.ts +17 -0
  661. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/mocks/.declapract.readme.md +8 -0
  662. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/mocks/<star><star>/__mock__/<star>.js +3 -0
  663. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/mocks/<star><star>/__mock__/<star>.ts +3 -0
  664. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.declapract.integration.test.ts +63 -0
  665. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.declapract.readme.md +22 -0
  666. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/accept.blackbox/.test/assets/.agent/config.yml +1 -0
  667. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/accept.blackbox/.test/assets/.rhachet/manifest.json +1 -0
  668. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/accept.blackbox/somefile.ts +1 -0
  669. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/declapract.declare.yml +4 -0
  670. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/declapract.use.yml +5 -0
  671. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/package.json +4 -0
  672. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/accept.blackbox/<star><star>/<star>.declapract.ts +19 -0
  673. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-dir-location/acceptance/<star><star>/<star>.declapract.ts +19 -0
  674. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-import-paths/.declapract.readme.md +31 -0
  675. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-import-paths/<star><star>/<star>.ts.declapract.ts +25 -0
  676. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils/blackbox/_utils/getDataFromLastOpenBracketAtStartOfLine.ts.declapract.ts +3 -0
  677. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils/blackbox/_utils/invokeLambda.ts.declapract.ts +3 -0
  678. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils/blackbox/lambdas/<star>.ts.declapract.ts +44 -0
  679. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils-2/blackbox/lambdas/<star>.ts.declapract.ts +22 -0
  680. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils-3/blackbox/_utils/environment.ts.declapract.ts +3 -0
  681. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-acceptance-test-utils-3/blackbox/lambdas/<star>.ts.declapract.ts +18 -0
  682. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-extension-pattern/.declapract.readme.md +3 -0
  683. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-extension-pattern/<star><star>/<star>.test.acceptance.ts.declapract.ts +11 -0
  684. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-extension-pattern/<star><star>/<star>.test.integration.ts.declapract.ts +11 -0
  685. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-test-utils-and-assets-location/.declapract.readme.md +8 -0
  686. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-test-utils-and-assets-location/<star><star>/<star>.ts.declapract.ts +27 -0
  687. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-test-utils-and-assets-location/<star><star>/__test_assets__/<star><star>/<star>.declapract.ts +17 -0
  688. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/bad-practices/old-test-utils-and-assets-location/<star><star>/__test_utils__/<star><star>/<star>.declapract.ts +17 -0
  689. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/best-practice/.declapract.readme.md +45 -0
  690. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/best-practice/.declapract.todo.md +3 -0
  691. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/best-practice/package.json +17 -0
  692. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/best-practice/package.json.declapract.ts +3 -0
  693. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/best-practice/src/<star><star>/<star>.integration.test.ts.declapract.ts +3 -0
  694. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/best-practice/src/<star><star>/<star>.test.ts.declapract.ts +3 -0
  695. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/changedsince-origin-main.declapract.integration.test.ts +58 -0
  696. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-any/package.json.shell-flags.declapract.integration.test.ts +139 -0
  697. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/.declapract.integration.test.ts +138 -0
  698. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/.test/assets/repo-expo-greenfield/declapract.use.yml +6 -0
  699. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/.test/assets/repo-expo-greenfield/package.json +8 -0
  700. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/__snapshots__/.declapract.integration.test.ts.snap +121 -0
  701. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/__snapshots__/package.json.declapract.integration.test.ts.snap +60 -0
  702. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/bad-practices/inline-jest-config/.declapract.readme.md +22 -0
  703. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/bad-practices/inline-jest-config/package.json.declapract.ts +36 -0
  704. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/best-practice/jest.acceptance.config.ts +48 -0
  705. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/best-practice/jest.acceptance.env.ts +15 -0
  706. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/best-practice/jest.config.ts +7 -0
  707. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/best-practice/jest.integration.config.ts +47 -0
  708. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/best-practice/jest.integration.env.ts +26 -0
  709. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/best-practice/jest.unit.config.ts +58 -0
  710. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/best-practice/jest.unit.env.ts +23 -0
  711. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/best-practice/package.json.declapract.ts +193 -0
  712. package/dist/.test/assets/expo-toolchain/declarations/practices/tests-expo/package.json.declapract.integration.test.ts +94 -0
  713. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-any/bad-practices/relative-imports/.declapract.readme.md +45 -0
  714. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-any/bad-practices/relative-imports/src/<star><star>/<star>.ts.declapract.ts +97 -0
  715. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-any/best-practice/.declapract.readme.md +17 -0
  716. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-any/best-practice/package.json +8 -0
  717. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-any/best-practice/package.json.declapract.ts +11 -0
  718. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-expo/__snapshots__/package.json.declapract.integration.test.ts.snap +8 -0
  719. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-expo/__snapshots__/tsconfig.json.declapract.integration.test.ts.snap +19 -0
  720. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-expo/best-practice/package.json +6 -0
  721. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-expo/best-practice/package.json.declapract.ts +12 -0
  722. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-expo/best-practice/tsconfig.json +14 -0
  723. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-expo/best-practice/tsconfig.json.declapract.ts +12 -0
  724. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-expo/package.json.declapract.integration.test.ts +43 -0
  725. package/dist/.test/assets/expo-toolchain/declarations/practices/typescript-expo/tsconfig.json.declapract.integration.test.ts +43 -0
  726. package/dist/.test/assets/expo-toolchain/declarations/useCases.yml +12 -0
  727. package/dist/.test/assets/format/declarations/declapract.declare.yml +9 -0
  728. package/dist/.test/assets/format/declarations/practices/format/.declapract.integration.test.ts +131 -0
  729. package/dist/.test/assets/format/declarations/practices/format/__snapshots__/.declapract.integration.test.ts.snap +17 -0
  730. package/dist/.test/assets/format/declarations/practices/format/bad-practices/format-script/package.json.declapract.ts +26 -0
  731. package/dist/.test/assets/format/declarations/practices/format/bad-practices/prettier/.declapract.readme.md +6 -0
  732. package/dist/.test/assets/format/declarations/practices/format/bad-practices/prettier/.prettierignore +3 -0
  733. package/dist/.test/assets/format/declarations/practices/format/bad-practices/prettier/.prettierignore.declapract.ts +8 -0
  734. package/dist/.test/assets/format/declarations/practices/format/bad-practices/prettier/package.json +10 -0
  735. package/dist/.test/assets/format/declarations/practices/format/bad-practices/prettier/package.json.declapract.ts +35 -0
  736. package/dist/.test/assets/format/declarations/practices/format/bad-practices/prettier/prettier.config.js +10 -0
  737. package/dist/.test/assets/format/declarations/practices/format/bad-practices/prettier/prettier.config.js.declapract.ts +8 -0
  738. package/dist/.test/assets/format/declarations/practices/format/best-practice/package.json.declapract.ts +50 -0
  739. package/dist/.test/assets/format/declarations/practices/terraform-common/bad-practices/terraform-dir/.declapract.readme.md +8 -0
  740. package/dist/.test/assets/format/declarations/practices/terraform-common/bad-practices/terraform-dir/provision/terraform/<star><star>/<star>.declapract.ts +17 -0
  741. package/dist/.test/assets/format/declarations/practices/terraform-common/best-practice/.terraform-version +1 -0
  742. package/dist/.test/assets/format/declarations/practices/terraform-common/best-practice/package.json +6 -0
  743. package/dist/.test/assets/format/declarations/practices/terraform-common/best-practice/package.json.declapract.ts +3 -0
  744. package/dist/.test/assets/format/declarations/useCases.yml +13 -0
  745. package/dist/.test/assets/format/repo-with-terraform/declapract.use.yml +8 -0
  746. package/dist/.test/assets/format/repo-with-terraform/package.json +5 -0
  747. package/dist/.test/assets/format/repo-without-terraform/declapract.use.yml +6 -0
  748. package/dist/.test/assets/format/repo-without-terraform/package.json +5 -0
  749. package/dist/.test/assets/node-service/declarations/declapract.declare.yml +4 -0
  750. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/license/package.json.declapract.ts +22 -0
  751. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-client/.declapract.readme.md +55 -0
  752. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-client/package.json +5 -0
  753. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-client/package.json.declapract.ts +27 -0
  754. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-client/src/<star><star>/<star>.ts.declapract.ts +44 -0
  755. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-handlers/.declapract.integration.test.ts +103 -0
  756. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-handlers/.declapract.readme.md +60 -0
  757. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-handlers/.test/assets/demo-repo-with-simple-lambda-handlers/declapract.use.yml +5 -0
  758. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-handlers/.test/assets/demo-repo-with-simple-lambda-handlers/package.json +4 -0
  759. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-handlers/.test/assets/demo-repo-with-simple-lambda-handlers/src/contract/handlers/getWidget.ts +13 -0
  760. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-handlers/__snapshots__/.declapract.integration.test.ts.snap +44 -0
  761. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-handlers/package.json +5 -0
  762. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-handlers/package.json.declapract.ts +27 -0
  763. package/dist/.test/assets/node-service/declarations/practices/node-service/bad-practices/simple-lambda-handlers/src/<star><star>/<star>.ts.declapract.ts +130 -0
  764. package/dist/.test/assets/node-service/declarations/practices/node-service/best-practice/package.json +6 -0
  765. package/dist/.test/assets/node-service/declarations/practices/node-service/best-practice/package.json.declapract.ts +3 -0
  766. package/dist/.test/assets/node-service/declarations/useCases.yml +5 -0
  767. package/dist/.test/assets/pnpm/declarations/declapract.declare.yml +4 -0
  768. package/dist/.test/assets/pnpm/declarations/practices/pnpm/.declapract.integration.test.ts +325 -0
  769. package/dist/.test/assets/pnpm/declarations/practices/pnpm/.test/assets/repo-npm-to-pnpm/.husky/check.lockfile.sh +10 -0
  770. package/dist/.test/assets/pnpm/declarations/practices/pnpm/.test/assets/repo-npm-to-pnpm/declapract.use.yml +7 -0
  771. package/dist/.test/assets/pnpm/declarations/practices/pnpm/.test/assets/repo-npm-to-pnpm/package.json +16 -0
  772. package/dist/.test/assets/pnpm/declarations/practices/pnpm/.test/assets/repo-npm-to-pnpm/pnpm-workspace.yaml +3 -0
  773. package/dist/.test/assets/pnpm/declarations/practices/pnpm/__snapshots__/.declapract.integration.test.ts.snap +75 -0
  774. package/dist/.test/assets/pnpm/declarations/practices/pnpm/bad-practices/husky-lockfile-check/.declapract.readme.md +17 -0
  775. package/dist/.test/assets/pnpm/declarations/practices/pnpm/bad-practices/husky-lockfile-check/.husky/check.lockfile.sh.declapract.ts +28 -0
  776. package/dist/.test/assets/pnpm/declarations/practices/pnpm/bad-practices/inert-build-allowlist/pnpm-workspace.yaml.declapract.ts +59 -0
  777. package/dist/.test/assets/pnpm/declarations/practices/pnpm/bad-practices/npm-overrides/.declapract.readme.md +20 -0
  778. package/dist/.test/assets/pnpm/declarations/practices/pnpm/bad-practices/npm-overrides/package.json.declapract.ts +75 -0
  779. package/dist/.test/assets/pnpm/declarations/practices/pnpm/bad-practices/package-lock-json/.declapract.readme.md +30 -0
  780. package/dist/.test/assets/pnpm/declarations/practices/pnpm/bad-practices/package-lock-json/package-lock.json.declapract.integration.test.ts +105 -0
  781. package/dist/.test/assets/pnpm/declarations/practices/pnpm/bad-practices/package-lock-json/package-lock.json.declapract.ts +41 -0
  782. package/dist/.test/assets/pnpm/declarations/practices/pnpm/best-practice/.declapract.readme.md +22 -0
  783. package/dist/.test/assets/pnpm/declarations/practices/pnpm/best-practice/package.json +3 -0
  784. package/dist/.test/assets/pnpm/declarations/practices/pnpm/best-practice/package.json.declapract.ts +17 -0
  785. package/dist/.test/assets/pnpm/declarations/useCases.yml +7 -0
  786. package/dist/.test/assets/runtime-schemas/declarations/declapract.declare.yml +4 -0
  787. package/dist/.test/assets/runtime-schemas/declarations/practices/runtime-schemas/bad-practices/joi/.declapract.integration.test.ts +102 -0
  788. package/dist/.test/assets/runtime-schemas/declarations/practices/runtime-schemas/bad-practices/joi/.declapract.readme.md +3 -0
  789. package/dist/.test/assets/runtime-schemas/declarations/practices/runtime-schemas/bad-practices/joi/.test/assets/demo-repo-with-joi/declapract.use.yml +5 -0
  790. package/dist/.test/assets/runtime-schemas/declarations/practices/runtime-schemas/bad-practices/joi/.test/assets/demo-repo-with-joi/package.json +4 -0
  791. package/dist/.test/assets/runtime-schemas/declarations/practices/runtime-schemas/bad-practices/joi/.test/assets/demo-repo-with-joi/src/contract/schemas/widget.schema.ts +9 -0
  792. package/dist/.test/assets/runtime-schemas/declarations/practices/runtime-schemas/bad-practices/joi/__snapshots__/.declapract.integration.test.ts.snap +37 -0
  793. package/dist/.test/assets/runtime-schemas/declarations/practices/runtime-schemas/bad-practices/joi/package.json +5 -0
  794. package/dist/.test/assets/runtime-schemas/declarations/practices/runtime-schemas/bad-practices/joi/package.json.declapract.ts +23 -0
  795. package/dist/.test/assets/runtime-schemas/declarations/practices/runtime-schemas/bad-practices/joi/src/<star><star>/<star>.ts.declapract.ts +79 -0
  796. package/dist/.test/assets/runtime-schemas/declarations/practices/runtime-schemas/best-practice/package.json +5 -0
  797. package/dist/.test/assets/runtime-schemas/declarations/practices/runtime-schemas/best-practice/package.json.declapract.ts +3 -0
  798. package/dist/.test/assets/runtime-schemas/declarations/useCases.yml +5 -0
  799. package/dist/.test/assets/tests-service/declarations/declapract.declare.yml +10 -0
  800. package/dist/.test/assets/tests-service/declarations/practices/tests-service/.test/assets/demo-repo-service/declapract.use.yml +5 -0
  801. package/dist/.test/assets/tests-service/declarations/practices/tests-service/.test/assets/demo-repo-service/package.json +4 -0
  802. package/dist/.test/assets/tests-service/declarations/practices/tests-service/__snapshots__/package.json.declapract.integration.test.ts.snap +26 -0
  803. package/dist/.test/assets/tests-service/declarations/practices/tests-service/asFunctionNameFromTestFileName.ts +7 -0
  804. package/dist/.test/assets/tests-service/declarations/practices/tests-service/best-practice/.declapract.readme.md +68 -0
  805. package/dist/.test/assets/tests-service/declarations/practices/tests-service/best-practice/blackbox/<star><star>/<star>.acceptance.test.ts.declapract.ts +3 -0
  806. package/dist/.test/assets/tests-service/declarations/practices/tests-service/best-practice/blackbox/lambdas/<star>.acceptance.test.ts.declapract.ts +56 -0
  807. package/dist/.test/assets/tests-service/declarations/practices/tests-service/best-practice/package.json +8 -0
  808. package/dist/.test/assets/tests-service/declarations/practices/tests-service/best-practice/package.json.declapract.ts +101 -0
  809. package/dist/.test/assets/tests-service/declarations/practices/tests-service/best-practice/src/<star><star>/<star>.integration.test.ts.declapract.ts +3 -0
  810. package/dist/.test/assets/tests-service/declarations/practices/tests-service/best-practice/src/<star><star>/<star>.test.ts.declapract.ts +3 -0
  811. package/dist/.test/assets/tests-service/declarations/practices/tests-service/package.json.declapract.integration.test.ts +204 -0
  812. package/dist/.test/assets/tests-service/declarations/useCases.yml +9 -0
  813. package/dist/__snapshots__/ancientTargetPublished.declapract.integration.test.ts.snap +42 -0
  814. package/dist/__snapshots__/workflowCallerCalleeReconciliation.declapract.integration.test.ts.snap +450 -0
  815. package/dist/__snapshots__/workflowEnvDeploymentFalse.declapract.integration.test.ts.snap +36 -0
  816. package/dist/actionPins.declapract.integration.test.ts +3 -18
  817. package/dist/ancientTargetPublished.declapract.integration.test.ts +174 -0
  818. package/dist/parsePackageJSONAdoption.declapract.integration.test.ts +136 -0
  819. package/dist/practiceTestFileLocation.declapract.integration.test.ts +75 -0
  820. package/dist/practices/cache/.declapract.integration.test.ts +7 -7
  821. package/dist/practices/cache/.test/assets/repo-with-valid-cache-package/package.json +1 -1
  822. package/dist/practices/cache/best-practice/package.json +3 -3
  823. package/dist/practices/cicd-app-react-native-expo/.declapract.integration.test.ts +910 -0
  824. package/dist/practices/cicd-app-react-native-expo/__snapshots__/.declapract.integration.test.ts.snap +300 -0
  825. package/dist/practices/cicd-app-react-native-expo/best-practice/.github/workflows/.deploy-expo.yml +28 -19
  826. package/dist/practices/cicd-app-react-native-expo/best-practice/.github/workflows/deploy.yml +11 -11
  827. package/dist/practices/cicd-app-react-native-expo/best-practice/.github/workflows/test.yml +3 -5
  828. package/dist/practices/cicd-app-react-native-expo/best-practice/package.json +2 -9
  829. package/dist/practices/cicd-common/.declapract.integration.test.ts +25 -0
  830. package/dist/practices/cicd-common/__snapshots__/.declapract.integration.test.ts.snap +11 -23
  831. package/dist/practices/cicd-common/__snapshots__/declastruct-insync-grep.declapract.integration.test.ts.snap +3 -0
  832. package/dist/practices/cicd-common/best-practice/.github/workflows/.declastruct.yml +22 -8
  833. package/dist/practices/cicd-common/best-practice/.github/workflows/.test.yml +11 -23
  834. package/dist/practices/cicd-common/best-practice/.github/workflows/.test.yml.declapract.ts +12 -1
  835. package/dist/practices/cicd-common/best-practice/.github/workflows/report-slow-tests.sh +65 -0
  836. package/dist/practices/cicd-common/declastruct-insync-grep.declapract.integration.test.ts +49 -0
  837. package/dist/practices/cicd-common/report-slow-tests.play.declapract.integration.test.ts +144 -0
  838. package/dist/practices/cicd-package/best-practice/.github/workflows/provision.yml +2 -1
  839. package/dist/practices/cicd-service/.declapract.integration.test.ts +175 -0
  840. package/dist/practices/cicd-service/.test/assets/demo-repo-pre-stamped-nords/.github/workflows/provision.yml +110 -0
  841. package/dist/practices/cicd-service/.test/assets/demo-repo-pre-stamped-nords/declapract.use.nords.yml +20 -0
  842. package/dist/practices/cicd-service/.test/assets/demo-repo-pre-stamped-nords/declapract.use.rds.yml +20 -0
  843. package/dist/practices/cicd-service/.test/assets/demo-repo-pre-stamped-nords/package.json +4 -0
  844. package/dist/practices/cicd-service/.test/assets/demo-repo-service/declapract.use.nords.yml +20 -0
  845. package/dist/practices/cicd-service/.test/assets/demo-repo-service/declapract.use.rds.yml +20 -0
  846. package/dist/practices/cicd-service/.test/assets/demo-repo-service/package.json +4 -0
  847. package/dist/practices/cicd-service/__snapshots__/.declapract.integration.test.ts.snap +24 -0
  848. package/dist/practices/cicd-service/__snapshots__/acceptanceContempFleetGuard.declapract.integration.test.ts.snap +13 -0
  849. package/dist/practices/cicd-service/__snapshots__/insync-grep.declapract.integration.test.ts.snap +5 -0
  850. package/dist/practices/cicd-service/__snapshots__/provision.yml.declapract.integration.test.ts.snap +297 -0
  851. package/dist/practices/cicd-service/acceptanceContempFleetGuard.declapract.integration.test.ts +89 -0
  852. package/dist/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.declapract.integration.test.ts +153 -0
  853. package/dist/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.declapract.readme.md +38 -0
  854. package/dist/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.github/workflows/provision.yml.declapract.integration.test.ts +167 -0
  855. package/dist/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.github/workflows/provision.yml.declapract.ts +88 -0
  856. package/dist/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.test/assets/repo-non-rds/readme.md +9 -0
  857. package/dist/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.test/assets/repo-with-aws-resources-callee/provision/aws/resources.ts +5 -0
  858. package/dist/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/.test/assets/repo-with-schema-callee/provision/schema/init.sql +5 -0
  859. package/dist/practices/cicd-service/bad-practices/rds-jobs-in-non-rds-service/__snapshots__/.declapract.integration.test.ts.snap +183 -0
  860. package/dist/practices/cicd-service/best-practice/.declapract.readme.md +18 -0
  861. package/dist/practices/cicd-service/best-practice/.github/workflows/.deploy-sls.yml +32 -11
  862. package/dist/practices/cicd-service/best-practice/.github/workflows/.sql-schema-control.yml +20 -10
  863. package/dist/practices/cicd-service/best-practice/.github/workflows/.terraform.yml +14 -4
  864. package/dist/practices/cicd-service/best-practice/.github/workflows/deploy.yml +17 -9
  865. package/dist/practices/cicd-service/best-practice/.github/workflows/provision.yml +15 -10
  866. package/dist/practices/cicd-service/best-practice/.github/workflows/provision.yml.declapract.ts +74 -0
  867. package/dist/practices/cicd-service/best-practice/package.json +3 -3
  868. package/dist/practices/cicd-service/insync-grep.declapract.integration.test.ts +76 -0
  869. package/dist/practices/cicd-service/provision.yml.declapract.integration.test.ts +182 -0
  870. package/dist/practices/commands/best-practice/package.json +2 -2
  871. package/dist/practices/commands/best-practice/src/contract/commands/sayHello.ts +3 -2
  872. package/dist/practices/config/.declapract.integration.test.ts +116 -0
  873. package/dist/practices/config/.test/assets/demo-repo-with-dev-config/config/dev.json +17 -0
  874. package/dist/practices/config/.test/assets/demo-repo-with-dev-config/declapract.declare.yml +4 -0
  875. package/dist/practices/config/.test/assets/demo-repo-with-dev-config/declapract.use.yml +9 -0
  876. package/dist/practices/config/.test/assets/demo-repo-with-dev-config/package.json +4 -0
  877. package/dist/practices/config/__snapshots__/.declapract.integration.test.ts.snap +43 -0
  878. package/dist/practices/config/bad-practices/divergent-config-shapes/config/prep.json.declapract.ts +3 -3
  879. package/dist/practices/config/bad-practices/divergent-config-shapes/config/prod.json.declapract.ts +3 -3
  880. package/dist/practices/config/bad-practices/old-dev-config-location/config/dev.json.declapract.ts +10 -12
  881. package/dist/practices/config/best-practice/package.json +2 -2
  882. package/dist/practices/config/best-practice/src/utils/config/getConfig.ts +24 -5
  883. package/dist/practices/config/best-practice/src/utils/config/getOneCacheDirectory.ts +33 -0
  884. package/dist/practices/config/best-practice/src/utils/config/getOneProjectBucket.ts +22 -0
  885. package/dist/practices/config/best-practice/src/utils/environment.ts +9 -3
  886. package/dist/practices/config/best-practice/src/utils/environment.ts.declapract.ts +8 -0
  887. package/dist/practices/config/no-hand-written-config-type.declapract.integration.test.ts +64 -0
  888. package/dist/practices/conventional-commits/__snapshots__/commitlint-body-max-line.declapract.integration.test.ts.snap +3 -0
  889. package/dist/practices/conventional-commits/best-practice/commitlint.config.js +5 -0
  890. package/dist/practices/conventional-commits/best-practice/package.json +1 -1
  891. package/dist/practices/conventional-commits/commitlint-body-max-line.declapract.integration.test.ts +49 -0
  892. package/dist/practices/directory-structure-src/bad-practices/old-import-paths/.declapract.readme.md +10 -0
  893. package/dist/practices/directory-structure-src/bad-practices/old-import-paths/src/<star><star>/<star>.ts.declapract.ts +13 -1
  894. package/dist/practices/domain/.declapract.integration.test.ts +115 -0
  895. package/dist/practices/domain/bad-practices/schematic-joi-model/src/domain.objects/<star><star>/<star>.ts.declapract.ts +19 -0
  896. package/dist/practices/domain/best-practice/package.json +2 -2
  897. package/dist/practices/domain/best-practice/src/domain.objects/index.ts.declapract.ts +12 -0
  898. package/dist/practices/environments/.declapract.integration.test.ts +136 -0
  899. package/dist/practices/environments/__snapshots__/.declapract.integration.test.ts.snap +55 -0
  900. package/dist/practices/environments/bad-practices/old-dev-scripts/package.json.declapract.ts +6 -4
  901. package/dist/practices/environments/bad-practices/old-stage-enum/.declapract.integration.test.ts +133 -0
  902. package/dist/practices/environments/bad-practices/old-stage-enum/.test/assets/demo-repo-with-stage-enum/declapract.use.yml +8 -0
  903. package/dist/practices/environments/bad-practices/old-stage-enum/.test/assets/demo-repo-with-stage-enum/package.json +4 -0
  904. package/dist/practices/environments/bad-practices/old-stage-enum/.test/assets/demo-repo-with-stage-enum/src/logic/getDeployTarget.ts +15 -0
  905. package/dist/practices/environments/bad-practices/old-stage-enum/__snapshots__/.declapract.integration.test.ts.snap +40 -0
  906. package/dist/practices/environments/bad-practices/old-stage-enum/src/<star><star>/<star>.ts.declapract.ts +291 -24
  907. package/dist/practices/environments/best-practice/.declapract.readme.md +44 -11
  908. package/dist/practices/environments/best-practice/src/access/sdks/sdkAwsLambdaEnvAccessAncient.ts +32 -0
  909. package/dist/practices/environments/best-practice/src/access/sdks/sdkAwsLambdaEnvAccessContemp.ts +14 -0
  910. package/dist/practices/environments/best-practice/src/utils/environment.ts +3 -2
  911. package/dist/practices/errors/.declapract.integration.test.ts +121 -0
  912. package/dist/practices/errors/bad-practices/own-implementation/src/<star><star>/UnexpectedCodePathError.ts.declapract.ts +8 -0
  913. package/dist/practices/errors/best-practice/package.json +1 -1
  914. package/dist/practices/format/.declapract.integration.test.ts +131 -0
  915. package/dist/practices/format/__snapshots__/.declapract.integration.test.ts.snap +17 -0
  916. package/dist/practices/format/bad-practices/prettier/prettier.config.js.declapract.ts +1 -1
  917. package/dist/practices/format/best-practice/package.json.declapract.ts +36 -18
  918. package/dist/practices/git/.declapract.integration.test.ts +57 -6
  919. package/dist/practices/git/__snapshots__/.declapract.integration.test.ts.snap +2 -0
  920. package/dist/practices/git/best-practice/.gitattributes.declapract.ts +50 -37
  921. package/dist/practices/git/best-practice/.gitignore.declapract.ts +8 -0
  922. package/dist/practices/husky/__snapshots__/check.timestamps.play.declapract.integration.test.ts.snap +7 -0
  923. package/dist/practices/husky/best-practice/.husky/check.timestamps.sh +11 -2
  924. package/dist/practices/husky/check.timestamps.play.declapract.integration.test.ts +65 -0
  925. package/dist/practices/lint/__snapshots__/dpdmrc-exclude-policy.declapract.integration.test.ts.snap +3 -0
  926. package/dist/practices/lint/bad-practices/depcheck-denylisted-ignores/.depcheckrc.yml.declapract.ts +4 -0
  927. package/dist/practices/lint/best-practice/.depcheckrc.yml.declapract.ts +10 -9
  928. package/dist/practices/lint/best-practice/.dpdmrc.yaml +10 -6
  929. package/dist/practices/lint/dpdmrc-exclude-policy.declapract.integration.test.ts +50 -0
  930. package/dist/practices/logs/.declapract.integration.test.ts +100 -0
  931. package/dist/practices/logs/__snapshots__/.declapract.integration.test.ts.snap +33 -0
  932. package/dist/practices/logs/bad-practices/leveled-term/.test/assets/demo-repo-with-leveled-term/declapract.declare.yml +4 -0
  933. package/dist/practices/logs/bad-practices/leveled-term/.test/assets/demo-repo-with-leveled-term/declapract.use.yml +2 -0
  934. package/dist/practices/logs/bad-practices/leveled-term/.test/assets/demo-repo-with-leveled-term/package.json +12 -0
  935. package/dist/practices/logs/bad-practices/leveled-term/package.json.declapract.ts +56 -12
  936. package/dist/practices/node/.npmrc.declapract.integration.test.ts +165 -0
  937. package/dist/practices/node/.test/assets/repo-expo-npmrc/declapract.use.yml +23 -0
  938. package/dist/practices/node/.test/assets/repo-expo-npmrc/package.json +4 -0
  939. package/dist/practices/node/__snapshots__/.npmrc.declapract.integration.test.ts.snap +24 -0
  940. package/dist/practices/node/bad-practices/self-deps-not-link/.declapract.integration.test.ts +102 -0
  941. package/dist/practices/node/bad-practices/self-deps-not-link/.test/assets/demo-repo-with-self-deps/declapract.declare.yml +4 -0
  942. package/dist/practices/node/bad-practices/self-deps-not-link/.test/assets/demo-repo-with-self-deps/declapract.use.yml +8 -0
  943. package/dist/practices/node/bad-practices/self-deps-not-link/.test/assets/demo-repo-with-self-deps/package.json +15 -0
  944. package/dist/practices/node/bad-practices/self-deps-not-link/__snapshots__/.declapract.integration.test.ts.snap +46 -0
  945. package/dist/practices/node/bad-practices/self-deps-not-link/package.json.declapract.ts +22 -29
  946. package/dist/practices/node/best-practice/.npmrc.declapract.ts +64 -0
  947. package/dist/practices/node/best-practice/package.json +1 -1
  948. package/dist/practices/node-service/bad-practices/simple-lambda-handlers/.declapract.integration.test.ts +103 -0
  949. package/dist/practices/node-service/bad-practices/simple-lambda-handlers/.declapract.readme.md +8 -0
  950. package/dist/practices/node-service/bad-practices/simple-lambda-handlers/.test/assets/demo-repo-with-simple-lambda-handlers/declapract.use.yml +5 -0
  951. package/dist/practices/node-service/bad-practices/simple-lambda-handlers/.test/assets/demo-repo-with-simple-lambda-handlers/package.json +4 -0
  952. package/dist/practices/node-service/bad-practices/simple-lambda-handlers/.test/assets/demo-repo-with-simple-lambda-handlers/src/contract/handlers/getWidget.ts +13 -0
  953. package/dist/practices/node-service/bad-practices/simple-lambda-handlers/__snapshots__/.declapract.integration.test.ts.snap +44 -0
  954. package/dist/practices/node-service/bad-practices/simple-lambda-handlers/src/<star><star>/<star>.ts.declapract.ts +90 -10
  955. package/dist/practices/node-service/best-practice/package.json +1 -1
  956. package/dist/practices/package-json-order/best-practice/package.json.declapract.ts +7 -1
  957. package/dist/practices/persist-with-dynamodb/.declapract.integration.test.ts +92 -0
  958. package/dist/practices/persist-with-dynamodb/.test/assets/demo-repo-with-divergent-jest-env/declapract.declare.yml +4 -0
  959. package/dist/practices/persist-with-dynamodb/.test/assets/demo-repo-with-divergent-jest-env/declapract.use.yml +2 -0
  960. package/dist/practices/persist-with-dynamodb/.test/assets/demo-repo-with-divergent-jest-env/jest.integration.env.ts +4 -0
  961. package/dist/practices/persist-with-dynamodb/.test/assets/demo-repo-with-divergent-jest-env/package.json +4 -0
  962. package/dist/practices/persist-with-dynamodb/__snapshots__/.declapract.integration.test.ts.snap +20 -0
  963. package/dist/practices/persist-with-dynamodb/best-practice/jest.integration.env.ts +3 -3
  964. package/dist/practices/persist-with-dynamodb/best-practice/package.json +2 -2
  965. package/dist/practices/persist-with-rds/.declapract.integration.test.ts +224 -0
  966. package/dist/practices/persist-with-rds/.extensions.sql.declapract.integration.test.ts +38 -0
  967. package/dist/practices/persist-with-rds/.test/assets/demo-repo-with-dev-config/config/dev.json +18 -0
  968. package/dist/practices/persist-with-rds/.test/assets/demo-repo-with-dev-config/declapract.declare.yml +4 -0
  969. package/dist/practices/persist-with-rds/.test/assets/demo-repo-with-dev-config/declapract.use.yml +18 -0
  970. package/dist/practices/persist-with-rds/.test/assets/demo-repo-with-dev-config/package.json +4 -0
  971. package/dist/practices/persist-with-rds/__snapshots__/.declapract.integration.test.ts.snap +45 -0
  972. package/dist/practices/persist-with-rds/__snapshots__/.extensions.sql.declapract.integration.test.ts.snap +42 -0
  973. package/dist/practices/persist-with-rds/__snapshots__/deploy-database-gerunds.declapract.integration.test.ts.snap +102 -0
  974. package/dist/practices/persist-with-rds/__snapshots__/provision-testdb-access.declapract.integration.test.ts.snap +3 -0
  975. package/dist/practices/persist-with-rds/__snapshots__/ssm-cicd-param-names.declapract.integration.test.ts.snap +10 -0
  976. package/dist/practices/persist-with-rds/__snapshots__/testdb-preflight-failloud.declapract.integration.test.ts.snap +30 -0
  977. package/dist/practices/persist-with-rds/bad-practices/old-dev-config-location/config/dev.json.declapract.ts +22 -8
  978. package/dist/practices/persist-with-rds/best-practice/.declapract.readme.md +32 -0
  979. package/dist/practices/persist-with-rds/best-practice/codegen.sql.dao.yml +1 -1
  980. package/dist/practices/persist-with-rds/best-practice/package.json +5 -5
  981. package/dist/practices/persist-with-rds/best-practice/provision/aws/readme.md +9 -6
  982. package/dist/practices/persist-with-rds/best-practice/provision/aws/resources.parameters.ts +33 -14
  983. package/dist/practices/persist-with-rds/best-practice/provision/aws/resources.ts +6 -3
  984. package/dist/practices/persist-with-rds/best-practice/provision/docker/testdb/wait-for-postgres.sh +13 -3
  985. package/dist/practices/persist-with-rds/best-practice/provision/schema/deploy.database.sh +27 -22
  986. package/dist/practices/persist-with-rds/best-practice/src/utils/config/config.schema.ts +13 -6
  987. package/dist/practices/persist-with-rds/best-practice/src/utils/database/getOneDatabaseConnection.integration.test.ts +10 -0
  988. package/dist/practices/persist-with-rds/best-practice/src/utils/database/getOneDatabaseConnection.ts +90 -0
  989. package/dist/practices/persist-with-rds/best-practice/src/utils/database/withDatabaseContext.ts +12 -4
  990. package/dist/practices/persist-with-rds/best-practice/src/utils/database/withDatabaseTransaction.ts +16 -4
  991. package/dist/practices/persist-with-rds/deploy-database-gerunds.declapract.integration.test.ts +57 -0
  992. package/dist/practices/persist-with-rds/empty-template-declares-zero-clusters.declapract.integration.test.ts +71 -0
  993. package/dist/practices/persist-with-rds/provision-testdb-access.declapract.integration.test.ts +50 -0
  994. package/dist/practices/persist-with-rds/ssm-cicd-param-names.declapract.integration.test.ts +73 -0
  995. package/dist/practices/persist-with-rds/testdb-preflight-failloud.declapract.integration.test.ts +83 -0
  996. package/dist/practices/pnpm/.declapract.integration.test.ts +325 -0
  997. package/dist/practices/pnpm/.test/assets/repo-npm-to-pnpm/.husky/check.lockfile.sh +10 -0
  998. package/dist/practices/pnpm/.test/assets/repo-npm-to-pnpm/declapract.use.yml +7 -0
  999. package/dist/practices/pnpm/.test/assets/repo-npm-to-pnpm/package.json +16 -0
  1000. package/dist/practices/pnpm/.test/assets/repo-npm-to-pnpm/pnpm-workspace.yaml +3 -0
  1001. package/dist/practices/pnpm/__snapshots__/.declapract.integration.test.ts.snap +75 -0
  1002. package/dist/practices/pnpm/bad-practices/husky-lockfile-check/.declapract.readme.md +17 -0
  1003. package/dist/practices/pnpm/bad-practices/husky-lockfile-check/.husky/check.lockfile.sh.declapract.ts +28 -0
  1004. package/dist/practices/pnpm/bad-practices/inert-build-allowlist/pnpm-workspace.yaml.declapract.ts +59 -0
  1005. package/dist/practices/pnpm/bad-practices/npm-overrides/.declapract.readme.md +20 -0
  1006. package/dist/practices/pnpm/bad-practices/npm-overrides/package.json.declapract.ts +75 -0
  1007. package/dist/practices/pnpm/bad-practices/package-lock-json/.declapract.readme.md +30 -0
  1008. package/dist/practices/pnpm/bad-practices/package-lock-json/package-lock.json.declapract.integration.test.ts +105 -0
  1009. package/dist/practices/pnpm/bad-practices/package-lock-json/package-lock.json.declapract.ts +40 -2
  1010. package/dist/practices/pnpm/best-practice/.declapract.readme.md +22 -0
  1011. package/dist/practices/pnpm/best-practice/package.json +1 -1
  1012. package/dist/practices/pnpm/best-practice/package.json.declapract.ts +14 -0
  1013. package/dist/practices/provision-github/best-practice/package.json +2 -2
  1014. package/dist/practices/provision-github/best-practice/provision/github.repo/resources.ts +16 -0
  1015. package/dist/practices/rhachet/.declapract.integration.test.ts +98 -0
  1016. package/dist/practices/rhachet/.test/assets/demo-repo-with-consumer-boot/.agent/repo=.this/role=any/boot.yml +7 -0
  1017. package/dist/practices/rhachet/.test/assets/demo-repo-with-consumer-boot/declapract.declare.yml +4 -0
  1018. package/dist/practices/rhachet/.test/assets/demo-repo-with-consumer-boot/declapract.use.yml +2 -0
  1019. package/dist/practices/rhachet/.test/assets/demo-repo-with-consumer-boot/package.json +4 -0
  1020. package/dist/practices/rhachet/__snapshots__/.declapract.integration.test.ts.snap +45 -0
  1021. package/dist/practices/rhachet/__snapshots__/boot-refs-glossary.declapract.integration.test.ts.snap +6 -0
  1022. package/dist/practices/rhachet/__snapshots__/boot-yml-findsert.declapract.integration.test.ts.snap +27 -0
  1023. package/dist/practices/rhachet/bad-practices/prod-deps/.declapract.readme.md +6 -2
  1024. package/dist/practices/rhachet/bad-practices/prod-deps/.test/assets/demo-repo-with-rhachet-prod-deps/declapract.declare.yml +4 -0
  1025. package/dist/practices/rhachet/bad-practices/prod-deps/.test/assets/demo-repo-with-rhachet-prod-deps/declapract.use.yml +2 -0
  1026. package/dist/practices/rhachet/bad-practices/prod-deps/.test/assets/demo-repo-with-rhachet-prod-deps/package.json +12 -0
  1027. package/dist/practices/rhachet/bad-practices/prod-deps/package.json.declapract.ts +58 -17
  1028. package/dist/practices/rhachet/best-practice/.agent/repo=.this/role=any/boot.yml +46 -0
  1029. package/dist/practices/rhachet/best-practice/.agent/repo=.this/role=any/boot.yml.declapract.ts +165 -0
  1030. package/dist/practices/rhachet/best-practice/.gitignore.declapract.ts +18 -5
  1031. package/dist/practices/rhachet/best-practice/package.json +8 -8
  1032. package/dist/practices/rhachet/boot-refs-glossary.declapract.integration.test.ts +89 -0
  1033. package/dist/practices/rhachet/boot-yml-findsert.declapract.integration.test.ts +145 -0
  1034. package/dist/practices/runtime-schemas/bad-practices/joi/.declapract.integration.test.ts +102 -0
  1035. package/dist/practices/runtime-schemas/bad-practices/joi/.test/assets/demo-repo-with-joi/declapract.use.yml +5 -0
  1036. package/dist/practices/runtime-schemas/bad-practices/joi/.test/assets/demo-repo-with-joi/package.json +4 -0
  1037. package/dist/practices/runtime-schemas/bad-practices/joi/.test/assets/demo-repo-with-joi/src/contract/schemas/widget.schema.ts +9 -0
  1038. package/dist/practices/runtime-schemas/bad-practices/joi/__snapshots__/.declapract.integration.test.ts.snap +37 -0
  1039. package/dist/practices/runtime-schemas/bad-practices/joi/src/<star><star>/<star>.ts.declapract.ts +32 -3
  1040. package/dist/practices/serverless/.declapract.integration.test.ts +230 -0
  1041. package/dist/practices/serverless/.test/assets/demo-repo-with-serverless/declapract.declare.yml +4 -0
  1042. package/dist/practices/serverless/.test/assets/demo-repo-with-serverless/declapract.use.yml +8 -0
  1043. package/dist/practices/serverless/.test/assets/demo-repo-with-serverless/package.json +4 -0
  1044. package/dist/practices/serverless/.test/assets/demo-repo-with-serverless/serverless.yml +8 -0
  1045. package/dist/practices/serverless/__snapshots__/.declapract.integration.test.ts.snap +43 -0
  1046. package/dist/practices/serverless/__snapshots__/cache-grant-stage-globbed.declapract.integration.test.ts.snap +3 -0
  1047. package/dist/practices/serverless/__snapshots__/deployment-bucket-account-scoped.declapract.integration.test.ts.snap +9 -0
  1048. package/dist/practices/serverless/__snapshots__/divergentStageGuard.declapract.integration.test.ts.snap +15 -0
  1049. package/dist/practices/serverless/__snapshots__/serverless.yml.declapract.integration.test.ts.snap +165 -0
  1050. package/dist/practices/serverless/best-practice/.declapract.readme.md +111 -0
  1051. package/dist/practices/serverless/best-practice/package.json +7 -5
  1052. package/dist/practices/serverless/best-practice/serverless.yml +14 -6
  1053. package/dist/practices/serverless/best-practice/serverless.yml.declapract.ts +609 -64
  1054. package/dist/practices/serverless/cache-grant-stage-globbed.declapract.integration.test.ts +69 -0
  1055. package/dist/practices/serverless/deployment-bucket-account-scoped.declapract.integration.test.ts +78 -0
  1056. package/dist/practices/serverless/divergentStageGuard.declapract.integration.test.ts +280 -0
  1057. package/dist/practices/serverless/serverless.yml.declapract.integration.test.ts +1285 -0
  1058. package/dist/practices/terraform-aws/best-practice/provision/aws/environments/prep/main.tf +1 -1
  1059. package/dist/practices/tests-any/__snapshots__/changedsince-origin-main.declapract.integration.test.ts.snap +8 -0
  1060. package/dist/practices/tests-any/autoprune-hooks.declapract.integration.test.ts +104 -0
  1061. package/dist/practices/tests-any/bad-practices/javascript-config-files/.declapract.readme.md +1 -0
  1062. package/dist/practices/tests-any/bad-practices/javascript-config-files/jest.<star>.js.declapract.ts +17 -0
  1063. package/dist/practices/tests-any/bad-practices/mocks/.declapract.readme.md +8 -0
  1064. package/dist/practices/tests-any/bad-practices/mocks/<star><star>/__mock__/<star>.js +3 -0
  1065. package/dist/practices/tests-any/bad-practices/mocks/<star><star>/__mock__/<star>.ts +3 -0
  1066. package/dist/practices/tests-any/bad-practices/old-acceptance-dir-location/.declapract.integration.test.ts +63 -0
  1067. package/dist/practices/tests-any/bad-practices/old-acceptance-dir-location/.declapract.readme.md +22 -0
  1068. package/dist/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/accept.blackbox/.test/assets/.agent/config.yml +1 -0
  1069. package/dist/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/accept.blackbox/.test/assets/.rhachet/manifest.json +1 -0
  1070. package/dist/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/accept.blackbox/somefile.ts +1 -0
  1071. package/dist/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/declapract.declare.yml +4 -0
  1072. package/dist/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/declapract.use.yml +5 -0
  1073. package/dist/practices/tests-any/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/package.json +4 -0
  1074. package/dist/practices/tests-any/bad-practices/old-acceptance-dir-location/accept.blackbox/<star><star>/<star>.declapract.ts +19 -0
  1075. package/dist/practices/tests-any/bad-practices/old-acceptance-dir-location/acceptance/<star><star>/<star>.declapract.ts +19 -0
  1076. package/dist/practices/tests-any/bad-practices/old-acceptance-import-paths/.declapract.readme.md +31 -0
  1077. package/dist/practices/tests-any/bad-practices/old-acceptance-import-paths/<star><star>/<star>.ts.declapract.ts +25 -0
  1078. package/dist/practices/tests-any/bad-practices/old-acceptance-test-utils/blackbox/_utils/getDataFromLastOpenBracketAtStartOfLine.ts.declapract.ts +3 -0
  1079. package/dist/practices/tests-any/bad-practices/old-acceptance-test-utils/blackbox/_utils/invokeLambda.ts.declapract.ts +3 -0
  1080. package/dist/practices/tests-any/bad-practices/old-acceptance-test-utils/blackbox/lambdas/<star>.ts.declapract.ts +44 -0
  1081. package/dist/practices/tests-any/bad-practices/old-acceptance-test-utils-2/blackbox/lambdas/<star>.ts.declapract.ts +22 -0
  1082. package/dist/practices/tests-any/bad-practices/old-acceptance-test-utils-3/blackbox/_utils/environment.ts.declapract.ts +3 -0
  1083. package/dist/practices/tests-any/bad-practices/old-acceptance-test-utils-3/blackbox/lambdas/<star>.ts.declapract.ts +18 -0
  1084. package/dist/practices/tests-any/bad-practices/old-extension-pattern/.declapract.readme.md +3 -0
  1085. package/dist/practices/tests-any/bad-practices/old-extension-pattern/<star><star>/<star>.test.acceptance.ts.declapract.ts +11 -0
  1086. package/dist/practices/tests-any/bad-practices/old-extension-pattern/<star><star>/<star>.test.integration.ts.declapract.ts +11 -0
  1087. package/dist/practices/tests-any/bad-practices/old-test-utils-and-assets-location/.declapract.readme.md +8 -0
  1088. package/dist/practices/tests-any/bad-practices/old-test-utils-and-assets-location/<star><star>/<star>.ts.declapract.ts +27 -0
  1089. package/dist/practices/tests-any/bad-practices/old-test-utils-and-assets-location/<star><star>/__test_assets__/<star><star>/<star>.declapract.ts +17 -0
  1090. package/dist/practices/tests-any/bad-practices/old-test-utils-and-assets-location/<star><star>/__test_utils__/<star><star>/<star>.declapract.ts +17 -0
  1091. package/dist/practices/tests-any/best-practice/.declapract.readme.md +45 -0
  1092. package/dist/practices/tests-any/best-practice/.declapract.todo.md +3 -0
  1093. package/dist/practices/tests-any/best-practice/package.json +17 -0
  1094. package/dist/practices/tests-any/best-practice/package.json.declapract.ts +3 -0
  1095. package/dist/practices/tests-any/best-practice/src/<star><star>/<star>.integration.test.ts.declapract.ts +3 -0
  1096. package/dist/practices/tests-any/best-practice/src/<star><star>/<star>.test.ts.declapract.ts +3 -0
  1097. package/dist/practices/tests-any/changedsince-origin-main.declapract.integration.test.ts +58 -0
  1098. package/dist/practices/tests-any/package.json.shell-flags.declapract.integration.test.ts +139 -0
  1099. package/dist/practices/tests-expo/.declapract.integration.test.ts +138 -0
  1100. package/dist/practices/tests-expo/.test/assets/repo-expo-greenfield/declapract.use.yml +6 -0
  1101. package/dist/practices/tests-expo/.test/assets/repo-expo-greenfield/package.json +8 -0
  1102. package/dist/practices/tests-expo/__snapshots__/.declapract.integration.test.ts.snap +121 -0
  1103. package/dist/practices/tests-expo/__snapshots__/package.json.declapract.integration.test.ts.snap +60 -0
  1104. package/dist/practices/tests-expo/bad-practices/inline-jest-config/.declapract.readme.md +22 -0
  1105. package/dist/practices/tests-expo/bad-practices/inline-jest-config/package.json.declapract.ts +36 -0
  1106. package/dist/practices/tests-expo/best-practice/jest.acceptance.config.ts +48 -0
  1107. package/dist/practices/tests-expo/best-practice/jest.acceptance.env.ts +15 -0
  1108. package/dist/practices/tests-expo/best-practice/jest.config.ts +7 -0
  1109. package/dist/practices/tests-expo/best-practice/jest.integration.config.ts +47 -0
  1110. package/dist/practices/tests-expo/best-practice/jest.integration.env.ts +26 -0
  1111. package/dist/practices/tests-expo/best-practice/jest.unit.config.ts +58 -0
  1112. package/dist/practices/tests-expo/best-practice/jest.unit.env.ts +23 -0
  1113. package/dist/practices/tests-expo/best-practice/package.json.declapract.ts +193 -0
  1114. package/dist/practices/tests-expo/package.json.declapract.integration.test.ts +94 -0
  1115. package/dist/practices/tests-node/__snapshots__/livedb-wake-branches.declapract.integration.test.ts.snap +6 -0
  1116. package/dist/practices/tests-node/bad-practices/babel/babel.config.js.declapract.ts +3 -0
  1117. package/dist/practices/tests-node/bad-practices/deprecated-test-deps/package.json.declapract.ts +50 -0
  1118. package/dist/practices/{tests → tests-node}/best-practice/jest.acceptance.config.ts +8 -0
  1119. package/dist/practices/tests-node/best-practice/jest.acceptance.env.ts +36 -0
  1120. package/dist/practices/tests-node/best-practice/jest.acceptance.prepare.ts +36 -0
  1121. package/dist/practices/tests-node/best-practice/jest.config.ts +7 -0
  1122. package/dist/practices/{tests → tests-node}/best-practice/jest.integration.config.ts +8 -0
  1123. package/dist/practices/tests-node/best-practice/jest.integration.env.db.ts +90 -0
  1124. package/dist/practices/tests-node/best-practice/jest.integration.env.ts +60 -0
  1125. package/dist/practices/tests-node/best-practice/jest.integration.prepare.ts +33 -0
  1126. package/dist/practices/{tests → tests-node}/best-practice/jest.unit.config.ts +7 -0
  1127. package/dist/practices/{tests → tests-node}/best-practice/jest.unit.env.ts +11 -4
  1128. package/dist/practices/tests-node/best-practice/jest.unit.env.ts.declapract.ts +41 -0
  1129. package/dist/practices/tests-node/best-practice/package.json +6 -0
  1130. package/dist/practices/tests-node/best-practice/package.json.declapract.ts +10 -0
  1131. package/dist/practices/tests-node/best-practice/src/.test/useKeyrack.ts +211 -0
  1132. package/dist/practices/tests-node/best-practice/src/.test/useWakeOfLivedb.ts +181 -0
  1133. package/dist/practices/tests-node/best-practice/src/.test/useWakeOfTestdb.ts +71 -0
  1134. package/dist/practices/tests-node/livedb-wake-branches.declapract.integration.test.ts +227 -0
  1135. package/dist/practices/tests-node/livedb-wake-prepare.declapract.integration.test.ts +112 -0
  1136. package/dist/practices/tests-node/testdb-preflight-branches.declapract.integration.test.ts +203 -0
  1137. package/dist/practices/tests-node/testdb-preflight-env.declapract.integration.test.ts +65 -0
  1138. package/dist/practices/tests-service/.test/assets/demo-repo-service/declapract.use.yml +5 -0
  1139. package/dist/practices/tests-service/.test/assets/demo-repo-service/package.json +4 -0
  1140. package/dist/practices/tests-service/__snapshots__/package.json.declapract.integration.test.ts.snap +26 -0
  1141. package/dist/practices/tests-service/asFunctionNameFromTestFileName.ts +7 -0
  1142. package/dist/practices/tests-service/best-practice/.declapract.readme.md +68 -0
  1143. package/dist/practices/tests-service/best-practice/blackbox/lambdas/<star>.acceptance.test.ts.declapract.ts +33 -8
  1144. package/dist/practices/tests-service/best-practice/package.json +4 -1
  1145. package/dist/practices/tests-service/best-practice/package.json.declapract.ts +99 -1
  1146. package/dist/practices/tests-service/package.json.declapract.integration.test.ts +204 -0
  1147. package/dist/practices/typescript-any/bad-practices/relative-imports/.declapract.readme.md +45 -0
  1148. package/dist/practices/typescript-any/bad-practices/relative-imports/src/<star><star>/<star>.ts.declapract.ts +97 -0
  1149. package/dist/practices/typescript-any/best-practice/.declapract.readme.md +17 -0
  1150. package/dist/practices/typescript-any/best-practice/package.json +8 -0
  1151. package/dist/practices/typescript-any/best-practice/package.json.declapract.ts +11 -0
  1152. package/dist/practices/typescript-expo/__snapshots__/package.json.declapract.integration.test.ts.snap +8 -0
  1153. package/dist/practices/typescript-expo/__snapshots__/tsconfig.json.declapract.integration.test.ts.snap +19 -0
  1154. package/dist/practices/typescript-expo/best-practice/package.json +6 -0
  1155. package/dist/practices/typescript-expo/best-practice/package.json.declapract.ts +12 -0
  1156. package/dist/practices/typescript-expo/best-practice/tsconfig.json +14 -0
  1157. package/dist/practices/typescript-expo/best-practice/tsconfig.json.declapract.ts +12 -0
  1158. package/dist/practices/typescript-expo/package.json.declapract.integration.test.ts +43 -0
  1159. package/dist/practices/typescript-expo/tsconfig.json.declapract.integration.test.ts +43 -0
  1160. package/dist/practices/{typescript → typescript-node}/best-practice/package.json +1 -3
  1161. package/dist/practices/typescript-node/best-practice/package.json.declapract.ts +27 -0
  1162. package/dist/practices/typescript-node/best-practice/tsconfig.json.declapract.ts +3 -0
  1163. package/dist/practices/uuid/best-practice/package.json +1 -1
  1164. package/dist/stageAccessBridge.declapract.integration.test.ts +163 -0
  1165. package/dist/useCases.yml +36 -16
  1166. package/dist/utils/asPackageJSON.ts +57 -0
  1167. package/dist/utils/asPrepConfigPath.ts +12 -0
  1168. package/dist/utils/defineExpectedNpmrcContents.ts +103 -0
  1169. package/dist/utils/getAllPathsUnderDir.ts +45 -0
  1170. package/dist/utils/getAllPracticesForUsecase.ts +79 -0
  1171. package/dist/utils/isDeferredToDeprecatedDirMove.ts +37 -0
  1172. package/dist/utils/migrateDevConfigToPrep.ts +47 -0
  1173. package/dist/utils/readFile.ts +2 -2
  1174. package/dist/workflowCallerCalleeReconciliation.declapract.integration.test.ts +319 -0
  1175. package/dist/workflowEnvDeploymentFalse.declapract.integration.test.ts +173 -0
  1176. package/package.json +10 -9
  1177. package/dist/practices/config/best-practice/src/utils/config/Config.ts +0 -10
  1178. package/dist/practices/config/best-practice/src/utils/config/Config.ts.declapract.ts +0 -16
  1179. package/dist/practices/config/best-practice/src/utils/config/getCacheDirectory.ts +0 -42
  1180. package/dist/practices/domain/best-practice/src/domain/objects/index.ts.declapract.ts +0 -4
  1181. package/dist/practices/logs/bad-practices/leveled-term/package.json +0 -5
  1182. package/dist/practices/persist-with-rds/best-practice/src/utils/config/Config.ts +0 -26
  1183. package/dist/practices/persist-with-rds/best-practice/src/utils/config/Config.ts.declapract.ts +0 -39
  1184. package/dist/practices/persist-with-rds/best-practice/src/utils/config/config.schema.ts.declapract.ts +0 -49
  1185. package/dist/practices/persist-with-rds/best-practice/src/utils/config/getConfig.ts +0 -2
  1186. package/dist/practices/tests/bad-practices/deprecated-test-deps/package.json.declapract.ts +0 -39
  1187. package/dist/practices/tests/best-practice/jest.acceptance.env.ts +0 -46
  1188. package/dist/practices/tests/best-practice/jest.integration.env.ts +0 -108
  1189. package/dist/practices/tests/best-practice/jest.unit.env.ts.declapract.ts +0 -35
  1190. package/dist/practices/tests-service/defineFunctionNameFromTestFileName.ts +0 -11
  1191. package/dist/practices/typescript/bad-practices/relative-imports/.declapract.readme.md +0 -27
  1192. package/dist/practices/typescript/best-practice/.declapract.readme.md +0 -15
  1193. package/dist/practices/typescript/best-practice/package.json.declapract.ts +0 -18
  1194. /package/dist/{practices/tests → .test/assets/cache/declarations/practices/cache}/best-practice/package.json.declapract.ts +0 -0
  1195. /package/dist/{practices/tests/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir → .test/assets/cicd-service/declarations/practices/cicd-service/.test/assets/demo-repo-pre-stamped-nords}/package.json +0 -0
  1196. /package/dist/{practices/errors/bad-practices/own-implementation/src/utils/errors/UnexpectedCodePathError.ts.declapract.ts → .test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/old-names/.github/workflows/deploy-dev-on-main.yml.declapract.ts} +0 -0
  1197. /package/dist/{practices/persist-with-rds/best-practice/src/utils/config/getConfig.ts.declapract.ts → .test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/old-names/.github/workflows/deploy-prod-on-tag.yml.declapract.ts} +0 -0
  1198. /package/dist/{practices/tests/bad-practices/babel/babel.config.js.declapract.ts → .test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/old-names/.github/workflows/deploy_dev_on_main.yml.declapract.ts} +0 -0
  1199. /package/dist/{practices/tests/bad-practices/javascript-config-files/jest.<star>.js.declapract.ts → .test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/old-names/.github/workflows/deploy_dev_on_master.yml.declapract.ts} +0 -0
  1200. /package/dist/{practices/tests/bad-practices/old-acceptance-test-utils-3/blackbox/_utils/environment.ts.declapract.ts → .test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/old-names/.github/workflows/deploy_on_tag.yml.declapract.ts} +0 -0
  1201. /package/dist/{practices/tests/bad-practices/old-acceptance-test-utils/blackbox/_utils/getDataFromLastOpenBracketAtStartOfLine.ts.declapract.ts → .test/assets/cicd-service/declarations/practices/cicd-service/bad-practices/old-names/.github/workflows/deploy_prod_on_tag.yml.declapract.ts} +0 -0
  1202. /package/dist/{practices/persist-with-dynamodb/best-practice/jest.integration.env.ts.declapract.ts → .test/assets/cicd-service/declarations/practices/cicd-service/best-practice/package.json.declapract.ts} +0 -0
  1203. /package/dist/{practices/tests/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir → .test/assets/cicd-service/declarations/practices/persist-with-rds/.test/assets/demo-repo-with-dev-config}/declapract.declare.yml +0 -0
  1204. /package/dist/{practices/tests/bad-practices/old-acceptance-test-utils/blackbox/_utils/invokeLambda.ts.declapract.ts → .test/assets/cicd-service/declarations/practices/persist-with-rds/bad-practices/non-prefixed-manual-init-sqls/provision/schema/sql/init/database.sql.declapract.ts} +0 -0
  1205. /package/dist/{practices/typescript/best-practice/tsconfig.json.declapract.ts → .test/assets/cicd-service/declarations/practices/persist-with-rds/best-practice/package.json.declapract.ts} +0 -0
  1206. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/javascript-config-files/.declapract.readme.md +0 -0
  1207. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/mocks/.declapract.readme.md +0 -0
  1208. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/mocks/<star><star>/__mock__/<star>.js +0 -0
  1209. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/mocks/<star><star>/__mock__/<star>.ts +0 -0
  1210. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-dir-location/.declapract.readme.md +0 -0
  1211. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/accept.blackbox/.test/assets/.agent/config.yml +0 -0
  1212. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/accept.blackbox/.test/assets/.rhachet/manifest.json +0 -0
  1213. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/accept.blackbox/somefile.ts +0 -0
  1214. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-dir-location/.test/assets/demo-repo-with-accept-blackbox-dir/declapract.use.yml +0 -0
  1215. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-dir-location/accept.blackbox/<star><star>/<star>.declapract.ts +0 -0
  1216. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-dir-location/acceptance/<star><star>/<star>.declapract.ts +0 -0
  1217. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-import-paths/<star><star>/<star>.ts.declapract.ts +0 -0
  1218. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-test-utils-2/blackbox/lambdas/<star>.ts.declapract.ts +0 -0
  1219. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-acceptance-test-utils-3/blackbox/lambdas/<star>.ts.declapract.ts +0 -0
  1220. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-extension-pattern/.declapract.readme.md +0 -0
  1221. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-extension-pattern/<star><star>/<star>.test.acceptance.ts.declapract.ts +0 -0
  1222. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-extension-pattern/<star><star>/<star>.test.integration.ts.declapract.ts +0 -0
  1223. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-test-utils-and-assets-location/.declapract.readme.md +0 -0
  1224. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-test-utils-and-assets-location/<star><star>/<star>.ts.declapract.ts +0 -0
  1225. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-test-utils-and-assets-location/<star><star>/__test_assets__/<star><star>/<star>.declapract.ts +0 -0
  1226. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/bad-practices/old-test-utils-and-assets-location/<star><star>/__test_utils__/<star><star>/<star>.declapract.ts +0 -0
  1227. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/best-practice/.declapract.readme.md +0 -0
  1228. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/best-practice/.declapract.todo.md +0 -0
  1229. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/best-practice/src/<star><star>/<star>.integration.test.ts.declapract.ts +0 -0
  1230. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-any}/best-practice/src/<star><star>/<star>.test.ts.declapract.ts +0 -0
  1231. /package/dist/{practices/tests → .test/assets/expo-fullusecase/declarations/practices/tests-expo}/best-practice/jest.config.ts +0 -0
  1232. /package/dist/practices/{tests → tests-node}/bad-practices/babel/babel.config.js +0 -0
  1233. /package/dist/practices/{tests → tests-node}/bad-practices/deprecated-test-deps/.declapract.readme.md +0 -0
  1234. /package/dist/practices/{tests → tests-node}/bad-practices/deprecated-test-deps/package.json +0 -0
  1235. /package/dist/practices/{typescript → typescript-node}/best-practice/tsconfig.build.json +0 -0
  1236. /package/dist/practices/{typescript → typescript-node}/best-practice/tsconfig.json +0 -0
@@ -0,0 +1,910 @@
1
+ import fs from 'fs/promises';
2
+ import { existsSync, readFileSync } from 'node:fs';
3
+ import path from 'node:path';
4
+
5
+ import { executeApply } from 'declapract';
6
+ import { genTempDir, given, then, useBeforeAll, when } from 'test-fns';
7
+ import yaml from 'yaml';
8
+
9
+ import { getAllPracticesForUsecase } from '../../utils/getAllPracticesForUsecase';
10
+
11
+ // executeApply is slow (whole-usecase evaluation across ten practices)
12
+ jest.setTimeout(240_000);
13
+
14
+ /**
15
+ * .what = the GRACEFUL-MIGRATION acceptance test for the `app-react-native-expo` usecase,
16
+ * run against an already-built expo app repo shaped like `app-protools-native`
17
+ * (the wish's part-3 "definition of done").
18
+ * .why = every other fixture is a bare/greenfield subset. this one models a REAL repo mid-
19
+ * migration — npm (`overrides` + `resolutions`, `package-lock.json`, no
20
+ * `packageManager`), a customized `tsconfig.json` (an extra `@app-custom` path), a
21
+ * `.gitignore` with its own custom ignores, a husky lockfile hook on the npm name,
22
+ * and the deprecated `src/logic/` + `src/data/` layers with a cross-import. it proves
23
+ * the whole migration slice applies GRACEFULLY: rename (not delete), union (not
24
+ * clobber), merge-not-overwrite — a consumer's own work survives.
25
+ * .note = the WHOLE usecase is evaluated before any file-filter, so the fixture's
26
+ * `declapract.use.yml` defines every variable the ten practices reference.
27
+ */
28
+ describe('app-react-native-expo — graceful migration of an app-protools-shaped repo', () => {
29
+ given('[case1] a customized npm expo repo on the deprecated src layers', () => {
30
+ const tempDir = genTempDir({
31
+ slug: 'expo-migration',
32
+ clone: './src/.test/assets/expo-migration/repo-app-protools-shaped',
33
+ symlink: [
34
+ { at: 'declarations', to: './src/.test/assets/expo-migration/declarations' },
35
+ { at: 'node_modules', to: 'node_modules' },
36
+ ],
37
+ });
38
+
39
+ const read = (rel: string) =>
40
+ fs.readFile(path.join(tempDir, rel), 'utf-8').catch(() => null);
41
+
42
+ // useBeforeAll RETURNS the captured state (no in-place mutation of a shared const)
43
+ const state = useBeforeAll(async () => {
44
+ const config = path.join(tempDir, 'declapract.use.yml');
45
+
46
+ // capture the before-state of the files the migration mutates
47
+ const before = {
48
+ pkg: await read('package.json'),
49
+ npmrc: await read('.npmrc'),
50
+ tsconfig: await read('tsconfig.json'),
51
+ gitignore: await read('.gitignore'),
52
+ husky: await read('.husky/check.lockfile.sh'),
53
+ packageLock: await read('package-lock.json'),
54
+ deployExpo: await read('.github/workflows/.deploy-expo.yml'),
55
+ domainIndex: await read('src/domain/objects/index.ts'),
56
+ logicFile: await read('src/logic/customer/getCustomer.ts'),
57
+ daoFile: await read('src/data/dao/daoCustomer.ts'),
58
+ // the stale JS jest config (jsdom) the app-protools-native audit names — a
59
+ // dual-source hazard the migration must reconcile against the shipped .ts config
60
+ jestConfigJs: await read('jest.config.js'),
61
+ jestConfigTs: await read('jest.config.ts'),
62
+ };
63
+
64
+ // apply the whole usecase twice — the migration is a two-pass settle:
65
+ // pass 1 RELOCATES the deprecated-dir files (imports untouched); pass 2
66
+ // rewrites those moved files' imports at their new path AND settles the
67
+ // package.json minVersion pins. (move + import-rewrite are held to
68
+ // separate passes so declapract never applies a relocate and an in-place
69
+ // rewrite to one file in one apply.)
70
+ await executeApply({ config });
71
+ await executeApply({ config });
72
+ const after2 = {
73
+ pkg: await read('package.json'),
74
+ npmrc: await read('.npmrc'),
75
+ tsconfig: await read('tsconfig.json'),
76
+ gitignore: await read('.gitignore'),
77
+ husky: await read('.husky/check.lockfile.sh'),
78
+ packageLock: await read('package-lock.json'),
79
+ deployExpo: await read('.github/workflows/.deploy-expo.yml'),
80
+ domainIndex: await read('src/domain/objects/index.ts'),
81
+ // the dir-move destinations
82
+ movedLogic: await read('src/domain.operations/customer/getCustomer.ts'),
83
+ movedDao: await read('src/access/daos/daoCustomer.ts'),
84
+ movedShared: await read('src/domain.operations/shared/formatCustomer.ts'),
85
+ // the deprecated originals must be GONE
86
+ oldLogic: await read('src/logic/customer/getCustomer.ts'),
87
+ oldDao: await read('src/data/dao/daoCustomer.ts'),
88
+ oldShared: await read('src/logic/shared/formatCustomer.ts'),
89
+ // the stale JS jest config must be GONE; the shipped .ts config must be PRESENT
90
+ jestConfigJs: await read('jest.config.js'),
91
+ jestConfigTs: await read('jest.config.ts'),
92
+ };
93
+
94
+ // a third apply proves the settled state is a fixed point (no drift)
95
+ await executeApply({ config });
96
+ const after3 = {
97
+ pkg: await read('package.json'),
98
+ tsconfig: await read('tsconfig.json'),
99
+ movedLogic: await read('src/domain.operations/customer/getCustomer.ts'),
100
+ };
101
+
102
+ return { before, after2, after3 };
103
+ }, 230_000);
104
+
105
+ when('[t0] the deprecated src layers are migrated', () => {
106
+ then('src/logic/ moves to src/domain.operations/, the original gone', () => {
107
+ expect(state.after2.movedLogic).toBeDefined();
108
+ expect(state.after2.movedLogic).not.toBeNull();
109
+ expect(state.after2.oldLogic).toBeNull();
110
+ });
111
+
112
+ then('src/data/dao/ moves to src/access/daos/, the original gone', () => {
113
+ expect(state.after2.movedDao).not.toBeNull();
114
+ expect(state.after2.oldDao).toBeNull();
115
+ });
116
+
117
+ then('the moved logic file has its import path rewritten', () => {
118
+ // ../../data/dao/daoCustomer -> ../../access/daos/daoCustomer
119
+ expect(state.after2.movedLogic).toContain('/access/daos/daoCustomer');
120
+ expect(state.after2.movedLogic).not.toContain('/data/dao/daoCustomer');
121
+ });
122
+
123
+ then('every import SHAPE in the moved file is rewritten (r10 blocker 3)', () => {
124
+ // the fixture file carries THREE deprecated-layer import shapes; the pipeline
125
+ // must rewrite ALL of them, not just the first. prove each shape landed at
126
+ // access/daos with no data/dao path left behind.
127
+ const moved = state.after2.movedLogic!;
128
+ // plain value import
129
+ expect(moved).toContain(
130
+ "import { daoCustomer } from '@src/access/daos/daoCustomer'",
131
+ );
132
+ // type-only import
133
+ expect(moved).toContain(
134
+ "import type { Customer } from '@src/access/daos/daoCustomer'",
135
+ );
136
+ // barrel re-export
137
+ expect(moved).toContain(
138
+ "export { daoCustomer as daoCustomerReExport } from '@src/access/daos/daoCustomer'",
139
+ );
140
+ // NO deprecated import PATH survives on any of the three (the quoted specifier
141
+ // only — the file's own comment still names data/dao as prose, which is fine)
142
+ expect(moved).not.toContain("'@src/data/dao/daoCustomer'");
143
+ });
144
+
145
+ then('the moved file\'s ../ relative import is aliased (relative-imports two-pass defer)', () => {
146
+ // the fixture's getCustomer.ts carries a `../shared/formatCustomer` RELATIVE import to
147
+ // a peer in the same deprecated layer. relative-imports must DEFER it on pass 1 (the
148
+ // file still sits under logic/, so its isDeferredToDeprecatedDirMove guard fires) while
149
+ // old-logic-dir relocates the file, then fire on pass 2 once the file sits at
150
+ // domain.operations/ — the ../shared/formatCustomer path becomes the @src alias. this
151
+ // proves the branch-new deferred-dir guard end-to-end (the r1 relative-imports blocker):
152
+ // a relocate and an in-place rewrite of one file never collide in a single pass.
153
+ // the peer util is itself relocated logic/shared/ -> domain.operations/shared/.
154
+ expect(state.after2.movedShared).not.toBeNull();
155
+ expect(state.after2.oldShared).toBeNull();
156
+ // the importer's relative path is aliased to @src at the file's NEW home
157
+ expect(state.after2.movedLogic).toContain(
158
+ "import { formatCustomer } from '@src/domain.operations/shared/formatCustomer'",
159
+ );
160
+ expect(state.after2.movedLogic).not.toContain("'../shared/formatCustomer'");
161
+ });
162
+ });
163
+
164
+ when('[t1] package.json is migrated npm -> pnpm', () => {
165
+ then('overrides + resolutions relocate into pnpm.overrides', () => {
166
+ const pkg = JSON.parse(state.after2.pkg!);
167
+ expect(pkg.overrides).toBeUndefined();
168
+ expect(pkg.resolutions).toBeUndefined();
169
+ expect(pkg.pnpm.overrides['type-fns']).toEqual('1.9.9');
170
+ expect(pkg.pnpm.overrides['@commitlint/format']).toEqual('19.9.9');
171
+ });
172
+
173
+ then('the packageManager pin converges to the blessed exact version', () => {
174
+ // the fixture is OFF the blessed pin (pnpm@10.32.1). the pnpm
175
+ // best-practice CONTAINS declares the ONE blessed version (pnpm@10.34.5),
176
+ // so a consumer off it is converged onto the blessed pin on fix — in
177
+ // either direction. that convergence-to-one-version is the wisher-settled
178
+ // org-convergence REQUIREMENT (one blessed pnpm across CI, local, every
179
+ // repo), not a regression. this characterizes it.
180
+ const pkgBefore = JSON.parse(state.before.pkg!);
181
+ expect(pkgBefore.packageManager).toEqual('pnpm@10.32.1');
182
+
183
+ const pkg = JSON.parse(state.after2.pkg!);
184
+ expect(pkg.packageManager).toEqual('pnpm@10.34.5');
185
+ });
186
+
187
+ then('the inline jest dual-source block is dropped', () => {
188
+ // the repo carried a jest-expo preset INLINE in package.json AND the
189
+ // tests-expo jest.*.config.ts files — a dual source. the migration drops
190
+ // the inline block so the config files are the one home.
191
+ const pkgBefore = JSON.parse(state.before.pkg!);
192
+ expect(pkgBefore.jest).toBeDefined();
193
+
194
+ const pkg = JSON.parse(state.after2.pkg!);
195
+ expect(pkg.jest).toBeUndefined();
196
+ });
197
+ });
198
+
199
+ when('[t2] the .npmrc hoist is unioned in, not clobbered', () => {
200
+ then('the hoisted-linker block is present', () => {
201
+ expect(state.after2.npmrc).toContain('node-linker=hoisted');
202
+ expect(state.after2.npmrc).toContain('public-hoist-pattern[]=*expo*');
203
+ });
204
+
205
+ then('the base save-exact line survives', () => {
206
+ expect(state.after2.npmrc).toContain('save-exact=true');
207
+ });
208
+ });
209
+
210
+ when('[t3] the customized tsconfig is preserved (CONTAINS, not clobbered)', () => {
211
+ then('the extends of expo/tsconfig.base holds', () => {
212
+ expect(state.after2.tsconfig).toContain('expo/tsconfig.base');
213
+ });
214
+
215
+ then("the app's own custom @app-custom path is preserved", () => {
216
+ expect(state.after2.tsconfig).toContain('@app-custom');
217
+ });
218
+ });
219
+
220
+ when('[t4] the .gitignore gains the rhachet line, keeps the repo customs', () => {
221
+ then('the rhachet .agent/.cache/ line is added', () => {
222
+ expect(state.after2.gitignore).toContain('.agent/.cache/');
223
+ });
224
+
225
+ then("the repo's own custom ignores survive", () => {
226
+ expect(state.after2.gitignore).toContain('.idea');
227
+ expect(state.after2.gitignore).toContain('*.pyc');
228
+ });
229
+
230
+ then('the node_modules negations sit below node_modules', () => {
231
+ const lines = state.after2.gitignore!.split('\n');
232
+ expect(lines.indexOf('node_modules')).toBeLessThan(
233
+ lines.indexOf('!.test*/**/node_modules'),
234
+ );
235
+ });
236
+ });
237
+
238
+ when('[t5] the husky lockfile hook is swapped to pnpm', () => {
239
+ then('it watches pnpm-lock.yaml, not package-lock.json', () => {
240
+ expect(state.after2.husky).toContain('pnpm-lock.yaml');
241
+ expect(state.after2.husky).not.toContain('package-lock.json');
242
+ });
243
+ });
244
+
245
+ when('[t5b] the npm lockfile is removed forget-not-destroy', () => {
246
+ then('package-lock.json is deleted — but only because pnpm-lock.yaml exists', () => {
247
+ // the fixture seeds BOTH lockfiles (the realistic post-`pnpm install` state),
248
+ // so the gated fix removes the redundant npm lockfile. the survive-when-unsafe
249
+ // path (no pnpm-lock.yaml → no delete) is clamped in the bad-practice's own
250
+ // package-lock.json.declapract.integration.test.ts [case2].
251
+ expect(state.before.packageLock).not.toBeNull();
252
+ expect(state.after2.packageLock).toBeNull();
253
+ });
254
+ });
255
+
256
+ when('[t5c] the expo deploy workflow is migrated npm -> pnpm', () => {
257
+ then('the npm-shaped install is clobbered to the pnpm shape', () => {
258
+ // the fixture ships an npm-shaped .deploy-expo.yml (npm ci + actions/cache
259
+ // on package-lock.json). the cicd-app-react-native-expo practice declares
260
+ // this workflow via the repo's default EQUALS, so a divergent consumer
261
+ // file is overwritten with the pnpm template. this is the wish's
262
+ // "clobber (safe target)" — a CI workflow is a safe overwrite, unlike a
263
+ // consumer's own tsconfig/gitignore which merge.
264
+ //
265
+ // the pnpm template mirrors the node deploy path (.deploy-sls.yml): a shared
266
+ // install job builds node_modules once via ./.github/workflows/.install.yml,
267
+ // then each deploy job restores it (fail-on-cache-miss) rather than re-install.
268
+ // so the pnpm install itself lives in .install.yml, not this workflow.
269
+ expect(state.before.deployExpo).toContain('npm ci');
270
+ expect(state.after2.deployExpo).toContain(
271
+ 'uses: ./.github/workflows/.install.yml',
272
+ );
273
+ expect(state.after2.deployExpo).toContain('fail-on-cache-miss: true');
274
+ expect(state.after2.deployExpo).not.toContain('npm ci');
275
+ });
276
+
277
+ then('the before + after .deploy-expo.yml match snapshot', () => {
278
+ // a diff-visible clamp on the 125-line live CI/CD workflow: any silent
279
+ // content drift in the template surfaces in the after-snapshot review.
280
+ expect(state.before.deployExpo).toMatchSnapshot('.deploy-expo.yml — before');
281
+ expect(state.after2.deployExpo).toMatchSnapshot('.deploy-expo.yml — after migration');
282
+ });
283
+ });
284
+
285
+ when('[t5e] the jest dual-source is reconciled (stale .js dropped for the .ts config)', () => {
286
+ // the app-protools-native audit names the jest dual-source hazard: a jsdom
287
+ // `jest.config.js` + the shipped `jest.config.ts` both present at once. the tests-any
288
+ // `javascript-config-files` bad-practice DELETES the stale `.js` while the tests-expo
289
+ // best-practice supplies the canonical `.ts` in the same pass — so a repo under
290
+ // migration ends with ONE jest config source, not two.
291
+ then('the fixture starts with a stale JS jest config', () => {
292
+ expect(state.before.jestConfigJs).not.toBeNull();
293
+ expect(state.before.jestConfigJs).toContain('jsdom');
294
+ });
295
+
296
+ then('declapract fix removes the stale JS jest config', () => {
297
+ expect(state.after2.jestConfigJs).toBeNull();
298
+ });
299
+
300
+ then('the shipped .ts jest config lands as the single source', () => {
301
+ expect(state.after2.jestConfigTs).not.toBeNull();
302
+ });
303
+ });
304
+
305
+ when('[t5d] the domain EXISTS check is unmet (no src/domain/objects/index.ts)', () => {
306
+ // the wisher ruled `domain`'s EXISTS check a HARD BLOCKER for every expo repo, and a
307
+ // real app-protools-shaped repo has no `src/domain/objects/index.ts` on day one. this
308
+ // characterizes what `declapract fix` DOES on that unmet, content-less EXISTS check:
309
+ // it flags the absence (the human must author their domain) but auto-creates no file —
310
+ // there is no sibling template to write — and it does NOT halt the rest of the apply.
311
+ then('the repo has no domain objects file to begin with', () => {
312
+ expect(state.before.domainIndex).toBeNull();
313
+ });
314
+
315
+ then('declapract fix does NOT auto-create the file (no template to write)', () => {
316
+ // an EXISTS best-practice with no sibling content cannot be auto-fixed — the file
317
+ // stays absent, so the check keeps flagging until the human authors their domain.
318
+ expect(state.after2.domainIndex).toBeNull();
319
+ });
320
+
321
+ then('the unmet EXISTS does NOT halt the apply — the whole migration still lands', () => {
322
+ // proof the apply did not abort on the unmet check: the domain practice's OWN
323
+ // package.json CONTAINS still merged its deps, AND every other practice's mutation
324
+ // (the dir-move, the pnpm switch, the .npmrc hoist) landed — asserted across [t0]-[t5c].
325
+ const pkg = JSON.parse(state.after2.pkg!);
326
+ expect(pkg.dependencies['domain-objects']).toBeDefined();
327
+ expect(pkg.dependencies['type-fns']).toBeDefined();
328
+ expect(state.after2.movedLogic).not.toBeNull();
329
+ });
330
+ });
331
+
332
+ when('[t6] the migration is re-applied', () => {
333
+ then('package.json is a fixed point once settled', () => {
334
+ expect(state.after3.pkg).toEqual(state.after2.pkg);
335
+ });
336
+
337
+ then('tsconfig.json is a fixed point', () => {
338
+ expect(state.after3.tsconfig).toEqual(state.after2.tsconfig);
339
+ });
340
+
341
+ then('the moved logic file is a fixed point', () => {
342
+ expect(state.after3.movedLogic).toEqual(state.after2.movedLogic);
343
+ });
344
+
345
+ then('the before + settled package.json match snapshot', () => {
346
+ expect(state.before.pkg).toMatchSnapshot('package.json — before');
347
+ expect(state.after2.pkg).toMatchSnapshot('package.json — after migration');
348
+ });
349
+ });
350
+ });
351
+ });
352
+
353
+ /**
354
+ * .what = a drift guard between the migration fixture's curated practice subset and the
355
+ * real `app-react-native-expo` usecase in `src/useCases.yml`.
356
+ * .why = the fixture above deliberately exercises only the practices that MUTATE an extant
357
+ * repo's files (the migration-risk set). the rest of the real usecase merely DROPS a
358
+ * net-new file (a config-only practice: lint, format, husky, …) and carries no
359
+ * migration risk, so it is left out on purpose. that curation is a hidden link:
360
+ * when a practice is added to the real usecase, the fixture silently falls out of
361
+ * date and no test notices. this guard makes the link explicit — every real
362
+ * practice must be classified as EITHER exercised-by-the-fixture OR config-only-
363
+ * allowlisted, so a new practice fails the build until a human triages it into one bin.
364
+ */
365
+ describe('app-react-native-expo — migration-fixture drift guard', () => {
366
+ // a config-only practice DROPS a net-new file with no migration risk, so the migration
367
+ // fixture need not exercise it. each entry is a deliberate human triage, not a default.
368
+ // NO terraform-common — it was dropped from the expo usecase (an expo app owns no
369
+ // terraform-managed infra), so it is no longer a practice to classify.
370
+ const configOnlyAllowlist = [
371
+ 'cache',
372
+ 'cicd-common',
373
+ 'conventional-commits',
374
+ 'errors',
375
+ 'husky',
376
+ 'format',
377
+ 'nonpublished-modules',
378
+ 'package-json-order',
379
+ 'provision-github',
380
+ 'lint',
381
+ 'lint-react',
382
+ 'lint-react-native',
383
+ ];
384
+
385
+ const readUsecasePractices = (input: {
386
+ path: string;
387
+ usecase: string;
388
+ }): string[] => {
389
+ const parsed = yaml.parse(readFileSync(input.path, 'utf-8'));
390
+ return parsed['use-cases'][input.usecase].practices;
391
+ };
392
+
393
+ // the practices in `of` absent from `reference` — the set-difference the drift asserts on.
394
+ const getPracticesAbsentFrom = (input: {
395
+ of: string[];
396
+ reference: string[];
397
+ }): string[] =>
398
+ input.of.filter((practice) => !input.reference.includes(practice));
399
+
400
+ // the practices in `of` also present in `reference` — the set-overlap the drift forbids.
401
+ const getPracticesPresentIn = (input: {
402
+ of: string[];
403
+ reference: string[];
404
+ }): string[] =>
405
+ input.of.filter((practice) => input.reference.includes(practice));
406
+
407
+ const repoRoot = path.join(__dirname, '../../..');
408
+
409
+ given('the real usecase and the fixture usecase', () => {
410
+ // the real expo usecase now COMPOSES its platform baseline via `extends`, so its full
411
+ // expanded set (not its raw `.practices`, which holds only the expo delta) is the true
412
+ // practice set a consumer receives. expand it so the fixture-vs-real comparison stays honest.
413
+ const realPractices = getAllPracticesForUsecase({
414
+ usecasesYmlPath: path.join(repoRoot, 'src/useCases.yml'),
415
+ usecase: 'app-react-native-expo',
416
+ });
417
+ // the fixture usecase lists its practices inline (no extends), so its raw list is its set.
418
+ const fixturePractices = readUsecasePractices({
419
+ path: path.join(
420
+ repoRoot,
421
+ 'src/.test/assets/expo-migration/declarations/useCases.yml',
422
+ ),
423
+ usecase: 'app-react-native-expo',
424
+ });
425
+
426
+ when('the fixture subset is measured against the real usecase', () => {
427
+ then('the fixture invents no practice absent from the real usecase', () => {
428
+ const invented = getPracticesAbsentFrom({
429
+ of: fixturePractices,
430
+ reference: realPractices,
431
+ });
432
+ expect(invented).toEqual([]);
433
+ });
434
+
435
+ then('a fixture practice is never also on the config-only allowlist', () => {
436
+ const overlap = getPracticesPresentIn({
437
+ of: fixturePractices,
438
+ reference: configOnlyAllowlist,
439
+ });
440
+ expect(overlap).toEqual([]);
441
+ });
442
+
443
+ then('the allowlist names no practice absent from the real usecase', () => {
444
+ const dead = getPracticesAbsentFrom({
445
+ of: configOnlyAllowlist,
446
+ reference: realPractices,
447
+ });
448
+ expect(dead).toEqual([]);
449
+ });
450
+
451
+ then('every real usecase practice is classified — exercised or config-only', () => {
452
+ const unclassified = getPracticesAbsentFrom({
453
+ of: realPractices,
454
+ reference: [...fixturePractices, ...configOnlyAllowlist],
455
+ });
456
+ expect(unclassified).toEqual([]);
457
+ });
458
+ });
459
+ });
460
+ });
461
+
462
+ /**
463
+ * .what = a drift guard between `typescript-project`'s platform baseline and the
464
+ * `app-react-native-expo` usecase in `src/useCases.yml`.
465
+ * .why = both usecases now COMPOSE the shared `typescript-project-core` baseline via
466
+ * `extends`, so the 17 runtime-agnostic practices reach both consumers from ONE
467
+ * source and cannot drift apart by hand-copy. this guard is the second line of
468
+ * defense: it measures each usecase's RESOLVED practice set (extends applied) and
469
+ * asserts every practice in `typescript-project`'s resolved set is EITHER in expo's
470
+ * resolved set OR on the `expoDivergesFromBaseline` allowlist (a deliberate
471
+ * runtime-swap or exclusion). so if a future practice is added to `typescript-project`
472
+ * DIRECTLY (its runtime delta, not the shared core), it fails the build until a human
473
+ * triages it into expo or names it a divergence — the silent-drift regression this
474
+ * whole wish exists to fix, kept loud.
475
+ * .note = the guard reads the RESOLVED set (`getAllPracticesForUsecase`), not the raw
476
+ * `.practices`. after the core extraction both usecases carry only their runtime
477
+ * delta inline, so a raw read would compare deltas, not baselines.
478
+ */
479
+ describe('app-react-native-expo — platform-baseline drift guard', () => {
480
+ // the practices `typescript-project`'s resolved set carries that the expo usecase
481
+ // deliberately does NOT — each a runtime swap or a wish-scoped exclusion, not an oversight.
482
+ // a build failure here means: triage the new baseline practice into expo, or add it here
483
+ // with a reason.
484
+ const expoDivergesFromBaseline = [
485
+ // node-shaped build/test practices, replaced by the -expo cut in the triad
486
+ 'typescript-node', // → typescript-expo
487
+ 'tests-node', // → tests-expo
488
+ // a runtime rate-limit lib, excluded by the wish (not a platform tool)
489
+ 'bottleneck',
490
+ ];
491
+
492
+ const usecasesYmlPath = path.join(__dirname, '../../..', 'src/useCases.yml');
493
+
494
+ given('the typescript-project baseline and the expo usecase', () => {
495
+ const baselinePractices = getAllPracticesForUsecase({
496
+ usecasesYmlPath,
497
+ usecase: 'typescript-project',
498
+ });
499
+ const expoPractices = getAllPracticesForUsecase({
500
+ usecasesYmlPath,
501
+ usecase: 'app-react-native-expo',
502
+ });
503
+
504
+ when('the expo usecase is measured against the baseline', () => {
505
+ then('every baseline practice is in expo OR deliberately diverged', () => {
506
+ // this assertion carries the load: a practice added to typescript-project
507
+ // that is neither carried into expo nor listed as a deliberate divergence
508
+ // fails the build — so the silent-drift regression cannot ship.
509
+ const classified = new Set([
510
+ ...expoPractices,
511
+ ...expoDivergesFromBaseline,
512
+ ]);
513
+ const undropped = baselinePractices.filter(
514
+ (practice) => !classified.has(practice),
515
+ );
516
+ expect(undropped).toEqual([]);
517
+ });
518
+
519
+ then('the divergence allowlist names no practice absent from the baseline', () => {
520
+ const dead = expoDivergesFromBaseline.filter(
521
+ (practice) => !baselinePractices.includes(practice),
522
+ );
523
+ expect(dead).toEqual([]);
524
+ });
525
+
526
+ then('a diverged practice is never ALSO present in the expo usecase', () => {
527
+ // a practice cannot be both "carried into expo" and "deliberately dropped"
528
+ const contradiction = expoDivergesFromBaseline.filter((practice) =>
529
+ expoPractices.includes(practice),
530
+ );
531
+ expect(contradiction).toEqual([]);
532
+ });
533
+ });
534
+ });
535
+ });
536
+
537
+ /**
538
+ * .what = a characterization test that PINS every usecase's fully-resolved practice set
539
+ * (extends applied) to an explicit expected list.
540
+ * .why = the `typescript-project-core` extraction moved 17 shared practices out of the
541
+ * hand-copied usecase bodies into one composed baseline. the extraction is only safe
542
+ * if it changes ZERO practice for any consumer. this test is that proof: it locks each
543
+ * usecase's resolved set, so any future edit to the extends graph or the core that
544
+ * would add/drop a practice for a repo fails the build with an exact diff. it also
545
+ * documents declapract's NON-TRANSITIVE extends (declapract#17) — each consumer must
546
+ * extend `typescript-project-core` DIRECTLY, since it does not arrive through
547
+ * `typescript-project`.
548
+ */
549
+ describe('useCases.yml — resolved-practice characterization', () => {
550
+ const usecasesYmlPath = path.join(__dirname, '../../..', 'src/useCases.yml');
551
+
552
+ const sorted = (input: string[]): string[] => [...input].sort();
553
+
554
+ // the shared runtime-agnostic baseline every real dev repo composes
555
+ const core = [
556
+ 'cache',
557
+ 'cicd-common',
558
+ 'conventional-commits',
559
+ 'husky',
560
+ 'directory-structure-src',
561
+ 'domain',
562
+ 'errors',
563
+ 'format',
564
+ 'git',
565
+ 'lint',
566
+ 'node',
567
+ 'nonpublished-modules',
568
+ 'package-json-order',
569
+ 'rhachet',
570
+ 'tests-any',
571
+ 'typescript-any',
572
+ 'pnpm',
573
+ ];
574
+
575
+ // the node runtime delta atop the core
576
+ const nodeDelta = ['tests-node', 'typescript-node', 'bottleneck'];
577
+
578
+ const lambdaServiceDelta = [
579
+ 'artifact',
580
+ 'cicd-service',
581
+ 'config',
582
+ 'commands',
583
+ 'dates-and-times',
584
+ 'environments',
585
+ 'environments-aws',
586
+ 'logs',
587
+ 'node-service',
588
+ 'runtime-schemas',
589
+ 'serverless',
590
+ 'provision-github',
591
+ 'terraform-common',
592
+ 'terraform-aws',
593
+ 'tests-service',
594
+ 'uuid',
595
+ ];
596
+
597
+ const expected: Record<string, string[]> = {
598
+ 'typescript-project-core': core,
599
+ 'typescript-project': [...core, ...nodeDelta],
600
+ 'npm-package': [
601
+ ...core,
602
+ ...nodeDelta,
603
+ 'cicd-package',
604
+ 'node-package',
605
+ 'provision-github',
606
+ ],
607
+ 'lambda-service': [...core, ...nodeDelta, ...lambdaServiceDelta],
608
+ 'lambda-service-with-rds': [
609
+ ...core,
610
+ ...nodeDelta,
611
+ ...lambdaServiceDelta,
612
+ 'persist-with-rds',
613
+ ],
614
+ 'lambda-service-with-dynamodb': [
615
+ ...core,
616
+ ...nodeDelta,
617
+ ...lambdaServiceDelta,
618
+ 'persist-with-dynamodb',
619
+ ],
620
+ // the expo runtime delta atop the core — NO terraform-common (an expo app owns no
621
+ // terraform-managed infra; declastruct is the go-forward), NO node-shaped build/test.
622
+ 'app-react-native-expo': [
623
+ ...core,
624
+ 'cicd-app-react-native-expo',
625
+ 'provision-github',
626
+ 'lint-react',
627
+ 'lint-react-native',
628
+ 'tests-expo',
629
+ 'typescript-expo',
630
+ ],
631
+ };
632
+
633
+ given('the useCases.yml extends graph', () => {
634
+ for (const usecase of Object.keys(expected)) {
635
+ when(`the resolved set of '${usecase}'`, () => {
636
+ then('matches the pinned characterization', () => {
637
+ const actual = getAllPracticesForUsecase({ usecasesYmlPath, usecase });
638
+ expect(sorted(actual)).toEqual(sorted(expected[usecase]!));
639
+ });
640
+ });
641
+ }
642
+ });
643
+
644
+ when('expo is compared to the core baseline', () => {
645
+ then('expo carries every core practice (the extraction reached it)', () => {
646
+ const expo = getAllPracticesForUsecase({
647
+ usecasesYmlPath,
648
+ usecase: 'app-react-native-expo',
649
+ });
650
+ const absent = core.filter((practice) => !expo.includes(practice));
651
+ expect(absent).toEqual([]);
652
+ });
653
+
654
+ then('expo carries no terraform-common (dropped in this wish)', () => {
655
+ const expo = getAllPracticesForUsecase({
656
+ usecasesYmlPath,
657
+ usecase: 'app-react-native-expo',
658
+ });
659
+ expect(expo).not.toContain('terraform-common');
660
+ });
661
+ });
662
+ });
663
+
664
+ /**
665
+ * .what = the FULL-usecase evaluation smoke — a real `executeApply` of the COMPLETE
666
+ * `app-react-native-expo` usecase (all 23 practices, the same set a consumer
667
+ * receives), run against the app-protools-shaped repo.
668
+ * .why = the graceful-migration acceptance test above deliberately curates the 11
669
+ * migration-RISK practices, so the 12 config-only practices (cicd-common, husky,
670
+ * conventional-commits, format, lint, …) — the bulk of the real usecase — are
671
+ * never exercised end-to-end. this smoke closes that gap: it proves the WHOLE
672
+ * usecase expands and applies without a variable-gap, a cross-practice collision,
673
+ * or an ELOOP — the wish's headline criterion (a consumer runs `declapract fix`
674
+ * on the real usecase and it lands clean). the fixture symlinks all 23 practices
675
+ * individually (never the real `src/practices` dir), so the deep-walk is loop-free
676
+ * by construction.
677
+ * .note = a practice-set parity guard below pins this fixture's usecase === the real
678
+ * `src/useCases.yml` usecase, so the smoke can never silently test a stale set.
679
+ */
680
+ /**
681
+ * .what = a clamp on the expo `deploy.yml` prod job's `if:` test-gate precedence — the prod
682
+ * job must bind the `needs.test` gate to EVERY trigger branch, so a `v*` tag push
683
+ * cannot deploy to prod on a FAILED test.
684
+ * .why = github-actions `&&` binds tighter than `||`, so an `if:` written
685
+ * `(tag) || (access==prod) && always() && (test ok)` parses as `tag || (access &&
686
+ * always && test)` — the test gate binds ONLY to the access branch, so a `v*` TAG
687
+ * PUSH deploys to prod even when `test` FAILED. the correct shape wraps both trigger
688
+ * branches in one OUTER group the gate applies to:
689
+ * `((tag) || access==prod) && always() && (test ok)`. this is the silent-break class
690
+ * the wish fights — an untested build reaches prod, every gate green. the clamp reads
691
+ * the raw prod `if:` and reddens on the un-grouped (bug) shape. it mirrors the
692
+ * cicd-service prod-gate clamp so both service and app deploy callers hold the guard.
693
+ * .note = a filesystem walk → integration suite per rule.forbid.unit.remote-boundaries; no
694
+ * credential, no network — the boundary alone classifies it. the clamp lives at the
695
+ * practice root, never under best-practice/, so it is a declaration and not a template.
696
+ */
697
+ /**
698
+ * .what = whether the prod job's collapsed `if:` wraps BOTH trigger branches in ONE outer group
699
+ * that the ` && always()` test-gate binds over — the correct precedence.
700
+ * .why = a pure transformer leaf, named so the assertion below reads intent rather than a raw
701
+ * precedence regex a reader must simulate. the buggy single-group shape opens one paren
702
+ * `(startsWith`; the correct shape opens a second, OUTER paren `((startsWith` that the
703
+ * ` && always()` gate closes over, so the gate binds to the tag-push branch too, not the
704
+ * access branch alone.
705
+ */
706
+ const isProdGateGroupedCorrectly = (input: { collapsedIf: string }): boolean =>
707
+ /\(\(startsWith\(github\.ref, 'refs\/tags\/'\).*\|\| github\.event\.inputs\.access == 'prod'\) &&\s*always\(\)/.test(
708
+ input.collapsedIf,
709
+ );
710
+
711
+ describe('cicd-app-react-native-expo — prod test-gate precedence (silent-break clamp)', () => {
712
+ const readProdIf = (): string => {
713
+ const text = readFileSync(
714
+ `${__dirname}/best-practice/.github/workflows/deploy.yml`,
715
+ 'utf-8',
716
+ );
717
+ // yaml.parse already returns `any`; annotate (not cast) to read the untyped workflow doc, as
718
+ // the peer cicd-service clamp does with its `parsed: any` annotation (no rule.forbid.as-cast cast)
719
+ const parsed: any = yaml.parse(text);
720
+ return (parsed.jobs?.prod?.if ?? '').replace(/\s+/g, ' ').trim();
721
+ };
722
+
723
+ given('[case1] the expo deploy.yml prod job', () => {
724
+ when('[t0] the prod job gates on the test result across every trigger branch', () => {
725
+ then('the two trigger branches sit in one outer group the test-gate binds to', () => {
726
+ const collapsed = readProdIf();
727
+ // guard the shape: an absent `if` leaves collapsed empty, a clean red not a crash
728
+ expect(collapsed.length).toBeGreaterThan(0);
729
+ // teeth: revert the outer paren and isProdGateGroupedCorrectly reddens.
730
+ expect(isProdGateGroupedCorrectly({ collapsedIf: collapsed })).toEqual(
731
+ true,
732
+ );
733
+ });
734
+
735
+ then('the buggy per-branch group (access alone in parens after `||`) is absent', () => {
736
+ // teeth: the precedence bug wraps the access branch in its OWN parens after the `||`
737
+ // (`|| (github.event.inputs.access == 'prod') &&`), which lets the tag branch stand alone.
738
+ // the correct shape leaves the access branch bare inside the outer group.
739
+ expect(readProdIf()).not.toContain(
740
+ "|| (github.event.inputs.access == 'prod') &&",
741
+ );
742
+ });
743
+
744
+ then('the test-result gate itself is present (guards the above from vacuity)', () => {
745
+ expect(readProdIf()).toContain(
746
+ "always() && (needs.test.result == 'success' || needs.test.result == 'skipped')",
747
+ );
748
+ });
749
+ });
750
+
751
+ when('[t1] the emitted prod-job gate is snapshotted for review', () => {
752
+ // the regex + toContain clamps above prove the SHAPE; this snapshots the emitted
753
+ // `if:` gate itself so a reviewer vibechecks the actual precedence group, and any
754
+ // drift (a reword, an operand reshuffle, a lost outer paren) shows as a diff. per
755
+ // rule.require.contract-snapshot-exhaustiveness, and mirrors the peer cicd-service clamp.
756
+ then('the prod job `if:` gate matches snapshot', () => {
757
+ expect(readProdIf()).toMatchSnapshot(
758
+ 'deploy.yml prod job if: (test-gate precedence)',
759
+ );
760
+ });
761
+ });
762
+ });
763
+ });
764
+
765
+ describe('app-react-native-expo — full-usecase evaluation smoke', () => {
766
+ const repoRoot = path.join(__dirname, '../../..');
767
+ const sorted = (input: string[]): string[] => [...input].sort();
768
+
769
+ given('the full-usecase fixture mirrors the real usecase', () => {
770
+ const realPractices = getAllPracticesForUsecase({
771
+ usecasesYmlPath: path.join(repoRoot, 'src/useCases.yml'),
772
+ usecase: 'app-react-native-expo',
773
+ });
774
+ const fixturePractices = getAllPracticesForUsecase({
775
+ usecasesYmlPath: path.join(
776
+ repoRoot,
777
+ 'src/.test/assets/expo-fullusecase/declarations/useCases.yml',
778
+ ),
779
+ usecase: 'app-react-native-expo',
780
+ });
781
+
782
+ when('the fixture practice set is measured against the real one', () => {
783
+ then('the two practice sets are identical (no silent drift)', () => {
784
+ expect(sorted(fixturePractices)).toEqual(sorted(realPractices));
785
+ });
786
+
787
+ then('every fixture practice has a symlink in the declarations dir', () => {
788
+ const symlinked = fixturePractices.filter((practice) =>
789
+ existsSync(
790
+ path.join(
791
+ repoRoot,
792
+ 'src/.test/assets/expo-fullusecase/declarations/practices',
793
+ practice,
794
+ ),
795
+ ),
796
+ );
797
+ expect(sorted(symlinked)).toEqual(sorted(fixturePractices));
798
+ });
799
+ });
800
+ });
801
+
802
+ given('[case1] the app-protools-shaped repo on the full usecase', () => {
803
+ const tempDir = genTempDir({
804
+ slug: 'expo-fullusecase',
805
+ clone: './src/.test/assets/expo-migration/repo-app-protools-shaped',
806
+ symlink: [
807
+ {
808
+ at: 'declarations',
809
+ to: './src/.test/assets/expo-fullusecase/declarations',
810
+ },
811
+ { at: 'node_modules', to: 'node_modules' },
812
+ ],
813
+ });
814
+
815
+ const read = (rel: string) =>
816
+ fs.readFile(path.join(tempDir, rel), 'utf-8').catch(() => null);
817
+
818
+ // useBeforeAll runs the REAL executeApply over the WHOLE 23-practice usecase; if the
819
+ // usecase fails to expand (a variable gap), or a practice fix throws (a collision or
820
+ // ELOOP), this setup throws and every `then` below goes red. so "applies clean" is
821
+ // proven by the setup that completes AND by the config-only artifacts below.
822
+ const state = useBeforeAll(async () => {
823
+ const config = path.join(tempDir, 'declapract.use.yml');
824
+
825
+ // two passes: the dir-migration is a two-pass settle (relocate, then rewrite), and
826
+ // the whole usecase must survive both — the second pass also proves no config-only
827
+ // practice re-flags its own just-applied output (a fix that would loop).
828
+ await executeApply({ config });
829
+ await executeApply({ config });
830
+
831
+ return {
832
+ // a config-only practice ABSENT from the migration subset — proves the 12 extra
833
+ // practices actually ran (the fixture repo has no commitlint config before apply)
834
+ commitlint: await read('commitlint.config.js'),
835
+ // cicd-common (config-only) drops this net-new workflow
836
+ declastructWorkflow: await read('.github/workflows/.declastruct.yml'),
837
+ // the migration-risk practices still land in the full set (a superset apply)
838
+ movedLogic: await read('src/domain.operations/customer/getCustomer.ts'),
839
+ npmrc: await read('.npmrc'),
840
+ };
841
+ }, 230_000);
842
+
843
+ when('[t0] the whole usecase is applied', () => {
844
+ then('the config-only practices ran (commitlint config created)', () => {
845
+ expect(state.commitlint).not.toBeNull();
846
+ });
847
+
848
+ then('cicd-common ran (the declastruct workflow was dropped in)', () => {
849
+ expect(state.declastructWorkflow).not.toBeNull();
850
+ });
851
+
852
+ then('the migration-risk practices still landed (superset apply)', () => {
853
+ expect(state.movedLogic).not.toBeNull();
854
+ expect(state.npmrc).toContain('node-linker=hoisted');
855
+ });
856
+ });
857
+ });
858
+
859
+ given('[case2] a bare create-expo-app scaffold with no src/ at all', () => {
860
+ const tempDir = genTempDir({
861
+ slug: 'expo-fullusecase-greenfield',
862
+ clone: './src/.test/assets/expo-fullusecase/repo-greenfield',
863
+ symlink: [
864
+ {
865
+ at: 'declarations',
866
+ to: './src/.test/assets/expo-fullusecase/declarations',
867
+ },
868
+ { at: 'node_modules', to: 'node_modules' },
869
+ ],
870
+ });
871
+
872
+ const read = (rel: string) =>
873
+ fs.readFile(path.join(tempDir, rel), 'utf-8').catch(() => null);
874
+
875
+ // the greenfield repo holds only package.json + app.json — NO src/ at all. the domain
876
+ // and directory-structure-src EXISTS checks are therefore unmet, so the apply must FLAG
877
+ // them (leave the file absent) WITHOUT a halt or a crash. this useBeforeAll proves the
878
+ // whole 23-practice usecase survives a repo with no src/ tree — the r10 blocker-2 case.
879
+ const state = useBeforeAll(async () => {
880
+ const config = path.join(tempDir, 'declapract.use.yml');
881
+ await executeApply({ config });
882
+ await executeApply({ config });
883
+
884
+ return {
885
+ // config-only practices still drop their net-new files on a bare tree
886
+ commitlint: await read('commitlint.config.js'),
887
+ declastructWorkflow: await read('.github/workflows/.declastruct.yml'),
888
+ // the expo .npmrc hoist still lands on a bare tree (findsert onto an absent file)
889
+ npmrc: await read('.npmrc'),
890
+ // the unmet domain EXISTS check stays absent — flagged, never auto-authored
891
+ domainIndex: await read('src/domain/objects/index.ts'),
892
+ };
893
+ }, 230_000);
894
+
895
+ when('[t0] the whole usecase is applied to a bare no-src repo', () => {
896
+ then('the apply does NOT crash — config-only files still created', () => {
897
+ expect(state.commitlint).not.toBeNull();
898
+ expect(state.declastructWorkflow).not.toBeNull();
899
+ });
900
+
901
+ then('the expo .npmrc hoist still lands on a bare tree', () => {
902
+ expect(state.npmrc).toContain('node-linker=hoisted');
903
+ });
904
+
905
+ then('the unmet domain EXISTS check stays absent (flagged, not auto-authored)', () => {
906
+ expect(state.domainIndex).toBeNull();
907
+ });
908
+ });
909
+ });
910
+ });