File tree Expand file tree Collapse file tree
packages/create-react-microservice/src/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 # We will rename it upon bootstrapping the application to the original name again.
2929 # @see https://github.com/npm/npm/issues/3763
3030 #
31- mv packages/create-react-microservice-scaffold/src/.gitignore packages/create-react-microservice-scaffold/src/.gitignore-keep
31+ cat packages/create-react-microservice-scaffold/src/.gitignore > packages/create-react-microservice-scaffold/src/.npmignore
32+ mv packages/create-react-microservice-scaffold/src/.gitignore packages/create-react-microservice-scaffold/src/.git-ignore
33+ ls -lah packages/create-react-microservice-scaffold/src/
3234
3335 echo " Releasing $VERSION ..."
3436 npx lerna publish --skip-git --yes --exact --repo-version=$VERSION
Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ class CreateReactMicroService extends Command {
265265 // Rename the .gitignore of the scaffold to it's original name since NPM was ignoring it while publishing no matter what.
266266 // @see https://github.com/npm/npm/issues/3763
267267 //
268- const srcGitIgnore = path . join ( cwd , '.gitignore-keep ' ) ;
268+ const srcGitIgnore = path . join ( cwd , '.git-ignore ' ) ;
269269
270270 if ( file . existsSync ( srcGitIgnore ) ) {
271271 file . renameSync ( srcGitIgnore , path . join ( cwd , '.gitignore' ) )
You can’t perform that action at this time.
0 commit comments