@grafana/ui: release (#17754)

* Specifying named exports for slate

* Make sure tests are performed at the beginning

* Version bump
This commit is contained in:
Tobias Skarhed 2019-06-25 14:13:39 +02:00 committed by GitHub
parent 0904607eda
commit 6be1606bd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@grafana/ui", "name": "@grafana/ui",
"version": "6.3.0-alpha.0", "version": "6.3.0-alpha.1",
"description": "Grafana Components Library", "description": "Grafana Components Library",
"keywords": [ "keywords": [
"typescript", "typescript",

View File

@ -23,7 +23,7 @@ const buildCjsPackage = ({ env }) => {
}, },
}, },
], ],
external: ['react', 'react-dom'], external: ['react', 'react-dom', '@grafana/data'],
plugins: [ plugins: [
commonjs({ commonjs({
include: /node_modules/, include: /node_modules/,
@ -44,6 +44,16 @@ const buildCjsPackage = ({ env }) => {
'omit', 'omit',
], ],
'../../node_modules/react-color/lib/components/common': ['Saturation', 'Hue', 'Alpha'], '../../node_modules/react-color/lib/components/common': ['Saturation', 'Hue', 'Alpha'],
'../../node_modules/immutable/dist/immutable.js': [
'Set',
'Map',
'List',
'OrderedSet',
'is',
'Stack',
'Record',
],
'../../node_modules/esrever/esrever.js': ['reverse'],
}, },
}), }),
resolve(), resolve(),

View File

@ -115,7 +115,7 @@ const releaseTaskRunner: TaskRunner<ReleaseTaskOptions> = async ({
await ensureMasterBranch(); await ensureMasterBranch();
} }
runChecksAndTests(); await runChecksAndTests();
await execTask(buildTask)(); await execTask(buildTask)();