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

feat(nx-plugin): initial commit page generator/schematic #577

Merged
merged 7 commits into from
Jul 31, 2023
Merged

feat(nx-plugin): initial commit page generator/schematic #577

merged 7 commits into from
Jul 31, 2023

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?

There are no generators for Analog plugin

Closes #565

What is the new behavior?

This feature would add the ability to generate pages. It would support Nx Generators and Angular CLI schematics.

Some examples

ng g page about -> src/app/pages/about.page.ts

ng g page blog/post -> src/app/pages/blog/post.page.ts

ng g page products/[products] -> src/app/pages/products/[products].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?

@netlify
Copy link

netlify bot commented Jul 27, 2023

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit d3901ab
🔍 Latest deploy log https://app.netlify.com/sites/analog-blog/deploys/64c438c744acb4000854a440
😎 Deploy Preview https://deploy-preview-577--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.

@netlify
Copy link

netlify bot commented Jul 27, 2023

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit d3901ab
🔍 Latest deploy log https://app.netlify.com/sites/analog-app/deploys/64c438c73803b400084f6e8c
😎 Deploy Preview https://deploy-preview-577--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.

@netlify
Copy link

netlify bot commented Jul 27, 2023

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit d3901ab
🔍 Latest deploy log https://app.netlify.com/sites/analog-docs/deploys/64c438c7d57238000817ae0a
😎 Deploy Preview https://deploy-preview-577--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.

packages/nx-plugin/src/generators/page/schema.json Outdated Show resolved Hide resolved
packages/nx-plugin/src/generators/page/schema.json Outdated Show resolved Hide resolved
pnpm-lock.yaml Outdated Show resolved Hide resolved
packages/nx-plugin/src/generators/page/schema.json Outdated Show resolved Hide resolved
@brandonroberts brandonroberts marked this pull request as ready for review July 31, 2023 01:50
@luishcastroc
Copy link
Contributor Author

should i complete this one with the blog and post generators? or should we merge it like this and continue in a different complementary feature @brandonroberts

@brandonroberts
Copy link
Member

@luishcastroc let's merge this as-is and do the blog support separately. Also need to add some docs for using the generators/schematics

@luishcastroc
Copy link
Contributor Author

Got it let me work on that and finish those with documentation so we can have everything in place

@brandonroberts brandonroberts merged commit 4a2de22 into analogjs:main Jul 31, 2023
19 checks passed
Villanuevand pushed a commit to Villanuevand/analog that referenced this pull request Sep 12, 2023
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.

Feature: generate page components
2 participants