-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmigrate.log
99 lines (99 loc) · 10.5 KB
/
migrate.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
2023-06-27T07:46:45.246Z
cwd: ~/Desktop/prototypes/prototype-appointment-royal-blue
package: govuk-prototype-kit@13.9.0
argv: /usr/local/bin/node ~/.npm/_npx/ab0cb2c39bc0319f/node_modules/.bin/govuk-prototype-kit migrate
Started [Check migration is being applied to a pre v13 prototype]
Succeeded [Check migration is being applied to a pre v13 prototype]
2023-06-27T07:46:52.159Z
cwd: ~/Desktop/prototypes/prototype-appointment-royal-blue
package: govuk-prototype-kit@13.9.0
argv: /usr/local/bin/node ~/Desktop/prototypes/prototype-appointment-royal-blue/node_modules/.bin/govuk-prototype-kit migrate -- ~/Desktop/prototypes/prototype-appointment-royal-blue
Started [Migrate config.js to config.json]
Started [Update application SCSS file]
Started [Deleted files that are no longer needed]
Started [Deleted directories that are no longer needed]
Started [Delete listen-on-port.js]
Started [Delete server.js]
Started [Delete start.js]
Started [Delete VERSION.txt]
Started [Delete Procfile]
Started [Delete app/assets/sass/application-ie8.scss]
Started [Delete app/assets/sass/unbranded-ie8.scss]
Started [Remove unused directory docs]
Started [Remove unused directory lib]
Started [Remove unused directory public]
Succeeded [Migrate config.js to config.json]
Succeeded [Delete listen-on-port.js]
Succeeded [Delete server.js]
Succeeded [Delete VERSION.txt]
Succeeded [Delete app/assets/sass/application-ie8.scss]
Succeeded [Delete start.js]
Succeeded [Delete app/assets/sass/unbranded-ie8.scss]
Succeeded [Delete Procfile]
Succeeded [Deleted files that are no longer needed]
Found [// Add your routes here - above the module.exports line] in [app/routes.js], replacing
Started [Overwrite app/views/layout.html]
Started [Overwrite app/assets/javascripts/application.js]
Started [Overwrite app/filters.js]
Found [// Add extra styles here, or re-organise the Sass files in whichever way makes most sense to you] in [app/assets/sass/application.scss], replacing
Keeping these lines from old file
Copying from [node_modules/govuk-prototype-kit/prototype-starter/app/views/layouts/main.html] to [app/views/layout.html]
Started [Update app/assets/javascripts/application.js]
Copying from [node_modules/govuk-prototype-kit/prototype-starter/app/filters.js] to [app/filters.js]
Started [Delete app/assets/images/separator-2x.png]
Started [Delete app/assets/images/unbranded.ico]
Started [Delete app/assets/javascripts/auto-store-data.js]
Started [Delete app/assets/images/separator.png]
Started [Delete app/assets/sass/unbranded.scss]
Started [Delete app/assets/javascripts/jquery-1.11.3.js]
Started [Delete app/views/includes/breadcrumb_examples.html]
Started [Delete app/views/includes/scripts.html]
Started [Delete app/views/includes/head.html]
Started [Delete app/views/layout_unbranded.html]
Started [Delete app/assets/sass/patterns/_mainstream-guide.scss]
Started [Delete app/assets/sass/patterns/_pagination.scss]
Started [Delete app/assets/sass/patterns/_contents-list.scss]
Started [Delete app/assets/sass/patterns/_step-by-step-related.scss]
Started [Delete app/assets/sass/patterns/_step-by-step-nav.scss]
Started [Delete app/assets/sass/patterns/_step-by-step-header.scss]
Started [Delete app/assets/sass/patterns/_related-items.scss]
Started [Delete app/assets/sass/patterns/_task-list.scss]
Keeping these lines from old file
Succeeded [Delete app/assets/javascripts/auto-store-data.js]
Succeeded [Delete app/assets/sass/unbranded.scss]
Succeeded [Delete app/views/includes/breadcrumb_examples.html]
Succeeded [Delete app/assets/javascripts/jquery-1.11.3.js]
Succeeded [Delete app/views/layout_unbranded.html]
Succeeded [Delete app/assets/images/separator-2x.png]
Succeeded [Delete app/views/includes/scripts.html]
Succeeded [Delete app/assets/images/unbranded.ico]
Succeeded [Delete app/assets/images/separator.png]
Succeeded [Delete app/views/includes/head.html]
Succeeded [Delete app/assets/sass/patterns/_pagination.scss]
Succeeded [Delete app/assets/sass/patterns/_step-by-step-related.scss]
Succeeded [Delete app/assets/sass/patterns/_contents-list.scss]
Succeeded [Delete app/assets/sass/patterns/_step-by-step-nav.scss]
Succeeded [Delete app/assets/sass/patterns/_mainstream-guide.scss]
Succeeded [Delete app/assets/sass/patterns/_step-by-step-header.scss]
Succeeded [Delete app/assets/sass/patterns/_related-items.scss]
Succeeded [Delete app/assets/sass/patterns/_task-list.scss]
Succeeded [Update application SCSS file]
Succeeded [Update app/assets/javascripts/application.js]
//,// For guidance on how to create routes see:,// https://prototype-kit.service.gov.uk/docs/create-routes,//,,const govukPrototypeKit = require('govuk-prototype-kit'),const router = govukPrototypeKit.requests.setupRouter(),,// Add your routes here,,,,// PIP telephone appointment journey logic,,// Run this code when a form is submitted to 'interpreter-answer',router.post('/interpreter-answer', function (req, res) {,, // Make a variable and give it the value from 'need-interpreter', var interpreterYesNo = req.session.data['need-interpreter'],, // Check whether the variable matches a condition, if (interpreterYesNo == "Yes"){, // Send user to what language page, res.redirect('/current/pip-ta/interpreter-language'), } else {, // Send user to next page, res.redirect('/current/pip-ta/same-sex-hcp'), },,}),,// Run this code when a form is submitted to 'ucb-answer',router.post('/ucb-answer', function (req, res) {,, // Make a variable and give it the value from 'UCB-marker', var ucbYesNo = req.session.data['UCB-marker'],, // Check whether the variable matches a condition, if (ucbYesNo == "Yes"){, // Send user to what language page, res.redirect('/current/pip-ta/UCB-detail'), } else {, // Send user to next page, res.redirect('/current/pip-ta/claimant-support'), },,}),,// Run this code when a form is submitted to 'app-preferences',router.post('/app-preferences', function (req, res) {,, // Make a variable and give it the value from 'UCB-marker', var appprefsYesNo = req.session.data['app-preferences'],, // Check whether the variable matches a condition, if (appprefsYesNo == "Yes"){, // Send user to what language page, res.redirect('/current/pip-ta/app-date-time-O6-page-3'), } else {, // Send user to next page, res.redirect('/current/pip-ta/app-date-time-O6-page-2'), },,}),,// Run this code when a form is submitted to 'cancel-answer',router.post('/cancel-pip-answer', function (req, res) {,, // Make a variable and give it the value from 'how-many-balls', var cancelYesNo = req.session.data['cancel-booking'],, // Check whether the variable matches a condition, if (cancelYesNo == "Yes"){, // Send user to caseload page, res.redirect('/current/status-led-design/book-assessment'), } else {, // Send user to previous page, res.redirect('javascript:history.go(-1)'), },,}),,// WCA face to face appointment journey logic,,// Run this code when a form is submitted to 'wca-interpreter-answer',router.post('/wca-interpreter-answer', function (req, res) {,, // Make a variable and give it the value from 'need-interpreter', var interpreterWCAYesNo = req.session.data['need-wca-interpreter'],, // Check whether the variable matches a condition, if (interpreterWCAYesNo == "Yes"){, // Send user to what language page, res.redirect('/current/wca-f2f/interpreter-language'), } else {, // Send user to next page, res.redirect('/current/wca-f2f/same-sex-hcp'), },,}),,// Run this code when a form is submitted to 'cancel-answer',router.post('/cancel-wca-answer', function (req, res) {,, // Make a variable and give it the value from 'how-many-balls', var cancelWCAYesNo = req.session.data['cancel-wca-booking'],, // Check whether the variable matches a condition, if (cancelWCAYesNo == "Yes"){, // Send user to caseload page, res.redirect('/current/status-led-design/book-assessment'), } else {, // Send user to previous page, res.redirect('javascript:history.go(-1)'), },,}),,// Run this code when a form is submitted to 'cancel-answer',router.post('/deactivate-hcp-answer', function (req, res) {,, // Make a variable and give it the value from 'deactivate-HCP', var deactivateHCPYesNo = req.session.data['deactivate-hcp'],, // Check whether the variable matches a condition, if (deactivateHCPYesNo == "Yes"){, // Send user to caseload page, res.redirect('/current/HCP-admin/HCP-profiles-deactivated-success'), } else {, // Send user to previous page, res.redirect('/current/HCP-admin/joe-bloggs-profile'), },,}),,// Run this code when a form is submitted to 'remove-jane-answer',router.post('/remove-jane-answer', function (req, res) {,, // Make a variable and give it the value from 'remove-jane', var removeJaneYesNo = req.session.data['remove-jane'],, // Check whether the variable matches a condition, if (removeJaneYesNo == "Yes"){, // Send user to caseload page, res.redirect('/current/HCP-admin/HCP-profiles-jane-remove-success'), } else {, // Send user to previous page, res.redirect('/current/HCP-admin/jane-smith-profile'), },,}),,// Run this code when a form is submitted to 'what-assessments',router.post('/what-assessments-answer', function (req, res) {,, // Make a variable and give it the value from 'what-assessments', var whatAssessments = req.session.data['what-assessments'],, // Check whether the variable matches a condition, if (whatAssessments == "unassigned"){, // Send user to unassigned delivery list, res.redirect('/current/delivery-list/delivery-list-unassigned'), } else if (whatAssessments == "assigned"){, // Send user to delivery list, res.redirect('/current/delivery-list/delivery-list-assigned'), } else {, // Send user to filter by hcp, res.redirect('/current/delivery-list/filter-by-HCP'), },,}),,module.exports = router,
Succeeded [Overwrite app/assets/javascripts/application.js]
Found [module.exports = router;,module.exports = router] in [app/routes.js], removing
Succeeded [Remove unused directory lib]
Succeeded [Remove unused directory public]
Succeeded [Update routes file]
Succeeded [Remove unused directory docs]
Succeeded [Overwrite app/views/layout.html]
Succeeded [Overwrite app/filters.js]
Succeeded [Deleted directories that are no longer needed]
Started [Remove old pattern includes from application SCSS file]
Succeeded [Remove old pattern includes from application SCSS file]
Started [Remove empty directory app/views/includes]
Started [Remove empty directory app/assets/sass/patterns]
Started [Remove empty directory app/assets/images]
Succeeded [Remove empty directory app/views/includes]
Succeeded [Remove empty directory app/assets/images]
Succeeded [Remove empty directory app/assets/sass/patterns]