-
Notifications
You must be signed in to change notification settings - Fork 8
Pack up removal and replacement #103
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
base: main
Are you sure you want to change the base?
Conversation
|
|
This is work in progress but can be reviewed in comparison to the RFC and for the first three phases listed |
…tch, and validation utilities
…ge.json and file-generator.ts
|


What does it do?
This PR implements the gradual removal of
@strapi/pack-upfrom the SDK Pluginas outlined in the RFC.
Notion search "RFC-Remove-strapi-pack-up..."
Current Progress:
Key Changes:
Why is it needed?
Pack-up has a security vulnerability in its Vite dependency (CVE).
SDK Plugin and Design System are the only remaining Strapi projects using pack-up.
This migration will:
How to test it?
End-to-End Testing: SDK Plugin in Strapi App
(replace paths with real ones on your system)
Step 1: Build the SDK Plugin
cd /sdk-plugin
yarn install
yarn build
Step 2: Create a New Plugin
Create plugin in the Strapi examples/empty project
cd /strapi/examples/empty
/sdk-plugin/bin/strapi-plugin.js init src/plugins/my-plugin --no-install
Step 3: Install and Build the Plugin
Step 4: Register the Plugin in Strapi
Edit /strapi/examples/empty/config/plugins.ts:
Step 5: Start Strapi and Verify Plugin Loads
From monorepo examples/empty directory
Open http://localhost:1337/admin - you should see the plugin in the left sidebar.
Step 6: Test Watch Mode (in separate terminal)
Make a change to admin/src/index.ts - the plugin should rebuild and you'll see the change after refreshing the admin
panel.
Related issue(s)/PR(s)
Notion search "RFC-Remove-strapi-pack-up..."
DX-2163