fix: remove deprecated bpf-sdk, localnet, and examples
BREAKING CHANGE: Removed binaries solana-localnet and solana-bpf-sdk-install. Please install the Solana CLI tools to download the BPF SDK and to install the solana-test-validator binary intead.
This commit is contained in:
committed by
Justin Starry
parent
f46f346710
commit
e9b08b5e7f
@@ -31,48 +31,31 @@
|
||||
"not IE 11",
|
||||
"maintained node versions"
|
||||
],
|
||||
"bin": {
|
||||
"solana-bpf-sdk-install": "bin/bpf-sdk-install.sh",
|
||||
"solana-localnet": "bin/localnet.sh"
|
||||
},
|
||||
"testnetDefaultChannel": "edge",
|
||||
"files": [
|
||||
"/bin",
|
||||
"/doc",
|
||||
"/examples",
|
||||
"/bpf-sdk",
|
||||
"/lib",
|
||||
"/module.flow.js",
|
||||
"/src"
|
||||
],
|
||||
"scripts": {
|
||||
"bpf-sdk:install": "npm run clean:fixtures; bin/bpf-sdk-install.sh .",
|
||||
"bpf-sdk:remove-symlinks": "find bpf-sdk -type l -print -exec cp {} {}.tmp \\; -exec mv {}.tmp {} \\;",
|
||||
"build": "cross-env NODE_ENV=production rollup -c; npx flowgen lib/types/index.d.ts -o module.flow.js",
|
||||
"build:browser-test": "rollup -c test/rollup.config.js",
|
||||
"build:fixtures": "set -ex; ./test/fixtures/noop-c/build.sh; ./test/fixtures/noop-rust/build.sh",
|
||||
"clean:fixtures": "make -C examples/bpf-c-noop clean ",
|
||||
"build:fixtures": "set -ex; ./test/fixtures/noop-program/build.sh",
|
||||
"clean": "rimraf ./coverage ./lib",
|
||||
"codecov": "set -ex; npm run test:cover; cat ./coverage/lcov.info | codecov",
|
||||
"dev": "cross-env NODE_ENV=development rollup -c",
|
||||
"doc": "set -ex; typedoc",
|
||||
"doc:watch": "watch 'npm run doc' . --wait=1 --ignoreDirectoryPattern=/doc/",
|
||||
"examples": "set -ex; for example in examples/*.js; do node $example; done",
|
||||
"lint": "set -ex; npm run pretty; eslint . --ext .js,.ts",
|
||||
"lint:fix": "npm run pretty:fix && eslint . --fix",
|
||||
"lint:watch": "watch 'npm run lint:fix' . --wait=1 --ignoreDirectoryPattern=/doc/",
|
||||
"localnet:down": "bin/localnet.sh down",
|
||||
"localnet:logs": "bin/localnet.sh logs -f",
|
||||
"localnet:up": "bin/localnet.sh up",
|
||||
"localnet:update": "bin/localnet.sh update",
|
||||
"ok": "run-s lint test doc",
|
||||
"prepare": "run-s clean bpf-sdk:install bpf-sdk:remove-symlinks build",
|
||||
"pretty": "prettier --check '{,{examples,src,test}/**/}*.{j,t}s'",
|
||||
"pretty:fix": "prettier --write '{,{examples,src,test}/**/}*.{j,t}s'",
|
||||
"prepare": "run-s clean build",
|
||||
"pretty": "prettier --check '{,{src,test}/**/}*.{j,t}s'",
|
||||
"pretty:fix": "prettier --write '{,{src,test}/**/}*.{j,t}s'",
|
||||
"re": "semantic-release --repository-url git@github.com:solana-labs/solana-web3.js.git",
|
||||
"test": "npm run build:fixtures && mocha -r ts-node/register './test/**/*.test.ts'",
|
||||
"test": "mocha -r ts-node/register './test/**/*.test.ts'",
|
||||
"test:cover": "TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' nyc --reporter=lcov mocha -r ts-node/register './test/**/*.test.ts'",
|
||||
"test:browser": "TEST_LIVE=1 npm run build:fixtures && npm run build:browser-test && mocha-headless-chrome -f http://localhost:8080/mocha.html --timeout 180000",
|
||||
"test:browser": "TEST_LIVE=1 npm run build:browser-test && mocha-headless-chrome -f http://localhost:8080/mocha.html --timeout 180000",
|
||||
"test:browser-with-server": "start-server-and-test 'http-server -p 8080' 8080 test:browser",
|
||||
"test:browser-with-test-validator": "start-server-and-test 'solana-test-validator --reset --quiet' http://localhost:8899/health test:browser-with-server",
|
||||
"test:live": "TEST_LIVE=1 npm run test",
|
||||
|
Reference in New Issue
Block a user