pkg-pr-new 0.0.11 → 0.0.13

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.ts CHANGED
@@ -163,12 +163,6 @@ const main = defineCommand({
163
163
  if (!pJson.name) {
164
164
  throw new Error(`"name" field in ${pJsonPath} should be defined`);
165
165
  }
166
- if (pJson.private) {
167
- console.log(
168
- `skipping ${templateDir} because the package is private`,
169
- );
170
- continue;
171
- }
172
166
 
173
167
  console.log("preparing template:", pJson.name);
174
168
 
@@ -273,7 +267,7 @@ const main = defineCommand({
273
267
  });
274
268
  formData.append(`package:${pJson.name}`, blob, filename);
275
269
  } finally {
276
- await restoreMap.get(p)!();
270
+ await restoreMap.get(p)?.();
277
271
  }
278
272
  }
279
273
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pkg-pr-new",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",