@analogjs/platform 3.0.0-alpha.5 → 3.0.0-alpha.50
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/package.json +29 -19
- package/src/index.d.ts +9 -2
- package/src/index.js +11 -3
- package/src/index.js.map +1 -0
- package/src/lib/clear-client-page-endpoint.d.ts +2 -2
- package/src/lib/clear-client-page-endpoint.js +22 -32
- package/src/lib/clear-client-page-endpoint.js.map +1 -0
- package/src/lib/content/marked/index.d.ts +5 -5
- package/src/lib/content/marked/index.js +10 -6
- package/src/lib/content/marked/index.js.map +1 -0
- package/src/lib/content/marked/marked-content-highlighter.d.ts +2 -2
- package/src/lib/content/marked/marked-content-highlighter.js +6 -3
- package/src/lib/content/marked/marked-content-highlighter.js.map +1 -0
- package/src/lib/content/marked/marked-setup.service.d.ts +8 -8
- package/src/lib/content/marked/marked-setup.service.js +44 -54
- package/src/lib/content/marked/marked-setup.service.js.map +1 -0
- package/src/lib/content/prism/angular.js +18 -19
- package/src/lib/content/prism/angular.js.map +1 -0
- package/src/lib/content/prism/index.d.ts +1 -1
- package/src/lib/content/prism/index.js +10 -7
- package/src/lib/content/prism/index.js.map +1 -0
- package/src/lib/content/prism/options.d.ts +1 -1
- package/src/lib/content/prism/prism-highlighter.d.ts +5 -5
- package/src/lib/content/prism/prism-highlighter.js +33 -33
- package/src/lib/content/prism/prism-highlighter.js.map +1 -0
- package/src/lib/content/shiki/index.d.ts +3 -3
- package/src/lib/content/shiki/index.js +22 -28
- package/src/lib/content/shiki/index.js.map +1 -0
- package/src/lib/content/shiki/options.d.ts +8 -7
- package/src/lib/content/shiki/shiki-highlighter.d.ts +14 -13
- package/src/lib/content/shiki/shiki-highlighter.js +49 -43
- package/src/lib/content/shiki/shiki-highlighter.js.map +1 -0
- package/src/lib/content-plugin.d.ts +19 -19
- package/src/lib/content-plugin.js +181 -196
- package/src/lib/content-plugin.js.map +1 -0
- package/src/lib/deps-plugin.d.ts +2 -2
- package/src/lib/deps-plugin.js +80 -82
- package/src/lib/deps-plugin.js.map +1 -0
- package/src/lib/discover-library-routes.d.ts +13 -0
- package/src/lib/discover-library-routes.js +64 -0
- package/src/lib/discover-library-routes.js.map +1 -0
- package/src/lib/i18n-component-registry-plugin.d.ts +17 -0
- package/src/lib/i18n-component-registry-plugin.js +100 -0
- package/src/lib/i18n-component-registry-plugin.js.map +1 -0
- package/src/lib/i18n-extract-plugin.d.ts +33 -0
- package/src/lib/json-ld-manifest-plugin.d.ts +41 -0
- package/src/lib/json-ld-manifest-plugin.js +84 -0
- package/src/lib/json-ld-manifest-plugin.js.map +1 -0
- package/src/lib/nx-plugin/builders.json +7 -0
- package/src/lib/nx-plugin/executors.json +5 -0
- package/src/lib/nx-plugin/generators.json +25 -0
- package/src/lib/nx-plugin/node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/string/camelCase.js +13 -0
- package/src/lib/nx-plugin/node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/string/camelCase.js.map +1 -0
- package/src/lib/nx-plugin/node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/string/capitalize.js +8 -0
- package/src/lib/nx-plugin/node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/string/capitalize.js.map +1 -0
- package/src/lib/nx-plugin/node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/string/words.js +9 -0
- package/src/lib/nx-plugin/node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/string/words.js.map +1 -0
- package/src/lib/nx-plugin/package.json +1 -5
- package/src/lib/nx-plugin/src/executors/vite/compat.d.ts +1 -1
- package/src/lib/nx-plugin/src/executors/vite/compat.js +6 -7
- package/src/lib/nx-plugin/src/executors/vite/compat.js.map +1 -1
- package/src/lib/nx-plugin/src/executors/vite/schema.d.ts +1 -1
- package/src/lib/nx-plugin/src/executors/vite/vite.impl.d.ts +1 -1
- package/src/lib/nx-plugin/src/executors/vite/vite.impl.js +5 -4
- package/src/lib/nx-plugin/src/executors/vite/vite.impl.js.map +1 -1
- package/src/lib/nx-plugin/src/executors/vite-dev-server/compat.d.ts +1 -1
- package/src/lib/nx-plugin/src/executors/vite-dev-server/compat.js +6 -7
- package/src/lib/nx-plugin/src/executors/vite-dev-server/compat.js.map +1 -1
- package/src/lib/nx-plugin/src/executors/vite-dev-server/schema.d.ts +1 -1
- package/src/lib/nx-plugin/src/executors/vite-dev-server/vite-dev-server.impl.d.ts +1 -1
- package/src/lib/nx-plugin/src/executors/vite-dev-server/vite-dev-server.impl.js +5 -4
- package/src/lib/nx-plugin/src/executors/vite-dev-server/vite-dev-server.impl.js.map +1 -1
- package/src/lib/nx-plugin/src/executors/vitest/compat.d.ts +1 -1
- package/src/lib/nx-plugin/src/executors/vitest/compat.js +6 -7
- package/src/lib/nx-plugin/src/executors/vitest/compat.js.map +1 -1
- package/src/lib/nx-plugin/src/executors/vitest/schema.d.ts +1 -1
- package/src/lib/nx-plugin/src/executors/vitest/vitest.impl.d.ts +1 -1
- package/src/lib/nx-plugin/src/executors/vitest/vitest.impl.js +5 -4
- package/src/lib/nx-plugin/src/executors/vitest/vitest.impl.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/compat.d.ts +9 -3
- package/src/lib/nx-plugin/src/generators/app/compat.js +17 -7
- package/src/lib/nx-plugin/src/generators/app/compat.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/files/root/tsconfig.base.json +3 -6
- package/src/lib/nx-plugin/src/generators/app/files/template-angular/src/test-setup.ts__template__ +1 -0
- package/src/lib/nx-plugin/src/generators/app/files/template-angular/tsconfig.app.json__template__ +1 -3
- package/src/lib/nx-plugin/src/generators/app/files/template-angular/tsconfig.json__template__ +2 -1
- package/src/lib/nx-plugin/src/generators/app/files/template-angular/vite.config.ts__template__ +6 -2
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v17/src/app/app.config.ts__template__ +0 -6
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v17/tsconfig.json__template__ +4 -2
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v17/vite.config.ts__template__ +1 -21
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v18/src/app/app.config.ts__template__ +0 -6
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v18/tsconfig.json__template__ +4 -2
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v18/vite.config.ts__template__ +2 -22
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v19/src/app/app.config.ts__template__ +0 -6
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v19/tsconfig.app.json__template__ +1 -3
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v19/tsconfig.json__template__ +4 -2
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v19/vite.config.ts__template__ +1 -12
- package/src/lib/nx-plugin/src/generators/app/generator.d.ts +11 -11
- package/src/lib/nx-plugin/src/generators/app/generator.js +78 -92
- package/src/lib/nx-plugin/src/generators/app/generator.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-analog-dependencies.d.ts +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-analog-project-config.d.ts +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-analog-project-config.js +72 -81
- package/src/lib/nx-plugin/src/generators/app/lib/add-analog-project-config.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-angular-app.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/app/lib/add-angular-app.js +24 -58
- package/src/lib/nx-plugin/src/generators/app/lib/add-angular-app.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-eslint.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/app/lib/add-files.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/app/lib/add-files.js +15 -16
- package/src/lib/nx-plugin/src/generators/app/lib/add-files.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-home-page.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/app/lib/add-home-page.js +14 -13
- package/src/lib/nx-plugin/src/generators/app/lib/add-home-page.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-tailwind-config.d.ts +7 -7
- package/src/lib/nx-plugin/src/generators/app/lib/add-tailwind-config.js +18 -29
- package/src/lib/nx-plugin/src/generators/app/lib/add-tailwind-config.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-tailwind-helpers.d.ts +4 -5
- package/src/lib/nx-plugin/src/generators/app/lib/add-tailwind-helpers.js +60 -103
- package/src/lib/nx-plugin/src/generators/app/lib/add-tailwind-helpers.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-vite-plugin.d.ts +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/cleanup-files.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/app/lib/cleanup-files.js +17 -20
- package/src/lib/nx-plugin/src/generators/app/lib/cleanup-files.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/initialize-analog-workspace.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/app/lib/update-index-html.d.ts +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/update-index-html.js +14 -18
- package/src/lib/nx-plugin/src/generators/app/lib/update-index-html.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/versions/minimum-supported-versions.d.ts +2 -3
- package/src/lib/nx-plugin/src/generators/app/versions/minimum-supported-versions.js +6 -10
- package/src/lib/nx-plugin/src/generators/app/versions/minimum-supported-versions.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/versions/nx-dependencies.d.ts +0 -3
- package/src/lib/nx-plugin/src/generators/app/versions/nx_17_X/versions.d.ts +1 -6
- package/src/lib/nx-plugin/src/generators/app/versions/nx_18_X/versions.d.ts +12 -17
- package/src/lib/nx-plugin/src/generators/app/versions/nx_18_X/versions.js +11 -37
- package/src/lib/nx-plugin/src/generators/app/versions/nx_18_X/versions.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/versions/tailwind-dependencies.d.ts +1 -1
- package/src/lib/nx-plugin/src/generators/app/versions/tailwind-dependencies.js +11 -15
- package/src/lib/nx-plugin/src/generators/app/versions/tailwind-dependencies.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/versions.d.ts +0 -28
- package/src/lib/nx-plugin/src/generators/init/compat.d.ts +9 -3
- package/src/lib/nx-plugin/src/generators/init/compat.js +17 -7
- package/src/lib/nx-plugin/src/generators/init/compat.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/files/vite.config.ts__template__ +2 -6
- package/src/lib/nx-plugin/src/generators/init/generator.d.ts +3 -3
- package/src/lib/nx-plugin/src/generators/init/generator.js +54 -65
- package/src/lib/nx-plugin/src/generators/init/generator.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/add-analog-dependencies.d.ts +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/add-analog-dependencies.js +19 -20
- package/src/lib/nx-plugin/src/generators/init/lib/add-analog-dependencies.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-app-tsconfig.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-app-tsconfig.js +20 -21
- package/src/lib/nx-plugin/src/generators/init/lib/update-app-tsconfig.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-build-target.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-build-target.js +56 -66
- package/src/lib/nx-plugin/src/generators/init/lib/update-build-target.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-git-ignore.d.ts +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-git-ignore.js +12 -11
- package/src/lib/nx-plugin/src/generators/init/lib/update-git-ignore.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-index-html.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-index-html.js +17 -21
- package/src/lib/nx-plugin/src/generators/init/lib/update-index-html.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-main.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-main.js +12 -15
- package/src/lib/nx-plugin/src/generators/init/lib/update-main.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-package-json.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-package-json.js +19 -31
- package/src/lib/nx-plugin/src/generators/init/lib/update-package-json.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-serve-target.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-serve-target.js +43 -51
- package/src/lib/nx-plugin/src/generators/init/lib/update-serve-target.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-test-target.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-test-target.js +27 -34
- package/src/lib/nx-plugin/src/generators/init/lib/update-test-target.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-test-tsconfig.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-test-tsconfig.js +19 -20
- package/src/lib/nx-plugin/src/generators/init/lib/update-test-tsconfig.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/test-files/src/test-setup.ts__template__ +1 -0
- package/src/lib/nx-plugin/src/generators/page/__snapshots__/generator.spec.ts.snap +0 -7
- package/src/lib/nx-plugin/src/generators/page/compat.d.ts +9 -0
- package/src/lib/nx-plugin/src/generators/page/compat.js +18 -0
- package/src/lib/nx-plugin/src/generators/page/compat.js.map +1 -0
- package/src/lib/nx-plugin/src/generators/page/files/__fileName__.page.ts__template__ +0 -1
- package/src/lib/nx-plugin/src/generators/page/generator.d.ts +3 -4
- package/src/lib/nx-plugin/src/generators/page/generator.js +34 -44
- package/src/lib/nx-plugin/src/generators/page/generator.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/preset/__snapshots__/generator.spec.ts.snap +5 -4
- package/src/lib/nx-plugin/src/generators/preset/generator.d.ts +3 -3
- package/src/lib/nx-plugin/src/generators/preset/generator.js +17 -43
- package/src/lib/nx-plugin/src/generators/preset/generator.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/setup-vitest/compat.d.ts +9 -3
- package/src/lib/nx-plugin/src/generators/setup-vitest/compat.js +17 -7
- package/src/lib/nx-plugin/src/generators/setup-vitest/compat.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/setup-vitest/files/src/test-setup.ts__template__ +1 -0
- package/src/lib/nx-plugin/src/generators/setup-vitest/files/vite.config.mts__template__ +0 -6
- package/src/lib/nx-plugin/src/generators/setup-vitest/generator.d.ts +3 -3
- package/src/lib/nx-plugin/src/generators/setup-vitest/generator.js +32 -42
- package/src/lib/nx-plugin/src/generators/setup-vitest/generator.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/setup-vitest/lib/add-analog-dependencies.d.ts +1 -1
- package/src/lib/nx-plugin/src/generators/setup-vitest/lib/add-analog-dependencies.js +7 -7
- package/src/lib/nx-plugin/src/generators/setup-vitest/lib/add-analog-dependencies.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/setup-vitest/lib/update-test-target.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/setup-vitest/lib/update-test-target.js +20 -27
- package/src/lib/nx-plugin/src/generators/setup-vitest/lib/update-test-target.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/setup-vitest/lib/update-tsconfig.d.ts +2 -2
- package/src/lib/nx-plugin/src/generators/setup-vitest/lib/update-tsconfig.js +19 -22
- package/src/lib/nx-plugin/src/generators/setup-vitest/lib/update-tsconfig.js.map +1 -1
- package/src/lib/nx-plugin/src/index.js +0 -2
- package/src/lib/nx-plugin/src/utils/version-utils.d.ts +1 -1
- package/src/lib/nx-plugin/src/utils/version-utils.js +20 -27
- package/src/lib/nx-plugin/src/utils/version-utils.js.map +1 -1
- package/src/lib/nx-plugin/src/utils/versions/dependencies.js +42 -62
- package/src/lib/nx-plugin/src/utils/versions/dependencies.js.map +1 -1
- package/src/lib/nx-plugin/src/utils/versions/dev-dependencies.js +49 -83
- package/src/lib/nx-plugin/src/utils/versions/dev-dependencies.js.map +1 -1
- package/src/lib/nx-plugin/src/utils/versions/ng_17_X/versions.d.ts +1 -1
- package/src/lib/nx-plugin/src/utils/versions/ng_17_X/versions.js +33 -20
- package/src/lib/nx-plugin/src/utils/versions/ng_17_X/versions.js.map +1 -1
- package/src/lib/nx-plugin/src/utils/versions/ng_18_X/versions.d.ts +1 -1
- package/src/lib/nx-plugin/src/utils/versions/ng_18_X/versions.js +33 -20
- package/src/lib/nx-plugin/src/utils/versions/ng_18_X/versions.js.map +1 -1
- package/src/lib/nx-plugin/src/utils/versions/ng_19_X/versions.d.ts +8 -8
- package/src/lib/nx-plugin/src/utils/versions/ng_19_X/versions.js +37 -23
- package/src/lib/nx-plugin/src/utils/versions/ng_19_X/versions.js.map +1 -1
- package/src/lib/options.d.ts +306 -80
- package/src/lib/platform-plugin.d.ts +2 -2
- package/src/lib/platform-plugin.js +91 -62
- package/src/lib/platform-plugin.js.map +1 -0
- package/src/lib/route-file-discovery.d.ts +23 -0
- package/src/lib/route-file-discovery.js +114 -0
- package/src/lib/route-file-discovery.js.map +1 -0
- package/src/lib/route-generation-plugin.d.ts +3 -0
- package/src/lib/route-generation-plugin.js +45 -0
- package/src/lib/route-generation-plugin.js.map +1 -0
- package/src/lib/route-idiom-diagnostics.d.ts +13 -0
- package/src/lib/route-idiom-diagnostics.js +160 -0
- package/src/lib/route-idiom-diagnostics.js.map +1 -0
- package/src/lib/route-manifest.d.ts +122 -0
- package/src/lib/route-manifest.js +431 -0
- package/src/lib/route-manifest.js.map +1 -0
- package/src/lib/router-plugin.d.ts +19 -19
- package/src/lib/router-plugin.js +234 -150
- package/src/lib/router-plugin.js.map +1 -0
- package/src/lib/ssr/inject-html-plugin.d.ts +1 -1
- package/src/lib/ssr/inject-html-plugin.js +25 -25
- package/src/lib/ssr/inject-html-plugin.js.map +1 -0
- package/src/lib/ssr/ssr-build-plugin.d.ts +31 -2
- package/src/lib/ssr/ssr-build-plugin.js +54 -30
- package/src/lib/ssr/ssr-build-plugin.js.map +1 -0
- package/src/lib/style-pipeline.d.ts +34 -0
- package/src/lib/style-pipeline.js +32 -0
- package/src/lib/style-pipeline.js.map +1 -0
- package/src/lib/style-preprocessor.d.ts +28 -0
- package/src/lib/style-preprocessor.js +35 -0
- package/src/lib/style-preprocessor.js.map +1 -0
- package/src/lib/tailwind-preprocessor.d.ts +23 -0
- package/src/lib/tailwind-preprocessor.js +153 -0
- package/src/lib/tailwind-preprocessor.js.map +1 -0
- package/src/lib/typed-routes-plugin.d.ts +50 -0
- package/src/lib/typed-routes-plugin.js +234 -0
- package/src/lib/typed-routes-plugin.js.map +1 -0
- package/src/lib/utils/debug-harness.d.ts +23 -0
- package/src/lib/utils/debug-harness.js +88 -0
- package/src/lib/utils/debug-harness.js.map +1 -0
- package/src/lib/utils/debug-log-file.d.ts +5 -0
- package/src/lib/utils/debug-log-file.js +56 -0
- package/src/lib/utils/debug-log-file.js.map +1 -0
- package/src/lib/utils/debug.d.ts +22 -0
- package/src/lib/utils/debug.js +27 -0
- package/src/lib/utils/debug.js.map +1 -0
- package/src/lib/utils/rolldown.d.ts +3 -0
- package/src/lib/utils/rolldown.js +15 -0
- package/src/lib/utils/rolldown.js.map +1 -0
- package/src/server-mode-plugin.d.ts +6 -6
- package/src/server-mode-plugin.js +16 -18
- package/src/server-mode-plugin.js.map +1 -0
- package/src/style-pipeline.d.ts +1 -0
- package/src/style-pipeline.js +2 -0
- package/src/style-preprocessor.d.ts +1 -0
- package/src/style-preprocessor.js +2 -0
- package/README.md +0 -5
- package/src/lib/content/prism/options.js +0 -1
- package/src/lib/content/shiki/options.js +0 -1
- package/src/lib/nx-plugin/README.md +0 -23
- package/src/lib/nx-plugin/src/generators/app/files/tailwind/v4/.postcssrc.json +0 -5
- package/src/lib/nx-plugin/src/generators/app/files/tailwind/v4/tailwind.config.ts__template__ +0 -14
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/index.html__template__ +0 -15
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/app/app.component.spec.ts__template__ +0 -17
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/app/app.component.ts__template__ +0 -10
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/favicon.ico__template__ +0 -0
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/main.providers.ts__template__ +0 -5
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/main.server.ts__template__ +0 -23
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/main.ts__template__ +0 -17
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/public/assets/.gitkeep__template__ +0 -0
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/public/assets/analog.svg__template__ +0 -1
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/public/assets/vite.svg__template__ +0 -1
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/server/routes/v1/hello.ts__template__ +0 -3
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/styles.css__template__ +0 -4
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/test-setup.ts__template__ +0 -12
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/src/vite-env.d.ts__template__ +0 -1
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/tsconfig.app.json__template__ +0 -16
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/tsconfig.editor.json__template__ +0 -7
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/tsconfig.json__template__ +0 -32
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/tsconfig.spec.json__template__ +0 -14
- package/src/lib/nx-plugin/src/generators/app/files/template-angular-v15/vite.config.ts__template__ +0 -69
- package/src/lib/nx-plugin/src/generators/app/lib/add-analog-dependencies.js +0 -15
- package/src/lib/nx-plugin/src/generators/app/lib/add-analog-dependencies.js.map +0 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-eslint.js +0 -58
- package/src/lib/nx-plugin/src/generators/app/lib/add-eslint.js.map +0 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-vite-plugin.js +0 -47
- package/src/lib/nx-plugin/src/generators/app/lib/add-vite-plugin.js.map +0 -1
- package/src/lib/nx-plugin/src/generators/app/lib/initialize-analog-workspace.js +0 -110
- package/src/lib/nx-plugin/src/generators/app/lib/initialize-analog-workspace.js.map +0 -1
- package/src/lib/nx-plugin/src/generators/app/versions/dependencies.js +0 -56
- package/src/lib/nx-plugin/src/generators/app/versions/dependencies.js.map +0 -1
- package/src/lib/nx-plugin/src/generators/app/versions/dev-dependencies.js +0 -72
- package/src/lib/nx-plugin/src/generators/app/versions/dev-dependencies.js.map +0 -1
- package/src/lib/nx-plugin/src/generators/app/versions/nx-dependencies.js +0 -46
- package/src/lib/nx-plugin/src/generators/app/versions/nx-dependencies.js.map +0 -1
- package/src/lib/nx-plugin/src/generators/app/versions/nx_17_X/versions.js +0 -37
- package/src/lib/nx-plugin/src/generators/app/versions/nx_17_X/versions.js.map +0 -1
- package/src/lib/nx-plugin/src/generators/app/versions.js +0 -43
- package/src/lib/nx-plugin/src/generators/app/versions.js.map +0 -1
- package/src/lib/nx-plugin/src/index.d.ts +0 -0
- package/src/lib/nx-plugin/src/index.js.map +0 -1
- package/src/lib/options.js +0 -1
- package/src/lib/ssr/ssr-xhr-plugin.d.ts +0 -2
- package/src/lib/ssr/ssr-xhr-plugin.js +0 -28
|
@@ -1,21 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
1
|
+
//#region packages/nx-plugin/src/utils/versions/ng_17_X/versions.ts
|
|
2
|
+
var V17_X_ANALOG_JS_ROUTER = "^1.7.0";
|
|
3
|
+
var V17_X_ANALOG_JS_CONTENT = "^1.7.0";
|
|
4
|
+
var V17_X_MARKED = "^18.0.0";
|
|
5
|
+
var V17_X_MARKED_GFM_HEADING_ID = "^4.1.1";
|
|
6
|
+
var V17_X_MARKED_HIGHLIGHT = "^2.2.1";
|
|
7
|
+
var V17_X_MARKED_MANGLE = "^1.1.10";
|
|
8
|
+
var V17_X_PRISMJS = "^1.29.0";
|
|
9
|
+
var V17_X_ANALOG_JS_PLATFORM = "^1.7.0";
|
|
10
|
+
var V17_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = "^1.7.0";
|
|
11
|
+
var V17_X_ANALOG_JS_VITEST_ANGULAR = "^1.7.0";
|
|
12
|
+
var V17_X_NX_ANGULAR = "~18.0.0";
|
|
13
|
+
var V17_X_NX_VITE = "~18.0.0";
|
|
14
|
+
var V17_X_JSDOM = "^22.0.0";
|
|
15
|
+
var V17_X_VITE_TSCONFIG_PATHS = "^4.2.0";
|
|
16
|
+
var V17_X_VITEST = "^1.3.1";
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.V17_X_ANALOG_JS_CONTENT = V17_X_ANALOG_JS_CONTENT;
|
|
19
|
+
exports.V17_X_ANALOG_JS_PLATFORM = V17_X_ANALOG_JS_PLATFORM;
|
|
20
|
+
exports.V17_X_ANALOG_JS_ROUTER = V17_X_ANALOG_JS_ROUTER;
|
|
21
|
+
exports.V17_X_ANALOG_JS_VITEST_ANGULAR = V17_X_ANALOG_JS_VITEST_ANGULAR;
|
|
22
|
+
exports.V17_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = V17_X_ANALOG_JS_VITE_PLUGIN_ANGULAR;
|
|
23
|
+
exports.V17_X_JSDOM = V17_X_JSDOM;
|
|
24
|
+
exports.V17_X_MARKED = V17_X_MARKED;
|
|
25
|
+
exports.V17_X_MARKED_GFM_HEADING_ID = V17_X_MARKED_GFM_HEADING_ID;
|
|
26
|
+
exports.V17_X_MARKED_HIGHLIGHT = V17_X_MARKED_HIGHLIGHT;
|
|
27
|
+
exports.V17_X_MARKED_MANGLE = V17_X_MARKED_MANGLE;
|
|
28
|
+
exports.V17_X_NX_ANGULAR = V17_X_NX_ANGULAR;
|
|
29
|
+
exports.V17_X_NX_VITE = V17_X_NX_VITE;
|
|
30
|
+
exports.V17_X_PRISMJS = V17_X_PRISMJS;
|
|
31
|
+
exports.V17_X_VITEST = V17_X_VITEST;
|
|
32
|
+
exports.V17_X_VITE_TSCONFIG_PATHS = V17_X_VITE_TSCONFIG_PATHS;
|
|
33
|
+
|
|
21
34
|
//# sourceMappingURL=versions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","
|
|
1
|
+
{"version":3,"file":"versions.js","names":[],"sources":["../../../../../../../../../nx-plugin/src/utils/versions/ng_17_X/versions.ts"],"sourcesContent":["// V17_X\nexport const V17_X_ANALOG_JS_ROUTER = '^1.7.0';\nexport const V17_X_ANALOG_JS_CONTENT = '^1.7.0';\nexport const V17_X_MARKED = '^18.0.0';\nexport const V17_X_MARKED_GFM_HEADING_ID = '^4.1.1';\nexport const V17_X_MARKED_HIGHLIGHT = '^2.2.1';\nexport const V17_X_MARKED_MANGLE = '^1.1.10';\nexport const V17_X_PRISMJS = '^1.29.0';\n\n// devDependencies\nexport const V17_X_ANALOG_JS_PLATFORM = '^1.7.0';\nexport const V17_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = '^1.7.0';\nexport const V17_X_ANALOG_JS_VITEST_ANGULAR = '^1.7.0';\nexport const V17_X_NX_ANGULAR = '~18.0.0';\nexport const V17_X_NX_VITE = '~18.0.0';\nexport const V17_X_JSDOM = '^22.0.0';\nexport const V17_X_VITE_TSCONFIG_PATHS = '^4.2.0';\nexport const V17_X_VITEST = '^1.3.1';\n"],"mappings":";AACA,IAAa,yBAAyB;AACtC,IAAa,0BAA0B;AACvC,IAAa,eAAe;AAC5B,IAAa,8BAA8B;AAC3C,IAAa,yBAAyB;AACtC,IAAa,sBAAsB;AACnC,IAAa,gBAAgB;AAG7B,IAAa,2BAA2B;AACxC,IAAa,sCAAsC;AACnD,IAAa,iCAAiC;AAC9C,IAAa,mBAAmB;AAChC,IAAa,gBAAgB;AAC7B,IAAa,cAAc;AAC3B,IAAa,4BAA4B;AACzC,IAAa,eAAe"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const V18_X_ANALOG_JS_ROUTER = "^1.7.0";
|
|
2
2
|
export declare const V18_X_ANALOG_JS_CONTENT = "^1.7.0";
|
|
3
|
-
export declare const V18_X_MARKED = "^
|
|
3
|
+
export declare const V18_X_MARKED = "^18.0.0";
|
|
4
4
|
export declare const V18_X_MARKED_GFM_HEADING_ID = "^4.1.1";
|
|
5
5
|
export declare const V18_X_MARKED_HIGHLIGHT = "^2.2.1";
|
|
6
6
|
export declare const V18_X_MARKED_MANGLE = "^1.1.10";
|
|
@@ -1,21 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
1
|
+
//#region packages/nx-plugin/src/utils/versions/ng_18_X/versions.ts
|
|
2
|
+
var V18_X_ANALOG_JS_ROUTER = "^1.7.0";
|
|
3
|
+
var V18_X_ANALOG_JS_CONTENT = "^1.7.0";
|
|
4
|
+
var V18_X_MARKED = "^18.0.0";
|
|
5
|
+
var V18_X_MARKED_GFM_HEADING_ID = "^4.1.1";
|
|
6
|
+
var V18_X_MARKED_HIGHLIGHT = "^2.2.1";
|
|
7
|
+
var V18_X_MARKED_MANGLE = "^1.1.10";
|
|
8
|
+
var V18_X_PRISMJS = "^1.29.0";
|
|
9
|
+
var V18_X_ANALOG_JS_PLATFORM = "^1.7.0";
|
|
10
|
+
var V18_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = "^1.7.0";
|
|
11
|
+
var V18_X_ANALOG_JS_VITEST_ANGULAR = "^1.7.0";
|
|
12
|
+
var V18_X_NX_ANGULAR = "~19.1.0";
|
|
13
|
+
var V18_X_NX_VITE = "~19.1.0";
|
|
14
|
+
var V18_X_JSDOM = "^22.0.0";
|
|
15
|
+
var V18_X_VITE_TSCONFIG_PATHS = "^4.2.0";
|
|
16
|
+
var V18_X_VITEST = "^1.3.1";
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.V18_X_ANALOG_JS_CONTENT = V18_X_ANALOG_JS_CONTENT;
|
|
19
|
+
exports.V18_X_ANALOG_JS_PLATFORM = V18_X_ANALOG_JS_PLATFORM;
|
|
20
|
+
exports.V18_X_ANALOG_JS_ROUTER = V18_X_ANALOG_JS_ROUTER;
|
|
21
|
+
exports.V18_X_ANALOG_JS_VITEST_ANGULAR = V18_X_ANALOG_JS_VITEST_ANGULAR;
|
|
22
|
+
exports.V18_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = V18_X_ANALOG_JS_VITE_PLUGIN_ANGULAR;
|
|
23
|
+
exports.V18_X_JSDOM = V18_X_JSDOM;
|
|
24
|
+
exports.V18_X_MARKED = V18_X_MARKED;
|
|
25
|
+
exports.V18_X_MARKED_GFM_HEADING_ID = V18_X_MARKED_GFM_HEADING_ID;
|
|
26
|
+
exports.V18_X_MARKED_HIGHLIGHT = V18_X_MARKED_HIGHLIGHT;
|
|
27
|
+
exports.V18_X_MARKED_MANGLE = V18_X_MARKED_MANGLE;
|
|
28
|
+
exports.V18_X_NX_ANGULAR = V18_X_NX_ANGULAR;
|
|
29
|
+
exports.V18_X_NX_VITE = V18_X_NX_VITE;
|
|
30
|
+
exports.V18_X_PRISMJS = V18_X_PRISMJS;
|
|
31
|
+
exports.V18_X_VITEST = V18_X_VITEST;
|
|
32
|
+
exports.V18_X_VITE_TSCONFIG_PATHS = V18_X_VITE_TSCONFIG_PATHS;
|
|
33
|
+
|
|
21
34
|
//# sourceMappingURL=versions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","
|
|
1
|
+
{"version":3,"file":"versions.js","names":[],"sources":["../../../../../../../../../nx-plugin/src/utils/versions/ng_18_X/versions.ts"],"sourcesContent":["// V18_X\nexport const V18_X_ANALOG_JS_ROUTER = '^1.7.0';\nexport const V18_X_ANALOG_JS_CONTENT = '^1.7.0';\nexport const V18_X_MARKED = '^18.0.0';\nexport const V18_X_MARKED_GFM_HEADING_ID = '^4.1.1';\nexport const V18_X_MARKED_HIGHLIGHT = '^2.2.1';\nexport const V18_X_MARKED_MANGLE = '^1.1.10';\nexport const V18_X_PRISMJS = '^1.29.0';\n\n// devDependencies\nexport const V18_X_ANALOG_JS_PLATFORM = '^1.7.0';\nexport const V18_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = '^1.7.0';\nexport const V18_X_ANALOG_JS_VITEST_ANGULAR = '^1.7.0';\nexport const V18_X_NX_ANGULAR = '~19.1.0';\nexport const V18_X_NX_VITE = '~19.1.0';\nexport const V18_X_JSDOM = '^22.0.0';\nexport const V18_X_VITE_TSCONFIG_PATHS = '^4.2.0';\nexport const V18_X_VITEST = '^1.3.1';\n"],"mappings":";AACA,IAAa,yBAAyB;AACtC,IAAa,0BAA0B;AACvC,IAAa,eAAe;AAC5B,IAAa,8BAA8B;AAC3C,IAAa,yBAAyB;AACtC,IAAa,sBAAsB;AACnC,IAAa,gBAAgB;AAG7B,IAAa,2BAA2B;AACxC,IAAa,sCAAsC;AACnD,IAAa,iCAAiC;AAC9C,IAAa,mBAAmB;AAChC,IAAa,gBAAgB;AAC7B,IAAa,cAAc;AAC3B,IAAa,4BAA4B;AACzC,IAAa,eAAe"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export declare const V19_X_ANALOG_JS_ROUTER = "^3.0.0-alpha.
|
|
2
|
-
export declare const V19_X_ANALOG_JS_CONTENT = "^3.0.0-alpha.
|
|
3
|
-
export declare const V19_X_MARKED = "^
|
|
1
|
+
export declare const V19_X_ANALOG_JS_ROUTER = "^3.0.0-alpha.50";
|
|
2
|
+
export declare const V19_X_ANALOG_JS_CONTENT = "^3.0.0-alpha.50";
|
|
3
|
+
export declare const V19_X_MARKED = "^18.0.0";
|
|
4
4
|
export declare const V19_X_MARKED_GFM_HEADING_ID = "^4.1.1";
|
|
5
5
|
export declare const V19_X_MARKED_HIGHLIGHT = "^2.2.1";
|
|
6
6
|
export declare const V19_X_MARKED_MANGLE = "^1.1.10";
|
|
7
7
|
export declare const V19_X_PRISMJS = "^1.29.0";
|
|
8
|
-
export declare const V19_X_ANALOG_JS_PLATFORM = "^3.0.0-alpha.
|
|
9
|
-
export declare const V19_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = "^3.0.0-alpha.
|
|
10
|
-
export declare const V19_X_ANALOG_JS_VITEST_ANGULAR = "^3.0.0-alpha.
|
|
8
|
+
export declare const V19_X_ANALOG_JS_PLATFORM = "^3.0.0-alpha.50";
|
|
9
|
+
export declare const V19_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = "^3.0.0-alpha.50";
|
|
10
|
+
export declare const V19_X_ANALOG_JS_VITEST_ANGULAR = "^3.0.0-alpha.50";
|
|
11
11
|
export declare const V19_X_NX_ANGULAR = "^22.0.0";
|
|
12
12
|
export declare const V19_X_NX_VITE = "^22.0.0";
|
|
13
13
|
export declare const V19_X_JSDOM = "^22.0.0";
|
|
14
14
|
export declare const V19_X_VITE_TSCONFIG_PATHS = "^4.2.0";
|
|
15
15
|
export declare const V19_X_VITEST = "^3.0.0";
|
|
16
|
-
export declare const V19_X_VITE = "^
|
|
17
|
-
export declare const NX_X_LATEST_VITE = "^
|
|
16
|
+
export declare const V19_X_VITE = "^6.0.0";
|
|
17
|
+
export declare const NX_X_LATEST_VITE = "^8.0.0";
|
|
18
18
|
export declare const NX_X_LATEST_VITEST = "^4.0.0";
|
|
@@ -1,24 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
1
|
+
//#region packages/nx-plugin/src/utils/versions/ng_19_X/versions.ts
|
|
2
|
+
var V19_X_ANALOG_JS_ROUTER = "^3.0.0-alpha.50";
|
|
3
|
+
var V19_X_ANALOG_JS_CONTENT = "^3.0.0-alpha.50";
|
|
4
|
+
var V19_X_MARKED = "^18.0.0";
|
|
5
|
+
var V19_X_MARKED_GFM_HEADING_ID = "^4.1.1";
|
|
6
|
+
var V19_X_MARKED_HIGHLIGHT = "^2.2.1";
|
|
7
|
+
var V19_X_MARKED_MANGLE = "^1.1.10";
|
|
8
|
+
var V19_X_PRISMJS = "^1.29.0";
|
|
9
|
+
var V19_X_ANALOG_JS_PLATFORM = "^3.0.0-alpha.50";
|
|
10
|
+
var V19_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = "^3.0.0-alpha.50";
|
|
11
|
+
var V19_X_ANALOG_JS_VITEST_ANGULAR = "^3.0.0-alpha.50";
|
|
12
|
+
var V19_X_NX_VITE = "^22.0.0";
|
|
13
|
+
var V19_X_JSDOM = "^22.0.0";
|
|
14
|
+
var V19_X_VITE_TSCONFIG_PATHS = "^4.2.0";
|
|
15
|
+
var V19_X_VITEST = "^3.0.0";
|
|
16
|
+
var V19_X_VITE = "^6.0.0";
|
|
17
|
+
var NX_X_LATEST_VITE = "^8.0.0";
|
|
18
|
+
var NX_X_LATEST_VITEST = "^4.0.0";
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.NX_X_LATEST_VITE = NX_X_LATEST_VITE;
|
|
21
|
+
exports.NX_X_LATEST_VITEST = NX_X_LATEST_VITEST;
|
|
22
|
+
exports.V19_X_ANALOG_JS_CONTENT = V19_X_ANALOG_JS_CONTENT;
|
|
23
|
+
exports.V19_X_ANALOG_JS_PLATFORM = V19_X_ANALOG_JS_PLATFORM;
|
|
24
|
+
exports.V19_X_ANALOG_JS_ROUTER = V19_X_ANALOG_JS_ROUTER;
|
|
25
|
+
exports.V19_X_ANALOG_JS_VITEST_ANGULAR = V19_X_ANALOG_JS_VITEST_ANGULAR;
|
|
26
|
+
exports.V19_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = V19_X_ANALOG_JS_VITE_PLUGIN_ANGULAR;
|
|
27
|
+
exports.V19_X_JSDOM = V19_X_JSDOM;
|
|
28
|
+
exports.V19_X_MARKED = V19_X_MARKED;
|
|
29
|
+
exports.V19_X_MARKED_GFM_HEADING_ID = V19_X_MARKED_GFM_HEADING_ID;
|
|
30
|
+
exports.V19_X_MARKED_HIGHLIGHT = V19_X_MARKED_HIGHLIGHT;
|
|
31
|
+
exports.V19_X_MARKED_MANGLE = V19_X_MARKED_MANGLE;
|
|
32
|
+
exports.V19_X_NX_VITE = V19_X_NX_VITE;
|
|
33
|
+
exports.V19_X_PRISMJS = V19_X_PRISMJS;
|
|
34
|
+
exports.V19_X_VITE = V19_X_VITE;
|
|
35
|
+
exports.V19_X_VITEST = V19_X_VITEST;
|
|
36
|
+
exports.V19_X_VITE_TSCONFIG_PATHS = V19_X_VITE_TSCONFIG_PATHS;
|
|
37
|
+
|
|
24
38
|
//# sourceMappingURL=versions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","
|
|
1
|
+
{"version":3,"file":"versions.js","names":[],"sources":["../../../../../../../../../nx-plugin/src/utils/versions/ng_19_X/versions.ts"],"sourcesContent":["// V19_X\nexport const V19_X_ANALOG_JS_ROUTER = '^3.0.0-alpha.50';\nexport const V19_X_ANALOG_JS_CONTENT = '^3.0.0-alpha.50';\nexport const V19_X_MARKED = '^18.0.0';\nexport const V19_X_MARKED_GFM_HEADING_ID = '^4.1.1';\nexport const V19_X_MARKED_HIGHLIGHT = '^2.2.1';\nexport const V19_X_MARKED_MANGLE = '^1.1.10';\nexport const V19_X_PRISMJS = '^1.29.0';\n\n// devDependencies\nexport const V19_X_ANALOG_JS_PLATFORM = '^3.0.0-alpha.50';\nexport const V19_X_ANALOG_JS_VITE_PLUGIN_ANGULAR = '^3.0.0-alpha.50';\nexport const V19_X_ANALOG_JS_VITEST_ANGULAR = '^3.0.0-alpha.50';\nexport const V19_X_NX_ANGULAR = '^22.0.0';\nexport const V19_X_NX_VITE = '^22.0.0';\nexport const V19_X_JSDOM = '^22.0.0';\nexport const V19_X_VITE_TSCONFIG_PATHS = '^4.2.0';\nexport const V19_X_VITEST = '^3.0.0';\nexport const V19_X_VITE = '^6.0.0';\nexport const NX_X_LATEST_VITE = '^8.0.0';\nexport const NX_X_LATEST_VITEST = '^4.0.0';\n"],"mappings":";AACA,IAAa,yBAAyB;AACtC,IAAa,0BAA0B;AACvC,IAAa,eAAe;AAC5B,IAAa,8BAA8B;AAC3C,IAAa,yBAAyB;AACtC,IAAa,sBAAsB;AACnC,IAAa,gBAAgB;AAG7B,IAAa,2BAA2B;AACxC,IAAa,sCAAsC;AACnD,IAAa,iCAAiC;AAE9C,IAAa,gBAAgB;AAC7B,IAAa,cAAc;AAC3B,IAAa,4BAA4B;AACzC,IAAa,eAAe;AAC5B,IAAa,aAAa;AAC1B,IAAa,mBAAmB;AAChC,IAAa,qBAAqB"}
|
package/src/lib/options.d.ts
CHANGED
|
@@ -1,85 +1,311 @@
|
|
|
1
|
-
import type { PluginOptions } from
|
|
2
|
-
import type { NitroConfig, PrerenderRoute } from
|
|
3
|
-
import type { SitemapConfig, PrerenderContentDir, PrerenderContentFile, PrerenderRouteConfig } from
|
|
4
|
-
import { ContentPluginOptions } from
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import type { PluginOptions } from "@analogjs/vite-plugin-angular";
|
|
2
|
+
import type { NitroConfig, PrerenderRoute } from "nitro/types";
|
|
3
|
+
import type { SitemapConfig, SitemapEntry, SitemapExcludeRule, SitemapPriority, SitemapRouteDefinition, SitemapRouteInput, SitemapRouteSource, SitemapTransform, PrerenderContentDir, PrerenderContentFile, PrerenderSitemapConfig, PrerenderRouteConfig } from "@analogjs/vite-plugin-nitro";
|
|
4
|
+
import type { ContentPluginOptions } from "./content-plugin.js";
|
|
5
|
+
import type { DebugOption } from "./utils/debug.js";
|
|
6
|
+
import type { StylePipelineOptions } from "./style-pipeline.js";
|
|
7
|
+
declare module "nitro/types" {
|
|
8
|
+
interface NitroRouteConfig {
|
|
9
|
+
ssr?: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface NitroRouteRules {
|
|
12
|
+
ssr?: boolean;
|
|
13
|
+
}
|
|
12
14
|
}
|
|
13
15
|
export interface PrerenderOptions {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Add additional routes to prerender through crawling page links.
|
|
18
|
+
*/
|
|
19
|
+
discover?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* List of routes to prerender resolved statically or dynamically.
|
|
22
|
+
*/
|
|
23
|
+
routes?: (string | PrerenderContentDir | PrerenderRouteConfig)[] | (() => Promise<(string | PrerenderContentDir | PrerenderRouteConfig | undefined)[]>);
|
|
24
|
+
sitemap?: SitemapConfig;
|
|
25
|
+
/** List of functions that run for each route after pre-rendering is complete. */
|
|
26
|
+
postRenderingHooks?: ((routes: PrerenderRoute) => Promise<void>)[];
|
|
27
|
+
}
|
|
28
|
+
export interface I18nOptions {
|
|
29
|
+
/**
|
|
30
|
+
* The default/source locale for the application.
|
|
31
|
+
*/
|
|
32
|
+
defaultLocale: string;
|
|
33
|
+
/**
|
|
34
|
+
* List of supported locale identifiers (e.g. ['en', 'fr', 'de']).
|
|
35
|
+
*/
|
|
36
|
+
locales: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Extract i18n messages from the build output.
|
|
39
|
+
* When enabled, writes a translation source file after the client build.
|
|
40
|
+
*/
|
|
41
|
+
extract?: {
|
|
42
|
+
/**
|
|
43
|
+
* Output format for extracted messages.
|
|
44
|
+
* @default 'json'
|
|
45
|
+
*/
|
|
46
|
+
format?: "json" | "xliff" | "xliff2" | "xmb";
|
|
47
|
+
/**
|
|
48
|
+
* Output file path for extracted messages, relative to project root.
|
|
49
|
+
* @default 'src/i18n/messages.{format extension}'
|
|
50
|
+
*/
|
|
51
|
+
outFile?: string;
|
|
52
|
+
};
|
|
25
53
|
}
|
|
26
54
|
export interface Options {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
55
|
+
ssr?: boolean;
|
|
56
|
+
ssrBuildDir?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Prerender the static pages without producing the server output.
|
|
59
|
+
*/
|
|
60
|
+
static?: boolean;
|
|
61
|
+
prerender?: PrerenderOptions;
|
|
62
|
+
entryServer?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Pass configuration options to the internal `@analogjs/vite-plugin-angular`
|
|
65
|
+
* plugin. Set to `false` to disable the internal vite plugin (e.g. when
|
|
66
|
+
* using an alternative compiler like `@oxc-angular/vite`).
|
|
67
|
+
*
|
|
68
|
+
* `vite.build` uses Vite's native config shape and is forwarded to the
|
|
69
|
+
* internal Nitro/Vite build pipeline, while the remaining fields are passed
|
|
70
|
+
* to `@analogjs/vite-plugin-angular`.
|
|
71
|
+
*
|
|
72
|
+
* When `false`, the following top-level options are ignored because they
|
|
73
|
+
* are only forwarded to the internal Angular plugin: `jit`,
|
|
74
|
+
* `disableTypeChecking`, `liveReload`, `inlineStylesExtension`,
|
|
75
|
+
* `fileReplacements`, and `include`.
|
|
76
|
+
*
|
|
77
|
+
* Use this to configure the embedded Angular integration itself, not as the
|
|
78
|
+
* primary home for Analog-owned experimental features.
|
|
79
|
+
*/
|
|
80
|
+
vite?: PluginOptions | false;
|
|
81
|
+
nitro?: NitroConfig;
|
|
82
|
+
apiPrefix?: string;
|
|
83
|
+
jit?: boolean;
|
|
84
|
+
index?: string;
|
|
85
|
+
workspaceRoot?: string;
|
|
86
|
+
content?: ContentPluginOptions;
|
|
87
|
+
/**
|
|
88
|
+
* Extension applied for inline styles
|
|
89
|
+
*/
|
|
90
|
+
inlineStylesExtension?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Enables Analog's Angular live-reload/HMR pipeline during development/watch mode.
|
|
93
|
+
*
|
|
94
|
+
* This is separate from Vite's `server.hmr` option, which configures the
|
|
95
|
+
* HMR client transport.
|
|
96
|
+
*
|
|
97
|
+
* Defaults to `true` for watch mode.
|
|
98
|
+
*/
|
|
99
|
+
liveReload?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Enable debug logging for specific scopes.
|
|
102
|
+
*
|
|
103
|
+
* - `true` → enables all `analog:*` scopes (platform + angular + nitro)
|
|
104
|
+
* - `string[]` → enables listed namespaces
|
|
105
|
+
* - `{ scopes?, mode? }` → object form with optional `mode: 'build' | 'dev'`
|
|
106
|
+
* to restrict output to a specific Vite command (omit for both)
|
|
107
|
+
*
|
|
108
|
+
* Also responds to the `DEBUG` env var (Node.js) or `localStorage.debug`
|
|
109
|
+
* (browser), using the `obug` convention.
|
|
110
|
+
*/
|
|
111
|
+
debug?: DebugOption;
|
|
112
|
+
/**
|
|
113
|
+
* Additional page paths to include
|
|
114
|
+
*/
|
|
115
|
+
additionalPagesDirs?: string[];
|
|
116
|
+
/**
|
|
117
|
+
* Additional page paths to include
|
|
118
|
+
*/
|
|
119
|
+
additionalContentDirs?: string[];
|
|
120
|
+
/**
|
|
121
|
+
* Additional API paths to include
|
|
122
|
+
*/
|
|
123
|
+
additionalAPIDirs?: string[];
|
|
124
|
+
/**
|
|
125
|
+
* Automatically discover route directories (pages, content, API) in
|
|
126
|
+
* workspace libraries by scanning `libs/**` directories directly.
|
|
127
|
+
*
|
|
128
|
+
* Discovered directories are merged with any explicit
|
|
129
|
+
* `additionalPagesDirs`, `additionalContentDirs`, and
|
|
130
|
+
* `additionalAPIDirs` values.
|
|
131
|
+
*
|
|
132
|
+
* @default false
|
|
133
|
+
*/
|
|
134
|
+
discoverRoutes?: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Additional files to include in compilation
|
|
137
|
+
*/
|
|
138
|
+
include?: string[];
|
|
139
|
+
/**
|
|
140
|
+
* Toggles internal API middleware.
|
|
141
|
+
* If disabled, a proxy request is used to route /api
|
|
142
|
+
* requests to / in the production server build.
|
|
143
|
+
*/
|
|
144
|
+
useAPIMiddleware?: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* Disable type checking diagnostics by the Angular compiler
|
|
147
|
+
*/
|
|
148
|
+
disableTypeChecking?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Configuration for runtime i18n support.
|
|
151
|
+
* When set, enables locale detection on SSR and provides
|
|
152
|
+
* the LOCALE injection token.
|
|
153
|
+
*/
|
|
154
|
+
i18n?: I18nOptions;
|
|
155
|
+
/**
|
|
156
|
+
* Opt into the fast compile path. Skips Angular's template type-checking
|
|
157
|
+
* and routes compilation through an internal single-pass transform.
|
|
158
|
+
*/
|
|
159
|
+
fastCompile?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* Compilation output mode used when `fastCompile` is enabled.
|
|
162
|
+
* - `'full'` (default): Emit final Ivy definitions for application builds.
|
|
163
|
+
* - `'partial'`: Emit partial declarations for library publishing.
|
|
164
|
+
*/
|
|
165
|
+
fastCompileMode?: "full" | "partial";
|
|
166
|
+
/**
|
|
167
|
+
* File replacements
|
|
168
|
+
*/
|
|
169
|
+
fileReplacements?: PluginOptions["fileReplacements"];
|
|
170
|
+
/**
|
|
171
|
+
* Experimental features. These APIs are subject to change.
|
|
172
|
+
*
|
|
173
|
+
* `@analogjs/platform` is the default rollout and orchestration surface for
|
|
174
|
+
* Analog-owned experiments. These flags may delegate to dedicated feature
|
|
175
|
+
* plugins or forward options into lower-level integrations while preserving
|
|
176
|
+
* a single Analog-first authoring surface.
|
|
177
|
+
*/
|
|
178
|
+
experimental?: {
|
|
179
|
+
/**
|
|
180
|
+
* Use Angular's experimental compilation API.
|
|
181
|
+
*
|
|
182
|
+
* This is forwarded to `@analogjs/vite-plugin-angular`'s
|
|
183
|
+
* `experimental.useAngularCompilationAPI`.
|
|
184
|
+
*
|
|
185
|
+
* Also accepted at `vite.experimental.useAngularCompilationAPI`
|
|
186
|
+
* for backwards compatibility.
|
|
187
|
+
*
|
|
188
|
+
* Has no effect when `vite` is set to `false`.
|
|
189
|
+
*/
|
|
190
|
+
useAngularCompilationAPI?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Enable typed route table generation for type-safe navigation.
|
|
193
|
+
*
|
|
194
|
+
* When enabled, `@analogjs/platform` generates a single route module
|
|
195
|
+
* that augments `AnalogRouteTable` with typed params and query for each
|
|
196
|
+
* file-based route. JSON-LD manifest generation is configured on the same
|
|
197
|
+
* object so both codegen features share one generated file.
|
|
198
|
+
*
|
|
199
|
+
* - `true` — generates `src/routeTree.gen.ts` with `routeJsonLdManifest`
|
|
200
|
+
* - `TypedRouterOptions` — customize output path or disable just the
|
|
201
|
+
* JSON-LD manifest piece
|
|
202
|
+
*
|
|
203
|
+
* Unlocks type-safe usage of:
|
|
204
|
+
* - `routePath()` — build route link objects for `[routerLink]`
|
|
205
|
+
* - `injectNavigate()` — typed navigation
|
|
206
|
+
* - `injectParams(from)` — typed params signal
|
|
207
|
+
* - `injectQuery(from)` — typed query signal
|
|
208
|
+
*
|
|
209
|
+
* Inspired by TanStack Router's `routeTree.gen.ts` codegen.
|
|
210
|
+
*/
|
|
211
|
+
typedRouter?: boolean | TypedRouterOptions;
|
|
212
|
+
/**
|
|
213
|
+
* Experimental slot for community-maintained style-pipeline integrations.
|
|
214
|
+
*
|
|
215
|
+
* This keeps Analog's core surface intentionally narrow: community
|
|
216
|
+
* packages can register Vite plugins through an Analog-first config shape
|
|
217
|
+
* without requiring Analog itself to own design-token engines, library
|
|
218
|
+
* target contracts, or framework-specific theming semantics.
|
|
219
|
+
*/
|
|
220
|
+
stylePipeline?: StylePipelineOptions | false;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* First-class Tailwind CSS v4 integration for Angular component styles.
|
|
224
|
+
*
|
|
225
|
+
* Angular's compiler processes component CSS through Vite's `preprocessCSS()`,
|
|
226
|
+
* which runs `@tailwindcss/vite` — but each component stylesheet is processed
|
|
227
|
+
* in isolation without access to the root Tailwind configuration (prefix, @theme,
|
|
228
|
+
* @custom-variant, @plugin definitions). This causes errors like:
|
|
229
|
+
*
|
|
230
|
+
* "Cannot apply utility class `sa:grid` because the `sa` variant does not exist"
|
|
231
|
+
*
|
|
232
|
+
* The `tailwindCss` option solves this by auto-injecting a `@reference` directive
|
|
233
|
+
* into every component CSS file that uses Tailwind utilities, pointing it to the
|
|
234
|
+
* root Tailwind stylesheet so `@tailwindcss/vite` can resolve the full configuration.
|
|
235
|
+
*
|
|
236
|
+
* @example Basic usage — reference a root Tailwind CSS file:
|
|
237
|
+
* ```ts
|
|
238
|
+
* import { resolve } from 'node:path';
|
|
239
|
+
*
|
|
240
|
+
* angular({
|
|
241
|
+
* tailwindCss: {
|
|
242
|
+
* rootStylesheet: resolve(__dirname, 'src/styles/tailwind.css'),
|
|
243
|
+
* },
|
|
244
|
+
* })
|
|
245
|
+
* ```
|
|
246
|
+
*
|
|
247
|
+
* @example With prefix detection — only inject for files using specific prefixes:
|
|
248
|
+
* ```ts
|
|
249
|
+
* angular({
|
|
250
|
+
* tailwindCss: {
|
|
251
|
+
* rootStylesheet: resolve(__dirname, 'src/styles/tailwind.css'),
|
|
252
|
+
* // Only inject @reference into files that use these prefixed classes
|
|
253
|
+
* prefixes: ['sa:', 'tw:'],
|
|
254
|
+
* },
|
|
255
|
+
* })
|
|
256
|
+
* ```
|
|
257
|
+
*
|
|
258
|
+
* @example AnalogJS platform — passed through the `vite` option:
|
|
259
|
+
* ```ts
|
|
260
|
+
* analog({
|
|
261
|
+
* vite: {
|
|
262
|
+
* tailwindCss: {
|
|
263
|
+
* rootStylesheet: resolve(__dirname, '../../../libs/meritos/tailwind.config.css'),
|
|
264
|
+
* },
|
|
265
|
+
* },
|
|
266
|
+
* })
|
|
267
|
+
* ```
|
|
268
|
+
*/
|
|
269
|
+
tailwindCss?: {
|
|
270
|
+
/**
|
|
271
|
+
* Absolute path to the root Tailwind CSS file that contains `@import "tailwindcss"`,
|
|
272
|
+
* `@theme`, `@custom-variant`, and `@plugin` definitions.
|
|
273
|
+
*
|
|
274
|
+
* A `@reference` directive pointing to this file will be auto-injected into
|
|
275
|
+
* component CSS files that use Tailwind utilities.
|
|
276
|
+
*/
|
|
277
|
+
rootStylesheet: string;
|
|
278
|
+
/**
|
|
279
|
+
* Optional list of class prefixes to detect (e.g. `['sa:', 'tw:']`).
|
|
280
|
+
* When provided, `@reference` is only injected into component CSS files that
|
|
281
|
+
* contain at least one of these prefixes. When omitted, `@reference` is injected
|
|
282
|
+
* into all component CSS files that contain `@apply` or `@` directives.
|
|
283
|
+
*
|
|
284
|
+
* @default undefined — inject into all component CSS files with `@apply`
|
|
285
|
+
*/
|
|
286
|
+
prefixes?: string[];
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
export interface TypedRouterOptions {
|
|
290
|
+
/**
|
|
291
|
+
* Output path for the single generated route module,
|
|
292
|
+
* relative to the app root.
|
|
293
|
+
*
|
|
294
|
+
* @default 'src/routeTree.gen.ts'
|
|
295
|
+
*/
|
|
296
|
+
outFile?: string;
|
|
297
|
+
/**
|
|
298
|
+
* Include generated `routeJsonLdManifest` data in the generated route file.
|
|
299
|
+
*
|
|
300
|
+
* @default true
|
|
301
|
+
*/
|
|
302
|
+
jsonLdManifest?: boolean;
|
|
303
|
+
/**
|
|
304
|
+
* Fail production builds after regenerating a stale checked-in route file.
|
|
305
|
+
* Development and watch mode continue to update the file automatically.
|
|
306
|
+
*
|
|
307
|
+
* @default true
|
|
308
|
+
*/
|
|
309
|
+
verifyOnBuild?: boolean;
|
|
84
310
|
}
|
|
85
|
-
export { PrerenderContentDir, PrerenderContentFile };
|
|
311
|
+
export type { PrerenderContentDir, PrerenderContentFile, PrerenderSitemapConfig, SitemapConfig, SitemapEntry, SitemapExcludeRule, SitemapPriority, SitemapRouteDefinition, SitemapRouteInput, SitemapRouteSource, SitemapTransform };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Plugin } from
|
|
2
|
-
import { Options } from
|
|
1
|
+
import { Plugin } from "vite";
|
|
2
|
+
import { Options } from "./options.js";
|
|
3
3
|
export declare function platformPlugin(opts?: Options): Plugin[];
|