Skip to content

Commit

Permalink
chore: update react-scripts and cli-style
Browse files Browse the repository at this point in the history
  • Loading branch information
varl committed Oct 30, 2020
1 parent 3edcce2 commit 3000b18
Show file tree
Hide file tree
Showing 9 changed files with 8,258 additions and 4,230 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/cli/assets
**/locales/index.js
cli/config/init.entrypoint.js
cli/config/init.App.test.js

6 changes: 3 additions & 3 deletions cli/src/lib/bundleApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ module.exports = (inDir, outFile) => {
zlib: { level: 9 },
})

output.on('close', function() {
output.on('close', function () {
reporter.print(chalk.dim(`Total size: ${archive.pointer()} bytes`))
resolve()
})

archive.on('warning', function(err) {
archive.on('warning', function (err) {
if (err.code === 'ENOENT') {
reporter.warn('[bundler]', err)
} else {
reject(err)
}
})

archive.on('error', function(err) {
archive.on('error', function (err) {
reject(err)
})

Expand Down
2 changes: 1 addition & 1 deletion cli/src/lib/compiler/compileLibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const compileLibrary = async ({ config, paths, mode, watch }) => {
}
})

process.on('SIGINT', function() {
process.on('SIGINT', function () {
reporter.debug('Caught interrupt signal')
watcher.close()
})
Expand Down
2 changes: 1 addition & 1 deletion cli/src/lib/generateManifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = (paths, config, publicUrl) => {
},
},
icons: {
'48': 'dhis2-app-icon.png',
48: 'dhis2-app-icon.png',
},
developer: config.author,

Expand Down
6,464 changes: 4,250 additions & 2,214 deletions examples/simple-app/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
},
"devDependencies": {
"@dhis2/cli-style": "^6.0.0",
"@dhis2/cli-style": "^7.2.1",
"@dhis2/cli-utils-docsite": "^2.0.2",
"concurrently": "^5.0.0"
},
Expand Down
1 change: 0 additions & 1 deletion shell/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
SKIP_PREFLIGHT_CHECK=true
EXTEND_ESLINT=false
2 changes: 1 addition & 1 deletion shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "^3.3.0",
"react-scripts": "^4.0.0",
"source-map-explorer": "^2.1.0",
"styled-jsx": "^3.2.2",
"typeface-roboto": "^0.0.75",
Expand Down
6,006 changes: 3,998 additions & 2,008 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 3000b18

Please sign in to comment.