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: update scope @openlabs #327

Merged
merged 2 commits into from
May 31, 2024
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: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/config.json

This file was deleted.

44 changes: 23 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,45 @@
name: Action publish
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions: write-all
tags:
- 'v*'

jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

permissions:
id-token: write
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v3

- name: Set node ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
node-version: lts/*
cache: pnpm
registry-url: 'https://registry.npmjs.org'

- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- run: corepack enable

- name: Install Dependencies
run: pnpm install

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
- name: PNPM build
run: pnpm run build

- name: Publish to NPM
run: pnpm -r publish --access public --no-git-checks
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.OPEN_UI }}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_CONFIG_PROVENANCE: true
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"strings": true
},
"cSpell.words": [
"changelogithub",
"corepack",
"openlabs"
]
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"type": "module",
"private": true,
"packageManager": "pnpm@9.1.1",
"description": "A design system built with TailwindCSS and Shadcn.",
"author": "openlabs",
"license": "MIT",
"scripts": {
"dev": "pnpm web",
"lint": "eslint . --fix",
Expand All @@ -16,12 +19,10 @@
"build": "turbo build --filter=!@openlabs/storybook --filter=!@openlabs/playground --filter=!@openlabs/web",
"build:components": "turbo build --filter=@openlabs/ui",
"build:web": "turbo build --filter=@openlabs/web",
"postinstall": "esno ./.github/prepare.ts && pnpm --filter @openlabs/theme build",
"release": "pnpm build && pnpm changeset version && pnpm changeset publish"
"postinstall": "esno ./.github/prepare.ts && pnpm --filter @openlabs/theme build"
},
"devDependencies": {
"@antfu/eslint-config": "^2.8.3",
"@changesets/cli": "^2.27.1",
"@types/node": "^20.11.28",
"eslint": "^8.57.0",
"eslint-plugin-format": "^0.1.0",
Expand Down
233 changes: 0 additions & 233 deletions packages/components/CHANGELOG.md

This file was deleted.

Loading
Loading