tnp 16.0.19 → 16.0.21

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 (377) hide show
  1. package/assets/shared/shared_folder_info.txt +1 -1
  2. package/bin/start.js +275 -275
  3. package/bin/tnp +5 -5
  4. package/bin/tnp-debug +5 -5
  5. package/bin/tnp-debug-brk +4 -4
  6. package/browser/README.md +24 -24
  7. package/browser/esm2022/lib/index.mjs +1 -1
  8. package/browser/esm2022/lib/project/abstract/feature-for-project.mjs +1 -1
  9. package/browser/esm2022/lib/project/abstract/index.mjs +1 -1
  10. package/browser/esm2022/lib/project/abstract/project/index.mjs +1 -1
  11. package/browser/esm2022/lib/project/abstract/project/project.mjs +1 -8
  12. package/browser/esm2022/lib/project/features/package-json/index.mjs +1 -1
  13. package/browser/esm2022/lib/project/features/package-json/package-json-file.mjs +1 -1
  14. package/browser/esm2022/lib/project/features/package-json/package-json.mjs +1 -1
  15. package/browser/esm2022/lib/project/index.mjs +1 -7
  16. package/browser/fesm2022/tnp.mjs +0 -13
  17. package/browser/fesm2022/tnp.mjs.map +1 -1
  18. package/build/Release/better_sqlite3.node +0 -0
  19. package/cli.js +64309 -77599
  20. package/cli.js.map +1 -1
  21. package/client/README.md +24 -24
  22. package/client/esm2022/lib/index.mjs +1 -1
  23. package/client/esm2022/lib/project/abstract/feature-for-project.mjs +1 -1
  24. package/client/esm2022/lib/project/abstract/index.mjs +1 -1
  25. package/client/esm2022/lib/project/abstract/project/index.mjs +1 -1
  26. package/client/esm2022/lib/project/abstract/project/project.mjs +1 -8
  27. package/client/esm2022/lib/project/features/package-json/index.mjs +1 -1
  28. package/client/esm2022/lib/project/features/package-json/package-json-file.mjs +1 -1
  29. package/client/esm2022/lib/project/features/package-json/package-json.mjs +1 -1
  30. package/client/esm2022/lib/project/index.mjs +1 -7
  31. package/client/fesm2022/tnp.mjs +0 -13
  32. package/client/fesm2022/tnp.mjs.map +1 -1
  33. package/client/package.json +72 -64
  34. package/git-log.js.map +1 -1
  35. package/global-typings.js.map +1 -1
  36. package/index.js.map +1 -1
  37. package/lib/console-ui.js.map +1 -1
  38. package/lib/constants.d.ts +1 -0
  39. package/lib/constants.js +7 -1
  40. package/lib/constants.js.map +1 -1
  41. package/lib/environment-config.js.map +1 -1
  42. package/lib/index.js.map +1 -1
  43. package/lib/models.js.map +1 -1
  44. package/lib/project/abstract/feature-compiler-for-project.backend.js.map +1 -1
  45. package/lib/project/abstract/feature-for-project.js.map +1 -1
  46. package/lib/project/abstract/index.js.map +1 -1
  47. package/lib/project/abstract/project/base-project.d.ts +0 -10
  48. package/lib/project/abstract/project/base-project.js +8 -161
  49. package/lib/project/abstract/project/base-project.js.map +1 -1
  50. package/lib/project/abstract/project/buildable-project.js +58 -77
  51. package/lib/project/abstract/project/buildable-project.js.map +1 -1
  52. package/lib/project/abstract/project/cloud-project.js.map +1 -1
  53. package/lib/project/abstract/project/db-process-project.backend.js.map +1 -1
  54. package/lib/project/abstract/project/dependency-project.backend.js +4 -9
  55. package/lib/project/abstract/project/dependency-project.backend.js.map +1 -1
  56. package/lib/project/abstract/project/entity-projects.backend.js.map +1 -1
  57. package/lib/project/abstract/project/feature-project.d.ts +2 -4
  58. package/lib/project/abstract/project/feature-project.js.map +1 -1
  59. package/lib/project/abstract/project/folder-project.d.ts +1 -1
  60. package/lib/project/abstract/project/folder-project.js +4 -12
  61. package/lib/project/abstract/project/folder-project.js.map +1 -1
  62. package/lib/project/abstract/project/index.js.map +1 -1
  63. package/lib/project/abstract/project/lib-project-base.backend.js.map +1 -1
  64. package/lib/project/abstract/project/lib-project-smart-container.backend.js.map +1 -1
  65. package/lib/project/abstract/project/lib-project-standalone.backend.js.map +1 -1
  66. package/lib/project/abstract/project/lib-project-vscode-ext.js.map +1 -1
  67. package/lib/project/abstract/project/lib-project.backend.js +0 -1
  68. package/lib/project/abstract/project/lib-project.backend.js.map +1 -1
  69. package/lib/project/abstract/project/npm-project.js +1 -14
  70. package/lib/project/abstract/project/npm-project.js.map +1 -1
  71. package/lib/project/abstract/project/project.d.ts +1 -3
  72. package/lib/project/abstract/project/project.js +0 -8
  73. package/lib/project/abstract/project/project.js.map +1 -1
  74. package/lib/project/abstract/project/recreatable-project.backend.js +0 -22
  75. package/lib/project/abstract/project/recreatable-project.backend.js.map +1 -1
  76. package/lib/project/abstract/project/router-project.backend.js +13 -33
  77. package/lib/project/abstract/project/router-project.backend.js.map +1 -1
  78. package/lib/project/abstract/project/tnp-project.js +0 -8
  79. package/lib/project/abstract/project/tnp-project.js.map +1 -1
  80. package/lib/project/abstract/project/vscode-project.backend.js +19 -124
  81. package/lib/project/abstract/project/vscode-project.backend.js.map +1 -1
  82. package/lib/project/compilers/assets-list-file-generator/assets-list-file-generator.backend.js.map +1 -1
  83. package/lib/project/compilers/build-isomorphic-lib/code-cut/browser-code-cut.backend.d.ts +8 -3
  84. package/lib/project/compilers/build-isomorphic-lib/code-cut/browser-code-cut.backend.js +99 -20
  85. package/lib/project/compilers/build-isomorphic-lib/code-cut/browser-code-cut.backend.js.map +1 -1
  86. package/lib/project/compilers/build-isomorphic-lib/code-cut/code-cut.backend.js +2 -3
  87. package/lib/project/compilers/build-isomorphic-lib/code-cut/code-cut.backend.js.map +1 -1
  88. package/lib/project/compilers/build-isomorphic-lib/code-cut/cut-fn.backend.js.map +1 -1
  89. package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-backend.backend.js +8 -12
  90. package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-backend.backend.js.map +1 -1
  91. package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-browser.backend.js +0 -1
  92. package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-browser.backend.js.map +1 -1
  93. package/lib/project/compilers/build-isomorphic-lib/compilations/incremental-build-process.backend.d.ts +0 -4
  94. package/lib/project/compilers/build-isomorphic-lib/compilations/incremental-build-process.backend.js +18 -94
  95. package/lib/project/compilers/build-isomorphic-lib/compilations/incremental-build-process.backend.js.map +1 -1
  96. package/lib/project/compilers/framework-file-generator/controllers-generator.backend.js.map +1 -1
  97. package/lib/project/compilers/framework-file-generator/entities-generator.backend.js.map +1 -1
  98. package/lib/project/compilers/framework-file-generator/framework-files-generator.backend.js.map +1 -1
  99. package/lib/project/compilers/framework-file-generator/index.js.map +1 -1
  100. package/lib/project/compilers/index.d.ts +0 -1
  101. package/lib/project/compilers/index.js +0 -1
  102. package/lib/project/compilers/index.js.map +1 -1
  103. package/lib/project/compilers/source-modifier/index.js.map +1 -1
  104. package/lib/project/compilers/source-modifier/source-mod-for-standalone-projects.backend.js +1 -9
  105. package/lib/project/compilers/source-modifier/source-mod-for-standalone-projects.backend.js.map +1 -1
  106. package/lib/project/compilers/source-modifier/source-modifier.backend.d.ts +2 -2
  107. package/lib/project/compilers/source-modifier/source-modifier.backend.js +16 -60
  108. package/lib/project/compilers/source-modifier/source-modifier.backend.js.map +1 -1
  109. package/lib/project/compilers/source-modifier/source-modifier.helpers.backend.js +2 -4
  110. package/lib/project/compilers/source-modifier/source-modifier.helpers.backend.js.map +1 -1
  111. package/lib/project/compilers/source-modifier/source-modifier.models.js.map +1 -1
  112. package/lib/project/features/assets-manager.backend.js.map +1 -1
  113. package/lib/project/features/branding.backend.js.map +1 -1
  114. package/lib/project/features/build-process/build-proces.backend.d.ts +0 -1
  115. package/lib/project/features/build-process/build-proces.backend.js +2 -67
  116. package/lib/project/features/build-process/build-proces.backend.js.map +1 -1
  117. package/lib/project/features/build-process/index.d.ts +0 -1
  118. package/lib/project/features/build-process/index.js +0 -1
  119. package/lib/project/features/build-process/index.js.map +1 -1
  120. package/lib/project/features/build-process/waiting-for-builds-conditions-helpers.backend.js.map +1 -1
  121. package/lib/project/features/compiler-cache.backend.js.map +1 -1
  122. package/lib/project/features/copy-manager/base-copy-manager.backend.d.ts +8 -0
  123. package/lib/project/features/copy-manager/base-copy-manager.backend.js +68 -30
  124. package/lib/project/features/copy-manager/base-copy-manager.backend.js.map +1 -1
  125. package/lib/project/features/copy-manager/bundle-mjs-fesm-module-spliter.backend.js.map +1 -1
  126. package/lib/project/features/copy-manager/copy-manager-helpers.backend.js +1 -1
  127. package/lib/project/features/copy-manager/copy-manager-helpers.backend.js.map +1 -1
  128. package/lib/project/features/copy-manager/copy-manager-organization-angular-files.backend.js.map +1 -1
  129. package/lib/project/features/copy-manager/copy-manager-organization.backend.js +3 -1
  130. package/lib/project/features/copy-manager/copy-manager-organization.backend.js.map +1 -1
  131. package/lib/project/features/copy-manager/copy-manager-standalone.backend.js +4 -2
  132. package/lib/project/features/copy-manager/copy-manager-standalone.backend.js.map +1 -1
  133. package/lib/project/features/copy-manager/copy-manager.backend.js.map +1 -1
  134. package/lib/project/features/copy-manager/index.js.map +1 -1
  135. package/lib/project/features/copy-manager/source-maping-url.backend.js.map +1 -1
  136. package/lib/project/features/copy-manager/typescript-dts-fixer.backend.js.map +1 -1
  137. package/lib/project/features/docs-app-build-config.backend.js.map +1 -1
  138. package/lib/project/features/environment-config/environment-config-helpers.js +28 -9
  139. package/lib/project/features/environment-config/environment-config-helpers.js.map +1 -1
  140. package/lib/project/features/environment-config/environment-config.js +1 -8
  141. package/lib/project/features/environment-config/environment-config.js.map +1 -1
  142. package/lib/project/features/environment-config/example-environment-config.js.map +1 -1
  143. package/lib/project/features/environment-config/index.js.map +1 -1
  144. package/lib/project/features/extension-for-project/extension-for-project.js.map +1 -1
  145. package/lib/project/features/files-recreation/files-factory.backend.js.map +1 -1
  146. package/lib/project/features/files-recreation/files-recreator.d.ts +0 -9
  147. package/lib/project/features/files-recreation/files-recreator.js +14 -163
  148. package/lib/project/features/files-recreation/files-recreator.js.map +1 -1
  149. package/lib/project/features/files-recreation/files-structure.backend.d.ts +0 -1
  150. package/lib/project/features/files-recreation/files-structure.backend.js +25 -44
  151. package/lib/project/features/files-recreation/files-structure.backend.js.map +1 -1
  152. package/lib/project/features/files-recreation/files-templates/base-firedev-file-template.backend.js.map +1 -1
  153. package/lib/project/features/files-recreation/files-templates/file-tmp-for-save.backend.js.map +1 -1
  154. package/lib/project/features/files-recreation/files-templates/firedev-logic-ui-module-template.backend.js.map +1 -1
  155. package/lib/project/features/files-recreation/files-templates/index.js +3 -3
  156. package/lib/project/features/files-recreation/files-templates/index.js.map +1 -1
  157. package/lib/project/features/files-recreation/files-templates.js +2 -2
  158. package/lib/project/features/files-recreation/files-templates.js.map +1 -1
  159. package/lib/project/features/files-recreation/index.js.map +1 -1
  160. package/lib/project/features/git-actions.backend.js +2 -2
  161. package/lib/project/features/git-actions.backend.js.map +1 -1
  162. package/lib/project/features/global-worker-apps.js.map +1 -1
  163. package/lib/project/features/html-to-md.js.map +1 -1
  164. package/lib/project/features/index.d.ts +0 -1
  165. package/lib/project/features/index.js +0 -1
  166. package/lib/project/features/index.js.map +1 -1
  167. package/lib/project/features/inside-structures/inside-struct.js.map +1 -1
  168. package/lib/project/features/inside-structures/inside-structures.js +1 -2
  169. package/lib/project/features/inside-structures/inside-structures.js.map +1 -1
  170. package/lib/project/features/inside-structures/structs/base-inside-struct.js.map +1 -1
  171. package/lib/project/features/inside-structures/structs/index.js.map +1 -1
  172. package/lib/project/features/inside-structures/structs/inside-struct-angular13-app.js +2 -1
  173. package/lib/project/features/inside-structures/structs/inside-struct-angular13-app.js.map +1 -1
  174. package/lib/project/features/inside-structures/structs/inside-struct-angular13-lib.js +1 -1
  175. package/lib/project/features/inside-structures/structs/inside-struct-angular13-lib.js.map +1 -1
  176. package/lib/project/features/inside-structures/structs/inside-struct-constants.js.map +1 -1
  177. package/lib/project/features/inside-structures/structs/inside-struct-helpers.js.map +1 -1
  178. package/lib/project/features/inside-structures/structs/loaders/image-loader.js.map +1 -1
  179. package/lib/project/features/inside-structures/structs/loaders/loader-ids-default.js.map +1 -1
  180. package/lib/project/features/inside-structures/structs/loaders/loader-ids-ellipsis.js.map +1 -1
  181. package/lib/project/features/inside-structures/structs/loaders/loader-ids-facebook.js.map +1 -1
  182. package/lib/project/features/inside-structures/structs/loaders/loader-ids-grid.js.map +1 -1
  183. package/lib/project/features/inside-structures/structs/loaders/loader-ids-heart.js.map +1 -1
  184. package/lib/project/features/inside-structures/structs/loaders/loader-ids-ripple.js.map +1 -1
  185. package/lib/project/features/inside-structures/structs/loaders/loaders.js.map +1 -1
  186. package/lib/project/features/linked-repos.backend.js +2 -2
  187. package/lib/project/features/linked-repos.backend.js.map +1 -1
  188. package/lib/project/features/node-modules/index.js.map +1 -1
  189. package/lib/project/features/node-modules/node-modules-base.backend.d.ts +0 -1
  190. package/lib/project/features/node-modules/node-modules-base.backend.js +29 -62
  191. package/lib/project/features/node-modules/node-modules-base.backend.js.map +1 -1
  192. package/lib/project/features/node-modules/node-modules-core.backend.js +0 -4
  193. package/lib/project/features/node-modules/node-modules-core.backend.js.map +1 -1
  194. package/lib/project/features/node-modules/node-modules-helpers.backend.d.ts +0 -1
  195. package/lib/project/features/node-modules/node-modules-helpers.backend.js +2 -227
  196. package/lib/project/features/node-modules/node-modules-helpers.backend.js.map +1 -1
  197. package/lib/project/features/node-modules/node-modules.js.map +1 -1
  198. package/lib/project/features/npm-packages/index.js.map +1 -1
  199. package/lib/project/features/npm-packages/npm-packages-base.backend.js +3 -15
  200. package/lib/project/features/npm-packages/npm-packages-base.backend.js.map +1 -1
  201. package/lib/project/features/npm-packages/npm-packages-core.backend.js.map +1 -1
  202. package/lib/project/features/npm-packages/npm-packages-helpers.backend.js.map +1 -1
  203. package/lib/project/features/npm-packages/npm-packages.js.map +1 -1
  204. package/lib/project/features/package-json/index.js.map +1 -1
  205. package/lib/project/features/package-json/package-json-base.backend.js +1 -7
  206. package/lib/project/features/package-json/package-json-base.backend.js.map +1 -1
  207. package/lib/project/features/package-json/package-json-core.backend.d.ts +0 -4
  208. package/lib/project/features/package-json/package-json-core.backend.js +0 -67
  209. package/lib/project/features/package-json/package-json-core.backend.js.map +1 -1
  210. package/lib/project/features/package-json/package-json-deps-categories.backend.js.map +1 -1
  211. package/lib/project/features/package-json/package-json-file.js.map +1 -1
  212. package/lib/project/features/package-json/package-json-helpers.backend.js +1 -13
  213. package/lib/project/features/package-json/package-json-helpers.backend.js.map +1 -1
  214. package/lib/project/features/package-json/package-json.js.map +1 -1
  215. package/lib/project/features/package-recognition/packages-recognition.js +1 -1
  216. package/lib/project/features/package-recognition/packages-recognition.js.map +1 -1
  217. package/lib/project/features/proxy-router.d.ts +0 -1
  218. package/lib/project/features/proxy-router.js +0 -17
  219. package/lib/project/features/proxy-router.js.map +1 -1
  220. package/lib/project/features/quick-fixes.js +6 -36
  221. package/lib/project/features/quick-fixes.js.map +1 -1
  222. package/lib/project/features/recent-files.backend.js.map +1 -1
  223. package/lib/project/features/singular-build.backend.js +5 -5
  224. package/lib/project/features/singular-build.backend.js.map +1 -1
  225. package/lib/project/features/smart-node-modules.backend.js +1 -2
  226. package/lib/project/features/smart-node-modules.backend.js.map +1 -1
  227. package/lib/project/features/target-project.backend.js.map +1 -1
  228. package/lib/project/features/test-runner/cypress-test-runner.js.map +1 -1
  229. package/lib/project/features/test-runner/index.js.map +1 -1
  230. package/lib/project/features/test-runner/jest-test-runner.js.map +1 -1
  231. package/lib/project/features/test-runner/mocha-test-runner.js.map +1 -1
  232. package/lib/project/features/webpack-backend-compilation.backend.js.map +1 -1
  233. package/lib/project/index.d.ts +0 -6
  234. package/lib/project/index.js +0 -6
  235. package/lib/project/index.js.map +1 -1
  236. package/lib/project/project-specyfic/index.d.ts +0 -4
  237. package/lib/project/project-specyfic/index.js +0 -4
  238. package/lib/project/project-specyfic/index.js.map +1 -1
  239. package/lib/project/project-specyfic/project-container.d.ts +1 -0
  240. package/lib/project/project-specyfic/project-container.js +10 -14
  241. package/lib/project/project-specyfic/project-container.js.map +1 -1
  242. package/lib/project/project-specyfic/project-docker.js.map +1 -1
  243. package/lib/project/project-specyfic/project-isomorphic-lib.d.ts +0 -1
  244. package/lib/project/project-specyfic/project-isomorphic-lib.js +8 -51
  245. package/lib/project/project-specyfic/project-isomorphic-lib.js.map +1 -1
  246. package/lib/project/project-specyfic/project-navi.js.map +1 -1
  247. package/lib/project/project-specyfic/project-scenario.js.map +1 -1
  248. package/lib/project/project-specyfic/project-unknow-npm.js.map +1 -1
  249. package/lib/project/project-specyfic/project-vscode-ext.js +5 -1
  250. package/lib/project/project-specyfic/project-vscode-ext.js.map +1 -1
  251. package/lib/project/project-specyfic/select-clients.backend.js.map +1 -1
  252. package/lib/scripts/BASH-CONFIG.backend.js.map +1 -1
  253. package/lib/scripts/CLOUD/CLOUD.backend.js.map +1 -1
  254. package/lib/scripts/COMPILERS-TESTING/COMPILERS.backend.d.ts +0 -3
  255. package/lib/scripts/COMPILERS-TESTING/COMPILERS.backend.js +0 -40
  256. package/lib/scripts/COMPILERS-TESTING/COMPILERS.backend.js.map +1 -1
  257. package/lib/scripts/COMPILERS-TESTING/INCREMENTAL-TEST.backend.js.map +1 -1
  258. package/lib/scripts/COMPILERS-TESTING/index.js.map +1 -1
  259. package/lib/scripts/DAEMON.backend.js.map +1 -1
  260. package/lib/scripts/DEPENDENCIES-MANAGEMENT/DEPS.backend.d.ts +0 -2
  261. package/lib/scripts/DEPENDENCIES-MANAGEMENT/DEPS.backend.js +1 -72
  262. package/lib/scripts/DEPENDENCIES-MANAGEMENT/DEPS.backend.js.map +1 -1
  263. package/lib/scripts/DEPENDENCIES-MANAGEMENT/index.js.map +1 -1
  264. package/lib/scripts/HELP.backend.js.map +1 -1
  265. package/lib/scripts/JAVA.backend.js.map +1 -1
  266. package/lib/scripts/NEW-PROJECT_FILES_MODULES/NEW.backend.js +3 -0
  267. package/lib/scripts/NEW-PROJECT_FILES_MODULES/NEW.backend.js.map +1 -1
  268. package/lib/scripts/NEW-PROJECT_FILES_MODULES/index.js.map +1 -1
  269. package/lib/scripts/NEW-PROJECT_FILES_MODULES/project-factory.backend.js.map +1 -1
  270. package/lib/scripts/OTHER.backend.js +0 -1
  271. package/lib/scripts/OTHER.backend.js.map +1 -1
  272. package/lib/scripts/PROJECTS-DEVELOPMENT/BRANDING.backend.js.map +1 -1
  273. package/lib/scripts/PROJECTS-DEVELOPMENT/BUILD.backend.d.ts +1 -0
  274. package/lib/scripts/PROJECTS-DEVELOPMENT/BUILD.backend.js +61 -112
  275. package/lib/scripts/PROJECTS-DEVELOPMENT/BUILD.backend.js.map +1 -1
  276. package/lib/scripts/PROJECTS-DEVELOPMENT/DEVELOP.backend.d.ts +0 -2
  277. package/lib/scripts/PROJECTS-DEVELOPMENT/DEVELOP.backend.js +49 -80
  278. package/lib/scripts/PROJECTS-DEVELOPMENT/DEVELOP.backend.js.map +1 -1
  279. package/lib/scripts/PROJECTS-DEVELOPMENT/FILES_STRUCTURE.d.ts +0 -21
  280. package/lib/scripts/PROJECTS-DEVELOPMENT/FILES_STRUCTURE.js +3 -160
  281. package/lib/scripts/PROJECTS-DEVELOPMENT/FILES_STRUCTURE.js.map +1 -1
  282. package/lib/scripts/PROJECTS-DEVELOPMENT/RELEASE.backend.js +2 -1
  283. package/lib/scripts/PROJECTS-DEVELOPMENT/RELEASE.backend.js.map +1 -1
  284. package/lib/scripts/PROJECTS-DEVELOPMENT/TESTS.js.map +1 -1
  285. package/lib/scripts/PROJECTS-DEVELOPMENT/index.js.map +1 -1
  286. package/lib/scripts/UPDATE.backend.js.map +1 -1
  287. package/lib/scripts/VSCODE-EXT/GIT.backend.js.map +1 -1
  288. package/lib/scripts/VSCODE-EXT/OPEN.backend.d.ts +0 -3
  289. package/lib/scripts/VSCODE-EXT/OPEN.backend.js +0 -42
  290. package/lib/scripts/VSCODE-EXT/OPEN.backend.js.map +1 -1
  291. package/lib/scripts/VSCODE-EXT/VSCODE.backend.js +6 -21
  292. package/lib/scripts/VSCODE-EXT/VSCODE.backend.js.map +1 -1
  293. package/lib/scripts/VSCODE-EXT/index.js.map +1 -1
  294. package/lib/scripts/index.js.map +1 -1
  295. package/lib/templates.js.map +1 -1
  296. package/package.json +25 -26
  297. package/package.json_devDependencies.json +1 -1
  298. package/package.json_tnp.json5 +577 -578
  299. package/paste.vbs +52 -0
  300. package/start.backend.js.map +1 -1
  301. package/tmp-environment.json +78 -72
  302. package/websql/README.md +24 -24
  303. package/websql/esm2022/lib/index.mjs +1 -1
  304. package/websql/esm2022/lib/project/abstract/feature-for-project.mjs +1 -1
  305. package/websql/esm2022/lib/project/abstract/index.mjs +1 -1
  306. package/websql/esm2022/lib/project/abstract/project/index.mjs +1 -1
  307. package/websql/esm2022/lib/project/abstract/project/project.mjs +1 -8
  308. package/websql/esm2022/lib/project/features/package-json/index.mjs +1 -1
  309. package/websql/esm2022/lib/project/features/package-json/package-json-file.mjs +1 -1
  310. package/websql/esm2022/lib/project/features/package-json/package-json.mjs +1 -1
  311. package/websql/esm2022/lib/project/index.mjs +1 -7
  312. package/websql/fesm2022/tnp.mjs +0 -13
  313. package/websql/fesm2022/tnp.mjs.map +1 -1
  314. package/xdg-open +0 -0
  315. package/fsevents.node +0 -0
  316. package/lib/project/abstract/project/site-project.backend.d.ts +0 -19
  317. package/lib/project/abstract/project/site-project.backend.js +0 -138
  318. package/lib/project/abstract/project/site-project.backend.js.map +0 -1
  319. package/lib/project/abstract/project/static-project.backend.d.ts +0 -27
  320. package/lib/project/abstract/project/static-project.backend.js +0 -156
  321. package/lib/project/abstract/project/static-project.backend.js.map +0 -1
  322. package/lib/project/compilers/baseline-site-join/baseline-site-join.backend.d.ts +0 -23
  323. package/lib/project/compilers/baseline-site-join/baseline-site-join.backend.js +0 -247
  324. package/lib/project/compilers/baseline-site-join/baseline-site-join.backend.js.map +0 -1
  325. package/lib/project/compilers/baseline-site-join/files-join-actions.backend.d.ts +0 -9
  326. package/lib/project/compilers/baseline-site-join/files-join-actions.backend.js +0 -43
  327. package/lib/project/compilers/baseline-site-join/files-join-actions.backend.js.map +0 -1
  328. package/lib/project/compilers/baseline-site-join/index.d.ts +0 -2
  329. package/lib/project/compilers/baseline-site-join/index.js +0 -10
  330. package/lib/project/compilers/baseline-site-join/index.js.map +0 -1
  331. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/1_handle-prefixing-file-to-easy-override.backend.d.ts +0 -21
  332. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/1_handle-prefixing-file-to-easy-override.backend.js +0 -56
  333. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/1_handle-prefixing-file-to-easy-override.backend.js.map +0 -1
  334. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/2_handle-refering-to-angular-lib-modules-name.backend.d.ts +0 -21
  335. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/2_handle-refering-to-angular-lib-modules-name.backend.js +0 -43
  336. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/2_handle-refering-to-angular-lib-modules-name.backend.js.map +0 -1
  337. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/3_handle-refering-to-baseline-pathes.backend.d.ts +0 -17
  338. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/3_handle-refering-to-baseline-pathes.backend.js +0 -80
  339. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/3_handle-refering-to-baseline-pathes.backend.js.map +0 -1
  340. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/4_handle-refering-to-new-file-only-available-in-custom.backend.d.ts +0 -16
  341. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/4_handle-refering-to-new-file-only-available-in-custom.backend.js +0 -50
  342. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/4_handle-refering-to-new-file-only-available-in-custom.backend.js.map +0 -1
  343. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/index.d.ts +0 -4
  344. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/index.js +0 -10
  345. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/index.js.map +0 -1
  346. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/modify-ts-file-action-base.backend.d.ts +0 -3
  347. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/modify-ts-file-action-base.backend.js +0 -13
  348. package/lib/project/compilers/baseline-site-join/modify-ts-file-action/modify-ts-file-action-base.backend.js.map +0 -1
  349. package/lib/project/compilers/source-modifier/source-mod-for-site.backend.d.ts +0 -5
  350. package/lib/project/compilers/source-modifier/source-mod-for-site.backend.js +0 -162
  351. package/lib/project/compilers/source-modifier/source-mod-for-site.backend.js.map +0 -1
  352. package/lib/project/compilers/source-modifier/source-mod-for-worspace-childs.backend.d.ts +0 -9
  353. package/lib/project/compilers/source-modifier/source-mod-for-worspace-childs.backend.js +0 -163
  354. package/lib/project/compilers/source-modifier/source-mod-for-worspace-childs.backend.js.map +0 -1
  355. package/lib/project/features/build-process/static-build.d.ts +0 -5
  356. package/lib/project/features/build-process/static-build.js +0 -185
  357. package/lib/project/features/build-process/static-build.js.map +0 -1
  358. package/lib/project/features/workspace-symlinks.d.ts +0 -6
  359. package/lib/project/features/workspace-symlinks.js +0 -89
  360. package/lib/project/features/workspace-symlinks.js.map +0 -1
  361. package/lib/project/project-specyfic/project-angular-client.d.ts +0 -15
  362. package/lib/project/project-specyfic/project-angular-client.js +0 -132
  363. package/lib/project/project-specyfic/project-angular-client.js.map +0 -1
  364. package/lib/project/project-specyfic/project-angular-lib.d.ts +0 -20
  365. package/lib/project/project-specyfic/project-angular-lib.js +0 -207
  366. package/lib/project/project-specyfic/project-angular-lib.js.map +0 -1
  367. package/lib/project/project-specyfic/project-electron-client.d.ts +0 -8
  368. package/lib/project/project-specyfic/project-electron-client.js +0 -58
  369. package/lib/project/project-specyfic/project-electron-client.js.map +0 -1
  370. package/lib/project/project-specyfic/project-ionic-client.d.ts +0 -8
  371. package/lib/project/project-specyfic/project-ionic-client.js +0 -58
  372. package/lib/project/project-specyfic/project-ionic-client.js.map +0 -1
  373. package/lib/project/project-specyfic/project-workspace.d.ts +0 -11
  374. package/lib/project/project-specyfic/project-workspace.js +0 -241
  375. package/lib/project/project-specyfic/project-workspace.js.map +0 -1
  376. package/socket.io.js +0 -9
  377. package/socket.io.js.map +0 -1
@@ -1,247 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BaselineSiteJoin = void 0;
4
- var tslib_1 = require("tslib");
5
- var tnp_core_1 = require("tnp-core");
6
- var tnp_core_2 = require("tnp-core");
7
- var tnp_core_3 = require("tnp-core");
8
- var tnp_core_4 = require("tnp-core");
9
- var tnp_helpers_1 = require("tnp-helpers");
10
- var tnp_config_1 = require("tnp-config");
11
- var chalk_1 = require("chalk");
12
- var abstract_1 = require("../../abstract");
13
- var incremental_compiler_1 = require("incremental-compiler");
14
- var project_1 = require("../../abstract/project");
15
- var files_join_actions_backend_1 = require("./files-join-actions.backend");
16
- var tnp_helpers_2 = require("tnp-helpers");
17
- function optionsBaselineSiteJoin(project) {
18
- var folderPath = void 0;
19
- if (project.isSiteInStrictMode) {
20
- if (project.isWorkspace) {
21
- folderPath = tslib_1.__spreadArray([
22
- tnp_core_3.path.join(project.location, tnp_config_1.config.folder.custom)
23
- ], tslib_1.__read(tslib_1.__spreadArray(tslib_1.__spreadArray(tslib_1.__spreadArray([], tslib_1.__read(project.baseline.customizableFilesAndFolders), false), tslib_1.__read(project.baseline.quickFixes.nodeModulesReplacementsZips), false), tslib_1.__read(project.baseline.node_modules.fixesForNodeModulesPackages), false).map(function (relativeFilePath) {
24
- return tnp_core_3.path.join(project.baseline.location, relativeFilePath);
25
- })), false);
26
- }
27
- if (project.isWorkspaceChildProject) {
28
- folderPath = [
29
- tnp_core_3.path.join(project.location, tnp_config_1.config.folder.custom),
30
- tnp_core_3.path.join(project.baseline.location, tnp_config_1.config.folder.src),
31
- (project.typeIs('angular-lib') && tnp_core_3.path.join(project.baseline.location, tnp_config_1.config.folder.components))
32
- ].filter(function (f) { return !!f; });
33
- }
34
- }
35
- var options = {
36
- folderPath: folderPath,
37
- notifyOnFileUnlink: true
38
- };
39
- // if(project.name === 'simple-site') {
40
- // console.log(options)
41
- // }
42
- return options;
43
- }
44
- var BaselineSiteJoin = exports.BaselineSiteJoin = /** @class */ (function (_super) {
45
- tslib_1.__extends(BaselineSiteJoin, _super);
46
- function BaselineSiteJoin(project) {
47
- var _this = _super.call(this, project, optionsBaselineSiteJoin(project), true) || this;
48
- _this.project = project;
49
- return _this;
50
- }
51
- BaselineSiteJoin.prototype.asyncAction = function (event) {
52
- return tslib_1.__awaiter(this, void 0, void 0, function () {
53
- var absolutePath, relativePath;
54
- return tslib_1.__generator(this, function (_a) {
55
- if (event.eventName === 'unlinkDir') {
56
- absolutePath = event.fileAbsolutePath;
57
- relativePath = this.resolveRelativePath(absolutePath);
58
- if (!relativePath) {
59
- return [2 /*return*/];
60
- }
61
- this.merge(relativePath);
62
- }
63
- return [2 /*return*/];
64
- });
65
- });
66
- };
67
- Object.defineProperty(BaselineSiteJoin.prototype, "syncActionAlreadyMergedFiles", {
68
- /**
69
- * check at start if files in (src|componets) should exisit in site project
70
- */
71
- get: function () {
72
- var _this = this;
73
- var files = [];
74
- files = files.concat(tnp_core_4.glob.sync("".concat(tnp_core_3.path.join(this.project.location, tnp_config_1.config.folder.src), "/**/*.*")));
75
- if (this.project.typeIs('angular-lib')) {
76
- files = files.concat(tnp_core_4.glob.sync("".concat(tnp_core_3.path.join(this.project.location, tnp_config_1.config.folder.components), "/**/*.*")));
77
- }
78
- var genratedFiles = tslib_1.__spreadArray(tslib_1.__spreadArray(tslib_1.__spreadArray(tslib_1.__spreadArray(tslib_1.__spreadArray([], tslib_1.__read(this.project.projectSpecyficIgnoredFiles()), false), tslib_1.__read(this.project.sourceFilesToIgnore()), false), tslib_1.__read(this.project.filesTemplates()), false), tslib_1.__read(this.project.quickFixes.nodeModulesReplacementsZips), false), tslib_1.__read(this.project.node_modules.fixesForNodeModulesPackages), false);
79
- // console.log('genratedFiles', genratedFiles)
80
- // process.exit(0)
81
- // console.log('generated files', genratedFiles);
82
- return files.filter(function (f) {
83
- f = (0, tnp_core_1.crossPlatformPath)(f);
84
- if (tnp_core_3.path.basename(f).startsWith(tnp_helpers_2.BaselineSiteJoinprefix)) {
85
- return false;
86
- }
87
- var relativePath = f.replace(_this.project.location).replace(/^\//, '');
88
- if (genratedFiles.includes(relativePath)) {
89
- return false;
90
- }
91
- return true;
92
- });
93
- },
94
- enumerable: false,
95
- configurable: true
96
- });
97
- BaselineSiteJoin.prototype.syncAction = function (filesAbsolutePathes) {
98
- return tslib_1.__awaiter(this, void 0, void 0, function () {
99
- var index, relativePath;
100
- var _this = this;
101
- return tslib_1.__generator(this, function (_a) {
102
- filesAbsolutePathes = filesAbsolutePathes.concat(this.syncActionAlreadyMergedFiles);
103
- // console.log('syncAction', filesAbsolutePathes)
104
- filesAbsolutePathes = filesAbsolutePathes.map(function (absolutePath) {
105
- return _this.resolveRelativePath(absolutePath);
106
- }).filter(function (f) { return !!f; });
107
- // glob.sync(`${this.project.location}`)
108
- filesAbsolutePathes = tnp_helpers_1.Helpers.arrays.uniqArray(filesAbsolutePathes);
109
- // console.log('relatives', filesAbsolutePathes)
110
- // process.exit(0)
111
- // console.log('filesAbsolutePathes', filesAbsolutePathes)
112
- for (index = 0; index < filesAbsolutePathes.length; index++) {
113
- relativePath = filesAbsolutePathes[index];
114
- // console.log(`= ${relativePath}`)
115
- this.merge(relativePath);
116
- }
117
- return [2 /*return*/];
118
- });
119
- });
120
- };
121
- BaselineSiteJoin.prototype.returnRelativePathIfAllowed = function (relativePath, contactWith) {
122
- var pathToCheck = tnp_core_3.path.join(contactWith, relativePath);
123
- var res = tslib_1.__spreadArray([], tslib_1.__read(this.project.sourceFilesToIgnore()), false).includes(pathToCheck);
124
- if (res) {
125
- // console.log(`ignore: ${pathToCheck}`);
126
- return;
127
- }
128
- return relativePath;
129
- };
130
- BaselineSiteJoin.prototype.resolveRelativePath = function (absolutePath) {
131
- var customPath = tnp_core_3.path.join(this.project.location, tnp_config_1.config.folder.custom);
132
- if (absolutePath.startsWith(customPath)) {
133
- var relativePath = absolutePath.replace(customPath, '').replace(/^\//, '');
134
- return this.returnRelativePathIfAllowed(relativePath, tnp_config_1.config.folder.custom);
135
- }
136
- var baselinePath = tnp_core_3.path.join(this.project.baseline.location);
137
- if (absolutePath.startsWith(baselinePath)) {
138
- var relativePath = absolutePath.replace(baselinePath, '').replace(/^\//, '');
139
- return this.returnRelativePathIfAllowed(relativePath, '');
140
- }
141
- var sitePath = tnp_core_3.path.join(this.project.location);
142
- if (absolutePath.startsWith(sitePath)) {
143
- var relativePath = absolutePath.replace(sitePath, '').replace(/^\//, '');
144
- return this.returnRelativePathIfAllowed(relativePath, '');
145
- }
146
- tnp_helpers_1.Helpers.warn("Unrecognized merge aciton for: ".concat(absolutePath));
147
- };
148
- //#region merge strategy
149
- /**
150
- * relativeBaselineCustomPath -> example src/apps/auth/AuthController.ts
151
- */
152
- BaselineSiteJoin.prototype.merge = function (relativeBaselineCustomPath) {
153
- // console.log('relativeBaselineCustomPath', relativeBaselineCustomPath)
154
- //#region debug
155
- var isDebugMode = tnp_config_1.config.debug.baselineSiteJoin.DEBUG_MERGE_PATHES.includes(relativeBaselineCustomPath);
156
- if (isDebugMode) {
157
- tnp_helpers_1.Helpers.log("[merge] ".concat(tnp_core_1._.times(5, function () { return '\n'; }).join()));
158
- tnp_helpers_1.Helpers.log("[merge] ".concat(chalk_1.default.blue("Baseline/Site modyfication detected...")));
159
- tnp_helpers_1.Helpers.log("[merge] File: ".concat(relativeBaselineCustomPath));
160
- }
161
- //#endregion
162
- var baselineAbsoluteLocation = tnp_core_3.path.join(tnp_helpers_2.HelpersMerge
163
- .pathToBaselineThroughtNodeModules(this.project), relativeBaselineCustomPath);
164
- var baselineFileInCustomPath = tnp_core_3.path.join(tnp_helpers_2.HelpersMerge
165
- .pathToCustom(this.project), relativeBaselineCustomPath);
166
- var joinFilePath = tnp_core_3.path.join(this.project.location, relativeBaselineCustomPath);
167
- var variant;
168
- //#region debug
169
- if (isDebugMode) {
170
- tnp_helpers_1.Helpers.log("[merge] baselineAbsoluteLocation: ".concat(baselineAbsoluteLocation));
171
- tnp_helpers_1.Helpers.log("[merge] baselineFileInCustomPath ".concat(baselineFileInCustomPath));
172
- tnp_helpers_1.Helpers.log("[merge] joinFilePath ".concat(joinFilePath));
173
- }
174
- //#endregion
175
- if (tnp_core_2.fse.existsSync(baselineFileInCustomPath)) {
176
- if (tnp_core_2.fse.existsSync(baselineAbsoluteLocation)) {
177
- variant = 'join';
178
- isDebugMode && tnp_helpers_1.Helpers.log("[merge] ".concat(variant));
179
- tnp_helpers_1.Helpers.copyFile(baselineAbsoluteLocation, tnp_helpers_2.HelpersMerge.getPrefixedPathInJoin(relativeBaselineCustomPath, this.project));
180
- }
181
- else {
182
- variant = 'no-in-baseline';
183
- isDebugMode && tnp_helpers_1.Helpers.log("[merge] ".concat(variant));
184
- tnp_helpers_1.Helpers.removeFileIfExists(tnp_helpers_2.HelpersMerge.getPrefixedPathInJoin(relativeBaselineCustomPath, this.project));
185
- // Helpers.log('after');
186
- }
187
- var replace = tnp_config_1.config.extensions.modificableByReplaceFn.includes(tnp_core_3.path.extname(baselineFileInCustomPath));
188
- var transformTextFn = replace ? this.replacePathFn(relativeBaselineCustomPath) : void 0;
189
- //#region debug
190
- if (isDebugMode)
191
- tnp_helpers_1.Helpers.log("[merge] SOURCE: ".concat(baselineFileInCustomPath, " ,extname: ").concat(tnp_core_3.path.extname(baselineFileInCustomPath)));
192
- if (isDebugMode)
193
- tnp_helpers_1.Helpers.log("[merege] DEST: ".concat(joinFilePath, " ,extname: ").concat(tnp_core_3.path.extname(joinFilePath)));
194
- if (isDebugMode)
195
- tnp_helpers_1.Helpers.log("[merge] Replace fn for ".concat(baselineFileInCustomPath, " = ").concat(!!transformTextFn));
196
- //#endregion
197
- tnp_helpers_1.Helpers.copyFile(baselineFileInCustomPath, joinFilePath, {
198
- transformTextFn: transformTextFn,
199
- debugMode: isDebugMode,
200
- fast: false
201
- });
202
- }
203
- else {
204
- if (tnp_core_2.fse.existsSync(baselineAbsoluteLocation)) {
205
- variant = 'no-in-custom';
206
- isDebugMode && tnp_helpers_1.Helpers.log("[merge] ".concat(variant));
207
- tnp_helpers_1.Helpers.copyFile(baselineAbsoluteLocation, joinFilePath, { fast: true });
208
- tnp_helpers_1.Helpers.removeFileIfExists(tnp_helpers_2.HelpersMerge.getPrefixedPathInJoin(relativeBaselineCustomPath, this.project));
209
- }
210
- else {
211
- variant = 'deleted';
212
- isDebugMode && tnp_helpers_1.Helpers.log("[merge] ".concat(variant));
213
- tnp_helpers_1.Helpers.removeFileIfExists(joinFilePath);
214
- tnp_helpers_1.Helpers.removeFileIfExists(tnp_helpers_2.HelpersMerge.getPrefixedPathInJoin(relativeBaselineCustomPath, this.project));
215
- }
216
- }
217
- //#region debug
218
- if (isDebugMode) {
219
- tnp_helpers_1.Helpers.log("[merge] ".concat(chalk_1.default.blueBright('Baseline/Site modyfication OK '), ", (action: ").concat(variant, ") "));
220
- }
221
- //#endregion
222
- };
223
- BaselineSiteJoin.prototype.replacePathFn = function (relativeBaselineCustomPath) {
224
- var _this = this;
225
- // console.log('relativeBaselineCustomPath', relativeBaselineCustomPath)
226
- return function (input) {
227
- input = _this.replace(input, relativeBaselineCustomPath)._1___handlePrefixingFilesToEasyOverride();
228
- input = _this.replace(input, relativeBaselineCustomPath)._2___handleReferingTOAngularLibModulesName();
229
- input = _this.replace(input, relativeBaselineCustomPath)._3___handleReferingToBaselinePathes();
230
- input = _this.replace(input, relativeBaselineCustomPath)._4___handleReferingToNewFilesOnlyAvailableInCustom();
231
- return input;
232
- };
233
- };
234
- tslib_1.__decorate([
235
- incremental_compiler_1.IncCompiler.methods.AsyncAction(),
236
- tslib_1.__metadata("design:type", Function),
237
- tslib_1.__metadata("design:paramtypes", [incremental_compiler_1.IncCompiler.Change]),
238
- tslib_1.__metadata("design:returntype", Promise)
239
- ], BaselineSiteJoin.prototype, "asyncAction", null);
240
- BaselineSiteJoin = tslib_1.__decorate([
241
- incremental_compiler_1.IncCompiler.Class({ className: 'BaselineSiteJoin' }),
242
- tslib_1.__metadata("design:paramtypes", [project_1.Project])
243
- ], BaselineSiteJoin);
244
- return BaselineSiteJoin;
245
- }(abstract_1.FeatureCompilerForProject));
246
- tnp_helpers_1.Helpers.applyMixins(BaselineSiteJoin, [files_join_actions_backend_1.FilesJoinActions]);
247
- //# sourceMappingURL=baseline-site-join.backend.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"baseline-site-join.backend.js","sourceRoot":"","sources":["../../../../src/lib/project/compilers/baseline-site-join/baseline-site-join.backend.ts"],"names":[],"mappings":";;;;AAAA,qCAAgD;AAChD,qCAA8B;AAC9B,qCAA+B;AAC/B,qCAAgC;AAKhC,2CAAsC;AACtC,yCAAoC;AACpC,+BAA0B;AAC1B,2CAA8E;AAE9E,6DAAmD;AACnD,kDAAiD;AACjD,2EAAgE;AAChE,2CAAmE;AAGnE,SAAS,uBAAuB,CAAC,OAAgB;IAC/C,IAAI,UAAU,GAAsB,KAAK,CAAC,CAAC;IAC3C,IAAI,OAAO,CAAC,kBAAkB,EAAE;QAC9B,IAAI,OAAO,CAAC,WAAW,EAAE;YACvB,UAAU;gBACR,eAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,mBAAM,CAAC,MAAM,CAAC,MAAM,CAAC;8BAC9C,qFACE,OAAO,CAAC,QAAQ,CAAC,2BAA2B,0BAC5C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,2BAA2B,0BACvD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,2BAA2B,UAC5D,GAAG,CAAC,UAAA,gBAAgB;gBACpB,OAAO,eAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAA;YAC/D,CAAC,CAAC,SACH,CAAA;SACF;QACD,IAAI,OAAO,CAAC,uBAAuB,EAAE;YACnC,UAAU,GAAG;gBACX,eAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,mBAAM,CAAC,MAAM,CAAC,MAAM,CAAC;gBACjD,eAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,mBAAM,CAAC,MAAM,CAAC,GAAG,CAAC;gBACvD,CAAC,OA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KAAK,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;iDAEvB,iBAAO;OADxB,gBAAgB,CAiN5B;IAAD,uBAAC;CAAA,AAlND,CACsC,oCAAyB,GAiN9D;AAID,qBAAO,CAAC,WAAW,CAAC,gBAAgB,EAAE,CAAC,6CAAgB,CAAC,CAAC,CAAC"}
@@ -1,9 +0,0 @@
1
- import { BaselineSiteJoin } from './baseline-site-join.backend';
2
- export declare class FilesJoinActions {
3
- replace(this: BaselineSiteJoin, input: string, relativeBaselineCustomPath: string): {
4
- _1___handlePrefixingFilesToEasyOverride(): string;
5
- _2___handleReferingTOAngularLibModulesName(): string;
6
- _3___handleReferingToBaselinePathes(): string;
7
- _4___handleReferingToNewFilesOnlyAvailableInCustom(): string;
8
- };
9
- }
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FilesJoinActions = void 0;
4
- var tnp_config_1 = require("tnp-config");
5
- var tnp_helpers_1 = require("tnp-helpers");
6
- var modify_ts_file_action_1 = require("./modify-ts-file-action");
7
- var FilesJoinActions = /** @class */ (function () {
8
- function FilesJoinActions() {
9
- }
10
- //#region replace in input
11
- FilesJoinActions.prototype.replace = function (input, relativeBaselineCustomPath) {
12
- var self = this;
13
- var debuggin = (tnp_config_1.config.debug.baselineSiteJoin.DEBUG_PATHES.includes(relativeBaselineCustomPath));
14
- if (debuggin)
15
- tnp_helpers_1.Helpers.log("[replace] relativeBaselineCustomPath: ".concat(relativeBaselineCustomPath));
16
- return {
17
- _1___handlePrefixingFilesToEasyOverride: function () {
18
- input = (new modify_ts_file_action_1.HandlePrefixingFileToEasyOverride(self.project, debuggin))
19
- .action(relativeBaselineCustomPath, input);
20
- return input;
21
- },
22
- _2___handleReferingTOAngularLibModulesName: function () {
23
- input = (new modify_ts_file_action_1.HandleReferingToAndularLibModuleName(self.project, debuggin))
24
- .action(relativeBaselineCustomPath, input);
25
- return input;
26
- },
27
- _3___handleReferingToBaselinePathes: function () {
28
- input = (new modify_ts_file_action_1.HandleReferingToBaselinePathes(self.project))
29
- .action(relativeBaselineCustomPath, input);
30
- return input;
31
- },
32
- _4___handleReferingToNewFilesOnlyAvailableInCustom: function () {
33
- input = (new modify_ts_file_action_1.HandleRefereingToNewFileOnlyAvailableInCustom(self.project))
34
- .action(relativeBaselineCustomPath, input);
35
- return input;
36
- },
37
- };
38
- };
39
- return FilesJoinActions;
40
- }());
41
- exports.FilesJoinActions = FilesJoinActions;
42
- // export interface FilesJoinActions extends JoinMerge { }
43
- //# sourceMappingURL=files-join-actions.backend.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"files-join-actions.backend.js","sourceRoot":"","sources":["../../../../src/lib/project/compilers/baseline-site-join/files-join-actions.backend.ts"],"names":[],"mappings":";;;AAIA,yCAAoC;AACpC,2CAAsC;AACtC,iEAKiC;AAGjC;IAAA;IA2CA,CAAC;IAzCC,0BAA0B;IAC1B,kCAAO,GAAP,UAAgC,KAAa,EAAE,0BAAkC;QAC/E,IAAM,IAAI,GAAG,IAAI,CAAC;QAClB,IAAM,QAAQ,GAAG,CAAC,mBAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,YAAY,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAC,CAAC;QACnG,IAAI,QAAQ;YAAE,qBAAO,CAAC,GAAG,CAAC,gDAAyC,0BAA0B,CAAE,CAAC,CAAA;QAEhG,OAAO;YAGL,uCAAuC;gBACrC,KAAK,GAAG,CAAC,IAAI,yDAAiC,CAAC,IAAI,CAAC,OAAkB,EAAE,QAAQ,CAAC,CAAC;qBAC/E,MAAM,CAAC,0BAA0B,EAAE,KAAK,CAAC,CAAC;gBAC7C,OAAO,KAAK,CAAC;YACf,CAAC;YAGD,0CAA0C;gBACxC,KAAK,GAAG,CAAC,IAAI,4DAAoC,CAAC,IAAI,CAAC,OAAkB,EAAE,QAAQ,CAAC,CAAC;qBAClF,MAAM,CAAC,0BAA0B,EAAE,KAAK,CAAC,CAAC;gBAC7C,OAAO,KAAK,CAAC;YACf,CAAC;YAGD,mCAAmC;gBACjC,KAAK,GAAG,CAAC,IAAI,sDAA8B,CAAC,IAAI,CAAC,OAAkB,CAAC,CAAC;qBAClE,MAAM,CAAC,0BAA0B,EAAE,KAAK,CAAC,CAAC;gBAC7C,OAAO,KAAK,CAAC;YACf,CAAC;YAGD,kDAAkD;gBAChD,KAAK,GAAG,CAAC,IAAI,qEAA6C,CAAC,IAAI,CAAC,OAAkB,CAAC,CAAC;qBACjF,MAAM,CAAC,0BAA0B,EAAE,KAAK,CAAC,CAAC;gBAC7C,OAAO,KAAK,CAAC;YACf,CAAC;SAGF,CAAA;IAEH,CAAC;IAEH,uBAAC;AAAD,CAAC,AA3CD,IA2CC;AA3CY,4CAAgB;AA6C7B,0DAA0D"}
@@ -1,2 +0,0 @@
1
- export * from './baseline-site-join.backend';
2
- export { HelpersMerge } from 'tnp-helpers';
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HelpersMerge = void 0;
4
- var tslib_1 = require("tslib");
5
- //#region @backend
6
- tslib_1.__exportStar(require("./baseline-site-join.backend"), exports);
7
- var tnp_helpers_1 = require("tnp-helpers");
8
- Object.defineProperty(exports, "HelpersMerge", { enumerable: true, get: function () { return tnp_helpers_1.HelpersMerge; } });
9
- //#endregion
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/project/compilers/baseline-site-join/index.ts"],"names":[],"mappings":";;;;AAAA,kBAAkB;AAClB,uEAA6C;AAC7C,2CAA2C;AAAlC,2GAAA,YAAY,OAAA;AACrB,YAAY"}
@@ -1,21 +0,0 @@
1
- import { ModifyTsFileActionBase } from './modify-ts-file-action-base.backend';
2
- import { Project } from '../../../abstract/project/project';
3
- /**
4
- * Replace imports/export
5
- * Scope: current files baseline path in current generated file
6
- * Example:
7
- * File: exmpale.ts
8
- * Code change:
9
- * From : `import {..} from 'baseline/exapmle.ts`
10
- * To : `import {..} from './__exapmle.ts`
11
- *
12
- * Notes:
13
- * Problem1 : If import `import {..} from 'baseline/exapmle.ts` is included in different files
14
- * than example.ts it is not going to be excluded
15
- */
16
- export declare class HandlePrefixingFileToEasyOverride extends ModifyTsFileActionBase {
17
- project: Project;
18
- private debuggin;
19
- constructor(project: Project, debuggin: boolean);
20
- action(relativeBaselineCustomPath: any, input: any): any;
21
- }
@@ -1,56 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HandlePrefixingFileToEasyOverride = void 0;
4
- var tslib_1 = require("tslib");
5
- var tnp_core_1 = require("tnp-core");
6
- var modify_ts_file_action_base_backend_1 = require("./modify-ts-file-action-base.backend");
7
- var tnp_helpers_1 = require("tnp-helpers");
8
- var tnp_helpers_2 = require("tnp-helpers");
9
- //#endregion
10
- /**
11
- * Replace imports/export
12
- * Scope: current files baseline path in current generated file
13
- * Example:
14
- * File: exmpale.ts
15
- * Code change:
16
- * From : `import {..} from 'baseline/exapmle.ts`
17
- * To : `import {..} from './__exapmle.ts`
18
- *
19
- * Notes:
20
- * Problem1 : If import `import {..} from 'baseline/exapmle.ts` is included in different files
21
- * than example.ts it is not going to be excluded
22
- */
23
- var HandlePrefixingFileToEasyOverride = /** @class */ (function (_super) {
24
- tslib_1.__extends(HandlePrefixingFileToEasyOverride, _super);
25
- function HandlePrefixingFileToEasyOverride(project, debuggin) {
26
- var _this = _super.call(this) || this;
27
- _this.project = project;
28
- _this.debuggin = debuggin;
29
- return _this;
30
- }
31
- HandlePrefixingFileToEasyOverride.prototype.action = function (relativeBaselineCustomPath, input) {
32
- var baselineFilePathNoExit = tnp_helpers_1.Helpers.path.removeExtension(relativeBaselineCustomPath);
33
- if (this.debuggin) {
34
- tnp_helpers_1.Helpers.log("[replace][1] baselineFilePathNoExit: ".concat(baselineFilePathNoExit));
35
- }
36
- var toReplaceImportPath = tnp_helpers_1.Helpers.escapeStringForRegEx("".concat(tnp_core_1.path.join(tnp_helpers_2.HelpersMerge.pathToBaselineNodeModulesRelative(this.project)
37
- .replace(/\//g, '//'), baselineFilePathNoExit)));
38
- var replacement = "./".concat(tnp_helpers_2.HelpersMerge.getPrefixedBasename(baselineFilePathNoExit));
39
- // if (debuggin) Helpers.log(`toReplaceImportPath: ${toReplaceImportPath}`)
40
- if (this.debuggin) {
41
- tnp_helpers_1.Helpers.log("[replace][1] replacement: ".concat(replacement));
42
- }
43
- var replaceRegex = new RegExp("(\"|')".concat(toReplaceImportPath, "(\"|')"), 'g');
44
- if (this.debuggin) {
45
- tnp_helpers_1.Helpers.log("[replace][1] replaceRegex: ".concat(replaceRegex.source));
46
- }
47
- input = input.replace(replaceRegex, "'".concat(replacement, "'"));
48
- if (this.debuggin) {
49
- tnp_helpers_1.Helpers.log("\n[replace][1] result input:\n".concat(tnp_helpers_1.Helpers.terminalLine(), "\n ").concat(input, "\n").concat(tnp_helpers_1.Helpers.terminalLine(), "\n "));
50
- }
51
- return input;
52
- };
53
- return HandlePrefixingFileToEasyOverride;
54
- }(modify_ts_file_action_base_backend_1.ModifyTsFileActionBase));
55
- exports.HandlePrefixingFileToEasyOverride = HandlePrefixingFileToEasyOverride;
56
- //# sourceMappingURL=1_handle-prefixing-file-to-easy-override.backend.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"1_handle-prefixing-file-to-easy-override.backend.js","sourceRoot":"","sources":["../../../../../src/lib/project/compilers/baseline-site-join/modify-ts-file-action/1_handle-prefixing-file-to-easy-override.backend.ts"],"names":[],"mappings":";;;;AAEA,qCAA+B;AAC/B,2FAA8E;AAC9E,2CAAsC;AACtC,2CAA2C;AAE3C,YAAY;AAEZ;;;;;;;;;;;;GAYG;AACH;IAAuD,6DAAsB;IAC3E,2CAAmB,OAAgB,EAAU,QAAiB;QAA9D,YACE,iBAAO,SACR;QAFkB,aAAO,GAAP,OAAO,CAAS;QAAU,cAAQ,GAAR,QAAQ,CAAS;;IAE9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8EAAiC"}
@@ -1,21 +0,0 @@
1
- import { ModifyTsFileActionBase } from './modify-ts-file-action-base.backend';
2
- import { Project } from '../../../index';
3
- /**
4
- * FIST PROBLEM:
5
- * Handle situation when in site you are refering to angular-lib baseline module
6
- * ex:
7
- * `import { Helpers } from 'angular-lib-name/(components/module/browser/dist)/helpers-path'`
8
- * <- will be repaled do browser ->
9
- *
10
- * SECOND PROBLEM:
11
- * Handle situation when in site you are refering to angular-lib baseline module
12
- * ex:
13
- * `import { Helpers } from 'baseline-name/angular-lib-name/(components/module/browser/dist)/helpers-path'`
14
- * <- will be repaled do browser ->
15
- */
16
- export declare class HandleReferingToAndularLibModuleName extends ModifyTsFileActionBase {
17
- project: Project;
18
- private debuggin;
19
- constructor(project: Project, debuggin: boolean);
20
- action(relativeBaselineCustomPath: any, input: any): any;
21
- }
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HandleReferingToAndularLibModuleName = void 0;
4
- var tslib_1 = require("tslib");
5
- var modify_ts_file_action_base_backend_1 = require("./modify-ts-file-action-base.backend");
6
- var tnp_helpers_1 = require("tnp-helpers");
7
- /**
8
- * FIST PROBLEM:
9
- * Handle situation when in site you are refering to angular-lib baseline module
10
- * ex:
11
- * `import { Helpers } from 'angular-lib-name/(components/module/browser/dist)/helpers-path'`
12
- * <- will be repaled do browser ->
13
- *
14
- * SECOND PROBLEM:
15
- * Handle situation when in site you are refering to angular-lib baseline module
16
- * ex:
17
- * `import { Helpers } from 'baseline-name/angular-lib-name/(components/module/browser/dist)/helpers-path'`
18
- * <- will be repaled do browser ->
19
- */
20
- var HandleReferingToAndularLibModuleName = /** @class */ (function (_super) {
21
- tslib_1.__extends(HandleReferingToAndularLibModuleName, _super);
22
- function HandleReferingToAndularLibModuleName(project, debuggin) {
23
- var _this = _super.call(this) || this;
24
- _this.project = project;
25
- _this.debuggin = debuggin;
26
- return _this;
27
- }
28
- HandleReferingToAndularLibModuleName.prototype.action = function (relativeBaselineCustomPath, input) {
29
- // Helpers.log(`relativeBaselineCustomPath: "${relativeBaselineCustomPath}"`)
30
- if (this.project.isWorkspaceChildProject) {
31
- // if(!this.project) {
32
- // console.trace('HERE')
33
- // }
34
- input = this.project.sourceModifier.process(input, relativeBaselineCustomPath);
35
- }
36
- if (this.debuggin)
37
- tnp_helpers_1.Helpers.log("\n[replace][2] result input:\n".concat(tnp_helpers_1.Helpers.terminalLine(), "\n ").concat(input, "\n").concat(tnp_helpers_1.Helpers.terminalLine(), "\n "));
38
- return input;
39
- };
40
- return HandleReferingToAndularLibModuleName;
41
- }(modify_ts_file_action_base_backend_1.ModifyTsFileActionBase));
42
- exports.HandleReferingToAndularLibModuleName = HandleReferingToAndularLibModuleName;
43
- //# sourceMappingURL=2_handle-refering-to-angular-lib-modules-name.backend.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"2_handle-refering-to-angular-lib-modules-name.backend.js","sourceRoot":"","sources":["../../../../../src/lib/project/compilers/baseline-site-join/modify-ts-file-action/2_handle-refering-to-angular-lib-modules-name.backend.ts"],"names":[],"mappings":";;;;AAKA,2FAA8E;AAC9E,2CAAsC;AAGtC;;;;;;;;;;;;GAYG;AACH;IAA0D,gEAAsB;IAC9E,8CAAmB,OAAgB,EAAU,QAAiB;QAA9D,YACE,iBAAO,SACR;QAFkB,aAAO,GAAP,OAAO,CAAS;QAAU,cAAQ,GAAR,QAAQ,CAAS;;IAE9D,CAAC;IAED,qDAAM,GAAN,UAAO,0BAA0B,EAAE,KAAK;QACtC,6EAA6E;QAC7E,IAAI,IAAI,CAAC,OAAO,CAAC,uBAAuB,EAAE;YACxC,sBAAsB;YACtB,0BAA0B;YAC1B,IAAI;YACJ,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAAC;SAChF;QACD,IAAI,IAAI,CAAC,QAAQ;YAAE,qBAAO,CAAC,GAAG,CAAC,wCAEjC,qBAAO,CAAC,YAAY,EAAE,iBACpB,KAAK,eACP,qBAAO,CAAC,YAAY,EAAE,SACrB,CAAC,CAAA;QACA,OAAO,KAAK,CAAC;IACf,CAAC;IAEH,2CAAC;AAAD,CAAC,AAtBD,CAA0D,2DAAsB,GAsB/E;AAtBY,oFAAoC"}
@@ -1,17 +0,0 @@
1
- import { ModifyTsFileActionBase } from './modify-ts-file-action-base.backend';
2
- import { Project } from '../../../abstract/project';
3
- /**
4
- * Same thing like in currentFilePath() but:
5
- * - handle situation like in Problem1;
6
- * - handle situation when in your custom files you are referening to custom files
7
- */
8
- export declare class HandleReferingToBaselinePathes extends ModifyTsFileActionBase {
9
- project: Project;
10
- constructor(project: Project);
11
- action(relativeBaselineCustomPath: any, input: any): any;
12
- /**
13
- * "baseline/ss-common-logic/src/db-mocks";
14
- * |<--------->|
15
- */
16
- getPattern(input: string, tmpPathToBaselineNodeModulesRelative: string, debuggin: boolean): RegExpMatchArray;
17
- }
@@ -1,80 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HandleReferingToBaselinePathes = void 0;
4
- var tslib_1 = require("tslib");
5
- var tnp_core_1 = require("tnp-core");
6
- var modify_ts_file_action_base_backend_1 = require("./modify-ts-file-action-base.backend");
7
- var tnp_helpers_1 = require("tnp-helpers");
8
- var tnp_helpers_2 = require("tnp-helpers");
9
- var tnp_config_1 = require("tnp-config");
10
- /**
11
- * Same thing like in currentFilePath() but:
12
- * - handle situation like in Problem1;
13
- * - handle situation when in your custom files you are referening to custom files
14
- */
15
- var HandleReferingToBaselinePathes = /** @class */ (function (_super) {
16
- tslib_1.__extends(HandleReferingToBaselinePathes, _super);
17
- function HandleReferingToBaselinePathes(project) {
18
- var _this = _super.call(this) || this;
19
- _this.project = project;
20
- return _this;
21
- }
22
- HandleReferingToBaselinePathes.prototype.action = function (relativeBaselineCustomPath, input) {
23
- var _this = this;
24
- relativeBaselineCustomPath = "/".concat(relativeBaselineCustomPath);
25
- var debuggin = (tnp_config_1.config.debug.baselineSiteJoin.DEBUG_PATHES
26
- .includes(relativeBaselineCustomPath));
27
- if (debuggin)
28
- tnp_helpers_1.Helpers.log("\n\n relativeBaselineCustomPath:".concat(relativeBaselineCustomPath, "\n\n\n "));
29
- var levelBack = relativeBaselineCustomPath.split('/').length - 3;
30
- var levelBackPath = tnp_core_1._.times(levelBack, function () { return '../'; }).join('').replace(/\/$/g, '');
31
- if (debuggin)
32
- tnp_helpers_1.Helpers.log("[replace][3] Level back for ".concat(relativeBaselineCustomPath, " is ").concat(levelBack, " ").concat(levelBackPath));
33
- var tmpPathToBaselineNodeModulesRelative = tnp_helpers_1.Helpers
34
- .escapeStringForRegEx(tnp_helpers_2.HelpersMerge.pathToBaselineNodeModulesRelative(this.project));
35
- debuggin && tnp_helpers_1.Helpers.log("[replace][3] tmpPathToBaselineNodeModulesRelative: ".concat(tmpPathToBaselineNodeModulesRelative));
36
- var patterns = this.getPattern(input, tmpPathToBaselineNodeModulesRelative, debuggin);
37
- if (debuggin)
38
- tnp_helpers_1.Helpers.log("[replace][3] recognized patterns\n\n ".concat(tnp_core_1._.isArray(patterns) && patterns.map(function (d) { return "\t".concat(d); }).join('\n'), "\n "));
39
- if (Array.isArray(patterns) && patterns.length >= 1) {
40
- patterns.forEach(function (pathToReplaceInInput) {
41
- if (debuggin)
42
- tnp_helpers_1.Helpers.log("[replace][3] PATTERN IN INPUT ".concat(pathToReplaceInInput));
43
- if (debuggin)
44
- tnp_helpers_1.Helpers.log("[replace][3] BASELINE: ".concat(tnp_helpers_2.HelpersMerge.pathToBaselineNodeModulesRelative(_this.project)));
45
- var patternWithoutBaselinePart = pathToReplaceInInput
46
- .replace(tnp_helpers_2.HelpersMerge.pathToBaselineNodeModulesRelative(_this.project), '');
47
- if (debuggin)
48
- tnp_helpers_1.Helpers.log("[replace][3] PATTERN WITHOUT BASELINE:".concat(patternWithoutBaselinePart));
49
- if (debuggin)
50
- tnp_helpers_1.Helpers.log("[replace][3] pathPart = ".concat(tnp_config_1.config.regexString.pathPartStringRegex));
51
- patternWithoutBaselinePart = tnp_helpers_1.Helpers.path.removeRootFolder(patternWithoutBaselinePart);
52
- if (debuggin)
53
- tnp_helpers_1.Helpers.log("[replace][3] PATTERN WITHOUT BASELINE no path part : ".concat(patternWithoutBaselinePart));
54
- var toReplace = "".concat(levelBackPath).concat(patternWithoutBaselinePart);
55
- if (debuggin)
56
- tnp_helpers_1.Helpers.log("[replace][3] toReplace:".concat(toReplace));
57
- input = input.replace(pathToReplaceInInput, ".".concat(toReplace).replace('...', '..'));
58
- });
59
- }
60
- if (debuggin)
61
- tnp_helpers_1.Helpers.log("\n[replace][3] result input:\n".concat(tnp_helpers_1.Helpers.terminalLine(), "\n ").concat(input, "\n").concat(tnp_helpers_1.Helpers.terminalLine(), "\n "));
62
- return input;
63
- };
64
- /**
65
- * "baseline/ss-common-logic/src/db-mocks";
66
- * |<--------->|
67
- */
68
- HandleReferingToBaselinePathes.prototype.getPattern = function (input, tmpPathToBaselineNodeModulesRelative, debuggin) {
69
- if (debuggin)
70
- tnp_helpers_1.Helpers.log("[replace][3] pathPart ".concat(tnp_config_1.config.regexString.pathPartStringRegex));
71
- var baselineRegex = "".concat(tmpPathToBaselineNodeModulesRelative).concat(tnp_config_1.config.regexString.pathPartStringRegex, "*");
72
- if (debuggin)
73
- tnp_helpers_1.Helpers.log("[replace][3] \nbaselineRegex: ".concat(baselineRegex));
74
- var patterns = input.match(new RegExp(baselineRegex, 'g'));
75
- return patterns;
76
- };
77
- return HandleReferingToBaselinePathes;
78
- }(modify_ts_file_action_base_backend_1.ModifyTsFileActionBase));
79
- exports.HandleReferingToBaselinePathes = HandleReferingToBaselinePathes;
80
- //# sourceMappingURL=3_handle-refering-to-baseline-pathes.backend.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"3_handle-refering-to-baseline-pathes.backend.js","sourceRoot":"","sources":["../../../../../src/lib/project/compilers/baseline-site-join/modify-ts-file-action/3_handle-refering-to-baseline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AAC,CAAA;gBAChE,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,oBAAoB,EAAE,WAAI,SAAS,CAAE,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAA;YACnF,CAAC,CAAC,CAAA;SACH;QACD,IAAI,QAAQ;YAAE,qBAAO,CAAC,GAAG,CAAC,wCAE5B,qBAAO,CAAC,YAAY,EAAE,mBAClB,KAAK,eACT,qBAAO,CAAC,YAAY,EAAE,WACnB,CAAC,CAAA;QACF,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;;OAGG;IACH,mDAAU,GAAV,UAAW,KAAa,EAAE,oCAA4C,EACpE,QAAiB;QAEjB,IAAI,QAAQ;YAAE,qBAAO,CAAC,GAAG,CAAC,gCAAyB,mBAAM,CAAC,WAAW,CAAC,mBAAmB,CAAE,CAAC,CAAA;QAC5F,IAAM,aAAa,GAAG,UAAG,oCAAoC,SAAG,mBAAM,CAAC,WAAW,CAAC,mBAAmB,MAAG,CAAA;QACzG,IAAI,QAAQ;YAAE,qBAAO,CAAC,GAAG,CAAC,wCAAiC,aAAa,CAAE,CAAC,CAAA;QAC3E,IAAI,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC,CAAA;QAC1D,OAAO,QAAQ,CAAC;IAClB,CAAC;IAEH,qCAAC;AAAD,CAAC,AAxED,CAAoD,2DAAsB,GAwEzE;AAxEY,wEAA8B"}
@@ -1,16 +0,0 @@
1
- import { ModifyTsFileActionBase } from './modify-ts-file-action-base.backend';
2
- import { Project } from '../../../index';
3
- /**
4
- * Prefixed replacement
5
- *
6
- * Example:
7
- *
8
- * Files:
9
- * - site: custom/src/example/totaly-new-file.ts
10
- * - site: src/app.ts => is refereing to 'totaly-new-file.ts' which is new file only available in site/custom
11
- */
12
- export declare class HandleRefereingToNewFileOnlyAvailableInCustom extends ModifyTsFileActionBase {
13
- project: Project;
14
- constructor(project: Project);
15
- action(relativeBaselineCustomPath: any, input: any): any;
16
- }