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

bump v6.0.0 #38

Merged
merged 9 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,30 @@ jobs:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: checkout
uses: actions/checkout@v3

- name: setup node env
uses: actions/setup-node@v3
with:
token: ${{ secrets.GH_PAT }}
- name: npm pulish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
node-version: 16
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'

- name: build
run: |
yarn install --immutable | grep -v 'YN0013'
yarn build

- name: publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo npmAuthToken: "\${NPM_AUTH_TOKEN}" >> ./.yarnrc.yml
yarn publish

- name: cleanup
run: |
git checkout ./.yarnrc.yml

7 changes: 5 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
enableImmutableInstalls: false
nodeLinker: node-modules

enableImmutableInstalls: false
enableProgressBars: false

nodeLinker: node-modules
npmPublishAccess: public
npmPublishRegistry: 'https://registry.npmjs.org/'
npmRegistryServer: 'https://registry.npmjs.org/'

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import '@acala-network/types';
import { ApiPromise, WsProvider } from '@polkadot/api';
import { options } from '@acala-network/api';

const provider = new WsProvider('wss://karura.api.onfinality.io/public-ws');
const provider = new WsProvider('wss://karura-rpc.aca-api.network');
const api = new ApiPromise(options({ provider }));
await api.isReady;

Expand Down
8 changes: 2 additions & 6 deletions packages/api-derive/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
{
"name": "@acala-network/api-derive",
"version": "6.0.0-34",
"version": "6.0.0",
"description": "Additional polkadot.js derives for Acala Network",
"author": "Acala Developers <[email protected]>",
"license": "Apache-2.0",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": {
"directory": "packages/api-derive",
"type": "git",
Expand All @@ -27,7 +23,7 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
"@acala-network/types": "6.0.0-34"
"@acala-network/types": "6.0.0"
},
"peerDependencies": {
"@polkadot/api": "^10.9.1"
Expand Down
10 changes: 3 additions & 7 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
{
"name": "@acala-network/api",
"version": "6.0.0-34",
"version": "6.0.0",
"description": "Acala JS API",
"author": "Acala Developers <[email protected]>",
"license": "Apache-2.0",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": {
"directory": "packages/api",
"type": "git",
Expand All @@ -27,8 +23,8 @@
"publish:manual": "npm publish --tolerate-republish --access public"
},
"dependencies": {
"@acala-network/api-derive": "6.0.0-34",
"@acala-network/types": "6.0.0-34"
"@acala-network/api-derive": "6.0.0",
"@acala-network/types": "6.0.0"
},
"peerDependencies": {
"@polkadot/api": "^10.9.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@acala-network/types",
"version": "6.0.0-34",
"version": "6.0.0",
"description": "Acala types for @polkadot/api",
"author": "Acala Developers <[email protected]>",
"license": "Apache-2.0",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ __metadata:
languageName: node
linkType: hard

"@acala-network/[email protected]-34, @acala-network/api-derive@workspace:packages/api-derive":
"@acala-network/[email protected], @acala-network/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@acala-network/api-derive@workspace:packages/api-derive"
dependencies:
"@acala-network/types": 6.0.0-34
"@acala-network/types": 6.0.0
typescript: ^5.0.4
peerDependencies:
"@polkadot/api": ^10.9.1
Expand All @@ -27,15 +27,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "@acala-network/api@workspace:packages/api"
dependencies:
"@acala-network/api-derive": 6.0.0-34
"@acala-network/types": 6.0.0-34
"@acala-network/api-derive": 6.0.0
"@acala-network/types": 6.0.0
typescript: ^5.0.4
peerDependencies:
"@polkadot/api": ^10.9.1
languageName: unknown
linkType: soft

"@acala-network/[email protected]-34, @acala-network/types@workspace:packages/types":
"@acala-network/[email protected], @acala-network/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@acala-network/types@workspace:packages/types"
dependencies:
Expand Down
Loading