Skip to content

Commit c73e1cc

Browse files
committed
reduce complexity and force upgrade locally
1 parent e5b1716 commit c73e1cc

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

Makefile

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

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

128123
starter-zip: starter
129124
cp LICENSE starters/docs/.
@@ -134,12 +129,7 @@ starter-zip: starter
134129

135130
tailwind-starter:
136131
cp LICENSE starters/tailwind/.
137-
mkdir -p ../react-aria-tailwind-starter
138-
mkdir -p starters/tailwind/dist
139-
cp -r starters/tailwind ../react-aria-tailwind-starter
140-
cd ../react-aria-tailwind-starter && yarn --no-immutable && yarn up react-aria-components && yarn up tailwindcss-react-aria-components && yarn tsc
141-
cp -r tailwind/dist ../../react-spectrum/starters/tailwind
142-
cd ../../react-spectrum/starters/tailwind
132+
cd starters/tailwind && yarn --no-immutable && yarn up react-aria-components && yarn up tailwindcss-react-aria-components && yarn tsc
143133

144134
cd starters/tailwind && zip -r react-aria-tailwind-starter.zip . -x .gitignore .DS_Store "node_modules/*" "storybook-static/*"
145135
mv starters/tailwind/react-aria-tailwind-starter.zip dist/production/docs/react-aria-tailwind-starter.$$(git rev-parse --short HEAD).zip

0 commit comments

Comments
 (0)