Skip to content

Commit

Permalink
Bite the bullet and commit build outputs so that they are as accessib…
Browse files Browse the repository at this point in the history
…le 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.
  • Loading branch information
trusktr committed Sep 8, 2023
1 parent 4a30311 commit 7362a60
Show file tree
Hide file tree
Showing 16 changed files with 353 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
node_modules/
package-lock.json
dist/
.vscode/
*.log
11 changes: 11 additions & 0 deletions dist/Eventful.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import type { Constructor } from 'lowclass';
export declare function Eventful<T extends Constructor>(Base?: T): {
new (...a: any[]): {
on(eventName: string, callback: Function, context?: any): void;
off(eventName: string, callback?: Function, context?: any): void;
emit(eventName: string, data?: any): void;
"__#1@#eventMap": Map<string, Array<[Function, any]>> | null;
};
} & T;
export declare function emits(eventName: string): any;
//# sourceMappingURL=Eventful.d.ts.map
1 change: 1 addition & 0 deletions dist/Eventful.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

170 changes: 170 additions & 0 deletions dist/Eventful.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/Eventful.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/Eventful.test.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=Eventful.test.d.ts.map
1 change: 1 addition & 0 deletions dist/Eventful.test.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

154 changes: 154 additions & 0 deletions dist/Eventful.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7362a60

Please sign in to comment.