Skip to content

Commit

Permalink
chore: update scope @openlabs (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandotdev authored May 31, 2024
1 parent 8cd84b6 commit 5ccfe82
Show file tree
Hide file tree
Showing 150 changed files with 83 additions and 1,621 deletions.
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

0 comments on commit 5ccfe82

Please sign in to comment.