Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Releases: grommet/grommet-cli

v5.1.0

28 Jul 18:35
@alansouzati alansouzati

Choose a tag to compare

  • Welcome eslint 4.3.0

  • Welcome Webpack 3.4.1

  • Updated dependencies

  • Now it is possible to run grommet check with 3 optional arguments:

    • grommet check -t: only runs test
    • grommet check -j: only runs js lint
    • grommet check -s: only runs sass lint
    • grommet check -j -s: only runs js lint and sass lint
 "scripts": {
 "dev": "cross-env NODE_ENV=development grommet pack",
 "dist": "cross-env NODE_ENV=production grommet pack",
 "lint": "grommet check -j",
 "lint:fix": "grommet check -j -- --fix",
 "sass-lint": "grommet check -s",
 "start": "npm run dev",
 "test": "cross-env NODE_ENV=test grommet check",
 "test:watch": "grommet check -t -- --watch",
 "test:update": "grommet check -t -- --update",
 },

You can notice that all arguments for eslint, sasslint, and jest are now passed through. For example:

grommet check -t -- --watch will run jest in watch mode.

Assets 2
Loading

v4.0.0

27 Jul 22:47
@alansouzati alansouzati

Choose a tag to compare

Welcome Jest 20.0.0 🎉

Loading

v3.1.1

01 Apr 00:08
@alansouzati alansouzati

Choose a tag to compare

  • Updated templates to use latest version of Sass loader
  • Updated app template to use React Router v4
Loading

v3.0.1

23 Mar 22:27
@alansouzati alansouzati

Choose a tag to compare

  • Added support for port entry in devServerConfig
Loading

v3.0.0

14 Feb 19:37
@alansouzati alansouzati

Choose a tag to compare

  • Welcome Webpack v2 🎉
  • Deprecated devServer.config.js and devServer.config.babel.js
    • Please move the content of this file to webpack.config.babel.js under the devConfig object

Migrating type=basic

Check out this new webpack config file

Migrating type=app

Check out this new webpack config file

Migrating type=docs

Check out this new webpack config file

Additional webpack v2 docs

https://webpack.js.org/guides/migrating/

Loading

v.2.2.2

14 Feb 19:34
@alansouzati alansouzati

Choose a tag to compare

  • Added json-loader to avoid problems with webpack v1

Big shout out to @edvinh for the contribution!

Loading

v2.2.1

13 Feb 22:01
@alansouzati alansouzati

Choose a tag to compare

  • Only delete dist content on production mode
  • Support for https on browser open

Big shout out to @coltonw for the contributions.

Loading

v2.2.0

31 Jan 07:05
@alansouzati alansouzati

Choose a tag to compare

You will need to modify your webpack.babel.config.js to include the following:

...
import webpack from 'webpack';
import CopyWebpackPlugin from 'copy-webpack-plugin';
...
let plugins = [
 new CopyWebpackPlugin([{ from: './public' }]),
 ...
];

Also remember to run npm install copy-webpack-plugin --save-dev

To verify this change you can run npm run dist or npm run dev.

Loading

v2.1.6

24 Jan 00:32
@alansouzati alansouzati

Choose a tag to compare

  • Added babel-cli to devDependencies

  • Added NODE_ENV=production to dist script in package.json.

    Make sure your package.json dist and start scripts are like follows:

     {
     "scripts": {
     "dist": "cross-env NODE_ENV=production grommet pack",
     "start": "npm run dist-server && npm run dist && node ./dist-server/server.js"
     }
     }

To verify this change you can run npm run dist or npm run start

Loading

v.2.1.5

23 Jan 23:26
@alansouzati alansouzati

Choose a tag to compare

  • Updated .eslint global properties.

See this file for the updated .eslint rules:

https://github.com/grommet/grommet-cli/blob/master/templates/app/.eslintrc

To verify the changes you can run npm check, if passes everything is good.

Loading
Previous 1
Previous

AltStyle によって変換されたページ (->オリジナル) /