forked from cartridge-gg/arcade
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Deploy a first version of the SDK (cartridge-gg#16)
* ✨ Deploy a first version of the SDK * 🐛 Export bindings * 🚀 Deploy new version * ♻️ Rename society into social and deploy a new version * 🚀 Deploy a new version of the sdk * 🚀 New version * 🚀 Deploy on sepolia * 🚀 Deploy new versions * ♻️ Refactor and add sub/fetch features in sdk * ✨ Add game management in sdk * ✨ Migrate to dojo sdk * ✨ Add achievement module * 💄 Code format * 🚀 Deploy new version * 🐛 Fix minor issues * 🚀 Deploy new version * 🐛 Move pin ability from registry to social * ♻️ Refactor sdk and add policies * 💄 Code style * 🚀 Deploy a new version * 🐛 Move pin ability from registry to social * ♻️ Refacto and export policies * 🐛 Fix exports
- Loading branch information
Showing
82 changed files
with
12,850 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Publish to npm | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
env: | ||
WORKING_DIRECTORY: ./kits/typescript | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- name: Install dependencies | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
run: npm install | ||
|
||
- name: Build SDK | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
run: npm run build | ||
|
||
- name: Publish to npm | ||
working-directory: ${{ env.WORKING_DIRECTORY }} | ||
run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[world] | ||
name = "Cartridge World" | ||
description = "Cartridge World" | ||
website = "https://github.com/dojoengine/dojo-starter" | ||
seed = "arcade" | ||
|
||
[world.socials] | ||
x = "https://x.com/ohayo_dojo" | ||
discord = "https://discord.gg/FB2wR6uF" | ||
github = "https://github.com/dojoengine/dojo-starter" | ||
telegram = "https://t.me/dojoengine" | ||
|
||
[namespace] | ||
default = "ARCADE" | ||
|
||
[init_call_args] | ||
"ARCADE-Registry" = [ | ||
"0x059b1a0c489b635d7c7f43594d187362ddd2dcea6c82db4eef2579fd185b3753", | ||
] | ||
|
||
[writers] | ||
"ARCADE" = ["ARCADE-Registry", "ARCADE-Slot", "ARCADE-Social", "ARCADE-Wallet"] | ||
|
||
[env] | ||
rpc_url = "https://api.cartridge.gg/x/starknet/sepolia" | ||
account_address = "0x059b1a0c489b635d7c7f43594d187362ddd2dcea6c82db4eef2579fd185b3753" | ||
ipfs_config.url = "https://ipfs.infura.io:5001" | ||
ipfs_config.username = "2EBrzr7ZASQZKH32sl2xWauXPSA" | ||
ipfs_config.password = "12290b883db9138a8ae3363b6739d220" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.