tangled
alpha
login
or
join now
nekomimi.pet
/
wisp.place-monorepo
87
fork
atom
Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol.
wisp.place
87
fork
atom
overview
issues
9
pulls
pipelines
fix wispignore
nekomimi.pet
1 month ago
5560952e
3310c68e
1/2
deploy-wisp.yml
success
48s
test.yml
failed
42s
+6
-3
1 changed file
expand all
collapse all
unified
split
cli
commands
deploy.ts
+6
-3
cli/commands/deploy.ts
reviewed
···
52
52
'node_modules', 'node_modules/**', 'Thumbs.db', 'desktop.ini',
53
53
'._*', '.Spotlight-V100/**', '.Trashes/**', '.fseventsd/**',
54
54
'.cache/**', '.temp/**', '.tmp/**', '__pycache__/**', '*.pyc',
55
55
-
'.venv/**', 'venv/**', '*.swp', '*.swo', '*~', '.tangled/**'
55
55
+
'.venv/**', 'venv/**', '*.swp', '*.swo', '*~', '.tangled/**',
56
56
+
'.wispignore'
56
57
];
57
58
58
59
function createIgnoreMatcher(siteDir: string): Ignore {
···
80
81
const fullPath = join(dir, entry.name);
81
82
const relativePath = relative(baseDir, fullPath);
82
83
83
83
-
if (ig.ignores(relativePath)) continue;
84
84
+
// The ignore package needs trailing '/' for directory-pattern matching
85
85
+
const isDir = entry.isDirectory();
86
86
+
if (ig.ignores(isDir ? relativePath + '/' : relativePath)) continue;
84
87
85
85
-
if (entry.isDirectory()) {
88
88
+
if (isDir) {
86
89
files.push(...collectFiles(fullPath, ig, baseDir));
87
90
} else if (entry.isFile()) {
88
91
const stat = statSync(fullPath);