Commit graph

161 commits

Author SHA1 Message Date
Jacob Lamb
139b0f54d9
Refine CLI flag descriptions for clarity (#8545)
* Refine CLI flag descriptions for clarity

* Update README.md

* Update README.md

* Update README.md

* Update help.ts

* Update packages/create-astro/src/actions/help.ts

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/create-astro/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update packages/create-astro/README.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update README.md

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-22 16:00:38 -05:00
bluwy
f35a55bd4f [ci] format 2023-09-22 13:20:50 +00:00
Reuben Tier
b64dd45c0d
Fix behaviour regression in create-astro (#8634) 2023-09-22 21:18:46 +08:00
bluwy
86acd0f1d5 [ci] format 2023-09-19 09:11:23 +00:00
Jacob Lamb
1d5b3f079d
feat(create-astro): Update flag behavior for template and project-name (#8551) 2023-09-19 17:09:27 +08:00
Erika
4e395a6cab
config: migrate us to moduleResolution: 'node16' (#8519) 2023-09-13 16:49:22 +02:00
natemoo-re
3be8b67f89 [ci] format 2023-09-13 14:43:40 +00:00
Nate Moore
ed952b4cea
Improve create-astro startup performance (#8456)
* feat(create-astro): improve performance

* test: fix test by wrapping promise values

* chore: remove uneeded deps

* Update ten-kings-smash.md

* chore: update lockfile
2023-09-13 09:40:53 -05:00
aswind7
b81ff8fcef
trim project name of the user input (#8427)
* fix: remove duplicate import

* project name should be trimed

* update changeset
2023-09-06 09:22:18 -04:00
Jacob Lamb
d2f2a11cdb
Improve Package Detection (#8306) 2023-09-06 17:15:10 +08:00
Erika
4e88ffd813
Update CodeSandbox config for Node 18 and new editor (#8292)
* config: update config for codesandbox

* feat: update create-astro to remove .codesandbox folder

* chore: changeset

* fix: use node18
2023-08-30 18:52:21 +02:00
natemoo-re
3ad5a2a287 [ci] format 2023-08-25 23:11:22 +00:00
Nate Moore
2bdce4c4a0
feat(create-astro): --fancy (#8235) 2023-08-25 18:09:30 -05:00
Colin McDonnell
dff0f0f8dd
Detect Bun package manager in create-astro (#7944)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-17 09:35:19 +01:00
natemoo-re
e0d1439f2a [ci] format 2023-08-16 19:39:52 +00:00
Nate Moore
e6e1de4f08
[create-astro] verify connectivity and --template (#8102)
* feat(create-astro): verify that --template exists

* feat: verify internet connectivity

* chore: skip connectivity check on --dry-run

* chore: fix lint
2023-08-16 14:37:43 -05:00
natemoo-re
76a2ba270d [ci] format 2023-08-15 17:27:28 +00:00
Nate Moore
04755e8465
fix(create-astro): update install step (#8089) 2023-08-15 12:25:24 -05:00
natemoo-re
1e9902177d [ci] format 2023-08-14 19:25:29 +00:00
Nate Moore
44cf30a252
chore: slim create-astro deps (#8077) 2023-08-14 14:23:14 -05:00
natemoo-re
f7a901e7c4 [ci] format 2023-08-10 16:36:09 +00:00
Nate Moore
8292c41311
fix(#5637): fix yarn berry support for create-astro (#8028) 2023-08-10 12:33:37 -04:00
Chris Swithinbank
315d58f27b
Add shorthand for Starlight templates to create astro (#7993)
* Add shorthand for Starlight templates to `create astro`

* Update packages/create-astro/src/actions/template.ts

* Update packages/create-astro/src/actions/template.ts

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-08 12:08:46 -05:00
natemoo-re
53e824fe99 [ci] format 2023-08-03 21:05:44 +00:00
Nate Moore
89cd4b877e
Handle error state for version (#7939)
* fix(create-astro): handle error state for version

* fix: handle missing version
2023-08-03 16:03:04 -05:00
Bjorn Lu
d8bae784b4
Fix organize-imports-cli with satisfies operator (#7727) 2023-07-20 20:47:36 +08:00
sank.eth
2ca5bdde2b
corrected grammar. minor change (#7580) 2023-07-06 16:29:13 +08:00
Josh Goldberg ✨
2fea174303
feat: use typescript-eslint@v6's reworked configs (#7425) 2023-07-03 20:59:43 +08:00
natemoo-re
0251e4e6cf [ci] format 2023-06-30 22:27:42 +00:00
金成
1170877b51
Fix multiple create-astro registry issues (#7539)
* fix: getVersion Error when registry ends with '/'

* Update .changeset/old-seahorses-fold.md

* Update .changeset/old-seahorses-fold.md

* refactor: cleanup registry logic

* chore: update changeset

* fix(create-astro): update registry logic to rely on `fetch`

* chore: update changeset

* chore: update lockfile

* Update old-seahorses-fold.md

---------

Co-authored-by: jincheng32537 <jincheng32537@hundsun.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
2023-06-30 17:24:36 -05:00
Nate Moore
9e2426f756
fix(#7471): fallback to npm registry if config command fails (#7527) 2023-06-30 09:25:21 -05:00
Ben Holmes
3f9f5c117e
fix: pnpm failure on create-astro (#7435)
* fix: use which-pm-runs instead of preferred-pm

* deps: remove preferred-pm

* chore: move which-pm-runs to regular deps

* chore: changeset
2023-06-21 16:02:20 -04:00
matthewp
8341c461b5 [ci] format 2023-06-09 04:58:51 +00:00
Caleb Williams
1430ffb473
Fixes an issue where create Astro doesn't respect custom npm registries (#7326)
* Fixes an issue where create Astro doesn't respect custom npm registries

* chore: fix pnpm-lock

* chore: update lockfile

---------

Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-06-09 07:56:29 +03:00
Nate Moore
229affca40
Add 'starlight' as template alias (#7277)
* feat(create-astro): add starlight as template alias

* chore: lint
2023-06-02 12:56:25 -05:00
Happydev
c5f1275e9d
Fix create-astro regression (#7086) 2023-05-15 00:57:37 +08:00
ematipico
607c3a04cc [ci] format 2023-05-12 15:02:23 +00:00
Emanuele Stoppa
8c14bffbd9
fix: don't exit the program if dependencies don't install (#7052) 2023-05-12 16:00:20 +01:00
André Alves
3356023443
add validation for non-printable chars in CLI (#6682) 2023-04-12 15:30:09 -04:00
Ben Holmes
4a32620600
[create-astro] Error on --template that does not exist (#6677)
* Revert "Revert accidental create-astro fix"

This reverts commit c13d428a78.

* chore: changeset
2023-03-28 07:08:43 -04:00
bholmesdev
c13d428a78 Revert accidental create-astro fix 2023-03-27 17:46:00 -04:00
bholmesdev
c853ffc606 fix: log e.message 2023-03-27 17:39:20 -04:00
bholmesdev
88a8e7ae1a fix: check for nonexistent templates 2023-03-27 17:37:28 -04:00
btea
a661907b40
chore: wrap the projectDir in quotes if it contains spaces (#6594)
* chore: wrap the projectDir in quotes if it contains spaces

* chore: add changeset

* fix: update output projectDir

* Update .changeset/tall-beans-own.md

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-03-21 06:27:52 -03:00
Erika
c44aa15534
fix: Enforce the usage of type imports when possible (#6502) 2023-03-10 16:19:57 +01:00
natemoo-re
ff2e4dac7b [ci] format 2023-02-27 16:11:41 +00:00
Nate Moore
754c5ca9aa
Respect original package.json indentation (#6375)
* fix(#6338): respect original indentation

* chore: add changeset
2023-02-27 10:09:54 -06:00
bluwy
780c583b0e [ci] format 2023-02-26 01:53:18 +00:00
Vick Vasquez
67c58c48c7
fix: remove duplicate exit key from create template (#6360) 2023-02-26 09:51:26 +08:00
Kacper Potyrała
c87c16cfad
Add missing flags to help action (#6352)
* add missing flags to help action

* add proper changeset

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-24 16:17:28 -06:00