Skip to content

Commit 6644468

Browse files
committed
chore: update sdk-plugin and remove pack-up dependency
1 parent d3354da commit 6644468

2 files changed

Lines changed: 554 additions & 314 deletions

File tree

package.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,18 @@
2626
"require": "./dist/server/index.js",
2727
"default": "./dist/server/index.js"
2828
},
29+
"./cli": {
30+
"source": "./server/cli.js",
31+
"import": "./dist/cli/index.mjs",
32+
"require": "./dist/cli/index.js",
33+
"default": "./dist/cli/index.js"
34+
},
2935
"./package.json": "./package.json"
3036
},
3137
"scripts": {
3238
"develop": "strapi-plugin watch:link",
33-
"watch": "pack-up watch",
34-
"build": "pack-up build && yalc push --publish",
39+
"watch": "strapi-plugin watch",
40+
"build": "strapi-plugin build && yalc push --publish",
3541
"eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'",
3642
"eslint:fix": "eslint --fix './**/*.{js,jsx}'",
3743
"test:unit": "jest --verbose",
@@ -78,9 +84,6 @@
7884
"dist",
7985
"bin"
8086
],
81-
"resolutions": {
82-
"@strapi/pack-up": "^5.1.0"
83-
},
8487
"peerDependencies": {
8588
"@strapi/admin": "^5.0.0",
8689
"@strapi/design-system": "^2.0.0",
@@ -97,7 +100,7 @@
97100
"@strapi/admin": "^5.0.0",
98101
"@strapi/design-system": "^2.0.0",
99102
"@strapi/icons": "^2.0.0",
100-
"@strapi/sdk-plugin": "^5.0.0",
103+
"@strapi/sdk-plugin": "^6.0.0",
101104
"@strapi/strapi": "^5.0.0",
102105
"@strapi/typescript-utils": "^5.0.0",
103106
"@strapi/utils": "^5.0.0",

0 commit comments

Comments
 (0)