File tree Expand file tree Collapse file tree 8 files changed +899
-14
lines changed
Expand file tree Collapse file tree 8 files changed +899
-14
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const HomePage = () => {
88
99 return (
1010 < Main >
11- < h1 > Welcome to { formatMessage ( { id : getTranslation ( 'plugin.name' ) } ) } </ h1 >
11+ < h1 > Welcome to { formatMessage ( { id : getTranslation ( 'plugin.name' ) , defaultMessage : 'Boilerplate' } ) } </ h1 >
1212 </ Main >
1313 ) ;
1414} ;
Original file line number Diff line number Diff line change 2828 "watch:link" : " strapi-plugin watch:link" ,
2929 "verify" : " strapi-plugin verify" ,
3030 "test:ts:front" : " tsc -p admin/tsconfig.json" ,
31- "test:ts:back" : " tsc -p server/tsconfig.json"
31+ "test:ts:back" : " tsc -p server/tsconfig.json" ,
32+ "playground:install" : " yarn playground:yalc-add-link && cd playground && yarn install" ,
33+ "playground:yalc-add" : " cd playground && yalc add strapi-plugin-boilerplate" ,
34+ "playground:yalc-add-link" : " cd playground && yalc add --link strapi-plugin-boilerplate" ,
35+ "playground:build" : " cd playground && yarn build" ,
36+ "playground:develop" : " cd playground && yarn develop" ,
37+ "playground:start" : " cd playground && yarn start"
3238 },
3339 "dependencies" : {
3440 "@strapi/design-system" : " ^2.0.0-rc.14" ,
5864 },
5965 "strapi" : {
6066 "kind" : " plugin" ,
61- "name" : " strapi-plugin- boilerplate" ,
67+ "name" : " boilerplate" ,
6268 "displayName" : " Boilerplate" ,
6369 "description" : " A test-driven template for building reliable Strapi Plugins"
6470 },
Original file line number Diff line number Diff line change @@ -128,4 +128,11 @@ exports
128128dist
129129build
130130.strapi-updater.json
131- .strapi-cloud.json
131+ .strapi-cloud.json
132+
133+ # ###########################
134+ # Yalc
135+ # ###########################
136+
137+ .yalc
138+ yalc.lock
Original file line number Diff line number Diff line change 1- export default ( ) => ( { } ) ;
1+ export default ( ) => ( {
2+ boilerplate : {
3+ enabled : true ,
4+ config : { } ,
5+ } ,
6+ } ) ;
Original file line number Diff line number Diff line change 1818 "react" : " ^18.0.0" ,
1919 "react-dom" : " ^18.0.0" ,
2020 "react-router-dom" : " ^6.0.0" ,
21+ "strapi-plugin-boilerplate" : " link:.yalc/strapi-plugin-boilerplate" ,
2122 "styled-components" : " ^6.0.0"
2223 },
2324 "devDependencies" : {
Original file line number Diff line number Diff line change 1+ /*
2+ * The app doesn't have any components yet.
3+ */
You can’t perform that action at this time.
0 commit comments