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 = () => {
8
8
9
9
return (
10
10
< Main >
11
- < h1 > Welcome to { formatMessage ( { id : getTranslation ( 'plugin.name' ) } ) } </ h1 >
11
+ < h1 > Welcome to { formatMessage ( { id : getTranslation ( 'plugin.name' ) , defaultMessage : 'Boilerplate' } ) } </ h1 >
12
12
</ Main >
13
13
) ;
14
14
} ;
Original file line number Diff line number Diff line change 28
28
"watch:link" : " strapi-plugin watch:link" ,
29
29
"verify" : " strapi-plugin verify" ,
30
30
"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"
32
38
},
33
39
"dependencies" : {
34
40
"@strapi/design-system" : " ^2.0.0-rc.14" ,
58
64
},
59
65
"strapi" : {
60
66
"kind" : " plugin" ,
61
- "name" : " strapi-plugin- boilerplate" ,
67
+ "name" : " boilerplate" ,
62
68
"displayName" : " Boilerplate" ,
63
69
"description" : " A test-driven template for building reliable Strapi Plugins"
64
70
},
Original file line number Diff line number Diff line change @@ -128,4 +128,11 @@ exports
128
128
dist
129
129
build
130
130
.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 18
18
"react" : " ^18.0.0" ,
19
19
"react-dom" : " ^18.0.0" ,
20
20
"react-router-dom" : " ^6.0.0" ,
21
+ "strapi-plugin-boilerplate" : " link:.yalc/strapi-plugin-boilerplate" ,
21
22
"styled-components" : " ^6.0.0"
22
23
},
23
24
"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