Elliot DeNolf
0040e1756c
fix(cpa): adjust template file location detection (#7507)
Adjust template file location detection. This was causing issues when
run with `pnpm create` because it is not run from a `dist` directory.
```
┌ create-payload-app
│
◇ ────────────────────────────────────────────╮
│ │
│ Welcome to Payload. Let's create a project! │
│ │
├───────────────────────────────────────────────╯
│
▲ Payload installation detected in current project.
│
◇ Upgrade Payload in this project?
│ Yes
│
◇ Using pnpm.
│
│
◇ Updating 7 Payload packages to v3.0.0-beta.73...
│
│ - payload
│ - @payloadcms/db-mongodb
│ - @payloadcms/db-postgres
│ - @payloadcms/next
│ - @payloadcms/richtext-lexical
│ - @payloadcms/richtext-slate
│ - @payloadcms/ui
│
◇ Payload packages updated successfully.
│
◇ Updating Payload Next.js files...
│
■ ENOENT: no such file or directory, copyfile '/Users/elliot/Library/pnpm/store/v3/tmp/dlx-99797/node_modules/.pnpm/create-payload-app@3.0.0-beta.73/templates/blank-3.0/src/app/(payload)' -> '/Users/elliot/dev/payload-3.0-demo/src/app/(payload)'
```
2024-08-05 16:28:13 +00:00
..
2024-08-05 16:28:13 +00:00
2024-03-29 12:48:00 -04:00
2024-07-11 15:27:01 -04:00
2024-04-08 17:11:03 -04:00
2024-07-30 11:14:57 -04:00
2024-08-01 12:50:14 -04:00