@progress/kendo-package-tasks 4.0.47-dev.0 → 4.0.47-dev.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -11
- package/{gulp-tasks.js → index.js} +11 -9
- package/karma.conf.js +5 -5
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
[](https://badge.fury.io/js/%40telerik%2Fkendo-package-tasks)
|
|
1
|
+
](https://badge.fury.io/js/%40telerik%2Fkendo-package-tasks)
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
# Kendo UI Package Tasks
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
- `gulp test --tests="test/foo.js"`—Runs a specific test.
|
|
8
|
-
- `gulp watch-test`—Runs the tests in a continuous mode.
|
|
9
|
-
- `gulp e2e`—Runs the e2e tests (a single run).
|
|
10
|
-
- `gulp e2e --tests="e2e/foo.js"`—Runs a specific e2e test.
|
|
11
|
-
- `gulp watch-e2e`—Runs the e2e tests in a continuous mode.
|
|
12
|
-
- `gulp build-npm-package`—Packages the component in a format that is suitable for publishing as an NPM package (a common.js module).
|
|
5
|
+
This package contains the build and packaging utilities.
|
|
13
6
|
|
|
14
|
-
*Copyright ©
|
|
7
|
+
*Copyright © 2025 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
|
|
@@ -6,11 +6,11 @@ const commonTasks = require('@progress/kendo-common-tasks');
|
|
|
6
6
|
const jasmine = require('gulp-jasmine');
|
|
7
7
|
const path = require('path');
|
|
8
8
|
const merge = require('merge2');
|
|
9
|
-
const rimraf = require('rimraf');
|
|
10
|
-
const rollup = require('rollup
|
|
11
|
-
const rollupBuble = require('rollup
|
|
9
|
+
const { rimraf } = require('rimraf');
|
|
10
|
+
const rollup = require('@rollup/stream');
|
|
11
|
+
const rollupBuble = require('@rollup/plugin-buble');
|
|
12
12
|
const source = require('vinyl-source-stream');
|
|
13
|
-
const specReporter = require('jasmine-spec-reporter');
|
|
13
|
+
const specReporter = require('jasmine-spec-reporter').SpecReporter;
|
|
14
14
|
const webpackConfig = require('./webpack.config.js');
|
|
15
15
|
const argv = require('yargs').argv;
|
|
16
16
|
|
|
@@ -61,7 +61,7 @@ module.exports = function(gulp, libraryName, options) {
|
|
|
61
61
|
gulp.task('watch-e2e', (done) =>
|
|
62
62
|
startKarma(done, e2eConfigPath, false));
|
|
63
63
|
|
|
64
|
-
gulp.task('clean-es-bundle', (
|
|
64
|
+
gulp.task('clean-es-bundle', async() => await rimraf('dist/es'));
|
|
65
65
|
gulp.task('es-bundle', () =>
|
|
66
66
|
gulp.src(SRC)
|
|
67
67
|
.pipe(buble({
|
|
@@ -97,7 +97,7 @@ module.exports = function(gulp, libraryName, options) {
|
|
|
97
97
|
.filter((other) => other !== entry)
|
|
98
98
|
.map(ext => path.resolve('./src/' + ext));
|
|
99
99
|
|
|
100
|
-
gulp.task('clean-cjs-bundle', (
|
|
100
|
+
gulp.task('clean-cjs-bundle', async() => await rimraf('dist/npm'));
|
|
101
101
|
|
|
102
102
|
gulp.task('bundle-typings', series('clean-cjs-bundle', () =>
|
|
103
103
|
gulp.src(TYPINGS)
|
|
@@ -107,10 +107,12 @@ module.exports = function(gulp, libraryName, options) {
|
|
|
107
107
|
gulp.task('cjs-bundle', series('clean-cjs-bundle', 'bundle-typings', () => {
|
|
108
108
|
const tasks = entries.map((entry) =>
|
|
109
109
|
rollup({
|
|
110
|
-
|
|
110
|
+
input: 'src/' + entry,
|
|
111
111
|
external: externals(entry),
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
output: {
|
|
113
|
+
format: 'cjs',
|
|
114
|
+
sourcemap: true,
|
|
115
|
+
},
|
|
114
116
|
plugins: [
|
|
115
117
|
rollupBuble({
|
|
116
118
|
objectAssign: 'Object.assign'
|
package/karma.conf.js
CHANGED
|
@@ -25,15 +25,15 @@ let karmaConfig = function(config, webpackConfig, bundleFile) {
|
|
|
25
25
|
|
|
26
26
|
client: {
|
|
27
27
|
jasmine: {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
random: false,
|
|
29
|
+
timeoutInterval: 1000
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
|
|
33
33
|
plugins: [
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
'karma-webpack',
|
|
35
|
+
'karma-jasmine',
|
|
36
|
+
'karma-chrome-launcher'
|
|
37
37
|
],
|
|
38
38
|
|
|
39
39
|
exclude: [ ],
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-package-tasks",
|
|
3
3
|
"description": "An utility package exporting gulp tasks for Kendo UI NPM packages",
|
|
4
|
-
"version": "4.0.47-dev.
|
|
4
|
+
"version": "4.0.47-dev.18+dd63893",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-build-tasks.git"
|
|
8
8
|
},
|
|
9
|
-
"main": "
|
|
9
|
+
"main": "index.js",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "./node_modules/.bin/eslint ."
|
|
12
12
|
},
|
|
@@ -14,33 +14,33 @@
|
|
|
14
14
|
"Kendo UI"
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@progress/kendo-common-tasks": "8.0.7-dev.
|
|
17
|
+
"@progress/kendo-common-tasks": "8.0.7-dev.18+dd63893",
|
|
18
|
+
"@rollup/plugin-buble": "^1.0.3",
|
|
19
|
+
"@rollup/stream": "^3.0.1",
|
|
18
20
|
"buble": "^0.20.0",
|
|
19
21
|
"buble-loader": "^0.5.1",
|
|
20
|
-
"chai": "^
|
|
22
|
+
"chai": "^5.1.2",
|
|
21
23
|
"chai-jquery": "^2.0.0",
|
|
22
24
|
"gulp-buble": "^0.9.0",
|
|
23
|
-
"gulp-jasmine": "^
|
|
25
|
+
"gulp-jasmine": "^4.0.0",
|
|
24
26
|
"jasmine-reporters": "^2.1.1",
|
|
25
|
-
"jasmine-spec-reporter": "^
|
|
26
|
-
"jquery": "^
|
|
27
|
+
"jasmine-spec-reporter": "^7.0.0",
|
|
28
|
+
"jquery": "^3.7.1",
|
|
27
29
|
"karma": "^6.3.20",
|
|
28
30
|
"karma-chrome-launcher": "^3.1.1",
|
|
29
31
|
"karma-jasmine": "^5.0.1",
|
|
30
32
|
"karma-webpack": "^5.0.0",
|
|
31
33
|
"merge2": "1.0.3",
|
|
32
|
-
"rimraf": "^
|
|
33
|
-
"
|
|
34
|
-
"rollup-stream": "1.14.0",
|
|
35
|
-
"source-map-loader": "^0.1.5",
|
|
34
|
+
"rimraf": "^6.0.1",
|
|
35
|
+
"source-map-loader": "^5.0.0",
|
|
36
36
|
"vinyl-buffer": "1.0.1",
|
|
37
37
|
"vinyl-source-stream": "2.0.0",
|
|
38
|
-
"yargs": "^
|
|
38
|
+
"yargs": "^17.7.2"
|
|
39
39
|
},
|
|
40
40
|
"author": "Telerik",
|
|
41
41
|
"license": "Apache-2.0",
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "dd63893024483babdc25e4a82da282dec34ac2a2"
|
|
46
46
|
}
|