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

Make the test project generator more composable #3099

Merged
merged 13 commits into from
Jul 28, 2021

Conversation

dac09
Copy link
Collaborator

@dac09 dac09 commented Jul 22, 2021

Adds ability to

  • use rufus (rwfw), I've called this flag --link but can rename to --rwfw
  • clean target dir first
  • overwrite existing target dir
  • verbosely print every step
  • setup tailwind with rufus

Also

@dac09 dac09 requested a review from thedavidprice July 22, 2021 16:31
@dac09 dac09 force-pushed the improve/project-generator branch from be68e6f to d98aaa6 Compare July 22, 2021 16:39
…ect-generator

* 'main' of github.com:redwoodjs/redwood:
  Ignore graphql-server TS errors (redwoodjs#3126)
  Prerender `Private` routes (redwoodjs#3124)
  Remove verdaccio configurationa and docs. (redwoodjs#3120)
  Remove old esbuild/ babel build commands from core. (redwoodjs#3119)
  Remove undeleted history file.
  Add pretranspile + programatic build to API side. (redwoodjs#2938)
  fix scaffoding typo (redwoodjs#3112)
  Fixes a couple of typos, return `true` if no roles were provided to requireAuth() (redwoodjs#3107)
  fix(webpack-manifest): Manifest plugin errors out if manifest.json exists (redwoodjs#3104)
  Upgrades envelop to 1.0.0 (redwoodjs#3106)
  Add Clerk as an auth provider (redwoodjs#3080)
  just plain read the file (redwoodjs#3108)
  Upgrade setup tailwind (redwoodjs#3087)
  Firebase auth options (redwoodjs#2824)
  fix(rwfw): Fixes rufus building graphql-server package (redwoodjs#3100)
  upgrade to Jest v27 (redwoodjs#2893)
…into improve/project-generator

* 'improve/project-generator' of github.com:dac09/redwood:
@@ -93,8 +93,7 @@ export const handler = async ({
const jobs = {
api: {
name: 'api',
command:
`yarn cross-env NODE_ENV=development NODE_OPTIONS=--enable-source-maps yarn nodemon --watch "${redwoodConfigPath}" --exec "yarn rw-api-server-watch"`,
command: `yarn cross-env NODE_ENV=development NODE_OPTIONS=--enable-source-maps yarn nodemon --watch "${redwoodConfigPath}" --exec "yarn rw-api-server-watch"`,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a lint fix

@dac09 dac09 marked this pull request as draft July 28, 2021 17:48
…ect-generator

* 'main' of github.com:redwoodjs/redwood:
  [setup tailwind] Add ability to skip install (redwoodjs#3136)
  upgrade prisma v2.28 (redwoodjs#3139)
  fix(generate-page): map param types to TS (redwoodjs#3138)
  fix storybook build, restore E2E specs, try CircleCI (redwoodjs#3132)
  GraphQL useMutation options (redwoodjs#3041)
  Typing services on makeMergedSchema (redwoodjs#3129)
  Resolves Typescript errors in useRedwoodLogger plugin in GraphQL-server (redwoodjs#3127)
@dac09 dac09 marked this pull request as ready for review July 28, 2021 18:28
@dac09
Copy link
Collaborator Author

dac09 commented Jul 28, 2021

@thedavidprice done with changes. Plz murj if happy.

✅ Tailwind works
🐶 Rufus is a happy pup
🚨 Fails if any of the steps fail

@thedavidprice
Copy link
Contributor

No time to review now. Merging and will go through later. Follow up PR if changes suggested.

Thanks!

@@ -19,7 +19,7 @@ export const builder = (yargs) => {
description: 'Which dev server(s) to start',
type: 'array',
})
.positional('forward', {
.option('forward', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before I merge, can we think of any good reason why this would have been a positional originally?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a typo/bug - we probably never noticed it because it runs headless in the workflow

@thedavidprice thedavidprice merged commit 2af0ea7 into redwoodjs:main Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When creating the test project, Contact model not formatted properly in schema.prisma
2 participants