Skip to content

Commit d6860c9

Browse files
authored
Merge pull request #81 from PallasUI/feat/publish
Feat/publish
2 parents 33d8822 + 9ba4ac1 commit d6860c9

File tree

13 files changed

+712
-137
lines changed

13 files changed

+712
-137
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": ["docs"]
11+
}

.changeset/slick-apes-bathe.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@pallas-ui/panda-preset": minor
3+
"@pallas-ui/style-context": minor
4+
"@pallas-ui/breadcrumb": minor
5+
"@pallas-ui/carousel": minor
6+
"@pallas-ui/form": minor
7+
"@pallas-ui/input-otp": minor
8+
"@pallas-ui/sidebar": minor
9+
---
10+
11+
Pallas UI - Initial Release

.github/workflows/release.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
9+
10+
jobs:
11+
release:
12+
name: Release
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
pull-requests: write
17+
actions: write
18+
steps:
19+
- name: Checkout Repo
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 2
23+
token: ${{ secrets.GITHUB_TOKEN }}
24+
25+
- name: Setup Node.js 22.x
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 22.x
29+
30+
- name: Enable corepack
31+
run: corepack enable pnpm
32+
33+
- name: Install Dependencies
34+
run: pnpm i
35+
36+
- name: Build packages
37+
run: pnpm build
38+
39+
- name: Create Release Pull Request or Publish to npm
40+
id: changesets
41+
uses: changesets/action@v1
42+
with:
43+
publish: pnpm release
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
"dev": "turbo dev",
1313
"lint": "turbo lint",
1414
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
15-
"sync-components": "rsync -av --delete ./components/src/ui/ ./apps/docs/components/ui/ && node ./scripts/process-imports.js"
15+
"sync-components": "rsync -av --delete ./components/src/ui/ ./apps/docs/components/ui/ && node ./scripts/process-imports.js",
16+
"release": "changeset publish"
1617
},
1718
"devDependencies": {
1819
"@biomejs/biome": "1.9.4",
20+
"@changesets/cli": "^2.29.6",
1921
"@pandacss/dev": "^0.50.0",
2022
"prettier": "^3.2.5",
2123
"turbo": "^2.3.3",

packages/panda/package.json

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
{
22
"name": "@pallas-ui/panda-preset",
3-
"version": "0.0.1",
3+
"version": "0.0.0",
44
"description": "Panda CSS Preset for Pallas UI",
5-
"keywords": [
6-
"Pallas UI",
7-
"Panda CSS",
8-
"Preset",
9-
"Pallas UI"
10-
],
5+
"keywords": ["Pallas UI", "Panda CSS", "Preset", "Pallas UI"],
116
"homepage": "https://pallas-ui.com",
127
"license": "MIT",
138
"publishConfig": {
@@ -46,9 +41,7 @@
4641
"main": "src/index.ts",
4742
"module": "src/index.ts",
4843
"types": "src/index.ts",
49-
"files": [
50-
"dist"
51-
],
44+
"files": ["dist"],
5245
"exports": {
5346
".": {
5447
"import": {
@@ -92,17 +85,11 @@
9285
}
9386
},
9487
"tsup": {
95-
"entry": [
96-
"src/index.ts",
97-
"src/colors/*.ts",
98-
"src/utils/index.ts"
99-
],
88+
"entry": ["src/index.ts", "src/colors/*.ts", "src/utils/index.ts"],
10089
"clean": true,
10190
"dts": true,
10291
"sourcemap": true,
103-
"format": [
104-
"esm",
105-
"cjs"
106-
]
92+
"format": ["esm", "cjs"]
10793
}
108-
}
94+
}
95+
Lines changed: 28 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,29 @@
11
{
2-
"name": "@pallas-ui/style-context",
3-
"version": "0.1.0",
4-
"private": true,
5-
"main": "./dist/index.js",
6-
"module": "./dist/index.mjs",
7-
"types": "./dist/index.d.ts",
8-
"sideEffects": false,
9-
"license": "MIT",
10-
"files": [
11-
"dist/**",
12-
"styled-system/**"
13-
],
14-
"scripts": {
15-
"prepare": "panda codegen --silent",
16-
"build": "tsup",
17-
"dev": "tsup --watch",
18-
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
19-
},
20-
"devDependencies": {
21-
"@pallas-ui/typescript-config": "workspace:*",
22-
"@pandacss/dev": "0.50.0",
23-
"@types/react": "19.1.0",
24-
"@types/react-dom": "19.1.0",
25-
"react": "^19.1.0",
26-
"tsup": "^8.0.1",
27-
"typescript": "5.5.4"
28-
},
29-
"peerDependencies": {
30-
"react": "^19.1.0"
31-
}
32-
}
2+
"name": "@pallas-ui/style-context",
3+
"version": "0.0.0",
4+
"main": "./dist/index.js",
5+
"module": "./dist/index.mjs",
6+
"types": "./dist/index.d.ts",
7+
"sideEffects": false,
8+
"license": "MIT",
9+
"files": ["dist/**", "styled-system/**"],
10+
"scripts": {
11+
"prepare": "panda codegen --silent",
12+
"build": "tsup",
13+
"dev": "tsup --watch",
14+
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
15+
},
16+
"devDependencies": {
17+
"@pallas-ui/typescript-config": "workspace:*",
18+
"@pandacss/dev": "0.50.0",
19+
"@types/react": "19.1.0",
20+
"@types/react-dom": "19.1.0",
21+
"react": "^19.1.0",
22+
"tsup": "^8.0.1",
23+
"typescript": "5.5.4"
24+
},
25+
"peerDependencies": {
26+
"react": "^19.1.0"
27+
}
28+
}
29+

0 commit comments

Comments
 (0)