Skip to content

Commit

Permalink
Add build
Browse files Browse the repository at this point in the history
  • Loading branch information
artsparkAI committed Jan 20, 2021
1 parent 9e64cf4 commit 2b51216
Show file tree
Hide file tree
Showing 21 changed files with 252 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ typings/

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
Expand Down
2 changes: 2 additions & 0 deletions dist/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import "./type-extensions";
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions dist/src/index.d.ts.map

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

110 changes: 110 additions & 0 deletions dist/src/index.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/src/index.js.map

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

32 changes: 32 additions & 0 deletions dist/src/type-extensions.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import "hardhat/types/config";
import "hardhat/types/runtime";
declare module "hardhat/types/config" {
type HardhatTask = string | ExpandedHardhatTask;
type ExpandedHardhatTask = {
command: string;
params?: {
[key: string]: any;
};
};
type WatcherTask = {
tasks?: HardhatTask[];
files?: string[];
verbose?: boolean;
};
interface HardhatUserConfig {
watcher?: {
[key: string]: WatcherTask;
};
}
type WatcherConfig = {
[key: string]: {
tasks: Required<ExpandedHardhatTask>[];
files: string[];
verbose: boolean;
};
};
interface HardhatConfig {
watcher: WatcherConfig;
}
}
//# sourceMappingURL=type-extensions.d.ts.map
1 change: 1 addition & 0 deletions dist/src/type-extensions.d.ts.map

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

5 changes: 5 additions & 0 deletions dist/src/type-extensions.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/src/type-extensions.js.map

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { HardhatUserConfig } from "hardhat/types";
import "../../../src/index";
declare const config: HardhatUserConfig;
export default config;
//# sourceMappingURL=hardhat.config.d.ts.map

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

16 changes: 16 additions & 0 deletions dist/test/fixture-projects/hardhat-project/hardhat.config.js

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

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

11 changes: 11 additions & 0 deletions dist/test/helpers.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { HardhatRuntimeEnvironment } from "hardhat/types";
declare module "mocha" {
interface Context {
hre: HardhatRuntimeEnvironment;
}
}
export declare function useEnvironment(fixtureProjectName: string): void;
export declare function sleep(ms: number): Promise<unknown>;
export declare const readArtifactDir: (hre: HardhatRuntimeEnvironment) => string[];
export declare const simulateFileChange: (dummyFile: string, fileToOverwrite?: string) => void;
//# sourceMappingURL=helpers.d.ts.map
1 change: 1 addition & 0 deletions dist/test/helpers.d.ts.map

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

26 changes: 26 additions & 0 deletions dist/test/helpers.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/test/helpers.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/test/project.test.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=project.test.d.ts.map
1 change: 1 addition & 0 deletions dist/test/project.test.d.ts.map

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

33 changes: 33 additions & 0 deletions dist/test/project.test.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/test/project.test.js.map

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

0 comments on commit 2b51216

Please sign in to comment.