Commit graph

160 commits

Author SHA1 Message Date
Cockpituous
31d628cffc package.json: Update core-js package dependency
Closes #238
2019-10-16 10:48:45 +02:00
Cockpituous
b9925f29c5 package.json: Update react package dependency
Closes #236
2019-10-10 06:59:02 +02:00
Cockpituous
e4420fd02e package.json: Update react-dom package dependency
Closes #235
2019-10-06 21:46:34 +02:00
Cockpituous
0a0fc14560 package.json: Update react-dom package dependency
Closes #234
2019-10-02 11:46:17 +02:00
Cockpituous
b57fe40296 package.json: Update react package dependency 2019-09-29 11:32:00 +02:00
Martin Pitt
b4cb5fe5c9 Bump po2json npm dependency
This gets rid of a deprecated transitive dependency:

    deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.

Closes #221
2019-09-11 09:37:56 +02:00
Martin Pitt
e7fc85c1b0 Bump chrome-remote-interface npm dependency 2019-09-11 09:37:56 +02:00
Martin Pitt
1dbe7337f4 Fix core-js npm dependency
We want pinned-down versions for runtime dependencies, and update them
with our bots.
2019-09-11 09:37:56 +02:00
Martin Pitt
171a30a691 Bump eslint to latest version
No source code changes necessary.
2019-09-11 09:37:56 +02:00
Cockpituous
e557e1d45a package.json: Update react-dom package dependency
Closes #217
2019-09-01 12:56:23 +02:00
Cockpituous
d0a2ebcf0e package.json: Update react package dependency
Closes #216
2019-08-28 20:10:41 +02:00
Martin Pitt
0cf6704708 Bump css-loader to current version
This also updates to a newer js-yaml, which addresses the current two
`npm audit` issues:

  - https://npmjs.com/advisories/788
  - https://npmjs.com/advisories/813
2019-07-17 17:43:01 +02:00
Martin Pitt
8fab928dcb Update babel to 7.5, and actually enable polyfills
@babel/polyfill is deprecated in ≥ 7.4 [1], and we never actually used
it as we forgot to import it [2]. Move to core-js/stable.

[1] https://babeljs.io/blog/2019/03/19/7.4.0#migration-from-core-js-2
[2] https://babeljs.io/docs/en/babel-polyfill#usage-in-node-browserify-webpack
2019-07-17 17:43:01 +02:00
Martin Pitt
1fc1923021 Rename *.es6 to *.js
*.es6 isn't standard naming, that was just an old cockpit-ism. All files
are treated as ES6.
2019-07-17 17:43:01 +02:00
Martin Pitt
077eba3ede Update to current eslint
This has a new rule `quote-props`, adjust the code accordingly:

    29:24  error  Unnecessarily quoted property 'hostname' found  quote-props
    32:29  error  Unnecessarily quoted property 'hostname' found  quote-props
2019-07-17 17:43:01 +02:00
Cockpituous
107ed4f82e package.json: Update node-sass package dependency
Closes #168
2019-05-01 20:29:15 +02:00
Cockpituous
418a690b9e package.json: Update @babel/polyfill package dependency
Closes #167
2019-04-28 10:49:15 +02:00
Cockpituous
018ec9d43c package.json: Update @babel/polyfill package dependency
Closes #160
2019-04-06 19:20:22 +02:00
Cockpit Bots
026275122f package.json: Update react-dom package dependency
Closes #157
2019-04-02 21:12:44 +02:00
Cockpit Bots
ca20146dbe package.json: Update react package dependency
Closes #156
2019-03-30 19:52:08 +01:00
Cockpit Bots
dd18561c58 package.json: Update react package dependency
Closes #155
2019-03-27 08:25:31 +01:00
Cockpit Bots
0f9b7e1e46 package.json: Update react-dom package dependency
Closes #154
2019-03-23 23:31:07 +01:00
Cockpit Bots
d4808563b5 package.json: Update @babel/polyfill package dependency
Closes #153
2019-03-20 07:40:28 +01:00
Cockpit Bots
88f759d3e7 package.json: Update react package dependency
Closes #151
2019-03-14 08:03:48 +01:00
Cockpit Bots
220b7d7c4f package.json: Update react-dom package dependency
Closes #150
2019-03-11 07:53:00 +01:00
Cockpit Bots
32f0e20ddb package.json: Update react-dom package dependency
Closes #131
2019-02-27 08:10:24 +01:00
Cockpit Bots
20cc5a2894 package.json: Update react package dependency
Closes #120
2019-02-24 08:08:08 +01:00
Cockpit Bots
d634cdd462 package.json: Update react package dependency
Closes #106
2019-02-20 23:30:10 +01:00
Cockpit Bots
0d1ca2d5a7 package.json: Update react-dom package dependency
Closes #105
2019-02-17 21:00:39 +01:00
Cockpit Bots
3ae93bd04e package.json: Update react package dependency
Closes #101
2019-02-11 14:07:49 +01:00
Cockpit Bots
d6e4c6be6e package.json: Update react-dom package dependency
Closes #100
2019-02-08 13:08:35 +01:00
Martin Pitt
f6430895c7
Move to latest eslint standard plugin
This fixes the three warnings that recently started to appear:

    [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard-react")
    [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "node_modules/eslint-config-standard-jsx/index.js")
    [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard")

Closes #99
2019-02-06 09:48:55 +01:00
bmustiata
81096b95ca Support watching for changing code
Closes #93
2019-01-28 14:22:45 +01:00
Cockpit Bots
a501ebb2bf package.json: Update @babel/polyfill package dependency (#76) 2018-12-31 13:11:37 +01:00
Cockpit Bots
00a9ba6814 package.json: Update react package dependency (#75) 2018-12-28 09:09:52 +01:00
Cockpit Bots
f475fff8f7 package.json: Update react-dom package dependency (#74) 2018-12-23 20:49:08 +01:00
Cockpit Bots
e107a82f2a package.json: Update react-dom package dependency
Closes #70
2018-12-14 17:12:21 +01:00
Cockpit Bots
02d631a18a package.json: Update node-sass package dependency
Closes #69
2018-12-11 15:15:13 +01:00
Cockpit Bots
4b3c740283 package.json: Update node-sass package dependency
Closes #68
2018-12-06 22:06:22 +01:00
Cockpit Bots
64d820c44f package.json: Update react package dependency (#66) 2018-12-03 21:13:16 +01:00
Marius Vollmer
c87b2839c1 Use specific versions in package.json
The Cockpit Bots will now propose updates.

Closes #54
2018-11-22 09:56:00 +01:00
Martin Pitt
5d73df67ee Bump React and chrome-remote-interface NPM dependencies
Closes #49
2018-10-29 10:23:01 +01:00
Kirill Glebov
d73a91232e Add eslint tasks and README
Closes #47
2018-09-27 13:40:08 +02:00
Martin Pitt
21e504403b Move to babel 7
Closes #41
2018-08-29 00:40:49 +02:00
Martin Pitt
8a73531374 Use full React instead of react-lite
This is the direction we are going in Cockpit, as react-lite falls
behind with API development and debuggability.

Closes #43
2018-08-29 00:40:16 +02:00
Martin Pitt
842a380766 Move to webpack 4
This has uglification built in.

Closes #42
2018-08-29 00:37:18 +02:00
Martin Pitt
133badfa3d Enable a lot of eslint options and plugins
Taken rules from Cockpit, which have been proven to be effective for
finding bugs and keeping clean code, and sensible (not taking
unreasonable effort to satisfy).

Fix code layout in app.jsx accordingly.

Closes #39
2018-08-28 22:57:52 +02:00
Martin Pitt
3922333029 Use eslint for everything
eslint is much more powerful and flexible than jshint, and we don't want
to promote writing new projects with pre-ES6 code.

As a side effect, this also avoids downloading PhantomJS (see
https://github.com/jshint/jshint/issues/3318), thereby cutting down
node_modules/ from 470 MB to 210 MB.
2018-08-28 22:57:52 +02:00
Lars Karlitski
7260f5c01f Add scss example
Closes #26
2018-06-22 11:15:57 +02:00
Martin Pitt
47e02ef136 Add i18n for HTML and manifest 2018-06-19 18:09:57 +02:00