fxa/apps/payments/next
Reino Muhl ab8ae37229
feat(next): update payments-next build and restart
Because:

- Starting and restarting payments-next takes a long time due to always
  building the app first, which isn't necessary during development.
- When changes are made to NestApp or its dependencies, these are not
  hot reloaded by Next.js, requiring a full Next.js restart.

This commit:

- Adopt Nx plugin for Next.js which more closely aligns with Next.js
  standard dev commands.
- Retained Nx Next.js executors for build, since it more closely fits
  into the current FxA build and deploy CI logic.
- Added a watcher to NestApp which calls a NestApp restart api, only
  available in development, to restart the NestApp on any changes.
- Adds a function to get the NestApp, instead of a const, thus ensuring,
  in dev mode, the latest NestApp is always returned.

Closes #FXA-9706
2024-06-18 10:45:04 -04:00
..
.storybook feat(libs): move fxa-shared/l10n to libs/shared/l10n 2023-10-04 16:08:01 -04:00
app feat(next): update payments-next build and restart 2024-06-18 10:45:04 -04:00
config feat(next): cleanup tasks 2024-05-16 15:37:23 -04:00
public feat(next): add l10n to localizer for next rsc 2024-04-08 14:58:17 -04:00
tests/app fix(payments-next): Move searchParams to params 2024-03-28 11:02:31 -04:00
.env.development feat(next): cleanup tasks 2024-05-16 15:37:23 -04:00
.env.production feat(next): cleanup tasks 2024-05-16 15:37:23 -04:00
.eslintrc.json chore(next): Add Next.js to fxa and initial setup 2023-07-19 14:57:15 -04:00
Gruntfile.js feat(next): update payments-next build and restart 2024-06-18 10:45:04 -04:00
auth.config.ts feat(next): attempt no prompt auth on landing 2024-04-30 12:37:09 -04:00
auth.ts feat(next): attempt no prompt auth on landing 2024-04-30 12:37:09 -04:00
index.d.ts fix(payments-next): Move searchParams to params 2024-03-28 11:02:31 -04:00
instrumentation.ts feat(next): update payments-next build and restart 2024-06-18 10:45:04 -04:00
jest.config.ts fix(payments-next): Move searchParams to params 2024-03-28 11:02:31 -04:00
middleware.ts feat(next): cleanup tasks 2024-05-16 15:37:23 -04:00
next-env.d.ts chore(next): Add Next.js to fxa and initial setup 2023-07-19 14:57:15 -04:00
next.config.js fix(apps,libs): Revise discountAmount and temporary page on payments-next 2024-05-17 10:36:12 -04:00
package.json fix(next): add missing deps to nestapp 2024-04-24 16:54:11 -04:00
pm2.config.js feat(next): update payments-next build and restart 2024-06-18 10:45:04 -04:00
postcss.config.js fix(payments-next): Move searchParams to params 2024-03-28 11:02:31 -04:00
project.json feat(next): update payments-next build and restart 2024-06-18 10:45:04 -04:00
tailwind.config.ts feat(next): add payment element and submit 2024-05-08 10:37:14 -04:00
tsconfig.json feat(auth): allow prompt=none without hint 2024-02-15 13:28:09 -05:00
tsconfig.spec.json chore(next): Add Next.js to fxa and initial setup 2023-07-19 14:57:15 -04:00
tsconfig.storybook.json chore(next): add Storybook to NextJS setup 2023-09-11 17:26:30 -04:00