Skip to content

Commit

Permalink
fixed build scripts in juno and osmosis
Browse files Browse the repository at this point in the history
  • Loading branch information
Zetazzz committed Feb 26, 2024
1 parent 74b5abe commit bb27779
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 bb27779

Please sign in to comment.