-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix Build * Fix yarn new
- Loading branch information
Showing
177 changed files
with
683 additions
and
2,113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
--- | ||
'@chainlink/dydx-stark-adapter': patch | ||
'@chainlink/historical-average-adapter': patch | ||
'@chainlink/multi-address-list-adapter': patch | ||
'@chainlink/market-status-adapter': patch | ||
'@chainlink/apy-finance-test-adapter': patch | ||
'@chainlink/nexus-kiln-adapter': patch | ||
'@chainlink/gm-token-adapter': patch | ||
'@chainlink/proof-of-reserves-adapter': patch | ||
'@chainlink/stader-address-list-adapter': patch | ||
'@chainlink/eth-beacon-adapter': patch | ||
'@chainlink/frxeth-exchange-rate-adapter': patch | ||
'@chainlink/instruxi-sxt-adapter': patch | ||
'@chainlink/tradermade-adapter': patch | ||
'@chainlink/aleno-adapter': patch | ||
'@chainlink/finage-adapter': patch | ||
'@chainlink/elwood-adapter': patch | ||
'@chainlink/deep-blue-adapter': patch | ||
'@chainlink/cfbenchmarks-adapter': patch | ||
'@chainlink/dxfeed-secondary-adapter': patch | ||
'@chainlink/tradinghours-adapter': patch | ||
'@chainlink/moore-hk-adapter': patch | ||
'@chainlink/gemini-adapter': patch | ||
'@chainlink/gsr-adapter': patch | ||
'@chainlink/alongside-adapter': patch | ||
'@chainlink/m0-adapter': patch | ||
'@chainlink/elven-adapter': patch | ||
'@chainlink/dlc-btc-por-adapter': patch | ||
'@chainlink/por-indexer-adapter': patch | ||
'@chainlink/stader-balance-adapter': patch | ||
'@chainlink/icap-adapter': patch | ||
'@chainlink/view-function-multi-chain-adapter': patch | ||
'@chainlink/dar-adapter': patch | ||
'@chainlink/bitgo-adapter': patch | ||
'@chainlink/s3-csv-reader-adapter': patch | ||
'@chainlink/kaiko-state-adapter': patch | ||
'@chainlink/tiingo-state-adapter': patch | ||
'@chainlink/synthetix-feeds-adapter': patch | ||
'@chainlink/lido-por-adapter': patch | ||
'@chainlink/iex-cloud-adapter': patch | ||
'@chainlink/avalanche-platform-adapter': patch | ||
'@chainlink/lotus-adapter': patch | ||
'@chainlink/openexchangerates-adapter': patch | ||
'@chainlink/por-address-list-adapter': patch | ||
'@chainlink/view-starknet-latest-answer-adapter': patch | ||
'@chainlink/polygon-adapter': patch | ||
'@chainlink/view-function-adapter': patch | ||
'@chainlink/tp-adapter': patch | ||
'@chainlink/moonbeam-address-list-adapter': patch | ||
'@chainlink/gramchain-adapter': patch | ||
'@chainlink/galaxy-adapter': patch | ||
'@chainlink/superstate-adapter': patch | ||
'@chainlink/nav-consulting-adapter': patch | ||
'@chainlink/bank-frick-adapter': patch | ||
'@chainlink/kaiko-adapter': patch | ||
'@chainlink/finnhub-adapter': patch | ||
'@chainlink/wbtc-address-set-adapter': patch | ||
'@chainlink/expand-network-adapter': patch | ||
'@chainlink/finalto-adapter': patch | ||
'@chainlink/polkadot-balance-adapter': patch | ||
'@chainlink/finnhub-secondary-adapter': patch | ||
'@chainlink/coingecko-adapter': patch | ||
'@chainlink/coinbase-prime-adapter': patch | ||
'@chainlink/nft-blue-chip-adapter': patch | ||
'@chainlink/ion.au-adapter': patch | ||
'@chainlink/starknet-gas-price-adapter': patch | ||
'@chainlink/clear-bank-adapter': patch | ||
'@chainlink/coinmetrics-adapter': patch | ||
'@chainlink/ignition-address-list-adapter': patch | ||
'@chainlink/dxfeed-adapter': patch | ||
'@chainlink/oanda-adapter': patch | ||
'@chainlink/the-network-firm-adapter': patch | ||
'@chainlink/blocksize-capital-adapter': patch | ||
'@chainlink/fireblocks-adapter': patch | ||
'@chainlink/mobula-state-adapter': patch | ||
'@chainlink/ncfx-adapter': patch | ||
'@chainlink/trueusd-adapter': patch | ||
'@chainlink/cryptocompare-adapter': patch | ||
'@chainlink/tiingo-adapter': patch | ||
'@chainlink/anchorage-adapter': patch | ||
'@chainlink/token-balance-adapter': patch | ||
'@chainlink/harris-and-trotter-adapter': patch | ||
'@chainlink/bitgo-reserves-adapter': patch | ||
'@chainlink/intrinio-adapter': patch | ||
'@chainlink/twosigma-adapter': patch | ||
'@chainlink/coinmarketcap-adapter': patch | ||
'@chainlink/coinpaprika-adapter': patch | ||
'@chainlink/trumatic-matic-exchange-rate-adapter': patch | ||
'@chainlink/tradingeconomics-adapter': patch | ||
'@chainlink/token-allocation-adapter': patch | ||
'@chainlink/token-allocation-test-adapter': patch | ||
--- | ||
|
||
Bumped framework version |
Binary file removed
BIN
-224 KB
.yarn/cache/@chainlink-external-adapter-framework-npm-1.7.1-8dd7f0280a-9cccf801bc.zip
Binary file not shown.
Binary file added
BIN
+8.19 MB
.yarn/cache/@chainlink-external-adapter-framework-npm-1.7.3-ddd4342448-ff3e533079.zip
Binary file not shown.
Binary file removed
BIN
-20.2 KB
.yarn/cache/@mrmlnc-readdir-enhanced-npm-2.2.1-5286808663-55d898d3d6.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.63 KB
.yarn/cache/buffer-alloc-unsafe-npm-1.1.0-b5d7ccb44c-c5e18bf51f.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-14.3 KB
.yarn/cache/pino-abstract-transport-npm-1.2.0-8567d0d819-6ec1d19a7f.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-17.9 KB
.yarn/cache/pino-std-serializers-npm-6.2.2-0e907a1130-a00cdff4e1.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-30.3 KB
.yarn/cache/yeoman-environment-npm-2.10.3-93bca3350a-2332b44177.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,41 @@ | ||
import { execSync } from 'child_process' | ||
import { generate, writeJson } from './lib' | ||
|
||
const ADAPTER_TYPES = ['composite', 'source', 'target'] | ||
if (process.argv[2] == 'tsconfig') { | ||
// Update tsconfig files | ||
generate().then(writeJson) | ||
} else { | ||
const ADAPTER_TYPES = ['composite', 'source', 'target'] | ||
|
||
const type = process.argv[2] || 'source' | ||
const type = process.argv[2] || 'source' | ||
|
||
if (!ADAPTER_TYPES.includes(type)) { | ||
throw new Error(`Type must be one of: ${ADAPTER_TYPES.join(', ')}`) | ||
} | ||
let path = `packages/sources` | ||
switch (type) { | ||
case 'composite': { | ||
path = 'packages/composites' | ||
break | ||
if (!ADAPTER_TYPES.includes(type)) { | ||
throw new Error(`Type must be one of: ${ADAPTER_TYPES.join(', ')}`) | ||
} | ||
case 'target': { | ||
path = 'packages/targets' | ||
break | ||
let path = `packages/sources` | ||
switch (type) { | ||
case 'composite': { | ||
path = 'packages/composites' | ||
break | ||
} | ||
case 'target': { | ||
path = 'packages/targets' | ||
break | ||
} | ||
} | ||
} | ||
|
||
// Create v3 adapter | ||
execSync(`create-external-adapter ${path}`, { stdio: 'inherit' }) | ||
execSync(`rm -rf ./.yarn/cache/node_modules`) | ||
|
||
const result = execSync(`find . -name "@chainlink-external-adapter-framework*"`, { | ||
encoding: 'utf-8', | ||
}) | ||
|
||
// Update tsconfig files | ||
generate().then(writeJson) | ||
execSync(`unzip ${result.trimEnd()} -d ./.yarn/cache`, { maxBuffer: 1024 * 1024 * 500 }) | ||
|
||
execSync(`npm install -g [email protected] > /dev/null 2>&1`) | ||
|
||
console.log('Run the following command:') | ||
console.log( | ||
` yo ./.yarn/cache/node_modules/@chainlink/external-adapter-framework/generator-adapter ${path} --ignore-version-check && yarn new tsconfig`, | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.