Skip to content

Commit 87621d8

Browse files
committed
attempt building starters outside of the global workspace
1 parent 3d9a653 commit 87621d8

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,11 @@ check-examples:
118118
yarn tsc --project dist/docs-examples/tsconfig.json
119119

120120
starter:
121-
cd starters/docs && yarn --no-immutable && yarn tsc
121+
mkdir -p ../react-aria-starter
122+
mkdir -p dist
123+
cp -r starters/docs ../react-aria-starter
124+
cd ../react-aria-starter/docs && yarn --no-immutable && yarn tsc
125+
cp -r docs/dist/ ../starters/docs/dist
122126

123127
starter-zip: starter
124128
cp LICENSE starters/docs/.

starters/docs/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{
2+
"name": "react-aria-starter-docs",
3+
"version": "0.0.1",
4+
"private": true,
5+
"packageManager": "[email protected]",
26
"scripts": {
37
"storybook": "storybook dev -p 6006",
48
"build-storybook": "storybook build"

starters/tailwind/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{
2+
"name": "react-aria-tailwind-starter",
3+
"version": "0.0.1",
4+
"private": true,
5+
"packageManager": "[email protected]",
26
"devDependencies": {
37
"@babel/preset-react": "^7.24.1",
48
"@storybook/addon-interactions": "^8.6.14",

0 commit comments

Comments
 (0)