Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
if: ${{ inputs.pnpm == 'true' }}
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
cache: 'pnpm'

- name: Install Dependencies
Expand Down
1 change: 0 additions & 1 deletion clients/js/.prettierignore

This file was deleted.

20 changes: 0 additions & 20 deletions clients/js/eslint.config.mjs

This file was deleted.

7 changes: 7 additions & 0 deletions clients/js/oxfmt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const oxfmt = require('oxfmt');
const solanaFmt = require('@solana-config/oxc/oxfmt');

module.exports = oxfmt.defineConfig({
...solanaFmt,
ignorePatterns: ['**/dist/**', 'src/generated/**', 'test-ledger/**'],
});
9 changes: 9 additions & 0 deletions clients/js/oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const oxlint = require('oxlint');
const solanaConfig = require('@solana-config/oxc/oxlint');

module.exports = oxlint.defineConfig({
extends: [solanaConfig],
ignorePatterns: ['**/dist/**', 'src/generated/**', 'test-ledger/**'],
options: { typeAware: true },
rules: { 'sort-keys': 'off' },
});
63 changes: 32 additions & 31 deletions clients/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,62 +2,63 @@
"name": "@solana-program/system",
"version": "0.12.0",
"description": "JavaScript client for the System program",
"homepage": "https://github.com/solana-program/system#readme",
"bugs": {
"url": "https://github.com/solana-program/system/issues"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/solana-program/system.git"
},
"files": [
"./dist/src",
"./dist/types",
"./src/"
],
"type": "commonjs",
"sideEffects": false,
"module": "./dist/src/index.mjs",
"main": "./dist/src/index.js",
"module": "./dist/src/index.mjs",
"types": "./dist/types/index.d.ts",
"type": "commonjs",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/src/index.mjs",
"require": "./dist/src/index.js"
}
},
"files": [
"./dist/src",
"./dist/types",
"./src/"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"build": "rimraf dist && tsup && tsc -p ./tsconfig.declarations.json",
"build:docs": "typedoc",
"dev": "vitest",
"test": "vitest run",
"lint": "eslint src",
"lint:fix": "eslint --fix src",
"format": "prettier --check src test",
"format:fix": "prettier --write src test",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"format": "oxfmt --check",
"format:fix": "oxfmt",
"prepublishOnly": "pnpm build"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/solana-program/system.git"
},
"bugs": {
"url": "https://github.com/solana-program/system/issues"
},
"homepage": "https://github.com/solana-program/system#readme",
"peerDependencies": {
"@solana/kit": "^6.4.0"
},
"devDependencies": {
"@solana/eslint-config-solana": "^6.0.0",
"@solana-config/oxc": "^0.1.1",
"@solana/kit": "^6.4.0",
"@solana/kit-plugin-litesvm": "^0.10.0",
"@solana/kit-plugin-signer": "^0.10.0",
"@solana/kit": "^6.4.0",
"@types/node": "^24",
"eslint": "^9.39.2",
"prettier": "^3.7.4",
"oxfmt": "^0.48.0",
"oxlint": "^1.63.0",
"oxlint-tsgolint": "^0.23.0",
"rimraf": "^6.1.2",
"tsup": "^8.1.2",
"typedoc": "^0.28.15",
"typescript": "^5.9.3",
"vitest": "^4.0.15"
},
"peerDependencies": {
"@solana/kit": "^6.4.0"
}
}
Loading
Loading