Skip to content

Commit

Permalink
[2.0.0]
Browse files Browse the repository at this point in the history
- adds an in_progress state to differentiate between unknown and in_progress.
- migrates to esm
- updates all libraries to latest
- bug: fixes issue where ignore was not properly being treated
- rewrite to typescript
  • Loading branch information
gabrielcsapo authored and testing committed Dec 3, 2022
1 parent 7acb9f9 commit ad847d1
Show file tree
Hide file tree
Showing 152 changed files with 3,975 additions and 20,154 deletions.
12 changes: 0 additions & 12 deletions .babelrc

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on: [push, pull_request]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
name: "Test"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: volta-cli/action@v1
with:
node-version: ${{ matrix.node }}
- name: install dependencies
run: npm i
- name: lint
run: npm run lint
- name: build
run: npm run build
- name: test
run: npm test
env:
CI: true
52 changes: 52 additions & 0 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Deploy example output to Github Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v1
- uses: volta-cli/action@v1
- run: npm install
- run: npm run build
- run: npm run build-storybook
- run: node ./bin/build.mjs
- run: cd website && npm install && npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: website/build

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ packed
npm-debug.log
test/fixtures/build
build
dist
website/static/storybook
website/static/example
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
coverage
docs
dist
build
.docusaurus
website/static
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
12 changes: 0 additions & 12 deletions .storybook/.babelrc

This file was deleted.

12 changes: 0 additions & 12 deletions .storybook/config.js

This file was deleted.

12 changes: 12 additions & 0 deletions .storybook/main.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
],
framework: "@storybook/react",
core: {
builder: "webpack5",
},
};
9 changes: 9 additions & 0 deletions .storybook/preview.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
};
20 changes: 0 additions & 20 deletions .storybook/webpack.config.js

This file was deleted.

11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .tryitout

This file was deleted.

14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
# 2.0.0

- adds an in_progress state to differentiate between unknown and in_progress.
- migrates to esm
- updates all libraries to latest
- bug: fixes issue where ignore was not properly being treated
- rewrite to typescript
- brand new website with api docs

# 1.2.0 (04/26/2019)

- generate a multi line pipeline

```
─┬─install─┬─lint─┬─coverage─┬─test──docs
| | | |
└──npm────┘ └──upload──┘
```
- updates dependencies

- updates dependencies

# 1.1.1 (11/27/2018)

Expand Down Expand Up @@ -61,7 +71,7 @@

# 0.2.8 (11/13/2017)

- moves from psychic-ui to psychic.css (reduces bundle from 257 KB -> 239 KB *7%*)
- moves from psychic-ui to psychic.css (reduces bundle from 257 KB -> 239 KB _7%_)
- updates dependencies

# 0.2.7 (10/12/2017)
Expand Down
Loading

0 comments on commit ad847d1

Please sign in to comment.