teleporthq / teleport-code-generators

A collection of code generators for modern JavaScript applications
https://teleporthq.io
MIT License
1k stars 159 forks source link

(feat): Add support for nested routes #845

Closed JayaKrishnaNamburu closed 1 year ago

JayaKrishnaNamburu commented 1 year ago

Support for nested routing in all frameworks. For examples, if the route link is /blog/post-one. The project should re-construct the folder structure.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 87.87% and project coverage change: +0.01% :tada:

Comparison is base (9095772) 69.51% compared to head (147e7c6) 69.52%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #845 +/- ## =============================================== + Coverage 69.51% 69.52% +0.01% =============================================== Files 174 174 Lines 7180 7203 +23 Branches 1998 2099 +101 =============================================== + Hits 4991 5008 +17 + Misses 2186 2015 -171 - Partials 3 180 +177 ``` | [Files Changed](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq) | Coverage Δ | | |---|---|---| | [...es/teleport-project-generator/src/file-handlers.ts](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq#diff-cGFja2FnZXMvdGVsZXBvcnQtcHJvamVjdC1nZW5lcmF0b3Ivc3JjL2ZpbGUtaGFuZGxlcnMudHM=) | `78.35% <0.00%> (-0.41%)` | :arrow_down: | | [packages/teleport-uidl-resolver/src/utils.ts](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq#diff-cGFja2FnZXMvdGVsZXBvcnQtdWlkbC1yZXNvbHZlci9zcmMvdXRpbHMudHM=) | `70.17% <ø> (ø)` | | | [...ort-uidl-resolver/src/resolvers/abilities/utils.ts](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq#diff-cGFja2FnZXMvdGVsZXBvcnQtdWlkbC1yZXNvbHZlci9zcmMvcmVzb2x2ZXJzL2FiaWxpdGllcy91dGlscy50cw==) | `72.50% <66.66%> (-0.84%)` | :arrow_down: | | [...rt-plugin-html-base-component/src/node-handlers.ts](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq#diff-cGFja2FnZXMvdGVsZXBvcnQtcGx1Z2luLWh0bWwtYmFzZS1jb21wb25lbnQvc3JjL25vZGUtaGFuZGxlcnMudHM=) | `50.54% <80.95%> (+1.11%)` | :arrow_up: | | [packages/teleport-project-generator/src/utils.ts](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq#diff-cGFja2FnZXMvdGVsZXBvcnQtcHJvamVjdC1nZW5lcmF0b3Ivc3JjL3V0aWxzLnRz) | `82.83% <87.50%> (+0.06%)` | :arrow_up: | | [...ckages/teleport-plugin-angular-module/src/index.ts](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq#diff-cGFja2FnZXMvdGVsZXBvcnQtcGx1Z2luLWFuZ3VsYXItbW9kdWxlL3NyYy9pbmRleC50cw==) | `89.33% <100.00%> (+0.29%)` | :arrow_up: | | [...ckages/teleport-plugin-angular-module/src/utils.ts](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq#diff-cGFja2FnZXMvdGVsZXBvcnQtcGx1Z2luLWFuZ3VsYXItbW9kdWxlL3NyYy91dGlscy50cw==) | `87.01% <100.00%> (+0.34%)` | :arrow_up: | | [...s/teleport-plugin-html-base-component/src/index.ts](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq#diff-cGFja2FnZXMvdGVsZXBvcnQtcGx1Z2luLWh0bWwtYmFzZS1jb21wb25lbnQvc3JjL2luZGV4LnRz) | `66.66% <100.00%> (ø)` | | | [...ges/teleport-plugin-react-app-routing/src/index.ts](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq#diff-cGFja2FnZXMvdGVsZXBvcnQtcGx1Z2luLXJlYWN0LWFwcC1yb3V0aW5nL3NyYy9pbmRleC50cw==) | `97.50% <100.00%> (+0.13%)` | :arrow_up: | | [...kages/teleport-plugin-vue-app-routing/src/index.ts](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq#diff-cGFja2FnZXMvdGVsZXBvcnQtcGx1Z2luLXZ1ZS1hcHAtcm91dGluZy9zcmMvaW5kZXgudHM=) | `96.96% <100.00%> (+0.19%)` | :arrow_up: | | ... and [1 more](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq) | | ... and [44 files with indirect coverage changes](https://app.codecov.io/gh/teleporthq/teleport-code-generators/pull/845/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=teleporthq)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.