Skip to content

Commit

Permalink
chore(tasks): Add comparison view to nmHoisting visualisation (#9751)
Browse files Browse the repository at this point in the history
This PR adds a comparison view to the nmHoisting visualisation.

**WIP**:
* Has temp data which should be removed
* The new code is not yet as neat or in the same style as the existing
code.

---------

Co-authored-by: Dominic Saadi <[email protected]>
  • Loading branch information
2 people authored and Tobbe committed Dec 31, 2023
1 parent f9adcb5 commit e6c6202
Show file tree
Hide file tree
Showing 4 changed files with 1,389 additions and 109 deletions.
8 changes: 5 additions & 3 deletions tasks/nmHoisting/nmHoisting.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ async function main() {
await within(async () => {
cd(TMP_DIR)

if (!projectProvided) {
if (projectProvided) {
cd(CRWA_DIR)
} else {
await $`yarn create redwood-app ${CRWA_DIR} -y`
cd(CRWA_DIR)
await $`yarn`
}

cd(CRWA_DIR)

data.version = (
await $`jq -r '.devDependencies."@redwoodjs/core"' < package.json`
).stdout.trim()
Expand Down
Loading

0 comments on commit e6c6202

Please sign in to comment.