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: convert the npm name to a nix name #82

Merged
merged 3 commits into from
Aug 7, 2021

Conversation

zimbatm
Copy link
Member

@zimbatm zimbatm commented Jul 27, 2021

For example a namespaced npm package will be @org/name and converted
to ?org?name.

Fixes #48

@zimbatm zimbatm marked this pull request as ready for review July 27, 2021 12:06
@zimbatm zimbatm requested a review from andir July 27, 2021 12:08
@andir
Copy link
Collaborator

andir commented Jul 27, 2021

@zimbatm zimbatm force-pushed the name-to-pname branch 2 times, most recently from c66514a to d78b456 Compare July 27, 2021 17:17
@zimbatm
Copy link
Member Author

zimbatm commented Jul 27, 2021

fixed!

@flokli
Copy link
Contributor

flokli commented Jul 28, 2021

@zimbatm this doesn't add the test yet, does it?

zimbatm and others added 2 commits August 7, 2021 12:19
For example a namespaced npm package will be `@org/name` and converted
to `?org?name`.
This adds tests for sanitizing derivation (and path to that extend)
names to the valid (allowed) subset of characters.
@andir andir merged commit 5fc6505 into nix-community:master Aug 7, 2021
@zimbatm zimbatm deleted the name-to-pname branch August 7, 2021 20:41
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.

Jupyterlab javascript packages can have @ symbol
3 participants