tnp 19.0.19 → 19.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.
- package/browser/fesm2022/tnp.mjs +2 -4
- package/browser/fesm2022/tnp.mjs.map +1 -1
- package/browser/lib/build-info._auto-generated_.d.ts +1 -1
- package/browser/lib/models.d.ts +9 -0
- package/browser/lib/project/abstract/artifacts/angular-node-app/artifact-angular-node-app.d.ts +0 -1
- package/browser/lib/project/abstract/artifacts/angular-node-app/tools/assets-manager.d.ts +1 -1
- package/browser/lib/project/abstract/artifacts/base-artifact.d.ts +1 -0
- package/browser/lib/project/abstract/artifacts/docs-webapp/artifact-docs-webapp.d.ts +1 -0
- package/browser/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/base-copy-manager.d.ts +1 -1
- package/browser/lib/project/abstract/git.d.ts +1 -0
- package/browser/lib/project/abstract/taonJson.d.ts +1 -0
- package/browser/package.json +1 -1
- package/cli.js +840 -602
- package/client/fesm2022/tnp.mjs +2 -4
- package/client/fesm2022/tnp.mjs.map +1 -1
- package/client/lib/build-info._auto-generated_.d.ts +1 -1
- package/client/lib/models.d.ts +9 -0
- package/client/lib/project/abstract/artifacts/angular-node-app/artifact-angular-node-app.d.ts +0 -1
- package/client/lib/project/abstract/artifacts/angular-node-app/tools/assets-manager.d.ts +1 -1
- package/client/lib/project/abstract/artifacts/base-artifact.d.ts +1 -0
- package/client/lib/project/abstract/artifacts/docs-webapp/artifact-docs-webapp.d.ts +1 -0
- package/client/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/base-copy-manager.d.ts +1 -1
- package/client/lib/project/abstract/git.d.ts +1 -0
- package/client/lib/project/abstract/taonJson.d.ts +1 -0
- package/client/package.json +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/build-options.d.ts +164 -0
- package/lib/build-options.js +198 -0
- package/lib/build-options.js.map +1 -0
- package/lib/constants.js +1 -3
- package/lib/constants.js.map +1 -1
- package/lib/helpers.js +2 -2
- package/lib/models.d.ts +9 -0
- package/lib/models.js.map +1 -1
- package/lib/project/abstract/artifacts/__helpers__/environment-config/environment-config-helpers.d.ts +3 -5
- package/lib/project/abstract/artifacts/__helpers__/environment-config/environment-config-helpers.js +62 -76
- package/lib/project/abstract/artifacts/__helpers__/environment-config/environment-config-helpers.js.map +1 -1
- package/lib/project/abstract/artifacts/angular-node-app/artifact-angular-node-app.d.ts +0 -1
- package/lib/project/abstract/artifacts/angular-node-app/artifact-angular-node-app.js +20 -31
- package/lib/project/abstract/artifacts/angular-node-app/artifact-angular-node-app.js.map +1 -1
- package/lib/project/abstract/artifacts/angular-node-app/tools/assets-manager.backend.d.ts +5 -0
- package/lib/project/abstract/artifacts/angular-node-app/tools/assets-manager.backend.js +111 -0
- package/lib/project/abstract/artifacts/angular-node-app/tools/assets-manager.backend.js.map +1 -0
- package/lib/project/abstract/artifacts/angular-node-app/tools/assets-manager.js +6 -55
- package/lib/project/abstract/artifacts/angular-node-app/tools/assets-manager.js.map +1 -1
- package/lib/project/abstract/artifacts/angular-node-app/tools/basename-manager.js +3 -1
- package/lib/project/abstract/artifacts/angular-node-app/tools/basename-manager.js.map +1 -1
- package/lib/project/abstract/artifacts/artifact-angular-node-app/artifact-angular-node-app.d.ts +9 -0
- package/lib/project/abstract/artifacts/artifact-angular-node-app/index.d.ts +1 -0
- package/lib/project/abstract/artifacts/artifact-angular-node-app copy.d.ts +7 -0
- package/lib/project/abstract/artifacts/artifact-angular-node-app copy.js +62 -0
- package/lib/project/abstract/artifacts/artifact-angular-node-app copy.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-angular-node-app.d.ts +9 -0
- package/lib/project/abstract/artifacts/artifact-angular-node-app.js +62 -0
- package/lib/project/abstract/artifacts/artifact-angular-node-app.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-angular-webapp.d.ts +7 -0
- package/lib/project/abstract/artifacts/artifact-angular-webapp.js +62 -0
- package/lib/project/abstract/artifacts/artifact-angular-webapp.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-docs-webapp.d.ts +7 -0
- package/lib/project/abstract/artifacts/artifact-docs-webapp.js +5 -0
- package/lib/project/abstract/artifacts/artifact-docs-webapp.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-electron-app copy.d.ts +1 -0
- package/lib/project/abstract/artifacts/artifact-electron-app copy.js +5 -0
- package/lib/project/abstract/artifacts/artifact-electron-app copy.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-electron-app.d.ts +8 -0
- package/lib/project/abstract/artifacts/artifact-electron-app.js +5 -0
- package/lib/project/abstract/artifacts/artifact-electron-app.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-lib-cli.d.ts +1 -0
- package/lib/project/abstract/artifacts/artifact-lib-cli.js +5 -0
- package/lib/project/abstract/artifacts/artifact-lib-cli.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-lib-with-cli.d.ts +1 -0
- package/lib/project/abstract/artifacts/artifact-lib-with-cli.js +5 -0
- package/lib/project/abstract/artifacts/artifact-lib-with-cli.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-mk-docs-webapp.d.ts +7 -0
- package/lib/project/abstract/artifacts/artifact-mobile-app copy.d.ts +1 -0
- package/lib/project/abstract/artifacts/artifact-mobile-app copy.js +5 -0
- package/lib/project/abstract/artifacts/artifact-mobile-app copy.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-mobile-app.d.ts +7 -0
- package/lib/project/abstract/artifacts/artifact-mobile-app.js +5 -0
- package/lib/project/abstract/artifacts/artifact-mobile-app.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-npm-lib-and-cli-tool.d.ts +25 -0
- package/lib/project/abstract/artifacts/artifact-npm-lib-and-cli-tool.js +5 -0
- package/lib/project/abstract/artifacts/artifact-npm-lib-and-cli-tool.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-npm-lib-and-cli.d.ts +1 -0
- package/lib/project/abstract/artifacts/artifact-npm-lib-and-cli.js +5 -0
- package/lib/project/abstract/artifacts/artifact-npm-lib-and-cli.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-vscode-ext copy.d.ts +1 -0
- package/lib/project/abstract/artifacts/artifact-vscode-ext copy.js +5 -0
- package/lib/project/abstract/artifacts/artifact-vscode-ext copy.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-vscode-ext.d.ts +1 -0
- package/lib/project/abstract/artifacts/artifact-vscode-ext.js +5 -0
- package/lib/project/abstract/artifacts/artifact-vscode-ext.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-vscode-plugin copy.d.ts +1 -0
- package/lib/project/abstract/artifacts/artifact-vscode-plugin copy.js +5 -0
- package/lib/project/abstract/artifacts/artifact-vscode-plugin copy.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-vscode-plugin.d.ts +9 -0
- package/lib/project/abstract/artifacts/artifact-vscode-plugin.js +5 -0
- package/lib/project/abstract/artifacts/artifact-vscode-plugin.js.map +1 -0
- package/lib/project/abstract/artifacts/artifact-webapp.d.ts +1 -0
- package/lib/project/abstract/artifacts/artifact-webapp.js +5 -0
- package/lib/project/abstract/artifacts/artifact-webapp.js.map +1 -0
- package/lib/project/abstract/artifacts/artifacts-helpers.d.ts +2 -0
- package/lib/project/abstract/artifacts/base-artifact.d.ts +1 -0
- package/lib/project/abstract/artifacts/base-artifact.js +29 -0
- package/lib/project/abstract/artifacts/base-artifact.js.map +1 -1
- package/lib/project/abstract/artifacts/build-process-maanger.d.ts +38 -0
- package/lib/project/abstract/artifacts/build-process-maanger.js +269 -0
- package/lib/project/abstract/artifacts/build-process-maanger.js.map +1 -0
- package/lib/project/abstract/artifacts/build-process-manager.d.ts +0 -51
- package/lib/project/abstract/artifacts/build-process-manager.js +388 -415
- package/lib/project/abstract/artifacts/build-process-manager.js.map +1 -1
- package/lib/project/abstract/artifacts/docs-webapp/artifact-docs-webapp.d.ts +1 -0
- package/lib/project/abstract/artifacts/docs-webapp/artifact-docs-webapp.js +68 -8
- package/lib/project/abstract/artifacts/docs-webapp/artifact-docs-webapp.js.map +1 -1
- package/lib/project/abstract/artifacts/docs-webapp/docs.js +1 -1
- package/lib/project/abstract/artifacts/docs-webapp/docs.js.map +1 -1
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/artifact-npm-lib-and-cli-tool.js +7 -0
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/artifact-npm-lib-and-cli-tool.js.map +1 -1
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/build-isomorphic-lib/code-cut/browser-code-cut.js +13 -12
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/build-isomorphic-lib/code-cut/browser-code-cut.js.map +1 -1
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/base-copy-manager.d.ts +1 -1
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/base-copy-manager.js +6 -10
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/base-copy-manager.js.map +1 -1
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/copy-manager-organization-angular-files.d.ts +49 -0
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/copy-manager-organization-angular-files.js +335 -0
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/copy-manager-organization-angular-files.js.map +1 -0
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/copy-manager-organization.js +2 -2
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/copy-manager-standalone.js +6 -2
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/copy-manager-standalone.js.map +1 -1
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/source-maping-url.js +0 -1
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/source-maping-url.js.map +1 -1
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/files-recreation/files-recreator.js +4 -7
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/files-recreation/files-recreator.js.map +1 -1
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/inside-structures/structs/inside-struct-helpers.js +14 -1
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/inside-structures/structs/inside-struct-helpers.js.map +1 -1
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/inside-structures/structs/loaders/image-loader.js +4 -3
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/inside-structures/structs/loaders/image-loader.js.map +1 -1
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/lib-project/lib-project-smart-container.js +2 -2
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/singular-build.backend.d.ts +17 -0
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/singular-build.backend.js +383 -0
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/singular-build.backend.js.map +1 -0
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/singular-build.js +2 -2
- package/lib/project/abstract/artifacts/npm-lib-and-cli-tool/webpack-backend-compilation.js +2 -2
- package/lib/project/abstract/base-compiler-for-project.backend.d.ts +6 -0
- package/lib/project/abstract/base-compiler-for-project.backend.js +57 -0
- package/lib/project/abstract/base-compiler-for-project.backend.js.map +1 -0
- package/lib/project/abstract/base-local-release.d.ts +7 -0
- package/lib/project/abstract/base-local-release.js +110 -0
- package/lib/project/abstract/base-local-release.js.map +1 -0
- package/lib/project/abstract/docs.d.ts +51 -0
- package/lib/project/abstract/docs.js +813 -0
- package/lib/project/abstract/docs.js.map +1 -0
- package/lib/project/abstract/git.d.ts +1 -0
- package/lib/project/abstract/git.js +30 -3
- package/lib/project/abstract/git.js.map +1 -1
- package/lib/project/abstract/migrations-helper.d.ts +18 -0
- package/lib/project/abstract/migrations-helper.js +124 -0
- package/lib/project/abstract/migrations-helper.js.map +1 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-electron-app copy.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-electron-app.d.ts +4 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-electron-app.js +19 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-electron-app.js.map +1 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-frontend-webapp copy.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-frontend-webapp.d.ts +4 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-frontend-webapp.js +19 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-frontend-webapp.js.map +1 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-ionic-app.d.ts +4 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-ionic-app.js +19 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-ionic-app.js.map +1 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-ionic-appy.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-nodejs-webapp copy.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-angular-nodejs-webapp.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-mkdocs-docs-webapp.d.ts +4 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-mkdocs-docs-webapp.js +19 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-mkdocs-docs-webapp.js.map +1 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-nodejs-backend-server.d.ts +4 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-nodejs-backend-server.js +19 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-nodejs-backend-server.js.map +1 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-npm-lib-and-cli-tool-package.d.ts +6 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-npm-lib-cli-package.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-npm-lib-pkg-and-cli-tool.d.ts +4 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-npm-lib-pkg-and-cli-tool.js +19 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-npm-lib-pkg-and-cli-tool.js.map +1 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-process-angular-electron-app.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-vscode-extension copy.d.ts +6 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-vscode-extension.d.ts +4 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-vscode-extension.js +19 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release-vscode-extension.js.map +1 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release.d.ts +14 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release.js +28 -0
- package/lib/project/abstract/release-process/artifacts/artifact-release.js.map +1 -0
- package/lib/project/abstract/release-process/artifacts/base-artifact-release-process.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts/base-artifact-release.d.ts +6 -0
- package/lib/project/abstract/release-process/artifacts/release-angular-nodejs-webapp.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts/release-npm-lib-cli-package copy.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts/release-npm-lib-cli-package.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts/release-process-angular-electron-app.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts copy/artifact-release-angular-nodejs-webapp.d.ts +0 -0
- package/lib/project/abstract/release-process/artifacts copy/artifact-release-npm-lib-cli-package.d.ts +0 -0
- package/lib/project/abstract/release-process/release-npm-lib-cli-package.d.ts +0 -0
- package/lib/project/abstract/release-process/release-process copy.d.ts +10 -0
- package/lib/project/abstract/release-process/release-process-artifact-npm-lib-cli.d.ts +0 -0
- package/lib/project/abstract/release-process/release-process-cloud.d.ts +7 -0
- package/lib/project/abstract/release-process/release-process-cloud.js +23 -0
- package/lib/project/abstract/release-process/release-process-cloud.js.map +1 -0
- package/lib/project/abstract/release-process/release-process-local.d.ts +7 -0
- package/lib/project/abstract/release-process/release-process-local.js +23 -0
- package/lib/project/abstract/release-process/release-process-local.js.map +1 -0
- package/lib/project/abstract/release-process/release-process-manual.d.ts +7 -0
- package/lib/project/abstract/release-process/release-process-manual.js +23 -0
- package/lib/project/abstract/release-process/release-process-manual.js.map +1 -0
- package/lib/project/abstract/taon-worker/index.d.ts +1 -0
- package/lib/project/abstract/taon-worker/index.js +5 -0
- package/lib/project/abstract/taon-worker/index.js.map +1 -0
- package/lib/project/abstract/taon-worker/taon-build.entity copy.d.ts +8 -0
- package/lib/project/abstract/taon-worker/taon-build.entity copy.js +50 -0
- package/lib/project/abstract/taon-worker/taon-build.entity copy.js.map +1 -0
- package/lib/project/abstract/taon-worker/taon-project.entity copy.d.ts +5 -0
- package/lib/project/abstract/taon-worker/taon-project.entity copy.js +37 -0
- package/lib/project/abstract/taon-worker/taon-project.entity copy.js.map +1 -0
- package/lib/project/abstract/taon-worker/taon-termina-ui.d.ts +20 -0
- package/lib/project/abstract/taon-worker/taon-termina-ui.js +67 -0
- package/lib/project/abstract/taon-worker/taon-termina-ui.js.map +1 -0
- package/lib/project/abstract/taon-worker/taon.context.d.ts +2 -2
- package/lib/project/abstract/taon-worker/taon.entity.d.ts +6 -0
- package/lib/project/abstract/taon-worker/taon.entity.js +46 -0
- package/lib/project/abstract/taon-worker/taon.entity.js.map +1 -0
- package/lib/project/abstract/taon-worker.d.ts +29 -0
- package/lib/project/abstract/taon-worker.js +4 -0
- package/lib/project/abstract/taon-worker.js.map +1 -0
- package/lib/project/abstract/taonJson.d.ts +1 -0
- package/lib/project/abstract/taonJson.js +10 -0
- package/lib/project/abstract/taonJson.js.map +1 -1
- package/lib/project/abstract/vscode.js +1 -1
- package/lib/project/abstract/vscode.js.map +1 -1
- package/lib/project/cli/cli-BRANDING.backend.d.ts +26 -0
- package/lib/project/cli/cli-BRANDING.backend.js +50 -0
- package/lib/project/cli/cli-BRANDING.backend.js.map +1 -0
- package/lib/project/cli/cli-BUILD.backend.d.ts +4 -0
- package/lib/project/cli/cli-BUILD.backend.js +269 -0
- package/lib/project/cli/cli-BUILD.backend.js.map +1 -0
- package/lib/project/cli/cli-BUILD.js +2 -4
- package/lib/project/cli/cli-BUILD.js.map +1 -1
- package/lib/project/cli/cli-CI-BUILD.backend.d.ts +4 -0
- package/lib/project/cli/cli-CI-BUILD.backend.js +88 -0
- package/lib/project/cli/cli-CI-BUILD.backend.js.map +1 -0
- package/lib/project/cli/cli-DOCS.backend.d.ts +4 -0
- package/lib/project/cli/cli-DOCS.backend.js +48 -0
- package/lib/project/cli/cli-DOCS.backend.js.map +1 -0
- package/lib/project/cli/cli-DOCS.js +5 -5
- package/lib/project/cli/cli-DOCS.js.map +1 -1
- package/lib/project/cli/cli-ELECTRON.backend.d.ts +4 -0
- package/lib/project/cli/cli-ELECTRON.backend.js +80 -0
- package/lib/project/cli/cli-ELECTRON.backend.js.map +1 -0
- package/lib/project/cli/cli-GENERATE.js +1 -1
- package/lib/project/cli/cli-GENERATE.js.map +1 -1
- package/lib/project/cli/cli-INIT.backend.d.ts +16 -0
- package/lib/project/cli/cli-INIT.backend.js +179 -0
- package/lib/project/cli/cli-INIT.backend.js.map +1 -0
- package/lib/project/cli/cli-LINK.backend.d.ts +21 -0
- package/lib/project/cli/cli-LINK.backend.js +204 -0
- package/lib/project/cli/cli-LINK.backend.js.map +1 -0
- package/lib/project/cli/cli-LINK.d.ts +1 -1
- package/lib/project/cli/cli-LINK.js +19 -6
- package/lib/project/cli/cli-LINK.js.map +1 -1
- package/lib/project/cli/cli-LOCAL-RELEASE.backend.d.ts +17 -0
- package/lib/project/cli/cli-LOCAL-RELEASE.backend.js +240 -0
- package/lib/project/cli/cli-LOCAL-RELEASE.backend.js.map +1 -0
- package/lib/project/cli/cli-LOCAL-RELEASE.d.ts +0 -0
- package/lib/project/cli/cli-LOCAL-RELEASE.js +184 -0
- package/lib/project/cli/cli-LOCAL-RELEASE.js.map +1 -0
- package/lib/project/cli/cli-MIGRATION.backend.d.ts +4 -0
- package/lib/project/cli/cli-MIGRATION.backend.js +213 -0
- package/lib/project/cli/cli-MIGRATION.backend.js.map +1 -0
- package/lib/project/cli/cli-NEW.backend.d.ts +18 -0
- package/lib/project/cli/cli-NEW.backend.js +393 -0
- package/lib/project/cli/cli-NEW.backend.js.map +1 -0
- package/lib/project/cli/cli-OPEN.backend.d.ts +17 -0
- package/lib/project/cli/cli-OPEN.backend.js +129 -0
- package/lib/project/cli/cli-OPEN.backend.js.map +1 -0
- package/lib/project/cli/cli-RELEASE.backend.d.ts +4 -0
- package/lib/project/cli/cli-RELEASE.backend.js +415 -0
- package/lib/project/cli/cli-RELEASE.backend.js.map +1 -0
- package/lib/project/cli/cli-SERVICE.backend.d.ts +9 -0
- package/lib/project/cli/cli-SERVICE.backend.js +38 -0
- package/lib/project/cli/cli-SERVICE.backend.js.map +1 -0
- package/lib/project/cli/cli-START.backend.d.ts +2 -0
- package/lib/project/cli/cli-START.backend.js +4 -0
- package/lib/project/cli/cli-START.backend.js.map +1 -0
- package/lib/project/cli/cli-TEST.backend.d.ts +24 -0
- package/lib/project/cli/cli-TEST.backend.js +292 -0
- package/lib/project/cli/cli-TEST.backend.js.map +1 -0
- package/lib/project/cli/cli-TS.backend.d.ts +9 -0
- package/lib/project/cli/cli-TS.backend.js +29 -0
- package/lib/project/cli/cli-TS.backend.js.map +1 -0
- package/lib/project/cli/cli-UPDATE.backend.d.ts +2 -0
- package/lib/project/cli/cli-UPDATE.backend.js +4 -0
- package/lib/project/cli/cli-UPDATE.backend.js.map +1 -0
- package/lib/project/cli/cli-VSCODE.backend.d.ts +20 -0
- package/lib/project/cli/cli-VSCODE.backend.js +153 -0
- package/lib/project/cli/cli-VSCODE.backend.js.map +1 -0
- package/lib/project/cli/cli-_GLOBAL_.backend.d.ts +91 -0
- package/lib/project/cli/cli-_GLOBAL_.backend.js +1730 -0
- package/lib/project/cli/cli-_GLOBAL_.backend.js.map +1 -0
- package/lib/project/cli/cli-_GLOBAL_.js +1 -1
- package/lib/project/cli/cli-_GLOBAL_.js.map +1 -1
- package/lib/project/compilers/assets-list-file-generator/assets-list-file-generator.backend.d.ts +21 -0
- package/lib/project/compilers/assets-list-file-generator/assets-list-file-generator.backend.js +150 -0
- package/lib/project/compilers/assets-list-file-generator/assets-list-file-generator.backend.js.map +1 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/browser-code-cut.backend.d.ts +102 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/browser-code-cut.backend.js +990 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/browser-code-cut.backend.js.map +1 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/code-cut.backend.d.ts +41 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/code-cut.backend.js +85 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/code-cut.backend.js.map +1 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/code-split-process.enum.d.ts +44 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/code-split-process.enum.js +98 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/code-split-process.enum.js.map +1 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/cut-fn.backend.d.ts +1 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/cut-fn.backend.js +18 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/cut-fn.backend.js.map +1 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/file-split-process.d.ts +14 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/file-split-process.js +159 -0
- package/lib/project/compilers/build-isomorphic-lib/code-cut/file-split-process.js.map +1 -0
- package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-backend.backend.d.ts +60 -0
- package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-backend.backend.js +284 -0
- package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-backend.backend.js.map +1 -0
- package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-browser.backend.d.ts +42 -0
- package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-browser.backend.js +232 -0
- package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-browser.backend.js.map +1 -0
- package/lib/project/compilers/build-isomorphic-lib/compilations/incremental-build-process.backend.d.ts +18 -0
- package/lib/project/compilers/build-isomorphic-lib/compilations/incremental-build-process.backend.js +165 -0
- package/lib/project/compilers/build-isomorphic-lib/compilations/incremental-build-process.backend.js.map +1 -0
- package/lib/project/compilers/index.d.ts +1 -0
- package/lib/project/compilers/index.js +8 -0
- package/lib/project/compilers/index.js.map +1 -0
- package/lib/project/features/assets-manager.backend.d.ts +5 -0
- package/lib/project/features/assets-manager.backend.js +110 -0
- package/lib/project/features/assets-manager.backend.js.map +1 -0
- package/lib/project/features/basename-manager.d.ts +18 -0
- package/lib/project/features/basename-manager.js +89 -0
- package/lib/project/features/basename-manager.js.map +1 -0
- package/lib/project/features/branding.backend.d.ts +11 -0
- package/lib/project/features/branding.backend.js +213 -0
- package/lib/project/features/branding.backend.js.map +1 -0
- package/lib/project/features/build-process/app/build-process/backend/build-process-backend.d.ts +14 -0
- package/lib/project/features/build-process/app/build-process/backend/build-process-backend.js +44 -0
- package/lib/project/features/build-process/app/build-process/backend/build-process-backend.js.map +1 -0
- package/lib/project/features/build-process/app/build-process/backend/build-process-backend.test.d.ts +0 -0
- package/lib/project/features/build-process/app/build-process/backend/build-process-backend.test.js +2 -0
- package/lib/project/features/build-process/app/build-process/backend/build-process-backend.test.js.map +1 -0
- package/lib/project/features/build-process/app/build-process/build-process.controller.d.ts +20 -0
- package/lib/project/features/build-process/app/build-process/build-process.controller.js +159 -0
- package/lib/project/features/build-process/app/build-process/build-process.controller.js.map +1 -0
- package/lib/project/features/build-process/app/build-process/build-process.d.ts +12 -0
- package/lib/project/features/build-process/app/build-process/build-process.js +56 -0
- package/lib/project/features/build-process/app/build-process/build-process.js.map +1 -0
- package/lib/project/features/build-process/app/build-process/index.d.ts +2 -0
- package/lib/project/features/build-process/app/build-process/index.js +6 -0
- package/lib/project/features/build-process/app/build-process/index.js.map +1 -0
- package/lib/project/features/copy-manager/base-copy-manager.backend.d.ts +87 -0
- package/lib/project/features/copy-manager/base-copy-manager.backend.js +504 -0
- package/lib/project/features/copy-manager/base-copy-manager.backend.js.map +1 -0
- package/lib/project/features/copy-manager/copy-manager-helpers.backend.d.ts +12 -0
- package/lib/project/features/copy-manager/copy-manager-helpers.backend.js +96 -0
- package/lib/project/features/copy-manager/copy-manager-helpers.backend.js.map +1 -0
- package/lib/project/features/copy-manager/copy-manager-organization-angular-files.backend.d.ts +49 -0
- package/lib/project/features/copy-manager/copy-manager-organization-angular-files.backend.js +321 -0
- package/lib/project/features/copy-manager/copy-manager-organization-angular-files.backend.js.map +1 -0
- package/lib/project/features/copy-manager/copy-manager-organization.backend.d.ts +78 -0
- package/lib/project/features/copy-manager/copy-manager-organization.backend.js +788 -0
- package/lib/project/features/copy-manager/copy-manager-organization.backend.js.map +1 -0
- package/lib/project/features/copy-manager/copy-manager-standalone.backend.d.ts +77 -0
- package/lib/project/features/copy-manager/copy-manager-standalone.backend.js +575 -0
- package/lib/project/features/copy-manager/copy-manager-standalone.backend.js.map +1 -0
- package/lib/project/features/copy-manager/copy-manager.backend.d.ts +7 -0
- package/lib/project/features/copy-manager/copy-manager.backend.js +27 -0
- package/lib/project/features/copy-manager/copy-manager.backend.js.map +1 -0
- package/lib/project/features/copy-manager/mjs-fesm-module-spliter.backend.d.ts +46 -0
- package/lib/project/features/copy-manager/mjs-fesm-module-spliter.backend.js +354 -0
- package/lib/project/features/copy-manager/mjs-fesm-module-spliter.backend.js.map +1 -0
- package/lib/project/features/copy-manager/source-maping-url.backend.d.ts +12 -0
- package/lib/project/features/copy-manager/source-maping-url.backend.js +56 -0
- package/lib/project/features/copy-manager/source-maping-url.backend.js.map +1 -0
- package/lib/project/features/copy-manager/typescript-dts-fixer.backend.d.ts +25 -0
- package/lib/project/features/copy-manager/typescript-dts-fixer.backend.js +97 -0
- package/lib/project/features/copy-manager/typescript-dts-fixer.backend.js.map +1 -0
- package/lib/project/features/docs-app-build-config.backend.d.ts +19 -0
- package/lib/project/features/docs-app-build-config.backend.js +81 -0
- package/lib/project/features/docs-app-build-config.backend.js.map +1 -0
- package/lib/project/features/docs-provider.d.ts +9 -0
- package/lib/project/features/docs-provider.js +48 -0
- package/lib/project/features/docs-provider.js.map +1 -0
- package/lib/project/features/documentation-builder.d.ts +0 -0
- package/lib/project/features/documentation-builder.js +5 -0
- package/lib/project/features/documentation-builder.js.map +1 -0
- package/lib/project/features/environment-config/environment-config-helpers.d.ts +6 -0
- package/lib/project/features/environment-config/environment-config-helpers.js +197 -0
- package/lib/project/features/environment-config/environment-config-helpers.js.map +1 -0
- package/lib/project/features/environment-config/environment-config.d.ts +12 -0
- package/lib/project/features/environment-config/environment-config.js +117 -0
- package/lib/project/features/environment-config/environment-config.js.map +1 -0
- package/lib/project/features/environment-config/example-environment-config.d.ts +2 -0
- package/lib/project/features/environment-config/example-environment-config.js +26 -0
- package/lib/project/features/environment-config/example-environment-config.js.map +1 -0
- package/lib/project/features/files-recreation/files-factory.backend.d.ts +11 -0
- package/lib/project/features/files-recreation/files-factory.backend.js +64 -0
- package/lib/project/features/files-recreation/files-factory.backend.js.map +1 -0
- package/lib/project/features/files-recreation/files-recreator.d.ts +113 -0
- package/lib/project/features/files-recreation/files-recreator.js +661 -0
- package/lib/project/features/files-recreation/files-recreator.js.map +1 -0
- package/lib/project/features/files-recreation/files-templates.d.ts +8 -0
- package/lib/project/features/files-recreation/files-templates.js +129 -0
- package/lib/project/features/files-recreation/files-templates.js.map +1 -0
- package/lib/project/features/files-recreation/index.d.ts +3 -0
- package/lib/project/features/files-recreation/index.js +9 -0
- package/lib/project/features/files-recreation/index.js.map +1 -0
- package/lib/project/features/html-to-md.d.ts +1 -0
- package/lib/project/features/html-to-md.js +241 -0
- package/lib/project/features/html-to-md.js.map +1 -0
- package/lib/project/features/index-autogen-provider.backend.d.ts +14 -0
- package/lib/project/features/index-autogen-provider.backend.js +102 -0
- package/lib/project/features/index-autogen-provider.backend.js.map +1 -0
- package/lib/project/features/index.d.ts +12 -0
- package/lib/project/features/index.js +18 -0
- package/lib/project/features/index.js.map +1 -0
- package/lib/project/features/inside-structures/inside-struct.d.ts +43 -0
- package/lib/project/features/inside-structures/inside-struct.js +53 -0
- package/lib/project/features/inside-structures/inside-struct.js.map +1 -0
- package/lib/project/features/inside-structures/inside-structures.d.ts +11 -0
- package/lib/project/features/inside-structures/inside-structures.js +160 -0
- package/lib/project/features/inside-structures/inside-structures.js.map +1 -0
- package/lib/project/features/inside-structures/structs/base-inside-struct.d.ts +13 -0
- package/lib/project/features/inside-structures/structs/base-inside-struct.js +24 -0
- package/lib/project/features/inside-structures/structs/base-inside-struct.js.map +1 -0
- package/lib/project/features/inside-structures/structs/index.d.ts +2 -0
- package/lib/project/features/inside-structures/structs/index.js +6 -0
- package/lib/project/features/inside-structures/structs/index.js.map +1 -0
- package/lib/project/features/inside-structures/structs/inside-struct-angular13-app.d.ts +6 -0
- package/lib/project/features/inside-structures/structs/inside-struct-angular13-app.js +495 -0
- package/lib/project/features/inside-structures/structs/inside-struct-angular13-app.js.map +1 -0
- package/lib/project/features/inside-structures/structs/inside-struct-angular13-lib.d.ts +6 -0
- package/lib/project/features/inside-structures/structs/inside-struct-angular13-lib.js +240 -0
- package/lib/project/features/inside-structures/structs/inside-struct-angular13-lib.js.map +1 -0
- package/lib/project/features/inside-structures/structs/inside-struct-constants.d.ts +2 -0
- package/lib/project/features/inside-structures/structs/inside-struct-constants.js +6 -0
- package/lib/project/features/inside-structures/structs/inside-struct-constants.js.map +1 -0
- package/lib/project/features/inside-structures/structs/inside-struct-helpers.d.ts +12 -0
- package/lib/project/features/inside-structures/structs/inside-struct-helpers.js +128 -0
- package/lib/project/features/inside-structures/structs/inside-struct-helpers.js.map +1 -0
- package/lib/project/features/inside-structures/structs/loaders/image-loader.d.ts +1 -0
- package/lib/project/features/inside-structures/structs/loaders/image-loader.js +9 -0
- package/lib/project/features/inside-structures/structs/loaders/image-loader.js.map +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-default.d.ts +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-default.js +10 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-default.js.map +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-ellipsis.d.ts +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-ellipsis.js +10 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-ellipsis.js.map +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-facebook.d.ts +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-facebook.js +10 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-facebook.js.map +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-grid.d.ts +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-grid.js +10 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-grid.js.map +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-heart.d.ts +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-heart.js +10 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-heart.js.map +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-ripple.d.ts +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-ripple.js +10 -0
- package/lib/project/features/inside-structures/structs/loaders/loader-ids-ripple.js.map +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loaders.d.ts +1 -0
- package/lib/project/features/inside-structures/structs/loaders/loaders.js +27 -0
- package/lib/project/features/inside-structures/structs/loaders/loaders.js.map +1 -0
- package/lib/project/features/lib-project/lib-project-base.backend.d.ts +14 -0
- package/lib/project/features/lib-project/lib-project-base.backend.js +120 -0
- package/lib/project/features/lib-project/lib-project-base.backend.js.map +1 -0
- package/lib/project/features/lib-project/lib-project-smart-container.backend.d.ts +13 -0
- package/lib/project/features/lib-project/lib-project-smart-container.backend.js +320 -0
- package/lib/project/features/lib-project/lib-project-smart-container.backend.js.map +1 -0
- package/lib/project/features/lib-project/lib-project-standalone.backend.d.ts +13 -0
- package/lib/project/features/lib-project/lib-project-standalone.backend.js +269 -0
- package/lib/project/features/lib-project/lib-project-standalone.backend.js.map +1 -0
- package/lib/project/features/lib-project/lib-project-vscode-ext.d.ts +11 -0
- package/lib/project/features/lib-project/lib-project-vscode-ext.js +128 -0
- package/lib/project/features/lib-project/lib-project-vscode-ext.js.map +1 -0
- package/lib/project/features/linked-repos.backend.d.ts +19 -0
- package/lib/project/features/linked-repos.backend.js +198 -0
- package/lib/project/features/linked-repos.backend.js.map +1 -0
- package/lib/project/features/node-modules/index.d.ts +1 -0
- package/lib/project/features/node-modules/index.js +7 -0
- package/lib/project/features/node-modules/index.js.map +1 -0
- package/lib/project/features/node-modules/node-modules-helpers.backend.d.ts +3 -0
- package/lib/project/features/node-modules/node-modules-helpers.backend.js +159 -0
- package/lib/project/features/node-modules/node-modules-helpers.backend.js.map +1 -0
- package/lib/project/features/node-modules/node-modules.d.ts +29 -0
- package/lib/project/features/node-modules/node-modules.js +350 -0
- package/lib/project/features/node-modules/node-modules.js.map +1 -0
- package/lib/project/features/npm-packages/index.d.ts +1 -0
- package/lib/project/features/npm-packages/index.js +7 -0
- package/lib/project/features/npm-packages/index.js.map +1 -0
- package/lib/project/features/npm-packages/npm-packages-base.backend.d.ts +6 -0
- package/lib/project/features/npm-packages/npm-packages-base.backend.js +159 -0
- package/lib/project/features/npm-packages/npm-packages-base.backend.js.map +1 -0
- package/lib/project/features/npm-packages/npm-packages-core.backend.d.ts +15 -0
- package/lib/project/features/npm-packages/npm-packages-core.backend.js +166 -0
- package/lib/project/features/npm-packages/npm-packages-core.backend.js.map +1 -0
- package/lib/project/features/npm-packages/npm-packages-helpers.backend.d.ts +7 -0
- package/lib/project/features/npm-packages/npm-packages-helpers.backend.js +85 -0
- package/lib/project/features/npm-packages/npm-packages-helpers.backend.js.map +1 -0
- package/lib/project/features/npm-packages/npm-packages.d.ts +5 -0
- package/lib/project/features/npm-packages/npm-packages.js +72 -0
- package/lib/project/features/npm-packages/npm-packages.js.map +1 -0
- package/lib/project/features/package-json/index.d.ts +1 -0
- package/lib/project/features/package-json/index.js +5 -0
- package/lib/project/features/package-json/index.js.map +1 -0
- package/lib/project/features/package-json/package-json-base.backend.d.ts +31 -0
- package/lib/project/features/package-json/package-json-base.backend.js +157 -0
- package/lib/project/features/package-json/package-json-base.backend.js.map +1 -0
- package/lib/project/features/package-json/package-json-core.backend.d.ts +56 -0
- package/lib/project/features/package-json/package-json-core.backend.js +369 -0
- package/lib/project/features/package-json/package-json-core.backend.js.map +1 -0
- package/lib/project/features/package-json/package-json-deps-categories.backend.d.ts +17 -0
- package/lib/project/features/package-json/package-json-deps-categories.backend.js +145 -0
- package/lib/project/features/package-json/package-json-deps-categories.backend.js.map +1 -0
- package/lib/project/features/package-json/package-json-helpers.backend.d.ts +14 -0
- package/lib/project/features/package-json/package-json-helpers.backend.js +766 -0
- package/lib/project/features/package-json/package-json-helpers.backend.js.map +1 -0
- package/lib/project/features/package-json/package-json.d.ts +6 -0
- package/lib/project/features/package-json/package-json.js +66 -0
- package/lib/project/features/package-json/package-json.js.map +1 -0
- package/lib/project/features/package-recognition/packages-recognition.d.ts +13 -0
- package/lib/project/features/package-recognition/packages-recognition.js +187 -0
- package/lib/project/features/package-recognition/packages-recognition.js.map +1 -0
- package/lib/project/features/quick-fixes.d.ts +29 -0
- package/lib/project/features/quick-fixes.js +433 -0
- package/lib/project/features/quick-fixes.js.map +1 -0
- package/lib/project/features/singular-build.backend.d.ts +18 -0
- package/lib/project/features/singular-build.backend.js +375 -0
- package/lib/project/features/singular-build.backend.js.map +1 -0
- package/lib/project/features/target-project.backend.d.ts +10 -0
- package/lib/project/features/target-project.backend.js +189 -0
- package/lib/project/features/target-project.backend.js.map +1 -0
- package/lib/project/features/test-runner/cypress-test-runner.d.ts +7 -0
- package/lib/project/features/test-runner/cypress-test-runner.js +84 -0
- package/lib/project/features/test-runner/cypress-test-runner.js.map +1 -0
- package/lib/project/features/test-runner/index.d.ts +3 -0
- package/lib/project/features/test-runner/index.js +7 -0
- package/lib/project/features/test-runner/index.js.map +1 -0
- package/lib/project/features/test-runner/jest-test-runner.d.ts +8 -0
- package/lib/project/features/test-runner/jest-test-runner.js +69 -0
- package/lib/project/features/test-runner/jest-test-runner.js.map +1 -0
- package/lib/project/features/test-runner/mocha-test-runner.d.ts +7 -0
- package/lib/project/features/test-runner/mocha-test-runner.js +66 -0
- package/lib/project/features/test-runner/mocha-test-runner.js.map +1 -0
- package/lib/project/features/webpack-backend-compilation.backend.d.ts +14 -0
- package/lib/project/features/webpack-backend-compilation.backend.js +68 -0
- package/lib/project/features/webpack-backend-compilation.backend.js.map +1 -0
- package/lib/project/index.js +2 -2
- package/lib/taon-models.d.ts +72 -0
- package/migrations/1735324537544_pierwsza.d.ts +1 -0
- package/migrations/1735324537544_pierwsza.js +3 -0
- package/migrations/1735324537544_pierwsza.js.map +1 -0
- package/migrations/1735324809552_pierwsza.d.ts +6 -0
- package/migrations/1735324809552_pierwsza.js +33 -0
- package/migrations/1735324809552_pierwsza.js.map +1 -0
- package/migrations/1735324983861_druga.d.ts +6 -0
- package/migrations/1735324983861_druga.js +33 -0
- package/migrations/1735324983861_druga.js.map +1 -0
- package/migrations/1737301578918_addingSampleData.d.ts +32 -0
- package/migrations/1737301578918_addingSampleData.js +111 -0
- package/migrations/1737301578918_addingSampleData.js.map +1 -0
- package/package.json +1 -1
- package/tmp-environment.json +3 -3
- package/websql/fesm2022/tnp.mjs +2 -4
- package/websql/fesm2022/tnp.mjs.map +1 -1
- package/websql/lib/build-info._auto-generated_.d.ts +1 -1
- package/websql/lib/models.d.ts +9 -0
- package/websql/lib/project/abstract/artifacts/angular-node-app/artifact-angular-node-app.d.ts +0 -1
- package/websql/lib/project/abstract/artifacts/angular-node-app/tools/assets-manager.d.ts +1 -1
- package/websql/lib/project/abstract/artifacts/base-artifact.d.ts +1 -0
- package/websql/lib/project/abstract/artifacts/docs-webapp/artifact-docs-webapp.d.ts +1 -0
- package/websql/lib/project/abstract/artifacts/npm-lib-and-cli-tool/tools/copy-manager/base-copy-manager.d.ts +1 -1
- package/websql/lib/project/abstract/git.d.ts +1 -0
- package/websql/lib/project/abstract/taonJson.d.ts +1 -0
- package/websql/package.json +1 -1
package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-backend.backend.js
ADDED
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BackendCompilation = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
//#region imports
|
|
6
|
+
var incremental_compiler_1 = require("incremental-compiler");
|
|
7
|
+
var tnp_config_1 = require("tnp-config");
|
|
8
|
+
var tnp_core_1 = require("tnp-core");
|
|
9
|
+
var tnp_helpers_1 = require("tnp-helpers");
|
|
10
|
+
var project_1 = require("../../../abstract/project");
|
|
11
|
+
//#endregion
|
|
12
|
+
var BackendCompilation = /** @class */ (function (_super) {
|
|
13
|
+
tslib_1.__extends(BackendCompilation, _super);
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region constructor
|
|
16
|
+
function BackendCompilation(buildOptions, isWatchBuild,
|
|
17
|
+
/**
|
|
18
|
+
* Output folder
|
|
19
|
+
* Ex. dist
|
|
20
|
+
*/
|
|
21
|
+
outFolder,
|
|
22
|
+
/**
|
|
23
|
+
* Source location
|
|
24
|
+
* Ex. src | components
|
|
25
|
+
*/
|
|
26
|
+
srcFolder,
|
|
27
|
+
/**
|
|
28
|
+
* Current cwd same for browser and backend
|
|
29
|
+
* but browser project has own compilation folder
|
|
30
|
+
* Ex. /home/username/project/myproject
|
|
31
|
+
*/
|
|
32
|
+
cwd, websql) {
|
|
33
|
+
if (websql === void 0) { websql = false; }
|
|
34
|
+
var _this = _super.call(this, {
|
|
35
|
+
folderPath: (0, tnp_core_1.crossPlatformPath)([cwd, srcFolder]),
|
|
36
|
+
notifyOnFileUnlink: true,
|
|
37
|
+
followSymlinks: true,
|
|
38
|
+
taskName: 'BackendCompilation',
|
|
39
|
+
}) || this;
|
|
40
|
+
_this.buildOptions = buildOptions;
|
|
41
|
+
_this.isWatchBuild = isWatchBuild;
|
|
42
|
+
_this.outFolder = outFolder;
|
|
43
|
+
_this.srcFolder = srcFolder;
|
|
44
|
+
_this.cwd = cwd;
|
|
45
|
+
_this.websql = websql;
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region fields & getters
|
|
48
|
+
_this.isEnableCompilation = true;
|
|
49
|
+
_this.compilerName = 'Backend Compiler';
|
|
50
|
+
return _this;
|
|
51
|
+
}
|
|
52
|
+
Object.defineProperty(BackendCompilation.prototype, "tsConfigName", {
|
|
53
|
+
get: function () {
|
|
54
|
+
return 'tsconfig.json';
|
|
55
|
+
},
|
|
56
|
+
enumerable: false,
|
|
57
|
+
configurable: true
|
|
58
|
+
});
|
|
59
|
+
Object.defineProperty(BackendCompilation.prototype, "tsConfigBrowserName", {
|
|
60
|
+
get: function () {
|
|
61
|
+
return 'tsconfig.browser.json';
|
|
62
|
+
},
|
|
63
|
+
enumerable: false,
|
|
64
|
+
configurable: true
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(BackendCompilation.prototype, "absPathTmpSrcDistFolder", {
|
|
67
|
+
get: function () {
|
|
68
|
+
if (tnp_core_1._.isString(this.srcFolder) && tnp_core_1._.isString(this.cwd)) {
|
|
69
|
+
return (0, tnp_core_1.crossPlatformPath)(tnp_core_1.path.join(this.cwd, this.srcFolder));
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
enumerable: false,
|
|
73
|
+
configurable: true
|
|
74
|
+
});
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region methods
|
|
77
|
+
//#region methods / sync action
|
|
78
|
+
BackendCompilation.prototype.syncAction = function (filesPathes) {
|
|
79
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
80
|
+
var outDistPath;
|
|
81
|
+
return tslib_1.__generator(this, function (_a) {
|
|
82
|
+
switch (_a.label) {
|
|
83
|
+
case 0:
|
|
84
|
+
outDistPath = (0, tnp_core_1.crossPlatformPath)(tnp_core_1.path.join(this.cwd, this.outFolder));
|
|
85
|
+
// Helpers.System.Operations.tryRemoveDir(outDistPath)
|
|
86
|
+
if (!tnp_core_1.fse.existsSync(outDistPath)) {
|
|
87
|
+
tnp_core_1.fse.mkdirpSync(outDistPath);
|
|
88
|
+
}
|
|
89
|
+
return [4 /*yield*/, this.libCompilation(this.buildOptions, {
|
|
90
|
+
cwd: this.cwd,
|
|
91
|
+
watch: this.isWatchBuild,
|
|
92
|
+
outDir: this.outFolder,
|
|
93
|
+
generateDeclarations: true,
|
|
94
|
+
})];
|
|
95
|
+
case 1:
|
|
96
|
+
_a.sent();
|
|
97
|
+
return [2 /*return*/];
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region methods / lib compilation
|
|
104
|
+
BackendCompilation.prototype.libCompilation = function (buildOptions_1, _a) {
|
|
105
|
+
return tslib_1.__awaiter(this, arguments, void 0, function (buildOptions, _b) {
|
|
106
|
+
var project, paramsNoWatch, params, cmd, tscCommands, tsconfigBackendPath;
|
|
107
|
+
var cwd = _b.cwd, _c = _b.watch, watch = _c === void 0 ? false : _c, outDir = _b.outDir, _d = _b.generateDeclarations, generateDeclarations = _d === void 0 ? false : _d, _e = _b.tsExe, tsExe = _e === void 0 ? 'npm-run tsc' : _e, _f = _b.diagnostics, diagnostics = _f === void 0 ? false : _f;
|
|
108
|
+
return tslib_1.__generator(this, function (_g) {
|
|
109
|
+
switch (_g.label) {
|
|
110
|
+
case 0:
|
|
111
|
+
if (!this.isEnableCompilation) {
|
|
112
|
+
tnp_helpers_1.Helpers.log("Compilation disabled for ".concat(tnp_core_1._.startCase(BackendCompilation.name)));
|
|
113
|
+
return [2 /*return*/];
|
|
114
|
+
}
|
|
115
|
+
project = project_1.Project.ins.nearestTo(cwd);
|
|
116
|
+
paramsNoWatch = [
|
|
117
|
+
outDir ? " --outDir ".concat(outDir, " ") : '',
|
|
118
|
+
!watch ? ' --noEmitOnError true ' : '',
|
|
119
|
+
diagnostics ? ' --extendedDiagnostics ' : '',
|
|
120
|
+
" --preserveWatchOutput ",
|
|
121
|
+
];
|
|
122
|
+
params = tslib_1.__spreadArray([
|
|
123
|
+
watch ? ' -w ' : ''
|
|
124
|
+
], tslib_1.__read(paramsNoWatch), false);
|
|
125
|
+
cmd = function (specificTsconfig) {
|
|
126
|
+
var commandJs, commandMaps, commandJsOrganizationInitial, commandDts;
|
|
127
|
+
var nocutsrcFolder = "".concat(project.location, "/").concat(outDir, "-nocutsrc");
|
|
128
|
+
// commandJs = `${tsExe} -d false --mapRoot ${nocutsrc} ${params.join(' ')} `
|
|
129
|
+
// + (specificTsconfig ? `--project ${specificTsconfig}` : '');
|
|
130
|
+
commandJs =
|
|
131
|
+
"".concat(tsExe, " --mapRoot ").concat(nocutsrcFolder, " ").concat(params.join(' '), " ") +
|
|
132
|
+
(specificTsconfig ? "--project ".concat(specificTsconfig) : '');
|
|
133
|
+
commandJsOrganizationInitial =
|
|
134
|
+
"".concat(tsExe, " --mapRoot ").concat(nocutsrcFolder, " ").concat(paramsNoWatch.join(' '), " ") +
|
|
135
|
+
(specificTsconfig ? "--project ".concat(specificTsconfig) : '');
|
|
136
|
+
// commandDts = `${tsExe} --emitDeclarationOnly ${params.join(' ')}`;
|
|
137
|
+
params[1] = " --outDir ".concat(nocutsrcFolder);
|
|
138
|
+
commandMaps = "".concat(tsExe, " ").concat(params.join(' ').replace('--noEmitOnError true', '--noEmitOnError false'), " ");
|
|
139
|
+
return {
|
|
140
|
+
commandJs: commandJs,
|
|
141
|
+
commandMaps: commandMaps,
|
|
142
|
+
commandJsOrganizationInitial: commandJsOrganizationInitial,
|
|
143
|
+
// commandDts
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
tscCommands = {};
|
|
147
|
+
tsconfigBackendPath = (0, tnp_core_1.crossPlatformPath)(project.pathFor("tsconfig.backend.".concat(outDir, ".json")));
|
|
148
|
+
tscCommands = cmd(tsconfigBackendPath);
|
|
149
|
+
return [4 /*yield*/, this.buildStandardLibVer(buildOptions, tslib_1.__assign(tslib_1.__assign({ watch: watch }, tscCommands), { generateDeclarations: generateDeclarations, cwd: cwd, project: project, outDir: outDir }))];
|
|
150
|
+
case 1:
|
|
151
|
+
_g.sent();
|
|
152
|
+
return [2 /*return*/];
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
});
|
|
156
|
+
};
|
|
157
|
+
//#endregion
|
|
158
|
+
//#region methods / build standar lib version
|
|
159
|
+
BackendCompilation.prototype.buildStandardLibVer = function (buildOptions, options) {
|
|
160
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
161
|
+
var commandJs, commandMaps, cwd, project, outDir, watch, smartContainerChildrenNames, smartContainerTarget, isStandalone, parent, additionalReplace;
|
|
162
|
+
var _this = this;
|
|
163
|
+
var _a, _b;
|
|
164
|
+
return tslib_1.__generator(this, function (_c) {
|
|
165
|
+
switch (_c.label) {
|
|
166
|
+
case 0:
|
|
167
|
+
commandJs = options.commandJs, commandMaps = options.commandMaps, cwd = options.cwd, project = options.project, outDir = options.outDir, watch = options.watch;
|
|
168
|
+
smartContainerChildrenNames = ((_a = project.__smartContainerTargetParentContainer) === null || _a === void 0 ? void 0 : _a.children.map(function (c) { return c.name; })) || [];
|
|
169
|
+
smartContainerTarget = (_b = project.__smartContainerBuildTarget) === null || _b === void 0 ? void 0 : _b.name;
|
|
170
|
+
isStandalone = !project.__isSmartContainerTarget && !project.__isSmartContainerChild;
|
|
171
|
+
parent = !isStandalone
|
|
172
|
+
? project.parent || project.__smartContainerTargetParentContainer
|
|
173
|
+
: void 0;
|
|
174
|
+
tnp_helpers_1.Helpers.info("\n\nStarting backend TypeScript build....\n\n ");
|
|
175
|
+
additionalReplace = function (line) {
|
|
176
|
+
var _a = tslib_1.__read(line.split('/'), 3), tmpSource = _a[0], dashOrFile = _a[1], childName = _a[2];
|
|
177
|
+
// console.log({ tmpSource, dashOrFile, childName });
|
|
178
|
+
if (tmpSource === 'tmp-source-dist' &&
|
|
179
|
+
dashOrFile === '-' &&
|
|
180
|
+
smartContainerChildrenNames.includes(childName)) {
|
|
181
|
+
return line.replace("tmp-source-dist/-/".concat(childName, "/"), "".concat(childName, "/src/"));
|
|
182
|
+
}
|
|
183
|
+
if (tmpSource === 'tmp-source-dist' && dashOrFile.startsWith('app.')) {
|
|
184
|
+
return line.replace("tmp-source-dist/".concat(dashOrFile), "".concat(smartContainerTarget, "/src/").concat(dashOrFile));
|
|
185
|
+
}
|
|
186
|
+
if (!parent) {
|
|
187
|
+
return line;
|
|
188
|
+
}
|
|
189
|
+
var beforeModule = (0, tnp_core_1.crossPlatformPath)(tnp_core_1.path.join(parent.location, outDir, parent.name, project.name, "tmp-source-".concat(outDir, "/libs")));
|
|
190
|
+
if (line.search(beforeModule)) {
|
|
191
|
+
var _b = tslib_1.__read(line.split("'"), 2), __ = _b[0], filepath = _b[1];
|
|
192
|
+
// console.log({
|
|
193
|
+
// filepath
|
|
194
|
+
// })
|
|
195
|
+
if (filepath) {
|
|
196
|
+
var moduleName = tnp_core_1._.first(filepath.replace(beforeModule + '/', '').split('/'));
|
|
197
|
+
if (moduleName) {
|
|
198
|
+
return line.replace((0, tnp_core_1.crossPlatformPath)(tnp_core_1.path.join(beforeModule, moduleName)), "./".concat(tnp_core_1.path.join(moduleName, 'src/lib')));
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
return line;
|
|
203
|
+
};
|
|
204
|
+
return [4 /*yield*/, tnp_helpers_1.Helpers.execute(commandJs, cwd, {
|
|
205
|
+
similarProcessKey: 'tsc',
|
|
206
|
+
exitOnErrorCallback: function (code) { return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
207
|
+
return tslib_1.__generator(this, function (_a) {
|
|
208
|
+
if (buildOptions.buildForRelease && !buildOptions.ci) {
|
|
209
|
+
throw 'Typescript compilation (backend)';
|
|
210
|
+
}
|
|
211
|
+
else {
|
|
212
|
+
tnp_helpers_1.Helpers.error("[".concat(tnp_config_1.config.frameworkName, "] Typescript compilation (backend) error (code=").concat(code, ")"), false, true);
|
|
213
|
+
}
|
|
214
|
+
return [2 /*return*/];
|
|
215
|
+
});
|
|
216
|
+
}); },
|
|
217
|
+
outputLineReplace: function (line) {
|
|
218
|
+
if (isStandalone) {
|
|
219
|
+
if (line.startsWith("tmp-source-".concat(outDir, "/"))) {
|
|
220
|
+
return additionalReplace(line.replace("tmp-source-".concat(outDir, "/"), "./src/"));
|
|
221
|
+
}
|
|
222
|
+
return additionalReplace(line.replace("../tmp-source-".concat(outDir, "/"), "./src/"));
|
|
223
|
+
}
|
|
224
|
+
else {
|
|
225
|
+
line = line.trimLeft();
|
|
226
|
+
// console.log({ line })
|
|
227
|
+
if (line.startsWith('./src/libs/')) {
|
|
228
|
+
var _a = tslib_1.__read(line.split('/'), 3), __ = _a[0], ___ = _a[1], moduleName = _a[2];
|
|
229
|
+
return additionalReplace(line.replace("./src/libs/".concat(moduleName, "/"), "./".concat(moduleName, "/src/lib/")));
|
|
230
|
+
}
|
|
231
|
+
else if (line.startsWith("../tmp-source-".concat(outDir, "/libs/"))) {
|
|
232
|
+
var _b = tslib_1.__read(line.split('/'), 4), __ = _b[0], ___ = _b[1], ____ = _b[2], moduleName = _b[3];
|
|
233
|
+
return additionalReplace(line.replace("../tmp-source-".concat(outDir, "/libs/").concat(moduleName, "/"), "./".concat(moduleName, "/src/lib/")));
|
|
234
|
+
}
|
|
235
|
+
else if (line.startsWith("../tmp-source-".concat(outDir, "/"))) {
|
|
236
|
+
return additionalReplace(line.replace("../tmp-source-".concat(outDir, "/"), "./".concat(project.name, "/src/")));
|
|
237
|
+
}
|
|
238
|
+
else if (line.startsWith("tmp-source-".concat(outDir, "/libs/"))) {
|
|
239
|
+
var _c = tslib_1.__read(line.split('/'), 3), __ = _c[0], ___ = _c[1], moduleName = _c[2];
|
|
240
|
+
return additionalReplace(line.replace("tmp-source-".concat(outDir, "/libs/").concat(moduleName, "/"), "./".concat(moduleName, "/src/lib/")));
|
|
241
|
+
}
|
|
242
|
+
else {
|
|
243
|
+
return additionalReplace(line.replace("./src/", "./".concat(project.name, "/src/lib/")));
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
resolvePromiseMsg: {
|
|
248
|
+
stdout: ['Found 0 errors. Watching for file changes'],
|
|
249
|
+
},
|
|
250
|
+
})];
|
|
251
|
+
case 1:
|
|
252
|
+
_c.sent();
|
|
253
|
+
tnp_helpers_1.Helpers.logInfo("* Typescirpt compilation first part done");
|
|
254
|
+
return [4 /*yield*/, tnp_helpers_1.Helpers.execute(commandMaps, cwd, {
|
|
255
|
+
similarProcessKey: 'tsc',
|
|
256
|
+
hideOutput: {
|
|
257
|
+
stderr: true,
|
|
258
|
+
stdout: true,
|
|
259
|
+
acceptAllExitCodeAsSuccess: true,
|
|
260
|
+
},
|
|
261
|
+
resolvePromiseMsg: {
|
|
262
|
+
stdout: ['Watching for file changes.'],
|
|
263
|
+
},
|
|
264
|
+
})];
|
|
265
|
+
case 2:
|
|
266
|
+
_c.sent();
|
|
267
|
+
tnp_helpers_1.Helpers.log("* Typescirpt compilation second part done (".concat(outDir, " build). "));
|
|
268
|
+
tnp_helpers_1.Helpers.info("\n\n Backend Typescirpt build done....\n\n ");
|
|
269
|
+
if (watch) {
|
|
270
|
+
// console.log(Helpers.terminalLine());
|
|
271
|
+
tnp_helpers_1.Helpers.info("\n\n\n\n\n ".concat(tnp_core_1.chalk.bold('YOU CAN ATTACH YOUR BACKEND/NODEJS CODE DEBUGGER NOW'), "\n\n\n\n\n\n "));
|
|
272
|
+
// console.log(Helpers.terminalLine());
|
|
273
|
+
}
|
|
274
|
+
return [2 /*return*/];
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
});
|
|
278
|
+
};
|
|
279
|
+
//#region static
|
|
280
|
+
BackendCompilation.counter = 1;
|
|
281
|
+
return BackendCompilation;
|
|
282
|
+
}(incremental_compiler_1.IncCompiler.Base));
|
|
283
|
+
exports.BackendCompilation = BackendCompilation;
|
|
284
|
+
//# sourceMappingURL=compilation-backend.backend.js.map
|
package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-backend.backend.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compilation-backend.backend.js","sourceRoot":"","sources":["c:/Users/darek/projects/npm/taon-dev/tnp/src/lib/project/compilers/build-isomorphic-lib/compilations/compilation-backend.backend.ts"],"names":[],"mappings":";;;;AAAA,iBAAiB;AACjB,6DAAmD;AACnD,yCAAoC;AACpC,qCAOkB;AAClB,2CAAsC;AAEtC,qDAAoD;AAEpD,YAAY;AAEZ;IAAwC,8CAAgB;IAmBtD,YAAY;IAEZ,qBAAqB;IACrB,4BACS,YAA0B,EAC1B,YAAqB;IAC5B;;;OAGG;IACI,SAA+B;IACtC;;;OAGG;IACI,SAAiB;IACxB;;;;OAIG;IACI,GAAY,EACZ,MAAuB;QAAvB,uBAAA,EAAA,cAAuB;QAE9B,YAAA,MAAK,YAAC;YACJ,UAAU,EAAE,IAAA,4BAAiB,EAAC,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YAC/C,kBAAkB,EAAE,IAAI;YACxB,cAAc,EAAE,IAAI;YACpB,QAAQ,EAAE,oBAAoB;SAC/B,CAAC,SAAC;QAzBI,kBAAY,GAAZ,YAAY,CAAc;QAC1B,kBAAY,GAAZ,YAAY,CAA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GAAG,CACT,qDAA8C,MAAM,eAAY,CACjE,CAAC;wBACF,qBAAO,CAAC,IAAI,CAAC,uDAIR,CAAC,CAAC;wBAEP,IAAI,KAAK,EAAE,CAAC;4BACV,uCAAuC;4BACvC,qBAAO,CAAC,IAAI,CAAC,wBAKb,gBAAK,CAAC,IAAI,CAAC,sDAAsD,CAAC,qBAMnE,CAAC,CAAC;4BACD,uCAAuC;wBACzC,CAAC;;;;;KAEF;IApWD,gBAAgB;IACT,0BAAO,GAAG,CAAC,AAAJ,CAAK;IAqWrB,yBAAC;CAAA,AAvWD,CAAwC,kCAAW,CAAC,IAAI,GAuWvD;AAvWY,gDAAkB"}
|
package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-browser.backend.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { CoreModels } from 'tnp-core';
|
|
2
|
+
import { IncCompiler } from 'incremental-compiler';
|
|
3
|
+
import { BackendCompilation } from './compilation-backend.backend';
|
|
4
|
+
import { BuildOptions } from '../../../../options';
|
|
5
|
+
import { Project } from '../../../abstract/project';
|
|
6
|
+
import { CodeCut } from '../code-cut/code-cut.backend';
|
|
7
|
+
import { Models } from '../../../../models';
|
|
8
|
+
export declare class BroswerCompilation extends BackendCompilation {
|
|
9
|
+
compilationProject: Project;
|
|
10
|
+
moduleName: string;
|
|
11
|
+
ENV: Models.EnvConfig;
|
|
12
|
+
/**
|
|
13
|
+
* tmp-src-for-(dist)-browser
|
|
14
|
+
*/
|
|
15
|
+
protected sourceOutBrowser: string;
|
|
16
|
+
backendOutFolder: string;
|
|
17
|
+
buildOptions: BuildOptions;
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated
|
|
20
|
+
*/
|
|
21
|
+
private static instances;
|
|
22
|
+
compilerName: string;
|
|
23
|
+
codecut: CodeCut;
|
|
24
|
+
/**
|
|
25
|
+
* ex: <project-path>/tmp-src-dist
|
|
26
|
+
*/
|
|
27
|
+
get absPathTmpSrcDistFolder(): string;
|
|
28
|
+
get customCompilerName(): string;
|
|
29
|
+
readonly project: Project;
|
|
30
|
+
constructor(isWatchBuild: boolean, compilationProject: Project, moduleName: string, ENV: Models.EnvConfig,
|
|
31
|
+
/**
|
|
32
|
+
* tmp-src-for-(dist)-browser
|
|
33
|
+
*/
|
|
34
|
+
sourceOutBrowser: string,
|
|
35
|
+
/**
|
|
36
|
+
* browser-for-(dist|projectName)
|
|
37
|
+
*/
|
|
38
|
+
outFolder: CoreModels.OutFolder, location: string, cwd: string, backendOutFolder: string, buildOptions: BuildOptions);
|
|
39
|
+
syncAction(absFilesFromSrc: string[]): Promise<void>;
|
|
40
|
+
asyncAction(event: IncCompiler.Change): Promise<void>;
|
|
41
|
+
initCodeCut(): void;
|
|
42
|
+
}
|
package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-browser.backend.js
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BroswerCompilation = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
//#region imports
|
|
6
|
+
var tnp_core_1 = require("tnp-core");
|
|
7
|
+
var tnp_config_1 = require("tnp-config");
|
|
8
|
+
var tnp_helpers_1 = require("tnp-helpers");
|
|
9
|
+
var compilation_backend_backend_1 = require("./compilation-backend.backend");
|
|
10
|
+
var project_1 = require("../../../abstract/project");
|
|
11
|
+
var json10_1 = require("json10");
|
|
12
|
+
var code_cut_backend_1 = require("../code-cut/code-cut.backend");
|
|
13
|
+
var cut_fn_backend_1 = require("../code-cut/cut-fn.backend");
|
|
14
|
+
var tnp_config_2 = require("tnp-config");
|
|
15
|
+
//#endregion
|
|
16
|
+
var BroswerCompilation = /** @class */ (function (_super) {
|
|
17
|
+
tslib_1.__extends(BroswerCompilation, _super);
|
|
18
|
+
function BroswerCompilation(isWatchBuild, compilationProject, moduleName, ENV,
|
|
19
|
+
/**
|
|
20
|
+
* tmp-src-for-(dist)-browser
|
|
21
|
+
*/
|
|
22
|
+
sourceOutBrowser,
|
|
23
|
+
/**
|
|
24
|
+
* browser-for-(dist|projectName)
|
|
25
|
+
*/
|
|
26
|
+
outFolder, location, cwd, backendOutFolder, buildOptions) {
|
|
27
|
+
var _this = _super.call(this, buildOptions, isWatchBuild, outFolder, location, cwd, buildOptions.websql) || this;
|
|
28
|
+
_this.compilationProject = compilationProject;
|
|
29
|
+
_this.moduleName = moduleName;
|
|
30
|
+
_this.ENV = ENV;
|
|
31
|
+
_this.sourceOutBrowser = sourceOutBrowser;
|
|
32
|
+
_this.backendOutFolder = backendOutFolder;
|
|
33
|
+
_this.buildOptions = buildOptions;
|
|
34
|
+
//#region fields & getters
|
|
35
|
+
_this.compilerName = 'Browser standard compiler';
|
|
36
|
+
BroswerCompilation.instances[String(!!buildOptions.websql)] = _this;
|
|
37
|
+
_this.compilerName = _this.customCompilerName;
|
|
38
|
+
tnp_helpers_1.Helpers.log("[BroswerCompilation][constructor]\n\n compilationProject.genericName: ".concat(compilationProject === null || compilationProject === void 0 ? void 0 : compilationProject.genericName, "\n compilationProject.type: ").concat(compilationProject === null || compilationProject === void 0 ? void 0 : compilationProject.type, "\n ENV?: ").concat(!!ENV, "\n\n cwd: ").concat(cwd, "\n sourceOut: ").concat(sourceOutBrowser, "\n location: ").concat(location, "\n backendOut: ").concat(backendOutFolder, "\n\n "), 1);
|
|
39
|
+
tnp_helpers_1.Helpers.log("\n\nbuildOptions: ".concat(json10_1.JSON10.stringify(buildOptions), "\n\n"), 2);
|
|
40
|
+
// console.log('SOURCE OUT', sourceOut)
|
|
41
|
+
// console.log('OUT FOLDER', outFolder)
|
|
42
|
+
// console.log('LOCATION', location)
|
|
43
|
+
// console.log('MODULE NAME', moduleName)
|
|
44
|
+
// console.log(Helpers.terminalLine())
|
|
45
|
+
_this.project = project_1.Project.ins.From(_this.cwd);
|
|
46
|
+
return _this;
|
|
47
|
+
}
|
|
48
|
+
Object.defineProperty(BroswerCompilation.prototype, "absPathTmpSrcDistFolder", {
|
|
49
|
+
/**
|
|
50
|
+
* ex: <project-path>/tmp-src-dist
|
|
51
|
+
*/
|
|
52
|
+
get: function () {
|
|
53
|
+
if (tnp_core_1._.isString(this.sourceOutBrowser) && tnp_core_1._.isString(this.cwd)) {
|
|
54
|
+
return (0, tnp_core_1.crossPlatformPath)(tnp_core_1.path.join(this.cwd, this.sourceOutBrowser));
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
enumerable: false,
|
|
58
|
+
configurable: true
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(BroswerCompilation.prototype, "customCompilerName", {
|
|
61
|
+
get: function () {
|
|
62
|
+
if (this.ENV) {
|
|
63
|
+
return "Browser compilation for ".concat(this.ENV.currentProjectName);
|
|
64
|
+
}
|
|
65
|
+
return "Browser compilation";
|
|
66
|
+
},
|
|
67
|
+
enumerable: false,
|
|
68
|
+
configurable: true
|
|
69
|
+
});
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region methods
|
|
72
|
+
//#region methods / sync action
|
|
73
|
+
BroswerCompilation.prototype.syncAction = function (absFilesFromSrc) {
|
|
74
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
75
|
+
var tmpSource, filesBase, relativePathesToProcess, corepro, coreAssetsPath, filesToCopy, index, fileAbsPath, relativeFilePath, destAbsPath;
|
|
76
|
+
var _a, _b;
|
|
77
|
+
return tslib_1.__generator(this, function (_c) {
|
|
78
|
+
tnp_helpers_1.Helpers.removeFolderIfExists(this.absPathTmpSrcDistFolder);
|
|
79
|
+
tnp_helpers_1.Helpers.mkdirp(this.absPathTmpSrcDistFolder);
|
|
80
|
+
tmpSource = this.absPathTmpSrcDistFolder.replace('tmp-src-', 'tmp-source-');
|
|
81
|
+
tnp_helpers_1.Helpers.removeFolderIfExists(tmpSource);
|
|
82
|
+
tnp_helpers_1.Helpers.mkdirp(tmpSource);
|
|
83
|
+
this.initCodeCut();
|
|
84
|
+
this.project.quickFixes.recreateTempSourceNecessaryFiles('dist');
|
|
85
|
+
filesBase = (0, tnp_core_1.crossPlatformPath)(tnp_core_1.path.join(this.cwd, this.srcFolder));
|
|
86
|
+
relativePathesToProcess = absFilesFromSrc.map(function (absFilePath) {
|
|
87
|
+
return absFilePath.replace("".concat(filesBase, "/"), '');
|
|
88
|
+
});
|
|
89
|
+
//#region copy core asset files
|
|
90
|
+
if (!this.project.__isSmartContainerTarget) {
|
|
91
|
+
corepro = project_1.Project.by('isomorphic-lib', this.project.__frameworkVersion);
|
|
92
|
+
coreAssetsPath = corepro.pathFor('app/src/assets');
|
|
93
|
+
filesToCopy = tnp_helpers_1.Helpers.filesFrom(coreAssetsPath, true);
|
|
94
|
+
for (index = 0; index < filesToCopy.length; index++) {
|
|
95
|
+
fileAbsPath = (0, tnp_core_1.crossPlatformPath)(filesToCopy[index]);
|
|
96
|
+
relativeFilePath = fileAbsPath.replace("".concat(coreAssetsPath, "/"), '');
|
|
97
|
+
destAbsPath = (0, tnp_core_1.crossPlatformPath)([
|
|
98
|
+
this.absPathTmpSrcDistFolder,
|
|
99
|
+
tnp_config_1.config.folder.assets,
|
|
100
|
+
relativeFilePath,
|
|
101
|
+
]);
|
|
102
|
+
tnp_helpers_1.Helpers.copyFile(fileAbsPath, destAbsPath);
|
|
103
|
+
// if (relativeFilePath.startsWith(`${config.folder.shared}/`)) {
|
|
104
|
+
// const arr = [
|
|
105
|
+
// crossPlatformPath([this.cwd, config.folder.dist]),
|
|
106
|
+
// ];
|
|
107
|
+
// for (let index = 0; index < arr.length; index++) {
|
|
108
|
+
// const absPathDest = crossPlatformPath([arr[index], config.folder.assets, relativeFilePath]);
|
|
109
|
+
// Helpers.copyFile(fileAbsPath, absPathDest);
|
|
110
|
+
// }
|
|
111
|
+
// }
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
//#endregion
|
|
115
|
+
this.codecut.files(relativePathesToProcess);
|
|
116
|
+
this.project.__assetsManager.copyExternalAssets((_a = this.buildOptions) === null || _a === void 0 ? void 0 : _a.outDir, (_b = this.buildOptions) === null || _b === void 0 ? void 0 : _b.websql);
|
|
117
|
+
return [2 /*return*/];
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
//#endregion
|
|
122
|
+
//#region methods / async action
|
|
123
|
+
BroswerCompilation.prototype.asyncAction = function (event) {
|
|
124
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
125
|
+
var websqlInstance, absoluteFilePath, relativeFilePath, destinationFilePath, destinationFileBackendPath;
|
|
126
|
+
return tslib_1.__generator(this, function (_a) {
|
|
127
|
+
switch (_a.label) {
|
|
128
|
+
case 0:
|
|
129
|
+
// console.log('ASYNC ACTION CODE CUT ', event.fileAbsolutePath);
|
|
130
|
+
if (!this.codecut) {
|
|
131
|
+
// TODO QUICK - but I thin it make sense => there is not backedn compilation for websql
|
|
132
|
+
return [2 /*return*/];
|
|
133
|
+
}
|
|
134
|
+
if (!!this.buildOptions.websql) return [3 /*break*/, 2];
|
|
135
|
+
websqlInstance = BroswerCompilation.instances[String(!this.buildOptions.websql)];
|
|
136
|
+
return [4 /*yield*/, websqlInstance.asyncAction(event)];
|
|
137
|
+
case 1:
|
|
138
|
+
_a.sent();
|
|
139
|
+
_a.label = 2;
|
|
140
|
+
case 2:
|
|
141
|
+
absoluteFilePath = (0, tnp_core_1.crossPlatformPath)(event.fileAbsolutePath);
|
|
142
|
+
relativeFilePath = (0, tnp_core_1.crossPlatformPath)(absoluteFilePath.replace("".concat((0, tnp_core_1.crossPlatformPath)(tnp_core_1.path.join(this.cwd, this.srcFolder)), "/"), ''));
|
|
143
|
+
if (tnp_core_1.path.basename(relativeFilePath) === '.DS_Store') {
|
|
144
|
+
return [2 /*return*/];
|
|
145
|
+
}
|
|
146
|
+
destinationFilePath = (0, tnp_core_1.crossPlatformPath)(tnp_core_1.path.join(this.cwd, this.sourceOutBrowser, relativeFilePath));
|
|
147
|
+
destinationFileBackendPath = (0, tnp_core_1.crossPlatformPath)(tnp_core_1.path.join(this.cwd, this.sourceOutBrowser.replace('tmp-src', 'tmp-source'), relativeFilePath));
|
|
148
|
+
if (event.eventName === 'unlinkDir') {
|
|
149
|
+
tnp_helpers_1.Helpers.removeFolderIfExists(destinationFilePath);
|
|
150
|
+
tnp_helpers_1.Helpers.removeFolderIfExists(destinationFileBackendPath);
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
if (event.eventName === 'unlink') {
|
|
154
|
+
if (relativeFilePath.startsWith("".concat(tnp_config_1.config.folder.assets, "/"))) {
|
|
155
|
+
this.codecut.files([relativeFilePath], true);
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
tnp_helpers_1.Helpers.removeFileIfExists(destinationFilePath);
|
|
159
|
+
tnp_helpers_1.Helpers.removeFileIfExists(destinationFileBackendPath);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
if (tnp_core_1.fse.existsSync(absoluteFilePath)) {
|
|
164
|
+
//#region mkdirp basedir
|
|
165
|
+
if (!tnp_core_1.fse.existsSync(tnp_core_1.path.dirname(destinationFilePath))) {
|
|
166
|
+
tnp_core_1.fse.mkdirpSync(tnp_core_1.path.dirname(destinationFilePath));
|
|
167
|
+
}
|
|
168
|
+
if (!tnp_core_1.fse.existsSync(tnp_core_1.path.dirname(destinationFileBackendPath))) {
|
|
169
|
+
tnp_core_1.fse.mkdirpSync(tnp_core_1.path.dirname(destinationFileBackendPath));
|
|
170
|
+
}
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region remove deist if directory
|
|
173
|
+
if (tnp_core_1.fse.existsSync(destinationFilePath) &&
|
|
174
|
+
tnp_core_1.fse.lstatSync(destinationFilePath).isDirectory()) {
|
|
175
|
+
tnp_core_1.fse.removeSync(destinationFilePath);
|
|
176
|
+
}
|
|
177
|
+
if (tnp_core_1.fse.existsSync(destinationFileBackendPath) &&
|
|
178
|
+
tnp_core_1.fse.lstatSync(destinationFileBackendPath).isDirectory()) {
|
|
179
|
+
tnp_core_1.fse.removeSync(destinationFileBackendPath);
|
|
180
|
+
}
|
|
181
|
+
//#endregion
|
|
182
|
+
this.codecut.files([relativeFilePath]);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
return [2 /*return*/];
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
});
|
|
190
|
+
};
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region methods / init code cut
|
|
193
|
+
BroswerCompilation.prototype.initCodeCut = function () {
|
|
194
|
+
// console.log('inside')
|
|
195
|
+
var env = this.ENV;
|
|
196
|
+
var compilationProject = this.compilationProject;
|
|
197
|
+
if (!compilationProject) {
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
env = tnp_core_1._.cloneDeep(env);
|
|
201
|
+
this.ENV = env;
|
|
202
|
+
// console.log('here1')
|
|
203
|
+
var project;
|
|
204
|
+
if (env) {
|
|
205
|
+
project = project_1.Project.ins.From(env.currentProjectLocation);
|
|
206
|
+
}
|
|
207
|
+
if (compilationProject.__isStandaloneProject) {
|
|
208
|
+
project = compilationProject;
|
|
209
|
+
}
|
|
210
|
+
var replacements = [];
|
|
211
|
+
replacements.push([tnp_config_2.TAGS.BACKEND_FUNC, "return (void 0);"]);
|
|
212
|
+
replacements.push(tnp_config_2.TAGS.BACKEND);
|
|
213
|
+
if (!this.buildOptions.websql) {
|
|
214
|
+
replacements.push(tnp_config_2.TAGS.WEBSQL_ONLY);
|
|
215
|
+
replacements.push([tnp_config_2.TAGS.WEBSQL_FUNC, "return (void 0);"]);
|
|
216
|
+
replacements.push(tnp_config_2.TAGS.WEBSQL);
|
|
217
|
+
}
|
|
218
|
+
replacements.push([tnp_config_2.TAGS.CUT_CODE_IF_TRUE, (0, cut_fn_backend_1.codeCuttFn)(true)]);
|
|
219
|
+
replacements.push([tnp_config_2.TAGS.CUT_CODE_IF_FALSE, (0, cut_fn_backend_1.codeCuttFn)(false)]);
|
|
220
|
+
this.codecut = new code_cut_backend_1.CodeCut(this.absPathTmpSrcDistFolder, {
|
|
221
|
+
replacements: replacements.filter(function (f) { return !!f; }),
|
|
222
|
+
env: env,
|
|
223
|
+
}, project, compilationProject, this.buildOptions, this.sourceOutBrowser);
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* @deprecated
|
|
227
|
+
*/
|
|
228
|
+
BroswerCompilation.instances = {};
|
|
229
|
+
return BroswerCompilation;
|
|
230
|
+
}(compilation_backend_backend_1.BackendCompilation));
|
|
231
|
+
exports.BroswerCompilation = BroswerCompilation;
|
|
232
|
+
//# sourceMappingURL=compilation-browser.backend.js.map
|
package/lib/project/compilers/build-isomorphic-lib/compilations/compilation-browser.backend.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compilation-browser.backend.js","sourceRoot":"","sources":["c:/Users/darek/projects/npm/taon-dev/tnp/src/lib/project/compilers/build-isomorphic-lib/compilations/compilation-browser.backend.ts"],"names":[],"mappings":";;;;AAAA,iBAAiB;AACjB,qCAOkB;AAElB,yCAAoC;AACpC,2CAAsC;AACtC,6EAAmE;AAEnE,qDAAoD;AACpD,iCAAgC;AAChC,iEAAuD;AACvD,6DAAwD;AACxD,yCAAkC;AAElC,YAAY;AAEZ;IAAwC,8CAAkB;IA6BxD,4BACE,YAAqB,EACd,kBAA2B,EAC3B,UAAkB,EAClB,GAAqB;IAC5B;;OAEG;IACO,gBAAwB;IAClC;;OAEG;IACH,SAA+B,EAC/B,QAAgB,EAChB,GAAW,EACJ,gBAAwB,EACxB,YAA0B;QAEjC,YAAA,MAAK,YACH,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,GAAG,EACH,YAAY,CAAC,MAAM,CACpB,SAAC;QAvBK,wBAAkB,GAAlB,kBAAkB,CAAS;QAC3B,gBAAU,GAAV,UAAU,CAAQ;QAClB,SAAG,GAAH,GAAG,CAAkB;QAIlB,sBAAgB,GAAhB,gBAAgB,CAAQ;QAO3B,sBAAgB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C;QAE/D,IAAI,CAAC,OAAO,GAAG,IAAI,0BAAO,CACxB,IAAI,CAAC,uBAAuB,EAC5B;YACE,YAAY,EAAE,YAAY,CAAC,MAAM,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,CAAC,EAAH,CAAG,CAAC;YAC3C,GAAG,KAAA;SACJ,EACD,OAAO,EACP,kBAAkB,EAClB,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,gBAAgB,CACtB,CAAC;IACJ,CAAC;IAhRD;;OAEG;IACY,4BAAS,GAAG,EAA8C,AAAjD,CAAkD;IAiR5E,yBAAC;CAAA,AArRD,CAAwC,gDAAkB,GAqRzD;AArRY,gDAAkB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Project } from '../../../../project/abstract/project';
|
|
2
|
+
import { BuildOptions } from '../../../../options';
|
|
3
|
+
import { BackendCompilation } from './compilation-backend.backend';
|
|
4
|
+
import { BroswerCompilation } from './compilation-browser.backend';
|
|
5
|
+
import { IncCompiler } from 'incremental-compiler';
|
|
6
|
+
export declare class IncrementalBuildProcess {
|
|
7
|
+
private project;
|
|
8
|
+
private buildOptions;
|
|
9
|
+
protected backendCompilation: BackendCompilation;
|
|
10
|
+
protected broswerCompilationStandalone: BroswerCompilation;
|
|
11
|
+
protected broswerCompilationSmartContainer: BroswerCompilation;
|
|
12
|
+
constructor(project: Project, buildOptions: BuildOptions);
|
|
13
|
+
protected browserTaksName(taskName: string, bc: BroswerCompilation): string;
|
|
14
|
+
protected backendTaskName(taskName: any): string;
|
|
15
|
+
private recreateBrowserLinks;
|
|
16
|
+
start(taskName?: string, afterInitCallBack?: () => void): Promise<void>;
|
|
17
|
+
startAndWatch(taskName?: string, options?: IncCompiler.Models.StartAndWatchOptions): Promise<void>;
|
|
18
|
+
}
|