File tree 4 files changed +10
-8
lines changed
4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 9
9
"devDependencies" : {
10
10
"autoprefixer" : " ^9.1.5" ,
11
11
"node-sass" : " ^4.9.3" ,
12
+ "@wpackio/scripts" : " ^1.2.1" ,
12
13
"typescript" : " ^3.1.3"
13
14
},
14
15
"scripts" : {
18
19
},
19
20
"dependencies" : {
20
21
"@types/webpack-env" : " ^1.13.6" ,
21
- "@wpackio/scripts " : " ^1.2.1" ,
22
+ "@wpackio/entrypoint " : " ^1.2.1" ,
22
23
"react" : " ^16.5.2" ,
23
24
"react-bootstrap" : " ^1.0.0-beta.1" ,
24
25
"react-dom" : " ^16.5.2" ,
Original file line number Diff line number Diff line change 7
7
"license" : " MIT" ,
8
8
"private" : true ,
9
9
"devDependencies" : {
10
- "node-sass" : " ^4.9.3"
10
+ "node-sass" : " ^4.9.3" ,
11
+ "@wpackio/scripts" : " ^1.2.1"
11
12
},
12
13
"scripts" : {
13
14
"bootstrap" : " wpackio-scripts bootstrap" ,
14
15
"exbuild" : " wpackio-scripts build" ,
15
16
"exstart" : " wpackio-scripts start"
16
17
},
17
18
"dependencies" : {
18
- "@wpackio/scripts " : " ^1.2.1"
19
+ "@wpackio/entrypoint " : " ^1.2.1"
19
20
}
20
21
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @wpackio/entrypoint" ,
3
- "version" : " 0.0 .1" ,
3
+ "version" : " 1.2 .1" ,
4
4
"description" : " An entrypoint for webpack which is added automatically for safe publicPath." ,
5
5
"keywords" : [
6
6
" wordpress" ,
Original file line number Diff line number Diff line change @@ -308,14 +308,14 @@ module.exports = {
308
308
}
309
309
} ) ;
310
310
311
- // Add dependencies of @wpackio /scripts if needed
311
+ // Add dependencies of @wpackio /entrypoint and @wpackio / scripts if needed
312
312
const dependencies : string [ ] = [ ] ;
313
- const devDependencies : string [ ] = [ ] ;
313
+ const devDependencies : string [ ] = [ '@wpackio/scripts' ] ;
314
314
if (
315
315
! packageFileData . dependencies ||
316
- ! packageFileData . dependencies [ '@wpackio/scripts ' ]
316
+ ! packageFileData . dependencies [ '@wpackio/entrypoint ' ]
317
317
) {
318
- dependencies . push ( '@wpackio/scripts ' ) ;
318
+ dependencies . push ( '@wpackio/entrypoint ' ) ;
319
319
}
320
320
// If has Sass
321
321
if ( projectContext . hasSass === 'true' ) {
You can’t perform that action at this time.
0 commit comments