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(misc): update project directory validation to only account for the derived name #30532

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

leosvelperez
Copy link
Member

Current Behavior

The helper to normalize the project name and directory for project generators validates the provided full directory with a regex pattern intended to only validate the name.

Expected Behavior

The helper to normalize the project name and directory for project generators should only validate the provided name or the name portion of the provided directory.

Related Issue(s)

Fixes #28801

@leosvelperez leosvelperez self-assigned this Mar 28, 2025
@leosvelperez leosvelperez requested a review from a team as a code owner March 28, 2025 12:08
@leosvelperez leosvelperez requested a review from AgentEnder March 28, 2025 12:08
Copy link

vercel bot commented Mar 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Mar 28, 2025 0:08am

Copy link

nx-cloud bot commented Mar 28, 2025

View your CI Pipeline Execution ↗ for commit 0adbf02.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 41m 10s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 16s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base=90ff0... ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 1s View ↗
nx documentation ✅ Succeeded 1m 10s View ↗

☁️ Nx Cloud last updated this comment at 2025-03-28 12:55:03 UTC

@leosvelperez leosvelperez merged commit 8dceb6c into master Apr 2, 2025
12 checks passed
@leosvelperez leosvelperez deleted the misc/fix-project-directory-validation branch April 2, 2025 08:09
jaysoo pushed a commit that referenced this pull request Apr 2, 2025
…e derived name (#30532)

## Current Behavior

The helper to normalize the project name and directory for project
generators validates the provided full directory with a regex pattern
intended to only validate the name.

## Expected Behavior

The helper to normalize the project name and directory for project
generators should only validate the provided name or the name portion of
the provided directory.

## Related Issue(s)

Fixes #28801
Copy link

github-actions bot commented Apr 8, 2025

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow for relative path in generator folder options
2 participants