Skip to content

Commit 2e58686

Browse files
committed
chore: init monorepo
1 parent 489c7ca commit 2e58686

File tree

101 files changed

+2464
-5913
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+2464
-5913
lines changed

β€Ž.github/workflows/deploy-github-pages.yamlβ€Ž

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,17 @@ jobs:
3232

3333
# Install dependencies
3434
- name: Install dependencies
35-
run: |
36-
cd example
37-
pnpm install --frozen-lockfile
35+
run: pnpm install --frozen-lockfile
3836

3937
# Build Storybook
4038
- name: Build Storybook
41-
run: |
42-
cd example
43-
pnpm build
44-
45-
# List files in the build directory for debugging
46-
- name: List build directory contents
47-
run: |
48-
cd example
49-
ls -la storybook-static
39+
run: pnpm storybook build
5040

5141
# Deploy to GitHub Pages
5242
- name: Deploy to GitHub Pages
5343
uses: bitovi/[email protected]
5444
with:
55-
path: example/storybook-static
45+
path: apps/storybook/storybook-static
5646
install_command: '' # Skip the install step
5747
build_command: '' # Skip the build step
5848
checkout: false

β€Ž.github/workflows/release.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- args: [--frozen-lockfile]
4343
4444
- name: Release
45-
run: cd plugin && pnpm release-it ${{ inputs.increment }}
45+
run: pnpm preset release-it ${{ inputs.increment }}
4646
env:
4747
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4848
# Add following line if you are publishing to npm

β€Ž.gitignoreβ€Ž

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

β€Žexample/package.jsonβ€Ž renamed to β€Žapps/storybook/package.jsonβ€Ž

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"type": "module",
33
"scripts": {
4-
"prepare": "panda codegen",
54
"panda-watch": "pnpm exec panda cssgen --watch --outfile dist/styles.css",
6-
"dev": "storybook dev -p 6006 --disable-telemetry --no-open",
7-
"build": "storybook build",
5+
"dev": "panda codegen && storybook dev -p 6006 --disable-telemetry --no-open",
6+
"build": "panda codegen && storybook build",
87
"preview": "pnpm build && pnpm dlx http-server storybook-static -p 8080"
98
},
109
"dependencies": {
@@ -37,7 +36,7 @@
3736
"eslint-plugin-react-hooks": "^4.6.2",
3837
"eslint-plugin-react-refresh": "^0.4.7",
3938
"eslint-plugin-storybook": "^0.8.0",
40-
"pandacss-preset-react-aria-components": "^0.1.0",
39+
"pandacss-preset-react-aria-components": "workspace:*",
4140
"storybook": "^8.1.11",
4241
"typescript": "^5.5.2",
4342
"vite": "^5.3.2",

0 commit comments

Comments
Β (0)