diff --git a/CHANGELOG.md b/CHANGELOG.md index b06eebd27..ebaf9a3e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ ## Released (2018-07-06) +* babel-preset-mcs-lite: 0.3.37 => 0.3.38 +* eslint-config-mcs-lite: 0.6.28 => 0.6.29 +* mcs-lite-admin-web: 0.2.30 => 0.2.31 +* mcs-lite-connect: 0.3.40 => 0.3.41 +* mcs-lite-design: 0.2.32 => 0.2.33 +* mcs-lite-icon: 0.3.39 => 0.3.40 +* mcs-lite-landing-web: 0.1.35 => 0.1.36 (private) +* mcs-lite-mobile-web: 0.4.43 => 0.4.44 +* mcs-lite-scripts: 0.3.39 => 0.3.40 +* mcs-lite-theme: 0.4.12 => 0.4.13 +* mcs-lite-translation: 0.1.37 => 0.1.38 +* mcs-lite-ui: 0.8.12 => 0.8.13 +* react-intl-inject-hoc: 0.2.40 => 0.2.41 + #### :bug: Bug Fix * `mcs-lite-ui` diff --git a/packages/babel-preset-mcs-lite/package.json b/packages/babel-preset-mcs-lite/package.json index f6f65564b..20c6179b7 100644 --- a/packages/babel-preset-mcs-lite/package.json +++ b/packages/babel-preset-mcs-lite/package.json @@ -9,9 +9,7 @@ "email": "evenchange4@gmail.com" }, "homepage": "https://github.com/MCS-Lite/mcs-lite#readme", - "files": [ - "index.js" - ], + "files": ["index.js"], "main": "index.js", "license": "MIT", "scripts": { diff --git a/packages/eslint-config-mcs-lite/package.json b/packages/eslint-config-mcs-lite/package.json index ee560ecc5..49ef231f3 100644 --- a/packages/eslint-config-mcs-lite/package.json +++ b/packages/eslint-config-mcs-lite/package.json @@ -9,9 +9,7 @@ "email": "evenchange4@gmail.com" }, "homepage": "https://github.com/MCS-Lite/mcs-lite#readme", - "files": [ - "index.js" - ], + "files": ["index.js"], "main": "index.js", "license": "MIT", "scripts": { diff --git a/packages/mcs-lite-admin-web/package.json b/packages/mcs-lite-admin-web/package.json index e89b66c26..1332d0712 100644 --- a/packages/mcs-lite-admin-web/package.json +++ b/packages/mcs-lite-admin-web/package.json @@ -10,9 +10,7 @@ }, "license": "MIT", "homepage": "http://localhost:3002/admin", - "files": [ - "build" - ], + "files": ["build"], "proxy": { "/api": { "target": "http://localhost:3002" @@ -23,11 +21,14 @@ }, "scripts": { "start": "react-scripts start", - "build": "REACT_APP_VERSION=$(node -pe 'require(\"./package.json\").version') react-scripts build", + "build": + "REACT_APP_VERSION=$(node -pe 'require(\"./package.json\").version') react-scripts build", "test": "CI=true react-scripts test --env=jsdom --coverage --runInBand", "test:watch": "react-scripts test --env=jsdom", - "extract:messages": "react-intl-cra 'src/**/*.js' -o '../mcs-lite-translation/src/mcs-lite-admin-web/messages.json'", - "extract:pot": "react-intl-po json2pot '../mcs-lite-translation/src/mcs-lite-admin-web/messages.json' -o '../mcs-lite-translation/src/mcs-lite-admin-web/messages.pot'", + "extract:messages": + "react-intl-cra 'src/**/*.js' -o '../mcs-lite-translation/src/mcs-lite-admin-web/messages.json'", + "extract:pot": + "react-intl-po json2pot '../mcs-lite-translation/src/mcs-lite-admin-web/messages.json' -o '../mcs-lite-translation/src/mcs-lite-admin-web/messages.pot'", "prepack": "npm run build" }, "devDependencies": { @@ -52,7 +53,8 @@ "raf": "3.4.0", "ramda": "0.25.0", "react": "16.3.2", - "react-codemirror": "git://github.com/skidding/react-codemirror.git#106-fix-update", + "react-codemirror": + "git://github.com/skidding/react-codemirror.git#106-fix-update", "react-dom": "16.3.2", "react-helmet": "5.2.0", "react-intl": "2.4.0", diff --git a/packages/mcs-lite-connect/package.json b/packages/mcs-lite-connect/package.json index c6d3cc8c8..620209fad 100644 --- a/packages/mcs-lite-connect/package.json +++ b/packages/mcs-lite-connect/package.json @@ -9,9 +9,7 @@ "email": "evenchange4@gmail.com" }, "homepage": "https://github.com/MCS-Lite/mcs-lite#readme", - "files": [ - "lib" - ], + "files": ["lib"], "main": "lib/index.js", "scripts": { "clean": "rm -rf lib", @@ -32,8 +30,6 @@ "websocket": "^1.0.25" }, "babel": { - "presets": [ - "mcs-lite" - ] + "presets": ["mcs-lite"] } } diff --git a/packages/mcs-lite-design/package.json b/packages/mcs-lite-design/package.json index fb76bbebc..0d1f69581 100644 --- a/packages/mcs-lite-design/package.json +++ b/packages/mcs-lite-design/package.json @@ -9,13 +9,12 @@ "email": "evenchange4@gmail.com" }, "homepage": "https://github.com/MCS-Lite/mcs-lite#readme", - "files": [ - "lib" - ], + "files": ["lib"], "scripts": { "clean": "rm -rf lib", "prebuild": "npm run clean && mkdir -p lib/icon", - "compress:svg": "svgo src/icon/*.svg -o 'lib/icon' --pretty --multipass --indent=2 --quiet", + "compress:svg": + "svgo src/icon/*.svg -o 'lib/icon' --pretty --multipass --indent=2 --quiet", "build": "npm run compress:svg", "test": "echo 'no'" }, diff --git a/packages/mcs-lite-icon/package.json b/packages/mcs-lite-icon/package.json index 832d1376d..5af673f07 100644 --- a/packages/mcs-lite-icon/package.json +++ b/packages/mcs-lite-icon/package.json @@ -9,9 +9,7 @@ "email": "evenchange4@gmail.com" }, "homepage": "https://github.com/MCS-Lite/mcs-lite#readme", - "files": [ - "lib" - ], + "files": ["lib"], "main": "lib/index.js", "scripts": { "clean": "rm -rf lib", diff --git a/packages/mcs-lite-landing-web/package.json b/packages/mcs-lite-landing-web/package.json index 1c32214f3..b8fe1d465 100644 --- a/packages/mcs-lite-landing-web/package.json +++ b/packages/mcs-lite-landing-web/package.json @@ -16,8 +16,10 @@ "build:netlify": "REACT_APP_GA_ID='UA-58128356-6' npm run build", "test": "CI=true react-scripts test --env=jsdom --coverage --runInBand", "test:watch": "react-scripts test --env=jsdom", - "extract:messages": "react-intl-cra 'src/**/*.js' -o '../mcs-lite-translation/src/mcs-lite-landing-web/messages.json'", - "extract:pot": "react-intl-po json2pot '../mcs-lite-translation/src/mcs-lite-landing-web/messages.json' -o '../mcs-lite-translation/src/mcs-lite-landing-web/messages.pot'" + "extract:messages": + "react-intl-cra 'src/**/*.js' -o '../mcs-lite-translation/src/mcs-lite-landing-web/messages.json'", + "extract:pot": + "react-intl-po json2pot '../mcs-lite-translation/src/mcs-lite-landing-web/messages.json' -o '../mcs-lite-translation/src/mcs-lite-landing-web/messages.pot'" }, "reactSnap": { "inlineCss": false, diff --git a/packages/mcs-lite-mobile-web/package.json b/packages/mcs-lite-mobile-web/package.json index 5b9abee2c..b2779f717 100644 --- a/packages/mcs-lite-mobile-web/package.json +++ b/packages/mcs-lite-mobile-web/package.json @@ -10,9 +10,7 @@ }, "license": "MIT", "homepage": "http://localhost:3000/mobile", - "files": [ - "build" - ], + "files": ["build"], "proxy": { "/api": { "target": "http://localhost:3000" @@ -23,11 +21,14 @@ }, "scripts": { "start": "react-scripts start", - "build": "REACT_APP_VERSION=$(node -pe 'require(\"./package.json\").version') react-scripts build", + "build": + "REACT_APP_VERSION=$(node -pe 'require(\"./package.json\").version') react-scripts build", "test": "CI=true react-scripts test --env=jsdom --coverage --runInBand", "test:watch": "react-scripts test --env=jsdom", - "extract:messages": "react-intl-cra 'src/**/*.js' -o '../mcs-lite-translation/src/mcs-lite-mobile-web/messages.json'", - "extract:pot": "react-intl-po json2pot '../mcs-lite-translation/src/mcs-lite-mobile-web/messages.json' -o '../mcs-lite-translation/src/mcs-lite-mobile-web/messages.pot'", + "extract:messages": + "react-intl-cra 'src/**/*.js' -o '../mcs-lite-translation/src/mcs-lite-mobile-web/messages.json'", + "extract:pot": + "react-intl-po json2pot '../mcs-lite-translation/src/mcs-lite-mobile-web/messages.json' -o '../mcs-lite-translation/src/mcs-lite-mobile-web/messages.pot'", "prepack": "npm run build" }, "devDependencies": { diff --git a/packages/mcs-lite-scripts/package.json b/packages/mcs-lite-scripts/package.json index 5e3d18a50..a3410524d 100644 --- a/packages/mcs-lite-scripts/package.json +++ b/packages/mcs-lite-scripts/package.json @@ -9,10 +9,7 @@ "email": "evenchange4@gmail.com" }, "homepage": "https://github.com/MCS-Lite/mcs-lite#readme", - "files": [ - "lib", - "bin" - ], + "files": ["lib", "bin"], "license": "MIT", "bin": { "exports-all": "bin/exports-all.js", @@ -39,8 +36,6 @@ "babel-cli": "6.26.0" }, "babel": { - "presets": [ - "mcs-lite" - ] + "presets": ["mcs-lite"] } } diff --git a/packages/mcs-lite-theme/package.json b/packages/mcs-lite-theme/package.json index 446b9e86f..55becc5f1 100644 --- a/packages/mcs-lite-theme/package.json +++ b/packages/mcs-lite-theme/package.json @@ -9,9 +9,7 @@ "email": "evenchange4@gmail.com" }, "homepage": "https://github.com/MCS-Lite/mcs-lite#readme", - "files": [ - "lib" - ], + "files": ["lib"], "main": "lib/index.js", "scripts": { "clean": "rm -rf lib", @@ -28,8 +26,6 @@ "d3-color": "^1.0.3" }, "babel": { - "presets": [ - "mcs-lite" - ] + "presets": ["mcs-lite"] } } diff --git a/packages/mcs-lite-translation/package.json b/packages/mcs-lite-translation/package.json index 48d83a16c..ad0079344 100644 --- a/packages/mcs-lite-translation/package.json +++ b/packages/mcs-lite-translation/package.json @@ -9,9 +9,7 @@ "email": "evenchange4@gmail.com" }, "homepage": "https://github.com/MCS-Lite/mcs-lite#readme", - "files": [ - "lib" - ], + "files": ["lib"], "main": "lib", "scripts": { "clean": "rm -rf lib", diff --git a/packages/mcs-lite-ui/package.json b/packages/mcs-lite-ui/package.json index a612207cf..858bf9709 100644 --- a/packages/mcs-lite-ui/package.json +++ b/packages/mcs-lite-ui/package.json @@ -9,9 +9,7 @@ "email": "evenchange4@gmail.com" }, "homepage": "https://github.com/MCS-Lite/mcs-lite#readme", - "files": [ - "lib" - ], + "files": ["lib"], "main": "lib/index.js", "license": "MIT", "scripts": { @@ -19,7 +17,8 @@ "start": "start-storybook -p 6006", "build-storybook": "build-storybook", "prebuild": "npm run clean", - "build": "NODE_ENV=production babel src --out-dir lib --ignore example.js,test.js", + "build": + "NODE_ENV=production babel src --out-dir lib --ignore example.js,test.js", "createEntryFile": "exports-all 'lib/[A-Z]*' 'lib/index.js'", "postbuild": "npm run createEntryFile", "test": "NODE_ENV='test' TZ='UTC' jest --coverage --runInBand", @@ -32,10 +31,7 @@ "!src/**/*.test.{js,jsx}", "!src/**/*.example.{js,jsx}" ], - "testPathIgnorePatterns": [ - "/node_modules/", - "/lib/" - ] + "testPathIgnorePatterns": ["/node_modules/", "/lib/"] }, "devDependencies": { "@storybook/addon-actions": "3.4.5", diff --git a/packages/react-intl-inject-hoc/package.json b/packages/react-intl-inject-hoc/package.json index c265f9741..31ab73db5 100644 --- a/packages/react-intl-inject-hoc/package.json +++ b/packages/react-intl-inject-hoc/package.json @@ -9,9 +9,7 @@ "email": "evenchange4@gmail.com" }, "homepage": "https://github.com/MCS-Lite/mcs-lite#readme", - "files": [ - "lib" - ], + "files": ["lib"], "main": "lib/index.js", "scripts": { "clean": "rm -rf lib", @@ -35,8 +33,6 @@ "mcs-lite-scripts": "^0.3.40" }, "babel": { - "presets": [ - "mcs-lite" - ] + "presets": ["mcs-lite"] } }