Skip to content

Conversation

@pjmonks
Copy link
Contributor

@pjmonks pjmonks commented Jan 19, 2022

The source code for the mdm-ui application has been reorganised to support multiple Angular projects within the same workspace. This will prepare the repo to contain further UI applications/projects.

image

Changes made:

  • Original files from the src folder have been moved to projects/mdm-ui/src. Files have been moved using git mv command to only rename files and maintain original commit history.
  • All configuration files have been updated to support the change in file locations, particularly the angular.json file which is now responsible for all Angular projects inside this workspace.
  • Verified that existing npm scripts still work. The default workspace project is still mdm-ui, so existing commands like npm start will still default to serving mdm-ui. Other scripts like test, eslint, dist etc have been updated to work with the new structure.
  • The Jenkinsfile has been updated to ensure that any file references now point to new locations.

@olliefreeman - I have asked for your review also specifically to check the Jenkinsfile. I've seen that a Jenkins branch build passes still, and because npm run dist is used and still outputs the build output to dist/mdm-ui-<version>,tgz then there should not be any major changes with deployments.

@pjmonks pjmonks added the maintenance General maintenance on this repo or application label Jan 19, 2022
Moved into an Angular project folder to rework the workspace. Committed files are only renamed, commit history is maintained.
Tested that existing eslint and license-check commands work with new project structure
* Run through `ng test` Angular builder now
* Update config files and Jenkins build file
* Make sure distribution build still works
* Update jest reporters to output report files to new locations
* Update Jenkins build to reference correct file locations
* Update npm scripts
* Clean up redundant files
@CLAassistant
Copy link

CLAassistant commented Feb 2, 2022

CLA assistant check
All committers have signed the CLA.

@pjmonks pjmonks marked this pull request as draft February 9, 2022 15:16
@pjmonks
Copy link
Contributor Author

pjmonks commented Feb 9, 2022

Marking this as a draft PR for now. Due to the way some other planned work has panned out, this re-organisation of mdm-ui may not be strictly necessary, or at least not urgent for now. Will keep open though in case it is needed.

@pjmonks pjmonks added the on hold Issue has been placed on hold to resolve later label Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance General maintenance on this repo or application on hold Issue has been placed on hold to resolve later

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants