File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
packages/create-react-native-library Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -557,6 +557,7 @@ async function create(argv: yargs.Arguments<any>) {
557
557
`${ project . charAt ( 0 ) . toUpperCase ( ) } ${ project
558
558
. replace ( / [ ^ a - z 0 - 9 ] ( \w ) / g, ( _ , $1 ) => $1 . toUpperCase ( ) )
559
559
. slice ( 1 ) } `,
560
+ year : new Date ( ) . getFullYear ( ) ,
560
561
package : pack ,
561
562
package_dir : pack . replace ( / \. / g, '/' ) ,
562
563
package_cpp : pack . replace ( / \. / g, '_' ) ,
Original file line number Diff line number Diff line change 1
1
MIT License
2
2
3
- Copyright (c) 2022 <%- author.name -%>
3
+ Copyright (c) <%- project.year -%> <%- author.name -%>
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
You can’t perform that action at this time.
0 commit comments