directus-template-cli 0.7.6 → 0.7.7
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/dist/services/github.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/services/github.js
CHANGED
|
@@ -114,7 +114,7 @@ export function createGitHub(token) {
|
|
|
114
114
|
});
|
|
115
115
|
if (!Array.isArray(rootContent))
|
|
116
116
|
return [];
|
|
117
|
-
const directories = rootContent.filter(item => item.type === 'dir');
|
|
117
|
+
const directories = rootContent.filter(item => item.type === 'dir' && !item.name.startsWith('.') && !item.name.startsWith('_'));
|
|
118
118
|
// Fetch package.json for each directory concurrently
|
|
119
119
|
const templateInfos = await Promise.all(directories.map(async (dir) => {
|
|
120
120
|
const packageJsonPath = joinPath(repo.path || '', dir.path, 'package.json');
|
package/oclif.manifest.json
CHANGED