Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/adapt to 0.28 #126

Merged
merged 13 commits into from
Mar 28, 2023
28 changes: 28 additions & 0 deletions .github/workflows/exp-cicd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: SUIET_KIT_CICD_PIPELINE_FOR_EXP
on:
push:
tags:
- 0.0.0-experimental*
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [16]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }} # TODO: enable pnpm cache (setup-node@v3 has issues with pnpm@7)
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build all packages
run: npm run build:all
- name: Publish all packages
run: npm run exp:publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
151 changes: 45 additions & 106 deletions examples/with-vite/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"lint:fix": "eslint --fix --ext=.js,.js,.tsx,.ts .",
"prepare": "husky install",
"ci:publish": "pnpm publish -r --no-git-checks --access public",
"exp:publish": "pnpm publish -r --no-git-checks --access public --tag experimental",
"build:all": "run-s build:sdk build:kit",
"dev:kit": "pnpm --filter @suiet/wallet-kit dev",
"build:kit": "pnpm --filter @suiet/wallet-kit build",
Expand Down
7 changes: 4 additions & 3 deletions packages/kit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@suiet/wallet-kit",
"version": "0.1.26",
"version": "0.2.0",
"type": "module",
"files": [
"dist"
Expand All @@ -23,7 +23,7 @@
},
"types": "./dist/index.d.ts",
"dependencies": {
"@mysten/sui.js": "^0.29.1",
"@mysten/sui.js": "0.0.0-experimental-20230326165705",
"@mysten/wallet-standard": "^0.4.0",
"@radix-ui/react-dialog": "^1.0.2",
"@suiet/wallet-sdk": "workspace:*",
Expand Down Expand Up @@ -60,7 +60,8 @@
"vite-plugin-svgr": "^2.2.1"
},
"peerDependencies": {
"cross-fetch": "3.x"
"cross-fetch": "3.x",
"@mysten/sui.js": "0.0.0-experimental-20230326165705"
},
"repository": {
"type": "git",
Expand Down
Loading