@flamingo-stack/openframe-frontend-core 0.0.833 → 0.0.834

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.
@@ -127,13 +127,15 @@ async function stylesheetBuilder({ root, input, config }) {
127
127
  };
128
128
  }
129
129
 
130
- /** Every file under `dir` whose name ends with `suffix`. */
130
+ /** Every file under `dir` whose path ends with `suffix` (a name, `.html`, or a path such as `.next-styles/build.json`). */
131
131
  function filesUnder(dir, suffix, out = []) {
132
132
  if (!fs.existsSync(dir)) return out;
133
133
  for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
134
134
  const path = join(dir, entry.name);
135
- if (entry.isDirectory()) filesUnder(path, suffix, out);
136
- else if (entry.name.endsWith(suffix)) out.push(path);
135
+ // A standalone build copies its dependencies under node_modules: no page or marker of the app is there.
136
+ if (entry.isDirectory()) {
137
+ if (entry.name !== 'node_modules') filesUnder(path, suffix, out);
138
+ } else if (path.endsWith(suffix)) out.push(path);
137
139
  }
138
140
  return out;
139
141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flamingo-stack/openframe-frontend-core",
3
- "version": "0.0.833",
3
+ "version": "0.0.834",
4
4
  "description": "Shared design system and components for all Flamingo platforms",
5
5
  "type": "module",
6
6
  "sideEffects": [