cayo 0.9.2 → 0.9.3

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/lib/utils.js +1 -1
  2. package/package.json +1 -1
package/lib/utils.js CHANGED
@@ -61,7 +61,7 @@ export async function getComponentModulePaths(srcPath) {
61
61
 
62
62
  export async function createPageManifest(pagesPath, outDir, srcPath) {
63
63
  const pagePaths = await getPageModulePaths(pagesPath);
64
- const nonCayoComponentPaths = await fg([path.resolve(srcPath, './components/**/*[!(.cayo)].svelte')]);
64
+ const nonCayoComponentPaths = await fg([path.resolve(srcPath, './components/**/*!([.cayo]).svelte')]);
65
65
  let importPages = `import { createRequire } from 'module';\n`
66
66
  importPages += `const require = createRequire(import.meta.url);\n`
67
67
  importPages += `require('svelte/register');\n`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cayo",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "start": "node cayo dev --projectRoot test"