Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gulp related packages (major) #46665

Merged
merged 29 commits into from
Oct 5, 2019
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6ccbe7e
Update gulp related packages
renovate-bot Sep 26, 2019
70d99a7
Merge branch 'master' of github.com:elastic/kibana into renovate/majo…
Sep 26, 2019
0e07b05
ts-ify and gulp4-ify x-pack tasks, remove unused canvas tasks
Sep 26, 2019
477618a
remove unnecessary gulp.TaskFunction usage
Sep 26, 2019
fcaa3bd
fix old references
Sep 26, 2019
89a0876
update renovate config
Sep 26, 2019
7ba65d9
Merge branch 'master' of github.com:elastic/kibana into renovate/majo…
Sep 26, 2019
76a92c3
Merge branch 'master' of github.com:elastic/kibana into renovate/majo…
Sep 26, 2019
c5820ab
move constants into helpers directory
Sep 26, 2019
b26755e
typo
Sep 26, 2019
f5a8884
Merge branch 'master' of github.com:elastic/kibana into renovate/majo…
Sep 27, 2019
058bf3c
compact tasks a bit, remove unnecessary paths
Sep 27, 2019
7d6b7b7
fix build directories
Sep 30, 2019
a3a8eab
Merge branch 'master' of github.com:elastic/kibana into renovate/majo…
Sep 30, 2019
8b4f3ca
Merge branch 'master' into renovate/major-gulp
elasticmachine Oct 1, 2019
5aa2473
Merge branch 'master' of github.com:elastic/kibana into renovate/majo…
Oct 1, 2019
fdf5548
Merge branch 'master' into renovate/major-gulp
elasticmachine Oct 3, 2019
e16eea9
Merge branch 'master' of github.com:elastic/kibana into renovate/majo…
Oct 3, 2019
15591cc
deprecate testonly task
Oct 3, 2019
31cfda4
rather than justifying an unjustifiable ts-ignore, ts-ify the importe…
Oct 3, 2019
c54b03e
Merge branch 'master' of github.com:elastic/kibana into renovate/majo…
Oct 4, 2019
14af392
update renovate config
Oct 4, 2019
5ddc5b7
Merge branch 'master' of github.com:elastic/kibana into renovate/majo…
Oct 4, 2019
5173591
update browser download tests to mock axios
Oct 4, 2019
ef4c268
add root index.d.ts to tsconfig
Oct 4, 2019
ae13958
Merge branch 'master' of github.com:elastic/kibana into renovate/majo…
Oct 5, 2019
3eb03da
export BrowserType
Oct 5, 2019
3ec4220
remove unnecessary `@ts-ignore`
Oct 5, 2019
3b41afb
use consistent casing
Oct 5, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/kbn-plugin-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"globby": "^8.0.1",
"gulp-babel": "^8.0.0",
"gulp-rename": "1.4.0",
"gulp-zip": "4.2.0",
"gulp-zip": "5.0.0",
"inquirer": "^1.2.2",
"minimatch": "^3.0.4",
"node-sass": "^4.9.4",
Expand Down
8 changes: 8 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,14 @@
'@types/color',
],
},
{
groupSlug: 'fancy-log',
groupName: 'fancy-log related packages',
packageNames: [
'fancy-log',
'@types/fancy-log',
],
},
{
groupSlug: 'file-saver',
groupName: 'file-saver related packages',
Expand Down
44 changes: 14 additions & 30 deletions x-pack/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,20 @@
* you may not use this file except in compliance with the Elastic License.
*/

require('@kbn/plugin-helpers').babelRegister();
require('dotenv').config({ silent: true });
require('../src/setup_node_env');

const path = require('path');
const gulp = require('gulp');
const mocha = require('gulp-mocha');
const multiProcess = require('gulp-multi-process');
const fancyLog = require('fancy-log');
const pkg = require('./package.json');
const { buildTask } = require('./tasks/build');
const { devTask } = require('./tasks/dev');
const { testTask, testBrowserTask, testBrowserDevTask, testServerTask } = require('./tasks/test');
const { prepareTask } = require('./tasks/prepare');

const buildDir = path.resolve(__dirname, 'build');
const buildTarget = path.resolve(buildDir, 'plugin');
const packageDir = path.resolve(buildDir, 'distributions');
const coverageDir = path.resolve(__dirname, 'coverage');

const gulpHelpers = {
buildDir,
buildTarget,
coverageDir,
log: fancyLog,
mocha,
multiProcess,
packageDir,
pkg,
// export the tasks that are runnable from the CLI
module.exports = {
build: buildTask,
dev: devTask,
prepare: prepareTask,
test: testTask,
testserver: testServerTask,
testbrowser: testBrowserTask,
'testbrowser-dev': testBrowserDevTask,
};

require('./tasks/build')(gulp, gulpHelpers);
require('./tasks/clean')(gulp, gulpHelpers);
require('./tasks/dev')(gulp, gulpHelpers);
require('./tasks/prepare')(gulp, gulpHelpers);
require('./tasks/report')(gulp, gulpHelpers);
require('./tasks/test')(gulp, gulpHelpers);
require('./legacy/plugins/canvas/tasks')(gulp, gulpHelpers);
51 changes: 0 additions & 51 deletions x-pack/legacy/plugins/canvas/tasks/helpers/babelhook.js

This file was deleted.

23 changes: 0 additions & 23 deletions x-pack/legacy/plugins/canvas/tasks/helpers/dom_setup.js

This file was deleted.

10 changes: 0 additions & 10 deletions x-pack/legacy/plugins/canvas/tasks/helpers/enzyme_setup.js

This file was deleted.

11 changes: 0 additions & 11 deletions x-pack/legacy/plugins/canvas/tasks/index.js

This file was deleted.

10 changes: 0 additions & 10 deletions x-pack/legacy/plugins/canvas/tasks/mocks/absoluteToParsedUrl.js

This file was deleted.

7 changes: 0 additions & 7 deletions x-pack/legacy/plugins/canvas/tasks/mocks/noop.js

This file was deleted.

13 changes: 0 additions & 13 deletions x-pack/legacy/plugins/canvas/tasks/mocks/stateStore.js

This file was deleted.

66 changes: 0 additions & 66 deletions x-pack/legacy/plugins/canvas/tasks/test.js

This file was deleted.

8 changes: 4 additions & 4 deletions x-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"kbn:bootstrap": "node legacy/plugins/canvas/scripts/storybook --clean",
"start": "gulp dev",
"build": "gulp build",
"testonly": "gulp testonly",
"testonly": "gulp test",
"test": "gulp test",
spalger marked this conversation as resolved.
Show resolved Hide resolved
"test:browser:dev": "gulp testbrowser-dev",
"test:browser": "gulp testbrowser",
Expand Down Expand Up @@ -56,10 +56,12 @@
"@types/d3-time": "^1.0.10",
"@types/d3-time-format": "^2.1.1",
"@types/elasticsearch": "^5.0.33",
"@types/fancy-log": "^1.3.1",
"@types/file-saver": "^2.0.0",
"@types/git-url-parse": "^9.0.0",
"@types/glob": "^7.1.1",
"@types/graphql": "^0.13.1",
"@types/gulp": "^4.0.6",
"@types/hapi__wreck": "^15.0.1",
"@types/history": "^4.7.3",
"@types/jest": "^24.0.18",
Expand Down Expand Up @@ -123,7 +125,6 @@
"copy-webpack-plugin": "^5.0.4",
"cypress": "^3.4.1",
"del": "^4.1.1",
"dotenv": "2.0.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-adapter-utils": "^1.12.0",
Expand All @@ -135,7 +136,7 @@
"graphql-codegen-introspection-template": "^0.13.0",
"graphql-codegen-typescript-resolvers-template": "^0.13.0",
"graphql-codegen-typescript-template": "^0.13.0",
"gulp": "3.9.1",
"gulp": "4.0.2",
"gulp-mocha": "^7.0.1",
"gulp-multi-process": "1.3.1",
"hapi": "^17.5.3",
Expand Down Expand Up @@ -163,7 +164,6 @@
"react-testing-library": "^6.0.0",
"redux-test-utils": "0.2.2",
"rsync": "0.6.1",
"run-sequence": "^2.2.1",
"sass-loader": "^7.3.1",
"sass-resources-loader": "^2.0.1",
"simple-git": "1.116.0",
Expand Down
36 changes: 0 additions & 36 deletions x-pack/tasks/build.js

This file was deleted.

Loading