* Specifying named exports for slate

* Make sure tests are performed at the beginning

* Version bump
pull/17759/head
Tobias Skarhed 6 years ago committed by GitHub
parent 0904607eda
commit 6be1606bd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/grafana-ui/package.json
  2. 12
      packages/grafana-ui/rollup.config.ts
  3. 2
      scripts/cli/tasks/grafanaui.release.ts

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

@ -23,7 +23,7 @@ const buildCjsPackage = ({ env }) => {
},
},
],
external: ['react', 'react-dom'],
external: ['react', 'react-dom', '@grafana/data'],
plugins: [
commonjs({
include: /node_modules/,
@ -44,6 +44,16 @@ const buildCjsPackage = ({ env }) => {
'omit',
],
'../../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(),

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

Loading…
Cancel
Save