Skip to content

Commit ceab5c7

Browse files
committed
refactor: rename
1 parent fb3c5db commit ceab5c7

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# solana-node-cli
1+
# glass
22

3-
This is the `solana-node-cli`, a command-line tool designed to simplify the
4-
development and testing of Solana blockchain programs. The tool provides an
5-
array of commands to manage Solana Toolkit installations, clone and manage
6-
blockchain fixtures (accounts, programs, etc), and simplifying the experience of
7-
running a local test-validator with all the required state for a consistent
8-
development experience.
3+
This is the `glass`, a command-line tool designed to simplify the development
4+
and testing of Solana blockchain programs. The tool provides an array of
5+
commands to manage Solana Toolkit installations, clone and manage blockchain
6+
fixtures (accounts, programs, etc), and simplifying the experience of running a
7+
local test-validator with all the required state for a consistent development
8+
experience.
99

1010
**System Requirements:**
1111

@@ -14,7 +14,7 @@ development experience.
1414
**Usage:**
1515

1616
```shell
17-
npx solana --help
17+
npx glass --help
1818
```
1919

2020
This tool is not recommended to be installed as a global npm package on your
@@ -39,7 +39,7 @@ Install the Solana Toolkit local development tooling on your system.
3939
**Usage:**
4040

4141
```shell
42-
npx solana install --help
42+
npx glass install --help
4343
```
4444

4545
The Solana Toolkit includes the following tools:
@@ -69,7 +69,7 @@ file.
6969
**Usage:**
7070

7171
```shell
72-
npx solana clone --help
72+
npx glass clone --help
7373
```
7474

7575
The default behavior for fixture cloning is as follows:
@@ -108,7 +108,7 @@ Build all or a single Solana program in your workspace.
108108
**Usage:**
109109

110110
```shell
111-
npx solana build --help
111+
npx glass build --help
112112
```
113113

114114
### deploy
@@ -118,7 +118,7 @@ Deploy a Solana program in your workspace.
118118
**Usage:**
119119

120120
```shell
121-
npx solana deploy --help
121+
npx glass deploy --help
122122
```
123123

124124
The default behavior for deploying is as follows:
@@ -134,14 +134,14 @@ cloned fixtures for your repo.
134134
**Usage:**
135135

136136
```shell
137-
npx solana test-validator --help
137+
npx glass test-validator --help
138138
```
139139

140140
> Under the hood, the `test-validator` commands wraps the Agave tool suite's
141141
> `solana-test-validator` command but also helps provide additional quality of
142142
> life improvements for Solana developers. To view the generated
143143
> `solana-test-validator` wrapper command, run
144-
> `npx solana test-validator --output-only`.
144+
> `npx glass test-validator --output-only`.
145145
146146
The default behavior for running the `test-validator` is as follows:
147147

@@ -161,15 +161,15 @@ Run code coverage tests on a Solana program, powered by the
161161
**Usage:**
162162

163163
```shell
164-
npx solana coverage --help
164+
npx glass coverage --help
165165
```
166166

167167
To pass additional arguments to the Zest CLI, append them at the end of this
168168
tool's command starting with `--`. For example, to run the Zest CLI's help
169169
command:
170170

171171
```shell
172-
npx solana coverage -- --help
172+
npx glass coverage -- --help
173173
```
174174

175175
## Solana.toml

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "solana",
3-
"version": "2.8.0",
2+
"name": "glass",
3+
"version": "0.1.0",
44
"description": "",
55
"license": "MIT",
66
"type": "module",
@@ -9,21 +9,20 @@
99
},
1010
"main": "./bin/index.mjs",
1111
"scripts": {
12-
"dev": "yarn build && yarn nsolana",
12+
"dev": "pnpm build && pnpm glass",
1313
"build": "rollup -c",
1414
"watch": "rollup -c --watch",
1515
"test": "pnpm test:unit",
1616
"test:unit": "jest -c ./jest-unit.config.ts --rootDir . --silent",
1717
"test:unit:watch": "jest -c ./jest-unit.config.ts --rootDir . --watch",
18-
"solana": "node ./bin/index.mjs",
18+
"glass": "node ./bin/index.mjs",
1919
"changeset:version": "changeset version && git add -A && git commit -m \"chore: version\"",
2020
"changeset:publish": "pnpm build && changeset publish",
2121
"postpublish": "git push --follow-tags",
2222
"style:fix": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,css,json,md}'"
2323
},
2424
"bin": {
25-
"nsolana": "bin/index.mjs",
26-
"solana-node": "bin/index.mjs"
25+
"glass": "bin/index.mjs"
2726
},
2827
"files": [
2928
"/bin"
@@ -69,15 +68,16 @@
6968
},
7069
"packageManager": "[email protected]",
7170
"keywords": [],
72-
"homepage": "https://github.com/solana-developers/solana-node-cli#readme",
71+
"homepage": "https://github.com/solana-developers/glass#readme",
7372
"bugs": {
74-
"url": "https://github.com/solana-developers/solana-node-cli/issues"
73+
"url": "https://github.com/solana-developers/glass/issues"
7574
},
7675
"repository": {
77-
"name": "solana-developers/solana-node-cli",
76+
"name": "solana-developers/glass",
7877
"type": "git",
79-
"url": "git+https://github.com/solana-developers/solana-node-cli.git"
78+
"url": "git+https://github.com/solana-developers/glass.git"
8079
},
80+
"author": "nickfrosty",
8181
"contributors": [
8282
{
8383
"name": "Nick Frostbutter",

src/commands/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function cliProgramRoot() {
1010

1111
// initialize the cli commands and options parsing
1212
const program = new Command()
13-
.name(`npx solana`)
13+
.name(`npx glass`)
1414
.version(app.version, "--version", "output the version number of this tool")
1515
// .description("")
1616
.configureOutput(cliOutputConfig);

tests/Solana.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Solana.toml is used to declare settings for use with `npx solana`
1+
# Solana.toml is used to declare settings for use with `npx glass`
22

33
[settings]
44
# define the directory to store all the fixtures (accounts/programs) you want to clone

0 commit comments

Comments
 (0)