Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove console #588

Merged
merged 5 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 0 additions & 80 deletions .github/actions/preview/action.yml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:
strategy:
matrix:
path_released: ${{fromJson(needs.release.outputs.paths_released)}}
exclude:
- path_released: examples/react/w3console
steps:
- uses: actions/checkout@v3
if: ${{matrix.path_released != ''}}
Expand All @@ -44,68 +42,3 @@ jobs:
pnpm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-w3console-staging:
name: Publish w3console staging
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/pnpm
- name: Build staging.console.web3.storage
run: pnpm build
working-directory: examples/react/w3console
env:
VITE_W3UP_PROVIDER: did:web:staging.web3.storage
VITE_W3UP_SERVICE_URL: 'https://staging.up.web3.storage'
VITE_W3UP_SERVICE_DID: 'did:web:staging.web3.storage'
VITE_W3UP_SERVICE_BRAND_NAME: 'staging.web3.storage'
- name: Publish staging.console.web3.storage
uses: ./.github/actions/preview
with:
path_to_add: examples/react/w3console/dist
web3_token: ${{ secrets.WEB3_TOKEN }}
cf_pages_project: console-web3-storage-staging
cf_account_id: ${{ secrets.CF_ACCOUNT_ID }}
cf_token: ${{ secrets.CF_TOKEN }}

publish-w3console-production:
name: Publish w3console production
needs: release
if: contains(fromJson(needs.release.outputs.paths_released), 'examples/react/w3console')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/pnpm
- name: Build console.web3.storage
run: pnpm build
working-directory: examples/react/w3console
env:
VITE_W3UP_PROVIDER: did:web:web3.storage
VITE_W3UP_SERVICE_BRAND_NAME: 'web3.storage'
- name: Publish console.web3.storage
uses: ./.github/actions/preview
with:
path_to_add: examples/react/w3console/dist
web3_token: ${{ secrets.WEB3_TOKEN }}
dnslink_record: beta.console
dnslink_domain: web3.storage
cf_pages_project: console-web3-storage
cf_account_id: ${{ secrets.CF_ACCOUNT_ID }}
cf_token: ${{ secrets.CF_TOKEN }}
- name: Build console.nft.storage
run: pnpm build
working-directory: examples/react/w3console
env:
VITE_W3UP_PROVIDER: did:web:nft.storage
VITE_W3UP_SERVICE_BRAND_NAME: 'NFT.Storage'
VITE_W3UP_GATEWAY_HOST: nftstorage.link
- name: Publish console.nft.storage
uses: ./.github/actions/preview
with:
path_to_add: examples/react/w3console/dist
web3_token: ${{ secrets.WEB3_TOKEN }}
dnslink_record: beta.console
dnslink_domain: nft.storage
cf_pages_project: console-nft-storage
cf_account_id: ${{ secrets.CF_ACCOUNT_ID }}
cf_token: ${{ secrets.CF_TOKEN }}
54 changes: 0 additions & 54 deletions .github/workflows/w3console.yaml

This file was deleted.

1 change: 0 additions & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@
"packages/solid-keyring": "6.0.0",
"packages/solid-uploader": "6.0.0",
"packages/solid-uploads-list": "5.0.0",
"examples/react/w3console": "2.0.1"
}
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,6 @@ This repo contains reusauble UI modules for the web3.storage w3up beta in your f

A demo of the list of uploads that have been made to an account.

## w3console

To run w3console, a full-featured console for web3.storage and demonstration of our React components, run:

```bash
cd examples/react/w3console
pnpm start
```

## Contributing

Feel free to join in. All welcome. Please read our [contributing guidelines](https://github.com/web3-storage/w3ui/blob/main/CONTRIBUTING.md) and/or [open an issue](https://github.com/web3-storage/w3ui/issues)!
Expand Down
Loading
Loading