create-ampless 1.0.0-alpha.76 → 1.0.0-alpha.77

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1809,7 +1809,7 @@ var PROTECTED_PATTERNS = [
1809
1809
  // plugin" doc lives in `packages/ampless/docs/plugin-author-guide.md`.
1810
1810
  /^plugins(\/|$)/
1811
1811
  ];
1812
- var SEED_IF_MISSING_PATTERN = /\.custom\.ts$/;
1812
+ var SEED_IF_MISSING_PATTERN = /\.custom\.ts$|^plugins\/README(\.ja)?\.md$/;
1813
1813
  var TEXT_EXTENSIONS2 = /* @__PURE__ */ new Set([
1814
1814
  ".json",
1815
1815
  ".md",
@@ -1829,6 +1829,7 @@ var TEXT_EXTENSIONS2 = /* @__PURE__ */ new Set([
1829
1829
  ".gitignore"
1830
1830
  ]);
1831
1831
  function isProtected(relPath) {
1832
+ if (SEED_IF_MISSING_PATTERN.test(relPath)) return false;
1832
1833
  return PROTECTED_PATTERNS.some((re) => re.test(relPath));
1833
1834
  }
1834
1835
  async function listShippedThemes(templatesRoot) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ampless",
3
- "version": "1.0.0-alpha.76",
3
+ "version": "1.0.0-alpha.77",
4
4
  "description": "Create a new ampless project",
5
5
  "license": "MIT",
6
6
  "type": "module",