Skip to content

Commit 62d0611

Browse files
Copilotfregante
andcommitted
Remove distribution from gitignore and commit distribution files
Co-authored-by: fregante <1402241+fregante@users.noreply.github.com>
1 parent de02be9 commit 62d0611

File tree

5 files changed

+943
-1
lines changed

5 files changed

+943
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Thumbs.db
88
*.log
99
logs
1010
*.map
11-
distribution
1211
dist
1312
.cache
1413
.parcel-cache

distribution/collector.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/** @file This needs to be in a separate file so it can bee tree-shaken before being published, while still being importable by tests */
2+
export declare const testableUrls: Map<string, string[]>;
3+
export declare function addTests(test: string, urls: string[]): void;
4+
export declare function getTests(detectName: string): string[];
5+
export declare function getAllUrls(): Set<string>;

0 commit comments

Comments
 (0)