Skip to content
This repository was archived by the owner on May 20, 2022. It is now read-only.

GH-180: Trim generator input#181

Merged
roblafeve merged 22 commits intodevelopfrom
develop-GH-180-trim-generator-input
Jun 4, 2021
Merged

GH-180: Trim generator input#181
roblafeve merged 22 commits intodevelopfrom
develop-GH-180-trim-generator-input

Conversation

@roblafeve
Copy link
Contributor

@roblafeve roblafeve commented May 21, 2021

Description

Adds trimming of whitespace to generator input.

closes #180

📋 Acceptance Criteria

Checked off by PR Assignees

  • All generators work as expected even when leading or trailing whitespace is present
    • new:type
    • new:util
    • new:component mobile
    • new:component web

👩‍🔬 Test Instructions

Provided by PR Assignees

  1. Pull the branch
  2. run npm ci && npm run dev:setup
  3. cd consumers/app-(mobile|web)
  4. run npm run new:type with whitespace
  5. run npm run new:util with whitespace
  6. run npm run new:component with whitespace

🔎 Reviewer Checklist

Checked off by PR Reviewers

  • Merge destination is correct
  • Code is correct as understood and conforms to quality standards
  • Tests have been added where appropriate (unit, visual, end-to-end)
  • Acceptance Criteria have been met

Roles & Responsibilities

👨‍💻 Assignee

  • Initiator of this PR (be sure to set in GitHub UI)
  • Addresses feedback and change requests
  • Merges PR once approved (usually deletes branch unless develop or release)

👩‍💻 Reviewer

  • Invited to review PR by Assignee (via GitHub UI)
  • Is expected to complete a review and address followup

roblafeve added 21 commits May 21, 2021 15:09
Lerna bootstrap installs all package dependencies. Now that `inflection`
is imported in a TypeScript file, it has uncovered that this dependency
wasn't ever present up-front but instead was present at the end. Now TS
requires tht it be installed before building—of course!
This was causing consumers to run on the system version of node/npm
which caused symlink references to be incorrect. We now print these
versions in the consumer context to allow for better debugging in
the future.
These tests run faster/slower depending on the environment. When using
[act](https://github.com/nektos/act) to test actions locally, they were
timing out. I'm willing to wait a minute to ensure they _really_ fail.
@roblafeve roblafeve requested a review from blaketarter June 4, 2021 18:57
@roblafeve roblafeve self-assigned this Jun 4, 2021
@roblafeve roblafeve added the enhancement New feature or request label Jun 4, 2021
@roblafeve roblafeve merged commit baef0c6 into develop Jun 4, 2021
@roblafeve roblafeve deleted the develop-GH-180-trim-generator-input branch June 4, 2021 19:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trim generator input

2 participants