-
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.
fix: Add Readmes to prepare for open source (#84)
* remove signal test * test * remove signal * test * push * remove signal * re-introduce-signal * add deep link test * versioning * change app_id * add readmes * formatting * release * update release please
- Loading branch information
1 parent
a83c9fb
commit 4d2f5a0
Showing
9 changed files
with
111 additions
and
17 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: New release | ||
name: New Release | ||
|
||
on: | ||
push: | ||
|
@@ -17,12 +17,13 @@ jobs: | |
uses: google-github-actions/release-please-action@v3 | ||
with: | ||
command: manifest | ||
release-type: node | ||
|
||
publish: | ||
publish-npm: | ||
needs: release | ||
name: Publish | ||
name: Publish to npm | ||
runs-on: ubuntu-latest | ||
if: ${{ needs.release.outputs.releases_created }} | ||
if: ${{ needs.release.outputs.releases_created == 'true' }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
|
@@ -43,7 +44,37 @@ jobs: | |
- name: Build | ||
run: pnpm build | ||
|
||
- name: Publish | ||
run: pnpm publish -r --report-summary | ||
- name: Publish to npm | ||
run: pnpm publish --report-summary | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
publish-github: | ||
needs: release | ||
name: Publish to GitHub Package Registry | ||
runs-on: ubuntu-latest | ||
if: ${{ needs.release.outputs.releases_created == 'true' }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: 9 | ||
|
||
- name: Set up Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
cache: "pnpm" | ||
registry-url: "https://npm.pkg.github.com" | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Build | ||
run: pnpm build | ||
|
||
- name: Publish to GitHub | ||
run: pnpm publish --report-summary | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GIT_HUB_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
{ | ||
"minikit-js": "0.0.22-internal-alpha" | ||
} | ||
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 |
---|---|---|
@@ -1,3 +1,23 @@ | ||
### Minikit JS | ||
# Minikit-JS | ||
|
||
Minikit is still in pre-release. If you're interested in integrating Minikit into your project, please contact us at [[email protected]](mailto:[email protected]). | ||
## 🚀 Getting Started | ||
|
||
Minikit is currently available on npm. To install, run: | ||
`pnpm i @worldcoin/minikit-js` | ||
|
||
or use the CDN: | ||
`https://cdn.jsdelivr.net/npm/@worldcoin/minikit-js@[version]/+esm` | ||
|
||
For comprehensive setup instructions and usage examples, visit our [developer documentation](https://docs.world.org/mini-apps). | ||
|
||
## 🛠 ️Developing Locally | ||
|
||
To run the example mini app locally: | ||
|
||
``` | ||
pnpm i | ||
cd demo/with-next | ||
pnpm dev | ||
``` | ||
|
||
This will launch a demo mini app with all essential commands implemented, allowing you to explore and test the features. |
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,25 @@ | ||
# Minikit-React | ||
|
||
This package contains helper functions and components for building mini apps with React. This is not required to run a mini app and is only a convenience package for developers as it contains nice abstractions. | ||
|
||
## 🚀 Getting Started | ||
|
||
Minikit is currently available on npm. To install, run: | ||
|
||
``` | ||
pnpm i @worldcoin/minikit-react | ||
``` | ||
|
||
For comprehensive setup instructions and usage examples, visit our [developer documentation](https://docs.world.org/mini-apps). | ||
|
||
## 🛠 ️Developing Locally | ||
|
||
To run the example mini app locally: | ||
|
||
``` | ||
pnpm i | ||
cd demo/with-next | ||
pnpm dev | ||
``` | ||
|
||
This will launch a demo mini app with all essential commands implemented, allowing you to explore and test the features. |
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