@eclipse-docks/create-app 0.7.100 → 0.7.102

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/index.js CHANGED
@@ -84,6 +84,12 @@ function main() {
84
84
  unlinkSync(gitignoreSrc);
85
85
  }
86
86
 
87
+ const npmrcSrc = join(targetDir, '_npmrc');
88
+ if (existsSync(npmrcSrc)) {
89
+ writeFileSync(join(targetDir, '.npmrc'), readFileSync(npmrcSrc, 'utf8'));
90
+ unlinkSync(npmrcSrc);
91
+ }
92
+
87
93
  console.log('Installing dependencies...');
88
94
  const install = spawnSync('npm', ['install'], { cwd: targetDir, stdio: 'inherit', shell: true });
89
95
  if (install.status !== 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipse-docks/create-app",
3
- "version": "0.7.100",
3
+ "version": "0.7.102",
4
4
  "description": "Scaffold a new Eclipse Docks app (monorepo with app + example extension)",
5
5
  "type": "module",
6
6
  "bin": "index.js",
@@ -0,0 +1 @@
1
+ legacy-peer-deps=true