Skip to content

Conversation

@ryoppippi
Copy link

Summary

Add Deno as a supported package manager that can be enforced using only-allow.

Changes

  • Add 'deno' to supported package managers list
  • Implement Deno-specific error messaging and installation guidance
  • Update documentation and test fixtures

Add 'deno' to the availablePMList and implement Deno-specific case in the switch statement that provides clear error messages and installation instructions when non-Deno package managers are used in a Deno-enforced project.

The error message guides users to use 'deno install' and provides a link to official Deno installation documentation.
Include 'deno' in the keywords array to improve discoverability for users searching for Deno-related package management tools on npm.
Add documentation showing how to configure package.json to enforce Deno as the package manager using the preinstall script. This follows the same pattern as other package managers documented in the README.
Add test fixtures for Deno package manager enforcement testing, including package.json configuration that references the only-allow binary for preinstall script validation.
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.

1 participant