瀏覽代碼

@grafana/ui: release (#17754)

* Specifying named exports for slate

* Make sure tests are performed at the beginning

* Version bump
Tobias Skarhed 6 年之前
父節點
當前提交
6be1606bd8
共有 3 個文件被更改,包括 13 次插入3 次删除
  1. 1 1
      packages/grafana-ui/package.json
  2. 11 1
      packages/grafana-ui/rollup.config.ts
  3. 1 1
      scripts/cli/tasks/grafanaui.release.ts

+ 1 - 1
packages/grafana-ui/package.json

@@ -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",

+ 11 - 1
packages/grafana-ui/rollup.config.ts

@@ -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(),

+ 1 - 1
scripts/cli/tasks/grafanaui.release.ts

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