From 6134c1b49f919dd2c578bc490829d68e4d210f4e Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Mon, 18 Mar 2019 03:28:03 -0700 Subject: Release/5.0.1 beta.1 (#1344) * Add lerna * Add theme * Add forms * Add misty config to build theme & forms * reset packages version * Publish - @meetfranz/forms@1.0.0 - @meetfranz/theme@1.0.0 * Reset package version * restructure packages * try ci with lerna * Fix missing packages in build * move storybook to root + typescript TODO: fix modules * Add lerna instructions * Merge * wip * Make packages work in electron, node and web * Finalize packages & replace storybook with homegrown `uidev` * Bring package-lock back in sync * Publish - @meetfranz/forms@1.0.1 - @meetfranz/theme@1.0.1 * fix webpack issue * expose legacy styles * Add toggle element to @meetfranz/forms * start typings package * Update package.json * Add buttons * Update theme * add types * Add mdi icons to buttons * Publish - @meetfranz/forms@1.0.2 - @meetfranz/theme@1.0.2 - @meetfranz/typings@0.0.1 * Button, add missing success state * Update lerna packages * Try to disable automatic npm ci * Try to get a working bundle * Add href and type to button component * Update packages * update versions * cleanup * Update package versions [ci skip] * Update versions * Add withTheme context to button * Update & reuse electron-rebuild * feat(Windows): Add option to quit Franz from Taskbar icon * Add missing withTheme * Fix package versions * Update versions * Add pageview event * Simplify analytics calls * Pin gulp-sass-variables to 1.1.1 * Add onFocus event * Add modal overlay color * remove legacy theme files * remove code * Add dialog to share franz on social media * Fix service count * remove ping * replace ms time strings with ms module * remove unused packages * fix value setter * new payment flow * fix module reference * feat(Spell check): Add en-gb spell check languages (#1306) * move devmode info * fix(Windows): Fix losing window when "Keep Franz in background" is enabled * fix(Service): Fix service zoom (cmd/ctrl+ & cmd/ctrl-) * fixes appveyor build issue * feat(App): Update electron to 4.0.7 * ignore intellij idea project files * Automatic i18n update (i18n.meetfranz.com) * feat(App): Add security checks for external URLs * setup react-intl translations managing script * use same zooming logic for all os * feat(Linux): Add auto updater for Linux AppImage builds * Add ctrl+ for zoom in on Windows * move translation scripts into src/i18n folder * only manage en-US translations * manage translations before git pushes * Fix unused i18n strings * Bump version to 5.0.1-beta.1 * fix(Service) shortcuts for activating prev/next service fixes #1298 * fix(Service): Fix shortcut for (un)muting notifications & audio * add missing react-intl files * correctly update services submenu on language change * fix(Windows): Fix copy & paste in service context menus Closes #1316 * fix(Linux): Fix minimized window focusing (#1304) (@skoruppa) * trigger build * Check if window is minimized before restoring it * restore() should be executed only when window is minimized * fix(Notifications): Fix notifications & notification click when icon is blob * Fix/service webview unmounting (#1328) * detach service when underlying webview unmounts * disable no-param-reassign eslint rule * Add notification debug events * Update electron to 4.0.8 Update required in order to fix performance degradation due to memory leak issue https://github.com/electron/electron/pull/16772. * Automatic i18n update (i18n.meetfranz.com) * Automatic i18n update (i18n.meetfranz.com) * 5.0.1-beta.1 --- package.json | 66 ++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 46 insertions(+), 20 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 633fa678f..ec135ca77 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "franz", "productName": "Franz", "appId": "com.meetfranz.franz", - "version": "5.0.0", + "version": "5.0.1-beta.1", "description": "Messaging app for WhatsApp, Slack, Telegram, HipChat, Hangouts and many many more.", "copyright": "adlk x franz - Stefan Malzner", "main": "index.js", @@ -16,13 +16,17 @@ "start:live": "cross-env LIVE_API=1 npm start", "dev": "cross-env NODE_ENV=development gulp dev", "lint": "eslint src", + "manage-translations": "node ./src/i18n/manage-translations.js", "sign": "gulp sign", "prebuild": "gulp build", "build": "npx electron-builder --publish onTag", - "rebuild": "npx electron-builder install-app-deps", + "rebuild": "npx electron-rebuild", "commit": "git-cz", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", - "reformat-files": "npx prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"" + "reformat-files": "./node_modules/.bin/prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"", + "packages": "npx lerna publish --no-git-tag-version", + "uidev": "cd uidev && webpack-dev-server", + "postinstall": "npx lerna run prepare" }, "keywords": [], "author": "Stefan Malzner ", @@ -31,11 +35,13 @@ "@babel/polyfill": "^7.0.0", "@babel/runtime": "^7.0.0", "@meetfranz/electron-notification-state": "^1.0.0", + "@meetfranz/forms": "file:packages/forms", + "@meetfranz/theme": "file:packages/theme", + "@meetfranz/ui": "file:packages/ui", "address-rfc2822": "^2.0.1", "auto-launch": "https://github.com/meetfranz/node-auto-launch.git", "classnames": "2.2.6", "cld3-asm": "1.0.1", - "debug-electron": "^0.0.4", "du": "^0.1.0", "electron-dl": "1.12.0", "electron-fetch": "1.3.0", @@ -45,26 +51,21 @@ "electron-updater": "4.0.6", "electron-window-state": "5.0.3", "fs-extra": "7.0.1", - "gulp-cli": "1.2.2", "hex-to-rgba": "1.0.2", - "ini": "^1.3.4", "jsonwebtoken": "^7.4.1", - "keymaster": "^1.6.2", "lodash": "^4.17.4", "mdi": "^1.9.33", "mime-types": "2.1.21", - "minimist": "^1.2.0", - "mkdirp": "^0.5.1", "mobx": "5.7.0", "mobx-localstorage": "1.1.0", "mobx-react": "5.4.2", "mobx-react-form": "1.35.1", "mobx-react-router": "3.1.2", "moment": "^2.17.1", + "ms": "2.1.1", "normalize-url": "^1.9.1", "pretty-bytes": "^4.0.2", "prop-types": "^15.5.10", - "prop-types-extended": "^0.2.1", "react": "16.6.3", "react-addons-css-transition-group": "15.6.2", "react-dom": "16.6.3", @@ -86,7 +87,7 @@ "devDependencies": { "@adlk/misty": "^0.1.1", "@babel/cli": "7.0.0", - "@babel/core": "7.0.0", + "@babel/core": "^7.2.2", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-decorators": "^7.0.0", "@babel/plugin-proposal-export-default-from": "^7.0.0", @@ -96,32 +97,57 @@ "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "@babel/register": "7.0.0", + "@types/classnames": "^2.2.6", + "@types/color": "^3.0.0", + "@types/color-convert": "^1.9.0", + "@types/jss": "^9.5.7", + "@types/lodash": "^4.14.119", + "@types/react": "^16.7.18", + "@types/react-dom": "16.0.11", + "@types/react-jss": "^8.6.0", + "@types/uuid": "3.4.4", "babel-eslint": "10.0.1", + "babel-loader": "^8.0.4", + "babel-plugin-react-intl": "3.0.1", "conventional-changelog-cli": "2.0.11", "cross-env": "^5.0.5", "cz-conventional-changelog": "2.1.0", "dotenv": "^4.0.0", - "electron": "4.0.4", + "electron": "4.0.8", "electron-builder": "20.38.4", - "electron-rebuild": "^1.6.0", + "electron-rebuild": "1.8.4", "eslint": "5.10.0", "eslint-config-airbnb": "17.1.0", "eslint-loader": "^1.9.0", "eslint-plugin-import": "2.14.0", "eslint-plugin-jsx-a11y": "6.1.2", "eslint-plugin-react": "7.11.1", + "expect.js": "0.3.1", "gulp": "^4.0.0", "gulp-babel": "^8.0.0", + "gulp-cli": "1.2.2", "gulp-sass": "^4.0.2", - "gulp-sass-variables": "^1.1.1", + "gulp-sass-variables": "1.1.1", "gulp-server-livereload": "^1.9.2", "hex-rgb": "3.0.0", + "html-webpack-plugin": "4.0.0-beta.5", "husky": "^1.1.4", - "install": "0.12.2", "kebab-case": "1.0.0", - "node-sass": "^4.7.2", - "npm": "6.5.0", - "prettier": "1.15.2" + "lerna": "^3.8.0", + "mobx-react-devtools": "6.0.3", + "mocha": "5.2.0", + "node-sass": "4.11.0", + "prettier": "1.15.2", + "react-intl-translations-manager": "5.0.3", + "terser-webpack-plugin": "1.2.1", + "ts-loader": "5.3.2", + "tslint": "5.12.0", + "tslint-config-airbnb": "5.11.1", + "typescript": "3.2.2", + "webpack": "4.28.3", + "webpack-cli": "3.2.1", + "webpack-dev-server": "3.1.14", + "webpack-node-externals": "1.7.2" }, "config": { "commitizen": { @@ -129,11 +155,11 @@ } }, "browserslist": [ - "Chrome 66" + "Chrome 69" ], "husky": { "hooks": { - "pre-push": "npm run lint && npm run reformat-files" + "pre-push": "npm run lint && npm run reformat-files && npm run manage-translations" } } } -- cgit v1.2.3-54-g00ecf