Commit graph

422 commits

Author SHA1 Message Date
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
Martin Pitt
7ce7b2b40b Add i18n support
Make the "Running on.." string translatable and copy the extraction and
conversion of JSX and PO files from Cockpit.
2018-06-19 14:40:45 +02:00
Martin Pitt
931e1be3c3 Add integration test using Cockpit test API
Closes #16
2018-03-09 10:13:03 +01:00
Lars Karlitski
03217f7fe8 Consistently name everything [cockpit-]starter-kit (#14) 2017-10-19 17:54:12 +02:00
Lars Karlitski
6bfe20fdcc Dist using git ls-files
This makes sure we always include all files in the repository when
disting.

Obsoletes webpack-with-stats, which had a bug anyway: it wasn't
reporting jslint errors.
2017-10-18 19:12:56 +02:00
Lars Karlitski
dd765787e8 Remove all remaining mentions of "subscriptions" 2017-10-18 16:42:54 +02:00
Marius Vollmer
4aa750a0fe Improve source package slightly
This moves us one step closer to a normal source package.  The sources
are now unpacked and we run "make install".  We still don't build
since we don't have all the necessary tools.

Also, most importantly, the source tarball now includes our actual
sources in addition to the prebuilt binaries.
2017-09-11 10:43:48 +02:00
Dominik Perpeet
26a7c0154c Compress distributed files 2017-07-26 10:33:14 +02:00
Dominik Perpeet
a01820e565 Add more sample content to subscriptions page 2017-07-26 10:33:14 +02:00
Dominik Perpeet
3f7ac60374 build: Update webpack config
Make building more convenient, add linting and distribute html files.
2017-06-20 07:41:52 -04:00
Sean Toner
811e3eebe0 initial commit. Created a basic webpack.config.js file, some basic .babelrc settings, and some notes on the build 2017-06-20 07:41:52 -04:00