Commit Graph

150 Commits

Author SHA1 Message Date
Evgeny Kochetkov
542127e14f chore(infra): apply eslint/prettier to 'tools' and 'benchmark' folders 2018-03-20 15:50:37 +03:00
Evgeny Kochetkov
c51fdf6787 feat(infra): set up prettier 2018-03-05 17:59:02 +03:00
Victor Nakoryakov
4f0cdcf449 chore(infra): fix few peer dependency warnings
- `mocha-webpack`: delete as it actually no longer used
- `react-sortable-hoc`: upgrade to the new version
- `react-event-listener`: upgrade to the new version
2018-01-22 12:52:36 +03:00
Victor Nakoryakov
1111fbcae4 chore(xod-client): upgrade postcss-loader
Fixes `parseQuery` deprecation warning while building `xod-client-*`
2018-01-22 12:52:36 +03:00
Victor Nakoryakov
c90cc2e721 chore(infra): make build output streaming 2018-01-22 12:52:36 +03:00
Victor Nakoryakov
56b799814a chore(infra): update Lerna to 2.8.0
It fixes the bug of using NPM instead of Yarn while doing `lerna run`
2018-01-22 12:52:36 +03:00
Victor Nakoryakov
700543ad51 chore(infra): add Flow 2018-01-18 15:32:07 +03:00
Victor Nakoryakov
133e880523 chore(infra): update Lerna to 2.6.0
Defeats very repetitive and verbose output in case of an error like
unit-test failure
2018-01-18 15:32:07 +03:00
Victor Nakoryakov
b1f88bb472 chore(infra): add yarn xodc command 2018-01-18 15:32:07 +03:00
Kirill Shumilov
d2027e79b3 chore(xod): update Webpack to v3 (bundle reduced x2), update Ramda versions, prepare it for further updates
Squashed commits:
[af77987] refactor(xod-client, xod-client-browser, xod-client-electron): move common webpack config into xod-client, and extend it with specific options in other endpoint clients (browser/electron)
[ddae62d] chore(xod): update `hm-def` to latest `0.2.1` version (that uses the same Ramda version)
[5d80680] chore(xod): prepare all Ramda imports and some functions to migrate to 0.25.1 to be optimized better by tree-shaker (0.25.0 already has a features for better tree shaking, but it has a lot of bugs and perfomance regressions, so we’ll stay at 0.24.1 for a while)
[9c05d6c] chore(xod-client-browser, xod-client-electron): enable UglifyJS webpack plugin to eliminate dead code and minify bundle (7.8MB -> 3.8MB)
[cafbfcf] chore(xod, xod-client-browser, xod-client-electron): update webpack to version 3, update loaders,
2017-12-29 13:31:32 +03:00
Evgeny Kochetkov
1b020104e1 feat(xod-client, xod-client-electron): deployment pane
Closes #959
2017-12-26 14:00:38 +03:00
Evgeny Kochetkov
217589a4e4 infra(xod-client-browser): add UI performance benchmark using puppeteer 2017-12-11 12:43:18 +03:00
Kirill Shumilov
837f5f2f26 chore(xod): update spectron version 2017-11-30 18:08:07 +03:00
Victor Nakoryakov
0aed59d019 chore(infra): unify yarn subcommand naming 2017-11-20 15:02:47 +03:00
Evgeny Kochetkov
4c8131d18e tweak(infra): add ‘test-strict’ npm script to run tests with strict type checking 2017-11-15 13:11:42 +03:00
Victor Nakoryakov
8863fe360f chore(infra): remove obsolete root-level dev-dependencies 2017-11-01 16:49:19 +03:00
Victor Nakoryakov
893981a9e8 chore(lint): enforce warnings as errors, remove forgotten console.log 2017-10-30 15:51:14 +03:00
Evgeny Kochetkov
bd26bb2618 chore(infra): update node, yarn, lerna; use yarn workspaces
Closes #805
2017-10-21 10:00:44 +03:00
Evgeny Kochetkov
27cda357e0 infra(xod-client, xod-client-electron, xod-client-browser): add babel-plugin-transform-object-rest-spread 2017-08-30 14:44:58 +03:00
Victor Nakoryakov
364046e146 test(xod-arduino): add test on compiled firmware size 2017-08-24 18:08:23 +03:00
Victor Nakoryakov
3ba6ad5664 refactor(infra): remove code related to JS targets (Espruino & RPi) 2017-08-11 13:13:50 +03:00
Evgeny Kochetkov
cb6aea93b1 refactor(xod-client, xod-client-browser, xod-client-electron): move common index.html to xod-client package 2017-08-10 18:42:45 +03:00
Alexander Matsievsky
89f234e684 feat(xod-client-electron): enable xod-client-electron artifacts auto-update 2017-07-24 15:17:34 +03:00
Victor Nakoryakov
a74cdcb3ce chore(infra): directly invoke electron on start:xod-client-electron
This way any early console output doesn’t get supressed.
2017-07-13 16:05:16 +03:00
Victor Nakoryakov
b923aa56df chore(infra): switch back to lerna 2.0.0-rc.4
rc.5 breaks dependency resolution if yarn commands are scoped. E.g:
`yarn build -- xod-cli` does not build upstream dependencies in advance.
2017-07-13 16:05:16 +03:00
Alexander Matsievsky
950f3d715b feat(core,xod-arduino-builder,xod-cli,xod-client-electron,xod-fs): upgrade project to node v7.10.0
This allows to use http://node.green/#ES2017-features-async-functions without flags.
2017-07-12 16:08:43 +03:00
Alexander Matsievsky
aa1a301bc0 fix(infra): travis is broken
Closes #639.
2017-06-30 14:40:13 +03:00
Victor Nakoryakov
74249f366c doc(infra): apply AGPL-3.0 license 2017-06-26 15:20:57 +03:00
Evgeny Kochetkov
cbc4b920fa chore(infra): disable hm-def by default
Closes #600
2017-06-26 12:42:37 +03:00
Kirill Shumilov
7d4be6a931 feat(docs): move docs from private repo to this one, reorganize them and fix urls 2017-06-22 18:44:23 +03:00
Victor Nakoryakov
627cf16377 test(xod-client-electron): setup functional test tools 2017-05-30 17:21:53 +03:00
Evgeny Kochetkov
33ab4d3c25 infra(xod-client-browser, xod-client-electron): add sourcemaps preloader 2017-05-29 18:04:54 +03:00
Kirill Shumilov
4897acefa3 infra(xod): add eslint-plugin-mocha to prevent pushing skipped (.skip) or exclusive (.only) tests 2017-05-22 14:33:22 +03:00
Victor Nakoryakov
70fa4fcb26 chore(infra): remove dead code 2017-05-12 17:53:01 +03:00
Victor Nakoryakov
e14bee0c63 chore(appveyor): work around PowerShell stderr 2017-05-12 14:54:46 +03:00
Victor Nakoryakov
c32845bd1d fix(infra): absolutize lerna symlinks before electron-dist 2017-05-12 14:54:46 +03:00
Victor Nakoryakov
48f5587d91 refactor(infra): switch npm to yarn 2017-05-12 14:54:46 +03:00
Alexander Matsievsky
553f3dc5da feat(xod-client-electron): setup CI/CD (#504)
Closes #495.
2017-05-12 13:12:46 +03:00
Alexander Matsievsky
bf3b169b85 feat(xod-client-electron): building desktop XOD IDE distributives (#499)
Enable AppVeyor build.
Enable container-based Travis build.
Fix webpack configs for Windows.
Switch on `devtron` for developers only.

Closes #470.
2017-05-04 13:59:04 +03:00
Evgeny Kochetkov
5a715038f7 infra(*): use a fixed version of eslint-plugin-react until a bug is fixed
see https://github.com/yannickcr/eslint-plugin-react/issues/1118 for details
2017-03-20 15:19:45 +03:00
Evgeny Kochetkov
0448ea49b5 infra(xod-client, xod-client-browser, xod-client-electron): upgrade react to 15.4.2, get rid of react-hot-loader
Benefits of a fresher version of React don't need an explanation :)

And `react-hot-loader` was not doing anything for us — page was fully reloaded on every change anyway.
2017-03-02 19:51:06 +03:00
Evgeny Kochetkov
d7d5d655a3 infra(xod-client): add test:watch npm script 2017-02-28 13:38:26 +03:00
Evgeny Kochetkov
344e0b35f9 feature(xod-client): set up react-storybook
- `npm run storybook`
- open http://localhost:9001/
2017-02-28 13:16:14 +03:00
Victor Nakoryakov
675fa2bd69 chore(infra): add max-composition-depth eslint rule (max 11 now) 2017-01-24 11:27:57 +03:00
Kirill Shumilov
52b3ee53b3 refactor(xod-client): enable linting of jsx, disable react/forbig-prop-types rule and fix some linting errors 2017-01-16 19:48:46 +03:00
Kirill Shumilov
351e408e72 feat(package): add istanbul (via nyc) code coverage, but it isn’t works fine with pointfree functions 2016-12-14 20:28:09 +03:00
Victor Nakoryakov
e2e4961ea3 refactor(infra): remove extraneous dependency - concurrently 2016-12-14 11:19:37 +03:00
Victor Nakoryakov
70ff3712fa fix(infra): recover all dev scripts of packages 2016-12-14 11:18:14 +03:00
Victor Nakoryakov
90578b600b refactor(infra): split lerna tools in modules under tools/ 2016-12-13 13:35:41 +03:00
Victor Nakoryakov
d1bc8a9975 refactor(infra): clean up package.json’s 2016-12-12 19:45:18 +03:00