forked from kkrt-labs/get-starknet
-
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.
* feat: v2 * fix: branch names * docs: readme usage * fix: review fixes no1 * fix: review fixes no2 * fix: review no3 * fix: added all known wallet window keys explicitly * fix: review * fix: automatic build on prepare * feat: export window object and update starknet.js * feat: remove default wallet value and let dapp handle connect status * feat: allow dapp to disable discovery if wallet was connected * fix: example * feat: add a11y handler * fix: alwaysShowDiscovery * fix: types * fix: starknet peer dependency * fix: remove any * chore: remove `alwaysShowDiscovery` prop should be handled on a separate PR * chore: remove default-wallet test leftovers Co-authored-by: Abraham Makovetsky <[email protected]>
- Loading branch information
Showing
72 changed files
with
6,956 additions
and
6,026 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,11 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by | ||
`@changesets/cli`, a build tool that works with multi-package repos, or | ||
single-package repos to help you version and publish your code. You can find the | ||
full documentation for it | ||
[in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this | ||
project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
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,11 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [["get-starknet-core", "get-starknet"]], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
{ | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
], | ||
"rules": { | ||
"body-max-line-length": [ | ||
0, | ||
"always", | ||
100 | ||
], | ||
"rules": { | ||
"body-max-line-length": [ | ||
0, | ||
"always", | ||
100 | ||
], | ||
"footer-max-line-length": [ | ||
0, | ||
"always", | ||
100 | ||
], | ||
"footer-leading-blank": [ | ||
0, | ||
"always", | ||
100 | ||
] | ||
} | ||
"footer-max-line-length": [ | ||
0, | ||
"always", | ||
100 | ||
], | ||
"footer-leading-blank": [ | ||
0, | ||
"always", | ||
100 | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,18 +1,30 @@ | ||
name: Build | ||
name: PR | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
branches: | ||
- develop | ||
- master | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14" | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn build | ||
version: | ||
timeout-minutes: 15 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout code repository | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- name: setup node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
cache: "pnpm" | ||
- name: install dependencies | ||
run: pnpm install | ||
- name: run tests | ||
run: pnpm test | ||
- name: check formatting | ||
run: pnpm format:check |
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 |
---|---|---|
@@ -1,25 +1,39 @@ | ||
name: Semantic Release | ||
name: Release | ||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
permissions: | ||
contents: write | ||
issues: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14" | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn build | ||
- env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }} | ||
run: npx semantic-release | ||
version: | ||
timeout-minutes: 15 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout code repository | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
- name: setup node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14 | ||
cache: "pnpm" | ||
- name: install dependencies | ||
run: pnpm install | ||
- name: run tests | ||
run: pnpm test | ||
- name: copy readme to every package | ||
run: echo "./packages/core/ ./packages/ui/" | xargs -n 1 cp Readme.md | ||
- name: create and publish versions | ||
uses: changesets/action@v1 | ||
with: | ||
version: pnpm run version | ||
commit: "chore: update versions" | ||
title: "chore: update versions" | ||
publish: pnpm run publish | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
Oops, something went wrong.