Skip to content

Commit

Permalink
Merge pull request anza-xyz#141 from solana-labs/vue
Browse files Browse the repository at this point in the history
Prepare Vue UI for release
  • Loading branch information
jordaaash authored Oct 26, 2021
2 parents 74a3174 + eaa721c commit 3addc1a
Show file tree
Hide file tree
Showing 6 changed files with 334 additions and 522 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ To add it to your dApp, you only need the core packages and UI components for yo
### Core
These packages are what most projects can use to support wallets on Solana.

| package | description | npm |
| --------------------------------------------------------------------------------------------- | ----------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| package | description | npm |
| --------------------------------------------------------------------------------------------- | ----------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| [wallets](https://github.com/solana-labs/wallet-adapter/tree/master/packages/core/wallets) | All wallets with icons | [`@solana/wallet-adapter-wallets`](https://npmjs.com/package/@solana/wallet-adapter-wallets) |
| [base](https://github.com/solana-labs/wallet-adapter/tree/master/packages/core/base) | Adapter interfaces, error types, and common utilities | [`@solana/wallet-adapter-base`](https://npmjs.com/package/@solana/wallet-adapter-base) |
| [react](https://github.com/solana-labs/wallet-adapter/tree/master/packages/core/react) | Contexts and hooks for React dApps | [`@solana/wallet-adapter-react`](https://npmjs.com/package/@solana/wallet-adapter-react) |
Expand All @@ -175,21 +175,19 @@ These packages are what most projects can use to support wallets on Solana.
### UI Components
These packages provide components for common UI frameworks.

| package | description | npm |
| ------------------------------------------------------------------------------------------------ | ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| package | description | npm |
| ------------------------------------------------------------------------------------------------ | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| [material-ui](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/material-ui) | Components for [Material UI](https://material-ui.com) | [`@solana/wallet-adapter-material-ui`](https://npmjs.com/package/@solana/wallet-adapter-material-ui) |
| [ant-design](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/ant-design) | Components for [Ant Design](https://ant.design) | [`@solana/wallet-adapter-ant-design`](https://npmjs.com/package/@solana/wallet-adapter-ant-design) |
| [react-ui](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/react-ui) | Components for React (no UI framework, just CSS) | [`@solana/wallet-adapter-react-ui`](https://npmjs.com/package/@solana/wallet-adapter-react-ui) |
| [vue-ui](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/vue-ui) \* | Components for Vue (no UI framework, just CSS) | [`@solana/wallet-adapter-vue-ui`](https://npmjs.com/package/@solana/wallet-adapter-vue-ui) |

\* Package has not been published to NPM yet.
| [vue-ui](https://github.com/solana-labs/wallet-adapter/tree/master/packages/ui/vue-ui) | Components for Vue (no UI framework, just CSS) | [`@solana/wallet-adapter-vue-ui`](https://npmjs.com/package/@solana/wallet-adapter-vue-ui) |

### Starter Projects
These packages provide projects that you can use to start building a dApp with built-in wallet support.
Alternatively, check out [dapp-scaffold](https://github.com/solana-labs/dapp-scaffold) for a more complete framework.

| package | description | npm |
| --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| package | description | npm |
| --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| [example](https://github.com/solana-labs/wallet-adapter/tree/master/packages/starter/example) | Demo of UI components | [`@solana/wallet-adapter-example`](https://npmjs.com/package/@solana/wallet-adapter-example) |
| [material-ui-starter](https://github.com/solana-labs/wallet-adapter/tree/master/packages/starter/material-ui-starter) | [Create React App](https://create-react-app.dev) project using Material UI | [`@solana/wallet-adapter-material-ui-starter`](https://npmjs.com/package/@solana/wallet-adapter-material-ui-starter) |
| [react-ui-starter](https://github.com/solana-labs/wallet-adapter/tree/master/packages/starter/react-ui-starter) | [Create React App](https://create-react-app.dev) project using React UI | [`@solana/wallet-adapter-react-ui-starter`](https://npmjs.com/package/@solana/wallet-adapter-react-ui-starter) |
Expand Down
2 changes: 1 addition & 1 deletion packages/core/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solana/wallet-adapter-vue",
"version": "0.3.0",
"version": "0.3.1",
"author": "Solana Maintainers <[email protected]>",
"repository": "https://github.com/solana-labs/wallet-adapter",
"license": "Apache-2.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/ui/vue-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"private": true,
"name": "@solana/wallet-adapter-vue-ui",
"version": "0.1.0",
"author": "Solana Maintainers <[email protected]>",
"repository": "https://github.com/solana-labs/wallet-adapter",
"license": "Apache-2.0",
"main": "lib/index.js",
"esnext": "lib/index.js",
"types": "lib/src/index.d.ts",
"files": [
"lib",
"src",
Expand Down
3 changes: 2 additions & 1 deletion packages/ui/vue-ui/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default defineConfig({
},
},
},
sourcemap: true,
},
plugins: [vue(), dts({ insertTypesEntry: true })],
plugins: [vue(), dts()],
});
26 changes: 25 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,31 @@
"include": ["packages/*/*/src"],
"exclude": ["node_modules", "packages/*/*/node_modules"],
"typedocOptions": {
"entryPoints": ".",
"entryPoints": [
"packages/core/angular",
"packages/core/vue",
"packages/core/wallets",
"packages/core/base",
"packages/core/react",
"packages/ui/ant-design",
"packages/ui/material-ui",
"packages/ui/react-ui",
"packages/wallets/bitkeep",
"packages/wallets/bitpie",
"packages/wallets/blocto",
"packages/wallets/clover",
"packages/wallets/coin98",
"packages/wallets/ledger",
"packages/wallets/mathwallet",
"packages/wallets/phantom",
"packages/wallets/safepal",
"packages/wallets/slope",
"packages/wallets/solflare",
"packages/wallets/sollet",
"packages/wallets/solong",
"packages/wallets/tokenpocket",
"packages/wallets/torus"
],
"entryPointStrategy": "packages",
"out": "docs",
"readme": "README.md"
Expand Down
Loading

0 comments on commit 3addc1a

Please sign in to comment.