Skip to content

Commit

Permalink
Merge pull request #94 from liteflow-labs/feature/remove-component-li…
Browse files Browse the repository at this point in the history
…brary

Remove component library
  • Loading branch information
antho1404 authored Dec 12, 2022
2 parents ce902a5 + 5aba8e2 commit a040e6a
Show file tree
Hide file tree
Showing 211 changed files with 12,579 additions and 65,494 deletions.
6 changes: 0 additions & 6 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ npm run lint
npm run lint:fix
```

## Storybook

```bash
npm run storybook -w packages/components
```

## Generate GraphQL types

To generate the types for all the packages:
Expand Down
51 changes: 0 additions & 51 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,6 @@ on:
branches:
- '**'
jobs:
translation:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Install Node
uses: actions/setup-node@v2
with:
node-version: 16
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

- name: Node version
run: node -v

- name: Npm version
run: npm -v

- name: Set version in env
run: |
echo "node-version=$(node -v)" >> $GITHUB_ENV
echo "npm-version=$(npm -v)" >> $GITHUB_ENV
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{ env.cache-name }}-node${{ env.node-version }}-npm${{ env.npm-version }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-node${{ env.node-version }}-npm${{ env.npm-version }}-
- name: Install dependencies without executing postinstall scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm install --ignore-scripts

- name: Check translation
run: npm run check-translation
lint:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -132,16 +91,6 @@ jobs:
- name: Build hooks
run: npm run build -w packages/hooks

- name: Build components
run: npm run build -w packages/components

- name: Build components storybook
env:
# 7 GiB by default on GitHub, setting to 6 GiB
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
NODE_OPTIONS: --max-old-space-size=6144
run: npm run build-storybook -w packages/components

test:
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ node_modules
.env*.local
.gitsecret/keys/random_seed
!*.secret

# build
storybook-static
3 changes: 0 additions & 3 deletions .npmrc

This file was deleted.

2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

packages/hooks/src/graphql.ts

packages/components/src/graphql.ts

**/dist

.vercel/
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ Check the releases: https://github.com/liteflow-labs/libraries/releases

Or check individual changelog files to see the unreleased changes:

- [components](packages/components/CHANGELOG.md)
- [email](packages/email-connector/CHANGELOG.md)
- [hooks](packages/hooks/CHANGELOG.md)
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ This repository contains the list of all the tools required to launch an NFT mar
## Packages

- [Hooks](./packages/hooks/): React hooks to interact with the Liteflow API
- [Components](./packages/components/): UI library containing themable components

## Documentation

Expand Down
63 changes: 0 additions & 63 deletions check-translations.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/pages/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"index": "Introduction",
"graphql-api": "GraphQL API",
"hooks": "React Hooks",
"components": "UI Components",
"starter-kit": "Starter Kit"
}
65 changes: 0 additions & 65 deletions docs/pages/components/README_symlink.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/pages/components/_meta.json

This file was deleted.

7 changes: 0 additions & 7 deletions docs/pages/components/index.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ Tools:

- [API](./graphql-api)
- [React SDK](./hooks)
- [Component library](./components)
- [Starter kit application](./starter-kit)
Loading

1 comment on commit a040e6a

@vercel
Copy link

@vercel vercel bot commented on a040e6a Dec 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.