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

CLI: Generate a new project on init in empty directory #24997

Merged
merged 70 commits into from
Dec 8, 2023
Merged
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
68983e8
Create function to execute creation script
Nov 27, 2023
07f08a3
Create flow to scaffold a new project
Nov 27, 2023
8817642
Plug scaffold flow into storybook init
Nov 27, 2023
ee01b44
Don't use app router
Nov 28, 2023
96b624e
Add empty project error
Nov 28, 2023
607c523
Remove prefers offline
Nov 28, 2023
6145b5d
Use execa
Nov 28, 2023
1c62a97
Remove left right margins from boxen
Nov 28, 2023
7114d54
Update docs to remove empty project callout
Nov 28, 2023
43f5be5
Add env var to reselect new project
Nov 28, 2023
33fca51
Add new option to types
Nov 28, 2023
8186fa7
fix linting warning
Nov 28, 2023
156ec8a
Infer package manager from user agent
Nov 28, 2023
de3dd24
fix merge conflicts
Nov 29, 2023
e329fb8
Don't expose testing flag; Only use Env var
Nov 29, 2023
097a9c6
Don't install deps on create for pnpm
Nov 29, 2023
85cd3ef
Add empty dir sandboxes
Nov 29, 2023
b2daaec
Add optional env vars to templates
Nov 29, 2023
0032ff2
Skip all empty sandboxes
Nov 29, 2023
07790cb
Start writing CircleCI script to test empty init
Nov 29, 2023
3b8cdc4
Test out empty init circle job
Nov 29, 2023
8e20a75
oops
Nov 29, 2023
f115839
try again
Nov 29, 2023
4eb0c2b
one more time
Nov 29, 2023
acfc94c
Updated config.yml
ShaunEvening Nov 29, 2023
0b011b9
Actually get to the right file for the cli bin
Nov 29, 2023
cd20c52
fix package manager flag
Nov 29, 2023
826ab3d
Make sure empty projects are init in the right dir
Nov 29, 2023
b4250b3
add --yes
Nov 29, 2023
1cfd09e
Try npm instead
Nov 29, 2023
6c12cad
Merge branch 'next' into cli/empty-project-init
Nov 30, 2023
27252cb
try adding --yes back
Nov 30, 2023
d66e4bc
Try echoing out env var
Nov 30, 2023
c81c38e
Print the WD
Nov 30, 2023
95c7889
Try setting yarn to berry
Nov 30, 2023
7195595
Test npm instead
Nov 30, 2023
a7ff9e7
Set in sandbox to true
Nov 30, 2023
d36324c
run all empty templates
Nov 30, 2023
5175507
Add conditional logic
Nov 30, 2023
24b947b
Updated config.yml
ShaunEvening Nov 30, 2023
2956a01
Add yarn and pnpm
Nov 30, 2023
5cd8fbf
Only run tests for NPM for now
Nov 30, 2023
4114f70
Re-enable daily flow
Nov 30, 2023
96e5271
Re-enable daily workflow
Nov 30, 2023
7b9b269
Updated config.yml
ShaunEvening Nov 30, 2023
392f1b5
Merge branch 'next' into cli/empty-project-init
Nov 30, 2023
2eb8a9a
ignore package.json in pnpm dlx scenario
Nov 30, 2023
c414978
Merge branch 'next' into cli/empty-project-init
Nov 30, 2023
0046573
ignore .cache
Nov 30, 2023
e0256df
Merge branch 'next' into cli/empty-project-init
Dec 1, 2023
db79ce0
Try running verdaccio in CI
Dec 1, 2023
2d4f494
Update other package managers to use verdaccio
Dec 1, 2023
a6379b0
Try using npx in circleCI
Dec 1, 2023
8b2bdf9
Merge branch 'next' into cli/empty-project-init
Dec 4, 2023
4ed6f99
Resolve version issue for CLI
Dec 4, 2023
ed9cb67
Add debug env var
Dec 4, 2023
a9d54ca
Create project in temp dir
Dec 5, 2023
f3766dc
Delete cache folder
Dec 5, 2023
ffbff85
Cleanup
Dec 5, 2023
98d1598
Comment out empty templates
Dec 5, 2023
41d0803
Use env vars in script
Dec 6, 2023
c876156
Merge branch 'next' into cli/empty-project-init
Dec 6, 2023
b70226b
Remove unused templates
Dec 7, 2023
0a46302
Move inferPackageManager into JsPackageManager
Dec 7, 2023
f8bf4ef
Fix packageManager inference
Dec 7, 2023
cedc6fb
Remove unused imports
Dec 7, 2023
df1f00f
Merge branch 'next' into cli/empty-project-init
Dec 7, 2023
8fbd375
Break the cache
shilman Dec 8, 2023
8a2baff
Merge branch 'next' into cli/empty-project-init
Dec 8, 2023
cc81dad
Add telemetry for successful scaffolding
Dec 8, 2023
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
Prev Previous commit
Next Next commit
Updated config.yml
  • Loading branch information
ShaunEvening committed Nov 30, 2023
commit 7b9b26980f1d8dc200242bb3725998bbc727d193
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -698,9 +698,9 @@ workflows:
parallelism: 36
requires:
- build
- smoke-test-sandboxes: # disabled for now
requires:
- create-sandboxes
# - smoke-test-sandboxes: # disabled for now
# requires:
# - create-sandboxes
- build-sandboxes:
parallelism: 36
requires:
Expand Down