Skip to content

Commit

Permalink
Reown AppKit: version 1.0.0 (#2857)
Browse files Browse the repository at this point in the history
Co-authored-by: Sven <[email protected]>
Co-authored-by: Sven <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: enesozturk <[email protected]>
Co-authored-by: Ignacio Santise <[email protected]>
Co-authored-by: Felipe Mendes <[email protected]>
Co-authored-by: MK <[email protected]>
  • Loading branch information
8 people authored Sep 17, 2024
1 parent 9a51638 commit 6b9a273
Show file tree
Hide file tree
Showing 731 changed files with 22,131 additions and 31,611 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
{
"name": "lit/decorators.js",
"importNames": ["customElement"],
"message": "Use import 'customElement' from '@web3modal/ui' instead."
"message": "Use import 'customElement' from '@reown/appkit-ui' instead."
}
]
}
Expand Down Expand Up @@ -96,6 +96,7 @@
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/no-unnecessary-condition": "off",
"@typescript-eslint/no-unsafe-argument": "off"
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/non-nullable-type-assertion-style": "off"
}
}
4 changes: 1 addition & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ body:
You should also test your issue against the latest NPM package version(s) to ensure that it hasn't already been resolved.
Sharing a link to a GitHub repository or preview deployment are best. Include any instructions to run the project in the README or the summary field below.
Don't have an available repo/preview to share? You can create online with our [StackBlitz template](https://stackblitz.com/edit/web3modal-next-template) quickly.
IF A REPRODUCIBLE DEMO IS NOT PROVIDED, YOUR ISSUE WILL BE CLOSED.
[Learn more about creating a minimal reproducible example](https://stackoverflow.com/help/mcve).
validations:
Expand All @@ -29,6 +27,6 @@ body:
- type: textarea
attributes:
label: List of related npm package versions
description: Include all web3modal, wagmi and other packages that can be related to the issue, including their versions.
description: Include all appkit, wagmi and other packages that can be related to the issue, including their versions.
validations:
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: ❓ Ask a question
url: https://github.com/WalletConnect/walletconnect-monorepo/discussions/new?category=web3modal
url: https://github.com/WalletConnect/walletconnect-monorepo/discussions/new?category=appkit
about: Ask questions and discuss with other community members.
2 changes: 2 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ If new feature is being introduced, include the link to demo recording.
- [ ] My changes generate no new warnings
- [ ] I have reviewed my own code
- [ ] I have filled out all required sections
- [ ] I have tested my changes on the preview link
- [ ] Approver of this PR confirms that the changes are tested on the preview link
50 changes: 50 additions & 0 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Changesets
on:
push:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
changesets:
name: Changesets
permissions:
contents: write
id-token: write
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Clone repository
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- uses: pnpm/action-setup@v4
name: Install pnpm

- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'pnpm'

- name: Install dependencies
run: pnpm install
shell: bash

- name: PR or publish
uses: changesets/action@v1
with:
title: 'chore: version packages'
commit: 'chore: version packages'
createGithubReleases: ${{ github.ref == 'refs/heads/main' }}
publish: pnpm changeset:publish
version: pnpm changeset:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
10 changes: 6 additions & 4 deletions .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- V3
- V4
- V5
- main

permissions:
Expand All @@ -32,7 +29,6 @@ jobs:
- lint
- prettier
- typecheck
- danger
- build:sample-apps
steps:
- name: checkout
Expand Down Expand Up @@ -64,6 +60,9 @@ jobs:
bundle_size:
runs-on: ubuntu-latest
name: Bundle size check
permissions:
contents: write
pull-requests: write
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -91,6 +90,9 @@ jobs:
test:
runs-on: ubuntu-latest
continue-on-error: true
permissions:
contents: write
pull-requests: write
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down
68 changes: 0 additions & 68 deletions .github/workflows/publish_canary.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ui_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
required: false
type: string
base-url:
description: 'The web3modal lab url'
description: 'The AppKit lab url'
default: 'http://localhost:3000/'
required: false
type: string
Expand Down
1 change: 0 additions & 1 deletion .husky/pre-push

This file was deleted.

1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile.canary
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ RUN pnpm playwright:install
ENV TIMING_LOGS=true
ENV CI=true
ENV SKIP_PLAYWRIGHT_WEBSERVER=true
ENV BASE_URL=https://lab.web3modal.com/
ENV BASE_URL=https://appkit-lab.reown.org/

CMD ["timeout", "600", "./docker-canary.sh"]
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Apache License
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

Expand Down Expand Up @@ -175,7 +175,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

END OF TERMS AND CONDITIONS

Copyright 2021 WalletConnect, Inc.
Copyright 2024 reown inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 6b9a273

Please sign in to comment.