@venusprotocol/chains 0.8.2 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.mjs +1015 -203
- package/package.json +6 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venusprotocol/chains",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/VenusProtocol/venus-protocol-interface/tree/main/packages/chains"
|
|
12
12
|
},
|
|
13
|
-
"files": [
|
|
13
|
+
"files": [
|
|
14
|
+
"build"
|
|
15
|
+
],
|
|
14
16
|
"main": "./build/index.mjs",
|
|
15
17
|
"module": "./build/index.mjs",
|
|
16
18
|
"types": "./build/index.d.mts",
|
|
@@ -23,7 +25,6 @@
|
|
|
23
25
|
},
|
|
24
26
|
"scripts": {
|
|
25
27
|
"start": "yarn run build -- --watch ./src",
|
|
26
|
-
"postinstall": "yarn run generate && yarn run build",
|
|
27
28
|
"test": "vitest run",
|
|
28
29
|
"build": "tsdown -d ./build",
|
|
29
30
|
"deploy-images": "src/scripts/deployImages/index.ts",
|
|
@@ -32,7 +33,8 @@
|
|
|
32
33
|
"tsc": "tsc --noEmit",
|
|
33
34
|
"generate-token-icon-manifest": "rimraf src/generated/tokenIconSrcs.json && tsx src/scripts/generateManifest/index.ts --dirPath=tokens --outputFileName=tokenIconSrcs.ts",
|
|
34
35
|
"generate-chain-icon-manifest": "rimraf src/generated/chainIconSrcs.json && tsx src/scripts/generateManifest/index.ts --dirPath=chains --outputFileName=chainIconSrcs.ts",
|
|
35
|
-
"generate": "
|
|
36
|
+
"generate-manifests": "npm-run-all --parallel generate-token-icon-manifest generate-chain-icon-manifest",
|
|
37
|
+
"generate": "genversion --es6 --semi src/constants/version.ts && yarn run generate-manifests && yarn run build"
|
|
36
38
|
},
|
|
37
39
|
"devDependencies": {
|
|
38
40
|
"@rollup/plugin-url": "^8.0.2",
|