Skip to content

Commit

Permalink
Woven planet (#329)
Browse files Browse the repository at this point in the history
* adapt to the new woven-planet org

* ci: version bump to 5.5.0

---------

Co-authored-by: amir.kibbar <[email protected]>
Co-authored-by: Automated Version Bump <[email protected]>
  • Loading branch information
3 people authored Jul 25, 2024
1 parent 5ac068f commit 79d32f1
Show file tree
Hide file tree
Showing 15 changed files with 51 additions and 767 deletions.
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
### Lakefront PR Checklist

- [ ] Created new components following the [contributing guide](#https://github.com/ToyotaResearchInstitute/lakefront/blob/main/CONTRIBUTING.md#adding-new-components).
- [ ] Created new components following the [contributing guide](#https://github.com/woven-planet/lakefront/blob/main/CONTRIBUTING.md#adding-new-components).
- [ ] Exported any new components in the `src/index.ts`.
- [ ] Updated the main [README table](https://github.com/ToyotaResearchInstitute/lakefront#how-to-add-components-to-this-table).
- [ ] Updated the main [README table](https://github.com/woven-planet/lakefront#how-to-add-components-to-this-table).
- [ ] Ensure version numbers were bumped properly.
- [ ] Imported SVGs with relative path, if applicable.
- [ ] Removed any irrelevant commit messages from merge commit.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: https://npm.pkg.github.com/
- name: Install dependencies
run: npm ci
- run: npm run test
- run: npm run build
- run: npm run build
4 changes: 2 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pullRequestCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout source code"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Setup Node.js"
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
Expand All @@ -36,14 +36,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout source code"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Setup Node.js"
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 18
- name: "Version Check"
id: check
uses: EndBug/version-check@v2.0.1
uses: EndBug/version-check@v2
with:
diff-search: true
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup node 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install and Build
run: | # Install npm packages and build the Storybook files
npm ci
npm run build-storybook
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.0
uses: JamesIves/github-pages-deploy-action@4
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs-build # The folder that the build-storybook script generates files.
clean: true # Automatically remove deleted files from the deploy branch
clean: true # Automatically remove deleted files from the deploy branch
4 changes: 2 additions & 2 deletions .github/workflows/versionBumpCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout source code"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Setup Node.js"
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 18
- name: "Automated Version Bump (Push)"
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ When opening a pull request, do not push `node_modules` and `dist` folders (whic
Automated testing will run when submitting a pull request to test component and compile errors. If you'd like to check whether your code compiles (or not) before submitting the pull request, you can do so by running the `npm run build` script. It will compile your code in the `dist` folder.

## Creating Issues
If you have a problem with this action and/or want a new feature to be added, please open a new issue from [here](https://github.com/ToyotaResearchInstitute/lakefront/issues/new).
If you have a problem with this action and/or want a new feature to be added, please open a new issue from [here](https://github.com/woven-planet/lakefront/issues/new).

If you're reporting a bug please be specific and include any helpful log/workflow snippet, as this will make the process easier for everyone.

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
![main workflow](https://github.com/ToyotaResearchInstitute/lakefront/actions/workflows/main.yml/badge.svg)
[![npm version](https://badge.fury.io/js/%40toyota-research-institute%2Flakefront.svg)](https://badge.fury.io/js/%40toyota-research-institute%2Flakefront)
![main workflow](https://github.com/woven-planet/lakefront/actions/workflows/main.yml/badge.svg)
[![npm version](https://badge.fury.io/js/%40woven-planet%2Flakefront.svg)](https://badge.fury.io/js/%40woven-planet%2Flakefront)

# lakefront
Lakefront is a simple React component library.

## Installation

Lakefront is available as an [npm package](https://www.npmjs.com/package/@toyota-research-institute/lakefront).
Lakefront is available as an [npm package](https://www.npmjs.com/package/@woven-planet/lakefront).

```sh
// with npm
npm install @toyota-research-institute/lakefront
npm install @woven-planet/lakefront

// with yarn
yarn add @toyota-research-institute/lakefront
yarn add @woven-planet/lakefront
```

Emotion's `ThemeProvider` must wrap your application for the components to style correctly.
```
import { ThemeProvider } from '@emotion/react';
import { theme } from '@toyota-research-institute/lakefront';
import { theme } from '@woven-planet/lakefront';
<ThemeProvider theme={theme}>
...
Expand All @@ -34,7 +34,7 @@ Here is a quick example to get you started, **it's all you need**:

```jsx
import { createRoot } from 'react-dom/client';
import { Button } from '@toyota-research-institute/lakefront';
import { Button } from '@woven-planet/lakefront';

function App() {
return <Button>Hello World</Button>;
Expand Down
2 changes: 1 addition & 1 deletion main.mustache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{{nameOfComponent}}](https://toyotaresearchinstitute.github.io/lakefront/{{dummyURL}}) | <details><summary>Screenshot</summary><img src="src/screenshots/{{imgSrc}}.png"></details> |
[{{nameOfComponent}}](https://woven-planet.github.io/lakefront/{{dummyURL}}) | <details><summary>Screenshot</summary><img src="src/screenshots/{{imgSrc}}.png"></details> |
Loading

0 comments on commit 79d32f1

Please sign in to comment.