@codama/renderers-js 1.4.0 → 1.4.2
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/README.md +13 -14
- package/dist/index.browser.cjs +1 -1
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.mjs +1 -1
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.cjs +1 -1
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.mjs +1 -1
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.react-native.mjs +1 -1
- package/dist/index.react-native.mjs.map +1 -1
- package/package.json +36 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codama/renderers-js",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "JavaScript renderer compatible with the Solana Kit library",
|
|
5
5
|
"exports": {
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -37,42 +37,56 @@
|
|
|
37
37
|
"client"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@
|
|
41
|
-
"
|
|
42
|
-
"@codama/
|
|
43
|
-
"@codama/
|
|
44
|
-
"@
|
|
45
|
-
"
|
|
40
|
+
"@codama/errors": "^1.3.7",
|
|
41
|
+
"@codama/nodes": "^1.3.7",
|
|
42
|
+
"@codama/renderers-core": "^1.2.2",
|
|
43
|
+
"@codama/visitors-core": "^1.3.7",
|
|
44
|
+
"@solana/codecs-strings": "^3.0.3",
|
|
45
|
+
"prettier": "^3.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@codama/nodes-from-anchor": "1.2.
|
|
48
|
+
"@codama/nodes-from-anchor": "^1.2.9",
|
|
49
|
+
"@changesets/changelog-github": "^0.5.1",
|
|
50
|
+
"@changesets/cli": "^2.29.7",
|
|
51
|
+
"@solana/eslint-config-solana": "^5.0.0",
|
|
52
|
+
"@solana/prettier-config-solana": "0.0.5",
|
|
53
|
+
"@types/node": "^24",
|
|
54
|
+
"agadoo": "^3.0.0",
|
|
55
|
+
"eslint": "^9.35.0",
|
|
56
|
+
"happy-dom": "^18.0.1",
|
|
57
|
+
"prettier": "^3.6.2",
|
|
58
|
+
"rimraf": "6.0.1",
|
|
59
|
+
"tsup": "^8.5.0",
|
|
60
|
+
"typescript": "^5.9.2",
|
|
61
|
+
"vitest": "^3.2.4"
|
|
49
62
|
},
|
|
50
63
|
"license": "MIT",
|
|
51
64
|
"repository": {
|
|
52
65
|
"type": "git",
|
|
53
|
-
"url": "https://github.com/codama-idl/
|
|
66
|
+
"url": "https://github.com/codama-idl/renderers-js"
|
|
54
67
|
},
|
|
55
68
|
"bugs": {
|
|
56
|
-
"url": "http://github.com/codama-idl/
|
|
69
|
+
"url": "http://github.com/codama-idl/renderers-js/issues"
|
|
57
70
|
},
|
|
58
71
|
"browserslist": [
|
|
59
72
|
"supports bigint and not dead",
|
|
60
73
|
"maintained node versions"
|
|
61
74
|
],
|
|
75
|
+
"engines": {
|
|
76
|
+
"node": ">=20.18.0"
|
|
77
|
+
},
|
|
78
|
+
"prettier": "@solana/prettier-config-solana",
|
|
62
79
|
"scripts": {
|
|
63
|
-
"build": "rimraf dist &&
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"test": "pnpm test:types && pnpm test:treeshakability && pnpm test:browser && pnpm test:node && pnpm test:react-native && pnpm test:e2e && pnpm test:exports",
|
|
70
|
-
"test:browser": "zx ../../node_modules/@codama/internals/scripts/test-unit.mjs browser",
|
|
80
|
+
"build": "rimraf dist && tsup && tsc -p ./tsconfig.declarations.json",
|
|
81
|
+
"dev": "vitest --project node",
|
|
82
|
+
"lint": "eslint . && prettier --check .",
|
|
83
|
+
"lint:fix": "eslint --fix . && prettier --write .",
|
|
84
|
+
"publish-package": "pnpm build && changeset publish",
|
|
85
|
+
"test": "pnpm test:types && pnpm test:treeshakability && pnpm test:unit && pnpm test:e2e && pnpm test:exports",
|
|
71
86
|
"test:e2e": "./test/e2e/test.sh",
|
|
72
87
|
"test:exports": "node ./test/exports/module.mjs && node ./test/exports/commonjs.cjs",
|
|
73
|
-
"test:
|
|
74
|
-
"test:
|
|
75
|
-
"test:
|
|
76
|
-
"test:types": "zx ../../node_modules/@codama/internals/scripts/test-types.mjs"
|
|
88
|
+
"test:treeshakability": "for file in dist/index.*.mjs; do agadoo $file; done",
|
|
89
|
+
"test:types": "tsc --noEmit",
|
|
90
|
+
"test:unit": "vitest run"
|
|
77
91
|
}
|
|
78
92
|
}
|