create-ern-boilerplate 0.0.59 → 0.0.60

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/create.js CHANGED
@@ -121,6 +121,14 @@ async function main() {
121
121
  if (await fs.pathExists(gitignoreTemplatePath)) {
122
122
  await fs.move(gitignoreTemplatePath, gitignorePath);
123
123
  }
124
+
125
+ // Handle .npmrc-template in frontend/
126
+ const npmrcTemplatePath = path.join(frontendDir, ".npmrc-template");
127
+ const npmrcPath = path.join(frontendDir, ".npmrc");
128
+
129
+ if (await fs.pathExists(npmrcTemplatePath)) {
130
+ await fs.move(npmrcTemplatePath, npmrcPath);
131
+ }
124
132
  } else {
125
133
  // Normal template copy
126
134
  await fs.copy(templateDir, targetDir);
@@ -132,6 +140,14 @@ async function main() {
132
140
  if (await fs.pathExists(gitignoreTemplatePath)) {
133
141
  await fs.move(gitignoreTemplatePath, gitignorePath);
134
142
  }
143
+
144
+ // === Rename .npmrc-template → .npmrc ===
145
+ const npmrcTemplatePath = path.join(frontendDir, ".npmrc-template");
146
+ const npmrcPath = path.join(frontendDir, ".npmrc");
147
+
148
+ if (await fs.pathExists(npmrcTemplatePath)) {
149
+ await fs.move(npmrcTemplatePath, npmrcPath);
150
+ }
135
151
  }
136
152
 
137
153
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ern-boilerplate",
3
- "version": "0.0.59",
3
+ "version": "0.0.60",
4
4
  "description": "Expo React Native boilerplate generator",
5
5
  "bin": {
6
6
  "create-ern-boilerplate": "./create.js",
@@ -0,0 +1 @@
1
+ node-linker=hoisted
@@ -0,0 +1 @@
1
+ node-linker=hoisted