-
Notifications
You must be signed in to change notification settings - Fork 3
/
migrate.log
100 lines (100 loc) · 9.07 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
100
2023-09-12T11:40:56.738Z
cwd: ~/github/grants-prototype
package: [email protected]
argv: /usr/local/bin/node ~/github/grants-prototype/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-09-12T11:41:09.456Z
cwd: ~/github/grants-prototype
package: [email protected]
argv: /usr/local/bin/node ~/github/grants-prototype/node_modules/.bin/govuk-prototype-kit migrate -- ~/github/grants-prototype
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 start.js]
Succeeded [Delete app/assets/sass/application-ie8.scss]
Succeeded [Delete Procfile]
Succeeded [Delete VERSION.txt]
Succeeded [Delete app/assets/sass/unbranded-ie8.scss]
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
Failed [Overwrite app/views/layout.html]
Copying from [node_modules/govuk-prototype-kit/prototype-starter/app/assets/javascripts/application.js] to [app/assets/javascripts/application.js]
Started [Update app/filters.js]
Started [Delete app/assets/images/separator-2x.png]
Started [Delete app/assets/images/separator.png]
Started [Delete app/assets/javascripts/auto-store-data.js]
Started [Delete app/assets/images/unbranded.ico]
Started [Delete app/views/includes/breadcrumb_examples.html]
Started [Delete app/views/includes/cookie-banner.html]
Started [Delete app/views/includes/head.html]
Started [Delete app/views/includes/scripts.html]
Started [Delete app/views/layout_unbranded.html]
Started [Delete app/assets/sass/unbranded.scss]
Started [Delete app/assets/sass/patterns/_contents-list.scss]
Started [Delete app/assets/sass/patterns/_pagination.scss]
Started [Delete app/assets/sass/patterns/_related-items.scss]
Started [Delete app/assets/sass/patterns/_step-by-step-header.scss]
Started [Delete app/assets/sass/patterns/_step-by-step-related.scss]
Started [Delete app/assets/javascripts/jquery-1.11.3.js]
Started [Delete app/assets/sass/patterns/_step-by-step-nav.scss]
Started [Delete app/assets/sass/patterns/_mainstream-guide.scss]
Started [Delete app/assets/sass/patterns/_task-list.scss]
Keeping these lines from old file
Failed [Delete app/views/includes/scripts.html]
Succeeded [Delete app/assets/images/separator-2x.png]
Succeeded [Delete app/assets/images/separator.png]
Succeeded [Delete app/assets/javascripts/auto-store-data.js]
Succeeded [Delete app/assets/images/unbranded.ico]
Succeeded [Delete app/views/includes/breadcrumb_examples.html]
Succeeded [Delete app/views/includes/cookie-banner.html]
Succeeded [Delete app/views/includes/head.html]
Succeeded [Delete app/views/layout_unbranded.html]
Succeeded [Delete app/assets/sass/unbranded.scss]
Succeeded [Delete app/assets/sass/patterns/_contents-list.scss]
Succeeded [Delete app/assets/sass/patterns/_pagination.scss]
Succeeded [Delete app/assets/sass/patterns/_related-items.scss]
Succeeded [Delete app/assets/sass/patterns/_step-by-step-header.scss]
Succeeded [Delete app/assets/sass/patterns/_step-by-step-related.scss]
Succeeded [Delete app/assets/javascripts/jquery-1.11.3.js]
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/_task-list.scss]
Succeeded [Update application SCSS file]
//,// 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,,,// GET SPRINT NAME - useful for relative templates,router.use('/', (req, res, next) => {, res.locals.currentURL = req.originalUrl // current screen, res.locals.prevURL = req.get('Referrer') // previous screen, req.folder = req.originalUrl.split('/')[1] // folder, e.g. 'current', req.subfolder = req.originalUrl.split('/')[2] // sub-folder e.g. 'service', res.locals.folder = req.folder // what folder the url is, res.locals.subfolder = req.subfolder // what subfolder the URL is in, console.log('\n-------------------------\n'), next(),}),,// Route index page,router.get('/', function (req, res) {, res.render('./index'),}),,router.get('/:scheme/:version/*', function (req, res, next) {, const { version, scheme } = req.params,, if (schemeList.includes(scheme)) {, res.locals.serviceName = serviceName[scheme][version], }, next(),}),,// Start folder specific route,router.use('/ahw/current', require('./views/ahw/current/routes/routes')),router.use('/ahw/v1', require('./views/ahw/v1/routes/routes')),router.use('/ahw/v2', require('./views/ahw/v2/routes/routes')),router.use('/ahw/v3', require('./views/ahw/v3/routes/routes')),router.use('/ahw/v4', require('./views/ahw/v4/routes/routes')),router.use('/ahw/v5', require('./views/ahw/v5/routes/routes')),router.use('/ahw/v51', require('./views/ahw/v51/routes/routes')),router.use('/ahw/v52t', require('./views/ahw/v52t/routes/routes')),,router.use('/slurrystorage/current', require('./views/slurrystorage/current/routes/routes')),router.use('/slurrystorage/v1', require('./views/slurrystorage/v1/routes/routes')),router.use('/slurrystorage/v2', require('./views/slurrystorage/v2/routes/routes')),router.use('/slurrystorage/v3', require('./views/slurrystorage/v3/routes/routes')),router.use('/slurrystorage/v4', require('./views/slurrystorage/v4/routes/routes')),router.use('/slurrystorage/r2v1', require('./views/slurrystorage/r2v1/routes/routes')),router.use('/slurrystorage/r2v2', require('./views/slurrystorage/r2v2/routes/routes')),router.use('/slurrystorage/r2v21', require('./views/slurrystorage/r2v21/routes/routes')),,router.use('/addingvalue/current', require('./views/addingvalue/current/routes/routes')),router.use('/addingvalue/v3', require('./views/addingvalue/v3/routes/routes')),router.use('/addingvalue/v2', require('./views/addingvalue/v2/routes/routes')),router.use('/addingvalue/v1', require('./views/addingvalue/v1/routes/routes')),,router.use('/robotics/current', require('./views/robotics/current/routes/routes')),router.use('/robotics/v4', require('./views/robotics/v4/routes/routes')),router.use('/robotics/v3', require('./views/robotics/v3/routes/routes')),router.use('/robotics/v2', require('./views/robotics/v2/routes/routes')),router.use('/robotics/v1', require('./views/robotics/v1/routes/routes')),,router.use('/slurry/current', require('./views/slurry/current/routes/routes')),router.use('/slurry/v1', require('./views/slurry/v2/routes/routes')),router.use('/slurry/v1', require('./views/slurry/v1/routes/routes')),,router.use('/water/current', require('./views/water/current/routes/routes')),router.use('/v1', require('./views/water/v1/routes/routes')),router.use('/water/v2', require('./views/water/v2/routes/routes')),router.use('/water/v3', require('./views/water/v3/routes/routes')),router.use('/water/v4', require('./views/water/v4/routes/routes')),router.use('/water/v4b', require('./views/water/v4b/routes/routes')),router.use('/water/v5', require('./views/water/v5/routes/routes')),router.use('/water/v6', require('./views/water/v6/routes/routes')),router.use('/water/v7private', require('./views/water/v7private/routes/routes')),router.use('/water/v8public', require('./views/water/v8public/routes/routes')),router.use('/water/r2v2', require('./views/water/r2v2/routes/routes')),,module.exports = router,
Found [module.exports = router;,module.exports = router] in [app/routes.js], removing
Succeeded [Remove unused directory lib]
Succeeded [Remove unused directory public]
Succeeded [Update app/filters.js]
Succeeded [Update routes file]
Succeeded [Overwrite app/filters.js]
Succeeded [Remove unused directory docs]
Succeeded [Deleted directories that are no longer needed]
Succeeded [Overwrite app/assets/javascripts/application.js]
Started [Remove old pattern includes from application SCSS file]
Succeeded [Remove old pattern includes from application SCSS file]
Started [Remove empty directory app/assets/sass/patterns]
Started [Remove empty directory app/views/includes]
Started [Remove empty directory app/assets/images]
Skipped deleting app/assets/images
Skipped deleting app/views/includes
Succeeded [Remove empty directory app/assets/sass/patterns]