-
Notifications
You must be signed in to change notification settings - Fork 320
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
Update Review app to import govuk-frontend
via local package
#3491
Merged
Commits on May 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b6c7416 - Browse repository at this point
Copy the full SHA b6c7416View commit details -
This is in preparation for the `govuk-frontend` local workspace package to have access to source code, dependencies etc
Configuration menu - View commit details
-
Copy full SHA for d311d5c - Browse repository at this point
Copy the full SHA d311d5cView commit details -
Use wrapper
govuk-frontend
package for workspacesThis change temporarily links `govuk-frontend` to ./package/src via the wrapper package’s package.json `exports` field For compatibility `npm publish` can continue from ./package/dist where the published package.json still exists with the current `exports` unchanged
Configuration menu - View commit details
-
Copy full SHA for ebe3101 - Browse repository at this point
Copy the full SHA ebe3101View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5d7f5d - Browse repository at this point
Copy the full SHA d5d7f5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 723abb5 - Browse repository at this point
Copy the full SHA 723abb5View commit details -
Set up separate scripts, styles, watch tasks etc for package
In preparation for build artifacts being deleted, package will need utility tasks to run (on watch) during development
Configuration menu - View commit details
-
Copy full SHA for c3044f8 - Browse repository at this point
Copy the full SHA c3044f8View commit details -
Stop linting package files from review app
We ‘ve now split this task into 4x watchers: 1. Lint review app styles 2. Lint review app scripts 3. Build review app styles 4. Build review app scripts With package getting its own tasks, watchers 1) and 2) no longer need to watch package files Once the package build output has been removed from source, the review app will only need to watch package “dist” for changes not its entire source code
Configuration menu - View commit details
-
Copy full SHA for cc0b77a - Browse repository at this point
Copy the full SHA cc0b77aView commit details -
Move packages into npm workspaces structure
Moves `govuk-frontend` and the Review app packages into “packages” https://docs.npmjs.com/cli/v9/using-npm/workspaces#defining-workspaces
Configuration menu - View commit details
-
Copy full SHA for 102601e - Browse repository at this point
Copy the full SHA 102601eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d9eb1a - Browse repository at this point
Copy the full SHA 6d9eb1aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.