Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nx-plugin): change logic to join folder for page generation #863

Merged
merged 1 commit into from
Jan 23, 2024
Merged

fix(nx-plugin): change logic to join folder for page generation #863

merged 1 commit into from
Jan 23, 2024

Conversation

luishcastroc
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

Which package are you modifying?

  • vite-plugin-angular
  • vite-plugin-nitro
  • astro-angular
  • create-analog
  • router
  • platform
  • content
  • nx-plugin
  • trpc

What is the current behavior?

Page is not generating properly under certain scenarios ex.
npx nx generate @analogjs/platform:page --pathname='(customers)'/demo/home --project=demoApp --no-interactive --dry-run

will generate:
demoApp/src/app/pages/(customers),demo/home.page.ts

Closes #860

What is the new behavior?

Page is generated properly
demoApp/src/app/pages/(customers)/demo/home.page.ts

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

[optional] What gif best describes this PR or how it makes you feel?

Copy link

netlify bot commented Jan 23, 2024

Deploy Preview for analog-ng-app ready!

Name Link
🔨 Latest commit 2aa71dc
🔍 Latest deploy log https://app.netlify.com/sites/analog-ng-app/deploys/65af08594e91f40008806b3b
😎 Deploy Preview https://deploy-preview-863--analog-ng-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 23, 2024

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit 2aa71dc
🔍 Latest deploy log https://app.netlify.com/sites/analog-docs/deploys/65af08593174ee0008cd7ac8
😎 Deploy Preview https://deploy-preview-863--analog-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 23, 2024

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit 2aa71dc
🔍 Latest deploy log https://app.netlify.com/sites/analog-blog/deploys/65af0859f2d6d20008b8bc69
😎 Deploy Preview https://deploy-preview-863--analog-blog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 23, 2024

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit 2aa71dc
🔍 Latest deploy log https://app.netlify.com/sites/analog-app/deploys/65af0859b374ac000856a423
😎 Deploy Preview https://deploy-preview-863--analog-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@brandonroberts brandonroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brandonroberts brandonroberts merged commit 062624f into analogjs:main Jan 23, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generating page converts "/" into ","
2 participants