Skip to content

Commit c13cab0

Browse files
committed
add (install) install by sol path, artifact name and from any location
1 parent 451523e commit c13cab0

File tree

7 files changed

+344
-688
lines changed

7 files changed

+344
-688
lines changed

.circleci/config.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,9 @@ workflows:
2828
# https://circleci.com/docs/2.0/configuration-reference/#workflows
2929
TestRunner:
3030
jobs:
31-
- build-and-test
31+
- build-and-test:
32+
filters:
33+
branches:
34+
ignore:
35+
# runs the github action
36+
- release

lib/index.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
// source ./RootModule.js
2+
// source ./RootModuleWrapped.js
33
(function(){
4-
5-
var _src_config = {};
4+
5+
var _src_config = {};
66
var _src_constants = {};
77
var _src_utils__path = {};
88

@@ -299,7 +299,7 @@ async function getCompiledAbis(config, compileSolOutput) {
299299
return shouldInstall;
300300
}
301301
if (sources != null) {
302-
return x.sourceFile.toLowerCase().startsWith(`file://${sources}`);
302+
return x.sourceFile.toLowerCase().startsWith(`file://${sources.toLowerCase()}`);
303303
}
304304
return false;
305305
})
@@ -349,4 +349,5 @@ var ConfigHelper;
349349
//# sourceMappingURL=index.ts.map
350350

351351
}());
352-
// end:source ./RootModule.js
352+
353+
// end:source ./RootModuleWrapped.js

package-lock.json

Lines changed: 324 additions & 676 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
],
1919
"license": "MIT",
2020
"dependencies": {
21-
"0xweb": "^0.10.40",
21+
"0xweb": "^0.10.69",
2222
"alot": "^0.3.0",
23-
"atma-io": "^1.2.65",
23+
"atma-io": "^1.3.5",
2424
"memd": "^0.3.10"
2525
},
2626
"peerDependencies": {
@@ -33,8 +33,9 @@
3333
"release": "atma bump && npm run build && git add -A && git commit -am 'bump' && git push && git push origin master:release"
3434
},
3535
"devDependencies": {
36-
"app-bundler": "^0.1.7",
37-
"atma": "^0.15.17",
36+
"app-bundler": "^0.2.14",
37+
"atma": "^0.15.23",
38+
"atma-loader-ts": "^1.2.7",
3839
"shellbee": "^0.5.22"
3940
},
4041
"app-bundler": {

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ async function getCompiledAbis(config: {
227227
return shouldInstall;
228228
}
229229
if (sources != null) {
230-
return x.sourceFile.toLowerCase().startsWith(`file://${sources}`);
230+
return x.sourceFile.toLowerCase().startsWith(`file://${sources.toLowerCase()}`);
231231
}
232232
return false;
233233
})

test/fixtures/integration/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ package.json
33
package-lock.json
44
hardhat.config.js
55
tsconfig.json
6+
tsconfig-atma.json

test/fixtures/integration/example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Config } from '@dequanto/Config';
1+
import { Config } from '@dequanto/config/Config';
22
import { HardhatProvider } from '@dequanto/hardhat/HardhatProvider';
33
import { Foo } from '0xc/hardhat/Foo/Foo';
44

0 commit comments

Comments
 (0)