@dhis2/create-app 5.3.0-alpha.7 → 5.3.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/create-app",
3
- "version": "5.3.0-alpha.7",
3
+ "version": "5.3.0-alpha.8",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -171,8 +171,12 @@ const command = {
171
171
  appRootWrapperFile: path.join(cwd, 'src/AppWrapper.tsx'),
172
172
  initYarnLock: path.join(__dirname, '../templates/yarn.lock'),
173
173
  initNpmLock: path.join(__dirname, '../templates/package-lock.json'),
174
+ initGitIgnore: path.join(__dirname, '../templates/gitignore'),
174
175
  }
175
176
 
177
+ // .gitignore file seems to be removed from the published npm package, so copying it separately here
178
+ fs.copyFileSync(paths.initGitIgnore, path.join(cwd, '.gitignore'))
179
+
176
180
  const pnpm = selectedOptions.packageManager === 'pnpm'
177
181
  const npm = selectedOptions.packageManager === 'npm'
178
182
  const yarn = selectedOptions.packageManager === 'yarn'
@@ -0,0 +1,5 @@
1
+ # DHIS2 Platform
2
+ node_modules
3
+ .d2
4
+ src/locales
5
+ build