Skip to content

Commit

Permalink
Updated to 2.0.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsoderberghp committed Mar 26, 2018
1 parent 10f64a7 commit f05d179
Show file tree
Hide file tree
Showing 5 changed files with 190 additions and 148 deletions.
6 changes: 3 additions & 3 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "grommet",
"version": "2.0.0-alpha.13",
"version": "2.0.0-beta.1",
"main": "index.js",
"module": "es6/index.js",
"jsnext:main": "es6/index.js",
Expand All @@ -20,10 +20,10 @@
},
"engine-strict": true,
"engines": {
"node": ">= 4.4.0"
"node": ">= 6.11.5"
},
"scripts": {
"postinstall": "node ./tools/warn-alpha",
"postinstall": "node ./tools/warn-beta",
"generate-readme": "babel-node ./tools/generate-readme",
"build": "webpack --mode production && babel ./src/js/ --ignore '__tests__' --out-dir ./dist && cross-env BABEL_ENV=es6 babel ./src/js/ --ignore '__tests__' --out-dir ./dist/es6",
"release-stable": "babel-node ./tools/release-stable",
Expand Down
Expand Up @@ -95,6 +95,7 @@ exports[`Markdown renders 1`] = `
>
<h1
className="c1"
id="h1"
>
H1
</h1>
Expand All @@ -105,16 +106,19 @@ exports[`Markdown renders 1`] = `
</p>
<h2
className="c3"
id="h2"
>
H2
</h2>
<h3
className="c4"
id="h3"
>
H3
</h3>
<h4
className="c5"
id="h4"
>
H4
</h4>
Expand Down
7 changes: 0 additions & 7 deletions tools/warn-alpha.js

This file was deleted.

7 changes: 7 additions & 0 deletions tools/warn-beta.js
@@ -0,0 +1,7 @@
const emoji = require('node-emoji');

console.log(
emoji.emojify(
':warning: You are installing Grommet v2 beta. There may be small API changes without notice.'
)
);

0 comments on commit f05d179

Please sign in to comment.