forked from labscommunity/arweave-wallet-kit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a4d8d3
commit da6dbeb
Showing
16 changed files
with
306 additions
and
366 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,25 @@ | ||
name: Production Deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- alpha | ||
- main | ||
workflow_dispatch: | ||
workflow_call: | ||
jobs: | ||
build: | ||
uses: ./.github/workflows/build.yml | ||
publish: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 20.x | ||
- run: yarn --frozen-lockfile | ||
- run: yarn publish-docs | ||
env: | ||
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} | ||
DEPLOY_ANT_PROCESS_ID: ${{ secrets.DEPLOY_ANT_PROCESS_ID }} |
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
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,3 @@ | ||
export * from './Footer'; | ||
export * from './Head'; | ||
export * from './Modal'; |
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,8 @@ | ||
export * from './Title'; | ||
export * from './Provider'; | ||
export * from './Paragraph'; | ||
export * from './Loading'; | ||
export * from './ConnectButton'; | ||
export * from './Button'; | ||
export * from './Application'; | ||
export * from './Modal'; |
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,13 @@ | ||
export * from './useAns'; | ||
export * from './strategy'; | ||
export * from './profile'; | ||
export * from './permissions'; | ||
export * from './permissions'; | ||
export * from './modal'; | ||
export * from './mobile'; | ||
export * from './global'; | ||
export * from './gateway'; | ||
export * from './balance'; | ||
export * from './addresses'; | ||
export * from './active_address'; | ||
export * from './connection'; |
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,11 +1,6 @@ | ||
export { default as useAddresses, useWalletNames } from './hooks/addresses'; | ||
export { default as ConnectButton } from './components/ConnectButton'; | ||
export { default as usePermissions } from './hooks/permissions'; | ||
export { default as useConnection } from './hooks/connection'; | ||
export { default as useProfileModal } from './hooks/profile'; | ||
export { useApi, useStrategy } from './hooks/strategy'; | ||
export { ArweaveWalletKit } from './components/Provider'; | ||
export { | ||
default as useActiveAddress, | ||
usePublicKey, | ||
} from './hooks/active_address'; | ||
export * from './components'; | ||
export * from './context'; | ||
export * from './hooks'; | ||
export * from './modals'; | ||
export * from './utils'; | ||
export * from './strategy'; |
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,3 @@ | ||
export * from './Connect'; | ||
export * from './Profile'; | ||
export * from './RestoreSession'; |
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,2 @@ | ||
declare module 'viem'; | ||
declare module '@wagmi/core'; |
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,4 @@ | ||
export * from './arweave'; | ||
export * from './ethereum'; | ||
export * from './encoding'; | ||
export * from './chains'; |
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,29 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"useDefineForClassFields": true, | ||
"lib": ["DOM", "DOM.Iterable", "ESNext"], | ||
"allowJs": false, | ||
"skipLibCheck": true, | ||
"esModuleInterop": false, | ||
"target": "esnext", | ||
"allowSyntheticDefaultImports": true, | ||
"strict": true, | ||
"lib": ["esnext", "DOM"], | ||
"outDir": "./lib/esm", | ||
"listEmittedFiles": false, | ||
"listFiles": false, | ||
"moduleResolution": "node", | ||
"module": "esnext", | ||
"alwaysStrict": true, | ||
"types": ["node", "DOM"], | ||
"forceConsistentCasingInFileNames": true, | ||
"module": "ESNext", | ||
"moduleResolution": "Node", | ||
"esModuleInterop": true, | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"noEmit": true, | ||
"jsx": "react-jsx", | ||
"typeRoots": ["./node_modules/@types", "./src/types"] // <- Add this line | ||
"declaration": true, | ||
"declarationDir": "./lib/types", | ||
/* Additional Checks */ | ||
"pretty": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"skipLibCheck": true, | ||
"strictNullChecks": true | ||
}, | ||
"include": ["src"], | ||
"references": [{ "path": "./tsconfig.node.json" }] | ||
"exclude": ["node_modules"] | ||
} |
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,8 +1,19 @@ | ||
/** @type {Partial<import('typedoc').TypeDocOptions>} */ | ||
|
||
const config = { | ||
entryPoints: ['./src/index.ts', './src/secondary-entry.ts'], | ||
out: 'doc', | ||
name: 'ao-wallet-kit', | ||
entryPointStrategy: 'expand', | ||
entryPoints: ['./src'], | ||
out: 'docs', | ||
// requires typedoc@0.25.0 | ||
plugin: ['@rwsdatalab/typedoc-storybook-theme'], | ||
sourceLinkTemplate: | ||
'https://github.com/project-kardeshev/ao-wallet-kit/-/blob/{gitRevision}/{path}#L{line}', | ||
tsconfig: 'tsconfig.json', | ||
readme: './README.md', | ||
githubPages: false, | ||
exclude: ['**/node_modules/**/*', '**/dist/**/*'], | ||
skipErrorChecking: true, | ||
}; | ||
|
||
export default config; |
Oops, something went wrong.