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

build: files to publish, bump deps #11

Merged
merged 6 commits into from
Dec 18, 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: 8 additions & 0 deletions .changeset/late-comics-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@sandwich-ui/react-storybook": patch
"@sandwich-ui/react": patch
"@sandwich-ui/core": patch
"@sandwich-ui/docs": patch
---

Files to publish, bump deps
2 changes: 1 addition & 1 deletion .github/workflows/docs-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docs Pull Request
name: "@sandwich-ui/docs Pull Request"

on:
pull_request:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: "@sandwich-ui/react Storybook Pull Request"
name: "@sandwich-ui/react-storybook Pull Request"

on:
pull_request:
branches:
- main
paths:
- ".github/workflows/storybook-react-pull-request.yml"
- ".github/workflows/react-storybook-pull-request.yml"
- "packages/react-storybook/**"
- "packages/react/**"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: ./.github/actions/setup-env

- name: Build
run: pnpm build --filter @sandwich-ui/react
run: pnpm build --filter @sandwich-ui/core @sandwich-ui/react

- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
Expand Down
17 changes: 9 additions & 8 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,22 @@
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/starlight": "^0.29.2",
"astro": "^4.16.16",
"@astrojs/starlight": "^0.30.2",
"astro": "^5.0.9",
"sharp": "^0.33.5",
"typescript": "^5.7.2"
},
"devDependencies": {
"eslint": "^9.16.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-astro": "^1.3.1",
"eslint-plugin-import-x": "^4.4.3",
"eslint-plugin-import-x": "^4.5.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react-hooks": "5.1.0-rc-fb9a90fa48-20240614",
"globals": "^15.12.0",
"eslint-plugin-react-hooks": "5.1.0",
"globals": "^15.14.0",
"rimraf": "^6.0.1",
"typescript-eslint": "^8.16.0"
"typescript-eslint": "^8.18.1",
"vite": "^5.4.11"
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "@sandwich-ui/root",
"scripts": {
"dev": "turbo dev",
"dev": "turbo dev --continue",
"build": "turbo build",
"preview": "turbo preview",
"lint": "turbo lint --continue",
Expand All @@ -15,13 +15,13 @@
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.10",
"@changesets/cli": "^2.27.11",
"npm-check-updates": "^17.1.11",
"rimraf": "^6.0.1",
"turbo": "^2.3.3"
},
"engines": {
"node": ">=22"
},
"packageManager": "pnpm@9.14.4"
"packageManager": "pnpm@9.15.0"
}
13 changes: 7 additions & 6 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"types": "./dist/recipes/index.d.ts"
}
},
"files": ["dist"],
"scripts": {
"predev": "panda codegen",
"dev": "vite build --watch",
Expand All @@ -47,17 +48,17 @@
"clean": "rimraf dist/ src/styled-system/ node_modules/.cache/"
},
"devDependencies": {
"@pandacss/dev": "^0.48.0",
"eslint": "^9.16.0",
"@pandacss/dev": "^0.49.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import-x": "^4.4.3",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import-x": "^4.5.1",
"eslint-plugin-prettier": "^5.2.1",
"rimraf": "^6.0.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.16.0",
"typescript-eslint": "^8.18.1",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0",
"vite-tsconfig-paths": "^5.1.3"
"vite-tsconfig-paths": "^5.1.4"
}
}
1 change: 0 additions & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true,


"paths": {
"@sandwich-ui/core/css": ["./src/styled-system/css"],
"@sandwich-ui/core/tokens": ["./src/styled-system/tokens"],
Expand Down
40 changes: 20 additions & 20 deletions packages/react-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"predev": "panda codegen",
"dev": "storybook dev -p 6006",
"dev": "storybook dev -p 6006 --no-open",
"prebuild": "rimraf storybook-static/ && panda codegen",
"build": "storybook build",
"preview": "vite preview --outDir storybook-static/",
Expand All @@ -20,33 +20,33 @@
"react-dom": "^18.3.1"
},
"devDependencies": {
"@pandacss/dev": "^0.48.0",
"@storybook/addon-essentials": "^8.4.6",
"@storybook/addon-interactions": "^8.4.6",
"@storybook/addon-links": "^8.4.6",
"@storybook/addon-themes": "^8.4.6",
"@storybook/blocks": "^8.4.6",
"@storybook/react": "^8.4.6",
"@storybook/react-vite": "^8.4.6",
"@storybook/test": "^8.4.6",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@pandacss/dev": "^0.49.0",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-interactions": "^8.4.7",
"@storybook/addon-links": "^8.4.7",
"@storybook/addon-themes": "^8.4.7",
"@storybook/blocks": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/react-vite": "^8.4.7",
"@storybook/test": "^8.4.7",
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"eslint": "^9.16.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import-x": "^4.4.3",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import-x": "^4.5.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "5.1.0-rc-fb9a90fa48-20240614",
"eslint-plugin-react-refresh": "^0.4.14",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"eslint-plugin-storybook": "^0.11.1",
"globals": "^15.12.0",
"globals": "^15.14.0",
"postcss": "^8.4.49",
"rimraf": "^6.0.1",
"storybook": "^8.4.6",
"storybook": "^8.4.7",
"typescript": "^5.7.2",
"typescript-eslint": "^8.16.0",
"typescript-eslint": "^8.18.1",
"vite": "^5.4.11"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { Meta, StoryObj } from "@storybook/react";
const meta = {
title: "Components/AspectRatio",
component: AspectRatio,

tags: ["autodocs"],
argTypes: {
ratio: {
Expand Down
4 changes: 0 additions & 4 deletions packages/react/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,3 @@ dist-ssr
*.njsproj
*.sln
*.sw?

## Panda
src/styled-system
src/styled-system-studio
2 changes: 1 addition & 1 deletion packages/react/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import globals from "globals";
import rootConfig from "../../eslint.config.mjs";

export default [
{ ignores: ["dist", "src/styled-system"] },
{ ignores: ["dist"] },
...rootConfig,
{
...react.configs.flat.recommended,
Expand Down
30 changes: 13 additions & 17 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,47 +10,43 @@
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./panda-preset": {
"require": "./dist/panda-preset/index.cjs",
"import": "./dist/panda-preset/index.js",
"types": "./dist/panda-preset/index.d.ts"
}
},
"files": ["dist"],
"scripts": {
"predev": "panda codegen",
"dev": "vite build --watch",
"prebuild": "rimraf dist/ && panda codegen",
"build": "tsc && vite build && panda ship -o dist/panda.buildinfo.json",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"clean": "rimraf dist/ src/styled-system/ node_modules/.cache/"
"clean": "rimraf dist/ node_modules/.cache/"
},
"dependencies": {
"@ark-ui/react": "^4.4.4",
"@ark-ui/react": "^4.5.0",
"@sandwich-ui/core": "workspace:*"
},
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@pandacss/dev": "^0.48.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@pandacss/dev": "^0.49.0",
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react": "^4.3.4",
"eslint": "^9.16.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import-x": "^4.4.3",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import-x": "^4.5.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "5.1.0-rc-fb9a90fa48-20240614",
"eslint-plugin-react-refresh": "^0.4.14",
"globals": "^15.12.0",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"globals": "^15.14.0",
"rimraf": "^6.0.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.16.0",
"typescript-eslint": "^8.18.1",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0"
}
Expand Down
1 change: 0 additions & 1 deletion packages/react/src/index.css

This file was deleted.

2 changes: 0 additions & 2 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import "./index.css";

export * from "./components";
Loading
Loading