Skip to content
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
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
5 changes: 5 additions & 0 deletions .changeset/bright-shirts-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ontwik-ui": major
---

New chore tooling powering up the library
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.0.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": ["ontwik-ui-docs"]
}
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

18 changes: 0 additions & 18 deletions .eslintrc.js

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/chromatic.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/main.yml

This file was deleted.

57 changes: 22 additions & 35 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,35 @@
name: "release"
name: Release

on:
push:
tags-ignore:
- "*.*"
branches:
- master

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2
- name: Checkout Repo
uses: actions/checkout@v2
with:
node-version: "12.x"
registry-url: "https://registry.npmjs.org"
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Lint
run: yarn lint

- name: Test
run: yarn test --ci --coverage --maxWorkers=2
- name: Setup Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x

- name: Build
run: yarn build
- name: Install Dependencies
run: yarn

- name: Publish to NPM
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
npm version patch
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Push changes
uses: ad-m/github-push-action@master
- name: Create Release Pull Request
uses: changesets/action@v1
with:
tags: true
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
title: "chore: version packages"
commit: "chore: version packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16 changes: 11 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
*.log
.DS_Store
node_modules
.cache
dist
.vscode
.turbo
*.log
.next
yarn.lock
dist
dist-ssr
*.local
.env
.cache
server/dist
public/dist
.turbo
storybook-static/
8 changes: 0 additions & 8 deletions .storybook/main.js

This file was deleted.

5 changes: 0 additions & 5 deletions .storybook/preview.js

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.formatOnSave": true
}
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

Loading