Skip to content

Commit c2b77b4

Browse files
committed
Rename legacy to umi
1 parent d64fb3e commit c2b77b4

30 files changed

+39
-39
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
- name: Lint Client JS
4343
run: pnpm clients:js:lint
4444

45-
format_and_lint_client_legacy:
46-
name: Format/Lint Client (legacy)
45+
format_and_lint_client_umi:
46+
name: Format/Lint Client (umi)
4747
runs-on: ubuntu-latest
4848
steps:
4949
- name: Git Checkout
@@ -52,11 +52,11 @@ jobs:
5252
- name: Setup Environment
5353
uses: ./.github/actions/setup
5454

55-
- name: Format Client Legacy JS
56-
run: pnpm clients:legacy:format
55+
- name: Format Client Umi JS
56+
run: pnpm clients:umi:format
5757

58-
- name: Lint Client Legacy JS
59-
run: pnpm clients:legacy:lint
58+
- name: Lint Client Umi JS
59+
run: pnpm clients:umi:lint
6060

6161
format_and_lint_client_rust:
6262
name: Format/Lint Client (rust)
@@ -190,8 +190,8 @@ jobs:
190190
- name: Test Client JS
191191
run: pnpm clients:js:test
192192

193-
test_client_legacy:
194-
name: Test Client (legacy)
193+
test_client_umi:
194+
name: Test Client (umi)
195195
runs-on: ubuntu-latest
196196
needs: build_programs
197197
steps:
@@ -209,8 +209,8 @@ jobs:
209209
path: ./**/*.so
210210
key: ${{ runner.os }}-builds-${{ github.sha }}
211211

212-
- name: Test Client Legacy JS
213-
run: pnpm clients:legacy:test
212+
- name: Test Client Umi JS
213+
run: pnpm clients:umi:test
214214

215215
test_client_rust:
216216
name: Test Client (rust)

.github/workflows/publish-legacy-client.yml renamed to .github/workflows/publish-umi-client.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Client (legacy)
1+
name: Publish Client (umi)
22

33
on:
44
workflow_dispatch:
@@ -28,8 +28,8 @@ on:
2828
default: true
2929

3030
jobs:
31-
test_legacy:
32-
name: Test Client (legacy)
31+
test_umi:
32+
name: Test Client (umi)
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Git Checkout
@@ -41,22 +41,22 @@ jobs:
4141
cargo-cache-key: cargo-programs
4242
solana: true
4343

44-
- name: Format Client (legacy)
45-
run: pnpm clients:legacy:format
44+
- name: Format Client (umi)
45+
run: pnpm clients:umi:format
4646

47-
- name: Lint Client (legacy)
48-
run: pnpm clients:legacy:lint
47+
- name: Lint Client (umi)
48+
run: pnpm clients:umi:lint
4949

5050
- name: Build (programs)
5151
run: pnpm programs:build
5252

53-
- name: Test Client (legacy)
54-
run: pnpm clients:legacy:test
53+
- name: Test Client (umi)
54+
run: pnpm clients:umi:test
5555

5656
publish_js:
57-
name: Publish Client (legacy)
57+
name: Publish Client (umi)
5858
runs-on: ubuntu-latest
59-
needs: test_legacy
59+
needs: test_umi
6060
permissions:
6161
contents: write
6262
steps:
@@ -87,9 +87,9 @@ jobs:
8787
git config --global user.email "[email protected]"
8888
git config --global user.name "github-actions"
8989
90-
- name: Publish Legacy JS Client
90+
- name: Publish Umi JS Client
9191
id: publish
92-
run: pnpm clients:legacy:publish ${{ inputs.level }} ${{ inputs.tag }}
92+
run: pnpm clients:umi:publish ${{ inputs.level }} ${{ inputs.tag }}
9393

9494
- name: Push Commit and Tag
9595
run: git push origin --follow-tags
@@ -98,4 +98,4 @@ jobs:
9898
if: github.event.inputs.create_release == 'true'
9999
uses: ncipollo/release-action@v1
100100
with:
101-
tag: legacy@v${{ steps.publish.outputs.new_version }}
101+
tag: umi@v${{ steps.publish.outputs.new_version }}
File renamed without changes.
File renamed without changes.

clients/legacy/README.md renamed to clients/umi/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ This feature is useful to avoid reusing an account for something completely diff
88

99
## Getting Started
1010

11-
1. First, if you're not already using Umi, [follow these instructions to install the Umi framework](https://github.com/metaplex-foundation/umi/blob/main/docs/installation.md).
11+
1. First, if you're not already using Umi, [follow these instructions to install the Metaplex Umi framework](https://github.com/metaplex-foundation/umi/blob/main/docs/installation.md).
1212

1313
2. Next, install this library using the package manager of your choice.
1414
```sh
15-
npm install @nifty-oss/limestone-legacy
15+
npm install @nifty-oss/limestone-umi
1616
```
1717
2. Finally, register the library with your Umi instance.
1818
```ts
19-
import { limestone } from '@nifty-oss/limestone-legacy';
19+
import { limestone } from '@nifty-oss/limestone-umi';
2020
umi.use(limestone());
2121
```
2222

2323
The library contains a builder for the `CreateAccount` instruction of `limestone` program:
2424
```typescript
25-
import { createAccount } from '@nifty-oss/limestone-legacy';
25+
import { createAccount } from '@nifty-oss/limestone-umi';
2626

2727
const slot = await umi.rpc.getSlot();
2828

@@ -62,7 +62,7 @@ The arguments required to create an account are as follows:
6262
* `owner`:
6363
Program that will own the new account.
6464

65-
> This library uses the [Umi framework](https://github.com/metaplex-foundation/umi). There is also a version of the [library](clients/legacy/README.md) using the new Solana [JavaScript SDK Technology Preview](https://www.npmjs.com/package/@solana/web3.js/v/2.0.0-preview.4).
65+
> This library uses the [Metaplex Umi framework](https://github.com/metaplex-foundation/umi). There is also a version of the library using the new Solana [JavaScript SDK](https://www.npmjs.com/package/@solana/web3.js/v/2.0.0-rc.1).
6666
6767
## License
6868

clients/legacy/package.json renamed to clients/umi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@nifty-oss/limestone-legacy",
2+
"name": "@nifty-oss/limestone-umi",
33
"version": "0.0.0",
44
"description": "Umi-based JavaScript client for the Limestone program",
55
"main": "dist/src/index.js",
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)