Skip to content

Commit

Permalink
chore: init monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
YannBirba committed Jun 30, 2024
1 parent 489c7ca commit 2e58686
Show file tree
Hide file tree
Showing 101 changed files with 2,464 additions and 5,913 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/deploy-github-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,17 @@ jobs:

# Install dependencies
- name: Install dependencies
run: |
cd example
pnpm install --frozen-lockfile
run: pnpm install --frozen-lockfile

# Build Storybook
- name: Build Storybook
run: |
cd example
pnpm build
# List files in the build directory for debugging
- name: List build directory contents
run: |
cd example
ls -la storybook-static
run: pnpm storybook build

# Deploy to GitHub Pages
- name: Deploy to GitHub Pages
uses: bitovi/[email protected]
with:
path: example/storybook-static
path: apps/storybook/storybook-static
install_command: '' # Skip the install step
build_command: '' # Skip the build step
checkout: false
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- args: [--frozen-lockfile]
- name: Release
run: cd plugin && pnpm release-it ${{ inputs.increment }}
run: pnpm preset release-it ${{ inputs.increment }}
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
# Add following line if you are publishing to npm
Expand Down
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 3 additions & 4 deletions example/package.json β†’ apps/storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"type": "module",
"scripts": {
"prepare": "panda codegen",
"panda-watch": "pnpm exec panda cssgen --watch --outfile dist/styles.css",
"dev": "storybook dev -p 6006 --disable-telemetry --no-open",
"build": "storybook build",
"dev": "panda codegen && storybook dev -p 6006 --disable-telemetry --no-open",
"build": "panda codegen && storybook build",
"preview": "pnpm build && pnpm dlx http-server storybook-static -p 8080"
},
"dependencies": {
Expand Down Expand Up @@ -37,7 +36,7 @@
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"eslint-plugin-storybook": "^0.8.0",
"pandacss-preset-react-aria-components": "^0.1.0",
"pandacss-preset-react-aria-components": "workspace:*",
"storybook": "^8.1.11",
"typescript": "^5.5.2",
"vite": "^5.3.2",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"private": true,
"scripts": {
"storybook": "pnpm --filter storybook",
"preset": "pnpm --filter pandacss-preset-react-aria-components"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2e58686

Please sign in to comment.