Skip to content

Commit

Permalink
Merge pull request #70 from cosmology-tech:fix-build
Browse files Browse the repository at this point in the history
fixed build scripts in juno and osmosis
  • Loading branch information
Zetazzz authored Feb 26, 2024
2 parents 74b5abe + bb27779 commit 390d54a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/juno/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"jest": true
},
"rules": {
"@typescript-eslint/no-var-requires": 0,
// "react-hooks/rules-of-hooks": 2,
// "react-hooks/exhaustive-deps": 1,
"simple-import-sort/imports": 2,
Expand Down
6 changes: 3 additions & 3 deletions packages/juno/scripts/build.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getAssetLists } from '@chain-registry/utils';
import { assets, chains, ibc } from 'chain-registry';
import { writeFileSync } from 'fs';
const { getAssetLists } = require('@chain-registry/utils');
const { assets, chains, ibc } = require('chain-registry');
const { writeFileSync } = require('fs');

const chainName = 'juno';

Expand Down
1 change: 1 addition & 0 deletions packages/osmosis/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"jest": true
},
"rules": {
"@typescript-eslint/no-var-requires": 0,
// "react-hooks/rules-of-hooks": 2,
// "react-hooks/exhaustive-deps": 1,
"simple-import-sort/imports": 2,
Expand Down
6 changes: 3 additions & 3 deletions packages/osmosis/scripts/build.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getAssetLists } from '@chain-registry/utils';
import { assets, chains, ibc } from 'chain-registry';
import { writeFileSync } from 'fs';
const { getAssetLists } = require('@chain-registry/utils');
const { assets, chains, ibc } = require('chain-registry');
const { writeFileSync } = require('fs');

const chainName = 'osmosis';

Expand Down

0 comments on commit 390d54a

Please sign in to comment.