Skip to content

Commit

Permalink
Add Umi library and reshape the repository (#128)
Browse files Browse the repository at this point in the history
* Move program folder to programs/token-auth-rules

* Rename packages/sdk to clients/js-solita

* Move cli into clients

* Add configs folder

* Remove old JS configs

* Remove old scripts

* Update package.json and replace yarn with pnpm

* Update GitHub workflows

* Format config folder

* Add Amman client back to JS Solita client

* Add Umi JS client

* Regenerate client with correct program ID

* Add .env file from GitHub actions

* Fix CLI dependencies

* Enable Umi library publishing on NPM

* Use buildjet runner when testing programs

Without it we're getting a "no space left on device" error.

See actions/runner-images#2875
  • Loading branch information
lorisleiva authored May 18, 2023
1 parent a59fdc0 commit d013486
Show file tree
Hide file tree
Showing 449 changed files with 19,439 additions and 8,642 deletions.
58 changes: 0 additions & 58 deletions .ammanrc.js

This file was deleted.

5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

16 changes: 0 additions & 16 deletions .eslintrc.js

This file was deleted.

6 changes: 6 additions & 0 deletions .github/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CARGO_TERM_COLOR=always
NODE_VERSION=16.x
PROGRAMS=["token-auth-rules"]
RUST_VERSION=1.65.0
SOLANA_VERSION=1.14.13
ANCHOR_VERSION=0.27.0
22 changes: 0 additions & 22 deletions .github/actions/build-program/action.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/actions/install-linux-build-deps/action.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/actions/install-rust/action.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/actions/install-solana/action.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/actions/yarn-install-and-build/action.yml

This file was deleted.

61 changes: 0 additions & 61 deletions .github/actions/yarn-install-and-verify/action.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/file-filters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This file is used by the dorny/paths-filter action to figure out if a program or
# client has changed and thus if it should be built or tested. Any changes in the
# files listed below will trigger the appropriate workflow for that program or client.

# Programs.

program_common: &program_common
- ".github/workflows/build-programs.yml"
- ".github/workflows/test-programs.yml"
- ".github/workflows/main.yml"

token_auth_rules_program: &token_auth_rules_program
- *program_common
- "programs/token-auth-rules/**"

programs: &programs
- *token_auth_rules_program

# Clients.

client_common: &client_common
- ".github/workflows/test-js.yml"
- ".github/workflows/main.yml"
- "configs/shank.cjs"
- "configs/kinobi.cjs"

js_client: &js_client
- *client_common
- "clients/js/**"

clients: &clients
- *js_client

# Any.

any: &any
- *programs
- *clients
Loading

0 comments on commit d013486

Please sign in to comment.