mnfst-publish 0.1.11 → 0.1.12

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.
@@ -222,9 +222,9 @@ export function makePublishIgnore(rawPatterns) {
222
222
  const pathScoped = anchored || p.includes('/');
223
223
  const body = p
224
224
  .replace(/[.+^${}()|[\]\\]/g, '\\$&')
225
- .replace(/\*\*/g, '')
225
+ .replace(/\*\*/g, '\u0000')
226
226
  .replace(/\*/g, '[^/]*')
227
- .replace(//g, '.*')
227
+ .replace(/\u0000/g, '.*')
228
228
  .replace(/\?/g, '[^/]');
229
229
  rules.push({ dirOnly, pathScoped, exact: new RegExp('^' + body + '$'), prefix: new RegExp('^' + body + '/') });
230
230
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mnfst-publish",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "One-command managed publishing for Manifest projects — render, zip, upload, live URL.",
5
5
  "type": "module",
6
6
  "bin": {