Skip to content

Commit a1060ad

Browse files
authored
Bump (#159)
* bump deps * bump version
1 parent 45693e2 commit a1060ad

File tree

3 files changed

+421
-616
lines changed

3 files changed

+421
-616
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@open-web3/parachain-launch",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"author": "Laminar Developers <hello@laminar.one>",
55
"license": "Apache-2.0",
66
"main": "lib/index.js",
@@ -27,30 +27,30 @@
2727
},
2828
"dependencies": {
2929
"@polkadot/api": "^10.9.1",
30-
"@polkadot/keyring": "^12.3.2",
31-
"@polkadot/util": "^12.3.2",
32-
"@polkadot/util-crypto": "^12.3.2",
30+
"@polkadot/keyring": "^12.4.2",
31+
"@polkadot/util": "^12.4.2",
32+
"@polkadot/util-crypto": "^12.4.2",
3333
"lodash": "^4.17.21",
3434
"readline-sync": "^1.4.10",
3535
"shelljs": "^0.8.5",
36-
"yaml": "^2.3.1",
36+
"yaml": "^2.3.2",
3737
"yargs": "^17.7.2"
3838
},
3939
"devDependencies": {
40-
"@types/lodash": "^4.14.196",
40+
"@types/lodash": "^4.14.197",
4141
"@types/readline-sync": "^1.4.4",
4242
"@types/shelljs": "^0.8.12",
4343
"@types/yargs": "^17.0.24",
44-
"@typescript-eslint/eslint-plugin": "^5.60.1",
45-
"@typescript-eslint/parser": "^6.2.1",
46-
"eslint": "^8.44.0",
47-
"eslint-config-prettier": "^8.9.0",
48-
"eslint-import-resolver-typescript": "^3.5.5",
49-
"eslint-plugin-import": "^2.28.0",
44+
"@typescript-eslint/eslint-plugin": "^6.5.0",
45+
"@typescript-eslint/parser": "^6.5.0",
46+
"eslint": "^8.48.0",
47+
"eslint-config-prettier": "^9.0.0",
48+
"eslint-import-resolver-typescript": "^3.6.0",
49+
"eslint-plugin-import": "^2.28.1",
5050
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
51-
"prettier": "^2.8.8",
51+
"prettier": "^3.0.3",
5252
"ts-node": "^10.9.1",
53-
"typescript": "~5.1.6"
53+
"typescript": "~5.2.2"
5454
},
5555
"bin": "./bin/parachain-launch",
5656
"packageManager": "yarn@3.6.0",

src/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const getChainspec = (image: string, chain: string) => {
8181
const outputChainSpec = `${shell.tempdir()}/${chain}-${new Date().toISOString().slice(0, 10)}.json`;
8282
if (chain.endsWith('.json')) {
8383
exec(
84-
`docker run -v $(pwd)/${chain}:/${chain} --rm ${image} build-spec --chain=/${chain} --disable-default-bootnode > ${outputChainSpec}`
84+
`docker run -v $(pwd)/${chain}:/${chain} --rm ${image} build-spec --chain=/${chain} --disable-default-bootnode > ${outputChainSpec}`,
8585
);
8686
} else {
8787
exec(`docker run --rm ${image} build-spec --chain=${chain} --disable-default-bootnode > ${outputChainSpec}`);
@@ -130,7 +130,7 @@ const jsonStringify = (spec: any) =>
130130
// JSON.stringify will serialize big number to scientific notation such as 1e+21, which is not supported by Substrate
131131
JSON.stringify(spec, (_, v) => (typeof v === 'number' ? `@${BigInt(v).toString()}@` : v), 2).replace(
132132
/"@(.*?)@"/g,
133-
'$1'
133+
'$1',
134134
);
135135

136136
/**
@@ -224,7 +224,7 @@ const generateRelaychainGenesisFile = (config: Config, path: string, output: str
224224
fs.writeFileSync(tmpfile, jsonStringify(spec));
225225

226226
exec(
227-
`docker run --rm -v "${tmpfile}":/${config.relaychain.chain}.json ${config.relaychain.image} build-spec --raw --chain=/${config.relaychain.chain}.json --disable-default-bootnode > ${path}`
227+
`docker run --rm -v "${tmpfile}":/${config.relaychain.chain}.json ${config.relaychain.image} build-spec --raw --chain=/${config.relaychain.chain}.json --disable-default-bootnode > ${path}`,
228228
);
229229

230230
shell.rm(tmpfile);
@@ -312,7 +312,7 @@ const generateParachainGenesisFile = (
312312
image: string,
313313
chain: Chain | string,
314314
output: string,
315-
yes: boolean
315+
yes: boolean,
316316
) => {
317317
if (typeof chain === 'string') {
318318
chain = { base: chain };
@@ -603,7 +603,7 @@ void yargs(hideBin(process.argv))
603603
}
604604
generate(config, argv).catch(fatal);
605605
}
606-
}
606+
},
607607
)
608608
.help('h')
609609
.alias('h', 'help').argv;

0 commit comments

Comments
 (0)