-
-
Notifications
You must be signed in to change notification settings - Fork 329
feat: add vue-nuxt-permission module #1311
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
Changes from all commits
0ddf0e7
f39d3b4
9f411f4
54f2dad
cb1b948
194e423
19b1b6c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| name: vue-nuxt-permission | ||
| description: >- | ||
| A unified permission system for Vue 3 and Nuxt 3 with directives, guards, and | ||
| async support. | ||
| repo: keroloszakaria/vue-nuxt-permission | ||
| npm: vue-permission | ||
| icon: nuxt-signupgate.png | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Verify if nuxt-signupgate.png exists and check icon conventions in other module YAMLs.
# 1. Check if the icon file exists anywhere in the repo
echo "=== Checking if nuxt-signupgate.png exists ==="
fd -t f "nuxt-signupgate.png"
# 2. See what icon filenames other module YAMLs use for reference
echo ""
echo "=== Icon filenames in module YAMLs ==="
rg -n "^icon:" modules/
# 3. Let's also check the content of the permission module file to understand context
echo ""
echo "=== Content of vue-nuxt-permission.yml ==="
cat -n modules/vue-nuxt-permission.ymlRepository: nuxt/modules Length of output: 19786
The icon 🤖 Prompt for AI Agents |
||
| github: https://github.com/keroloszakaria/vue-nuxt-permission | ||
| website: https://github.com/keroloszakaria/vue-nuxt-permission | ||
| learn_more: https://github.com/keroloszakaria/vue-nuxt-permission#readme | ||
| category: Security | ||
| type: 3rd-party | ||
| maintainers: | ||
| - name: Kerolos Zakaria | ||
| github: KerolosZakaria | ||
| avatar: https://avatars.githubusercontent.com/u/61479752?v=4 | ||
| compatibility: | ||
| nuxt: ^3.0.0 | ||
| requires: | ||
| bridge: optional | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: nuxt/modules
Length of output: 267
🏁 Script executed:
Repository: nuxt/modules
Length of output: 144
🏁 Script executed:
Repository: nuxt/modules
Length of output: 461
🏁 Script executed:
Repository: nuxt/modules
Length of output: 379
🏁 Script executed:
Repository: nuxt/modules
Length of output: 127
🏁 Script executed:
Repository: nuxt/modules
Length of output: 1262
🏁 Script executed:
Repository: nuxt/modules
Length of output: 708
🏁 Script executed:
Repository: nuxt/modules
Length of output: 570
Fix incorrect npm package name and copy-pasted icon reference.
The
npmfield incorrectly referencesvue-permission, an unrelated Vue 2 permission plugin. The correct package isvue-nuxt-permission, as confirmed on npm. Additionally, theiconfield points tonuxt-signupgate.png, which belongs to the entirely different nuxt-signupgate module—this is a copy-paste artifact from using another module as a template.Proposed fixes
The npm field must be corrected to ensure users install the correct package via the Nuxt modules directory. The icon field requires an appropriate icon file (or empty string if no custom icon exists).
🤖 Prompt for AI Agents