Skip to content

Commit 7362a60

Browse files
committed
Bite the bullet and commit build outputs so that they are as accessible as possible for people that may not be able to run the build in some OS or setup. An upside of this is that examples and documentation can be served out of the box without having to build them. Remove package.json 'prepare' scripts because they are no longer needed, as installing from git will already include build outputs.
1 parent 4a30311 commit 7362a60

16 files changed

+353
-4
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
node_modules/
22
package-lock.json
3-
dist/
43
.vscode/
54
*.log

dist/Eventful.d.ts

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import type { Constructor } from 'lowclass';
2+
export declare function Eventful<T extends Constructor>(Base?: T): {
3+
new (...a: any[]): {
4+
on(eventName: string, callback: Function, context?: any): void;
5+
off(eventName: string, callback?: Function, context?: any): void;
6+
emit(eventName: string, data?: any): void;
7+
"__#1@#eventMap": Map<string, Array<[Function, any]>> | null;
8+
};
9+
} & T;
10+
export declare function emits(eventName: string): any;
11+
//# sourceMappingURL=Eventful.d.ts.map

dist/Eventful.d.ts.map

+1
Original file line numberDiff line numberDiff line change

dist/Eventful.js

+170
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Eventful.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/Eventful.test.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export {};
2+
//# sourceMappingURL=Eventful.test.d.ts.map

dist/Eventful.test.d.ts.map

+1
Original file line numberDiff line numberDiff line change

dist/Eventful.test.js

+154
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)