Skip to content

feat: restore swup in allowPackages - #650

Merged
fengmk2 merged 1 commit into
cnpm:masterfrom
LynxCatTheThird:feat/allow-swup
Nov 19, 2026
Merged

fengmk2 merged 1 commit into
cnpm:masterfrom
LynxCatTheThird:feat/allow-swup

Conversation

@LynxCatTheThird

@LynxCatTheThird LynxCatTheThird commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

个人项目需要

@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The package allowlist now includes swup with the wildcard version range *.

Changes: Package allowlist

Layer / File(s) Summary
Add swup to the allowlist
data/allowPackages.json
Adds swup with the wildcard version range *.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix

Suggested reviewers: bytemain

Merge Risk: Minimal · up to b0e48

This restores static-file access for the swup package by adding it back to the allowlist. The change is small and self-contained, and no merge-blocking risk was found.

Pre-merge checks: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description is a single line that says the change is for a personal project (the Dragonfly theme). It does not follow the required template. It has no confirmation checklist. It does not state the… Rewrite the description to follow the repository template. Include these items:
1. Confirm each checklist item: the README instructions were followed, the package is not GKD-related, the package is a library with real public users, and the …
Passed Passed checks: 3 passed

Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title "feat: restore swup in allowPackages" matches the change. The raw summary says the PR adds the unscoped swup package with version range "*" to data/allowPackages.json. The PR objectives desc…
Full details: Title check

Explanation

The title "feat: restore swup in allowPackages" matches the change. The raw summary says the PR adds the unscoped swup package with version range "*" to data/allowPackages.json. The PR objectives describe restoring swup to that allowlist while keeping the @swup scope. The title uses "feat:" where the PR itself uses "fix:", but the title still names the main change accurately.

Full details: Description check

Explanation

The description is a single line that says the change is for a personal project (the Dragonfly theme). It does not follow the required template. It has no confirmation checklist. It does not state the package name, the reason in the template's terms, or usage data such as weekly downloads. It also does not confirm that the package is a library, that it is not a GKD subscription package, or that the CLI tool was used. The PR objectives contain some of this information, including the swup name, download counts, and test results, but the author did not write it in the description.

Resolution

Rewrite the description to follow the repository template. Include these items:

  1. Confirm each checklist item: the README instructions were followed, the package is not GKD-related, the package is a library with real public users, and the CLI tool or a correctly formatted package.json was used.
  2. State the package name: swup (unscoped, version range *).
  3. State the reason for the addition: the package is a dependency of the Dragonfly theme project, and static-file requests return 403.
  4. Give usage data: weekly downloads (for example, 56,543 from 2026-11-06 to 2026-11-12, with the npm downloads API link) and the projects that depend on it.
  5. Confirm that the change takes effect within about five minutes after the PR is merged.
Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d52a9322-4fd0-4550-bfbc-31af0ee812df
Commits

Reviewing files that changed from the base of the PR and between 11e4d50 and b0e48fe.

Files selected for processing: 1

  • data/allowPackages.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@fengmk2 fengmk2 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@fengmk2 fengmk2 changed the title fix: restore swup in allowPackages feat: restore swup in allowPackages Nov 19, 2026
@fengmk2
fengmk2 added this pull request to the merge queue Nov 19, 2026
Merged via the queue into cnpm:master with commit 0833aab Nov 19, 2026
16 checks passed
fengmk2 pushed a commit that referenced this pull request Nov 19, 2026
[skip ci]

## 1.353.0 (2026-11-19)

* feat: restore swup in allowPackages (#650) ([0833aab](0833aab)), closes [#650](#650)
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.353.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants