Elliot DeNolf
1dbb29e847
chore(templates): add generated templates [no-lint] ( #6604 )
...
Generate static template variations
2024-06-05 15:39:28 -04:00
Alessio Gravili
59cde0dbb3
feat: match next.js env file loading behavior in bin scripts & importConfig, clean up installed packages & mismatching package versions ( #6601 )
2024-06-03 21:23:05 +00:00
Elliot DeNolf
4884f0d297
fix(cpa): safer command exists check ( #6569 )
...
- Use execa to check if command exists
- Remove third-party dep
2024-05-30 11:11:40 -04:00
Elliot DeNolf
0d7d3e5c92
fix(cpa): more package manager detection improvements ( #6566 )
...
- Adjust package manager detection logic
- Remove pnpm-lock.yaml from blank template
2024-05-30 09:35:53 -04:00
Elliot DeNolf
a3ee07f693
chore: import vercel-postgres one-click template ( #6564 )
...
Import vercel one-click template
2024-05-29 18:06:52 -04:00
Elliot DeNolf
8506385ef9
fix(cpa): improve package manager detection ( #6546 )
...
Improves package manager detection.
Closes #6231
2024-05-29 09:30:15 -04:00
Elliot DeNolf
10c94b3665
feat(cpa): update existing payload installation ( #6193 )
...
Updates create-payload-app to update an existing payload installation
- Detects existing Payload installation. Fixes #6517
- If not latest, will install latest and grab the `(payload)` directory
structure (ripped from `templates/blank-3.0`
2024-05-28 11:38:33 -04:00
Elliot DeNolf
8b91af8a5b
chore(cpa): adjust unit test template ( #6490 )
...
Adjust template used in unit tests.
2024-05-24 10:12:19 -04:00
Elliot DeNolf
40d3078bf2
feat(cpa): initialize git repo on project creation ( #6342 )
2024-05-13 14:59:39 -04:00
Elliot DeNolf
51f7351962
fix(cpa): install db adapter in package.json ( #5921 )
2024-04-23 14:03:01 -04:00
Jessica Chowdhury
49cba92fa1
fix(create-payload-app): uses baseUrl for payload config path in tsconfig ( #5888 )
2024-04-17 13:53:00 +01:00
Elliot DeNolf
68dee49501
feat(cpa): list plugin template after updating for 3.0
2024-04-16 19:46:27 -04:00
Dan Ribbens
f21b394d21
chore(create-payload-app): db user and password connection URI ( #5853 )
2024-04-15 16:40:31 -04:00
Elliot DeNolf
a4956dc649
fix(cpa): ast parse error handling ( #5793 )
2024-04-11 12:01:16 -04:00
Elliot DeNolf
a0dd750a52
chore(cpa): add or operator to process.env.DATABASE_URI [skip ci]
2024-04-10 22:17:52 -04:00
Elliot DeNolf
0bc103658a
chore(cpa): improve move message
2024-04-10 20:29:57 -04:00
Elliot DeNolf
9037b9b4fa
chore(cpa): remove 2.0 templates until updated
2024-04-10 20:25:20 -04:00
Elliot DeNolf
d194493e9a
chore(cpa): update help
2024-04-10 20:24:51 -04:00
Elliot DeNolf
aa22344cdb
fix(cpa): append to existing .env
2024-04-10 20:16:59 -04:00
Elliot DeNolf
312dca003b
feat(cpa): CJS next config AST parsing
2024-04-10 16:32:19 -04:00
Elliot DeNolf
3677a59a78
fix(cpa): dependency tag ( #5768 )
2024-04-10 11:25:54 -04:00
Elliot DeNolf
e6e016ac2d
chore(cpa): build for es6 ( #5736 )
2024-04-08 17:11:03 -04:00
Elliot DeNolf
a8a273f0d8
chore(cpa): ensure project name is slugified ( #5631 )
2024-04-03 12:18:46 -04:00
Elliot DeNolf
b26117a65d
feat(cpa): strict true 😈 ( #5587 )
2024-04-01 23:05:57 -04:00
Elliot DeNolf
7cfc40f328
test(cpa): update tests
2024-04-01 10:32:17 -04:00
Elliot DeNolf
3c54d32b6d
feat(cpa): rework all prompts to use @clack/prompts
2024-04-01 10:16:07 -04:00
Elliot DeNolf
7619fb4753
feat(cpa): handle next.js app with and without src dir
2024-03-29 16:45:52 -04:00
Elliot DeNolf
403a86feca
chore(create-payload-app): configure db in init next flow
2024-03-29 14:25:00 -04:00
Elliot DeNolf
77f401d977
chore(create-payload-app): console.log wrapper
2024-03-29 13:23:25 -04:00
Elliot DeNolf
7d7b232fdb
feat(create-payload-app): functioning init next flow, no prompts
2024-03-29 12:48:00 -04:00
Elliot DeNolf
e829650cd9
chore(create-payload-app): ESM test fix
2024-03-27 09:08:09 -04:00
Elliot DeNolf
fb32e2a561
test(create-payload-app): only use local-template in tests
2024-03-26 18:45:53 -04:00
Elliot DeNolf
8aa8a380e1
test: missing test dir deps, update cpa create project suite
2024-03-26 18:45:53 -04:00
Elliot DeNolf
f35b8b05e8
chore(create-payload-app): remove unneeded 2.0 func, add cli overrides
2024-03-26 18:45:53 -04:00
Elliot DeNolf
18299dc65e
chore: blank 3.0 template type
2024-03-26 18:45:53 -04:00
Elliot DeNolf
818ab2c10f
chore: restructure
2024-03-26 18:45:52 -04:00
Elliot DeNolf
df0bf28d57
chore: return error messages from parse
2024-03-26 18:45:52 -04:00
Elliot DeNolf
ff65f10c2f
chore: edge case for parsing next config
2024-03-26 18:45:52 -04:00
Elliot DeNolf
5cf49aa166
chore: implement AST parsing of next config
2024-03-26 18:45:52 -04:00
Elliot DeNolf
0651daa1d4
chore: more ESM, linting
2024-03-26 18:45:52 -04:00
Elliot DeNolf
921c53f75c
chore(templates): bump alpha deps and next app changes
2024-03-26 18:45:52 -04:00
Elliot DeNolf
53a09f4989
chore(create-payload-app): migrate to esm, adjust init-next tests
2024-03-14 11:12:28 -04:00
Elliot DeNolf
40a0a0083f
chore(create-payload-app): init-next now create payload config and modifies tsconfig.json ( #5242 )
2024-03-04 16:55:43 -05:00
Elliot DeNolf
f957f1d2bb
chore: logging for init-next
2024-02-28 16:18:02 -05:00
Elliot DeNolf
cdc1e024f1
chore: --init-next improvements and tests
2024-02-28 14:16:05 -05:00
Elliot DeNolf
c0e2b6ac4d
chore(create-payload-app): add --init-next
2024-02-27 14:59:40 -05:00
Elliot DeNolf
1eae5f9c99
test(create-payload-app): test create project for all templates
2023-10-16 15:12:59 -04:00
Elliot DeNolf
5fd3d43000
chore(create-payload-app): lint and format
2023-10-12 19:04:28 -04:00
Elliot DeNolf
773be8744d
chore: move all files into packages/create-payload-app
2023-10-12 18:20:19 -04:00