@progress/kendo-common-tasks 8.0.7-dev.0 → 8.0.7-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 +2 -3
- package/index.js +5 -50
- package/package.json +13 -52
- package/docs-layout.hbs +0 -51
- package/docs-public/bootstrap.css +0 -6759
- package/docs-public/bootstrap.min.js +0 -7
- package/docs-public/codemirror/clike.min.js +0 -1
- package/docs-public/codemirror/codemirror.min.js +0 -5
- package/docs-public/codemirror/css.min.js +0 -1
- package/docs-public/codemirror/htmlmixed.min.js +0 -1
- package/docs-public/codemirror/javascript.min.js +0 -1
- package/docs-public/codemirror/jsx.min.js +0 -1
- package/docs-public/codemirror/php.min.js +0 -1
- package/docs-public/codemirror/runmode.min.js +0 -1
- package/docs-public/codemirror/xml.min.js +0 -1
- package/docs-public/docs.css +0 -208
- package/docs-public/docs.scss +0 -253
- package/docs-public/editor/angular/app/app.component.ts +0 -3
- package/docs-public/editor/angular/app/app.module.ts +0 -14
- package/docs-public/editor/angular/index.html +0 -32
- package/docs-public/editor/angular/main.ts +0 -15
- package/docs-public/editor/angular/polyfills.ts +0 -73
- package/docs-public/editor/angular/styles.css +0 -13
- package/docs-public/editor/builder/app/app.component.html +0 -1
- package/docs-public/editor/builder/app/app.component.ts +0 -17
- package/docs-public/editor/builder/app/app.css +0 -449
- package/docs-public/editor/builder/app/app.module.ts +0 -53
- package/docs-public/editor/builder/app/core/core.module.ts +0 -19
- package/docs-public/editor/builder/app/core/data/data-services.exports.ts +0 -71
- package/docs-public/editor/builder/app/core/data/data.service.ts +0 -183
- package/docs-public/editor/builder/app/core/data/odata-service-factory.ts +0 -23
- package/docs-public/editor/builder/app/core/data/odata.service.ts +0 -88
- package/docs-public/editor/builder/app/core/module.config.ts +0 -19
- package/docs-public/editor/builder/app/data/odata-provider/customer.config.ts +0 -17
- package/docs-public/editor/builder/app/data/odata-provider/customer.model.ts +0 -17
- package/docs-public/editor/builder/app/grid-demo.base.component.ts +0 -107
- package/docs-public/editor/builder/app/grid-demo.component.html +0 -37
- package/docs-public/editor/builder/app/grid-demo.component.ts +0 -1
- package/docs-public/editor/builder/app/shared/components/grid/grid.component.html +0 -5
- package/docs-public/editor/builder/app/shared/components/grid/grid.component.ts +0 -243
- package/docs-public/editor/builder/app/shared/services/grid-incell-editing.service.ts +0 -120
- package/docs-public/editor/builder/app/topSection.html +0 -12
- package/docs-public/editor/builder/app/topSection.ts +0 -25
- package/docs-public/editor/builder/assets/themes/metro.css +0 -18877
- package/docs-public/editor/builder/index.html +0 -14
- package/docs-public/editor/builder/main.ts +0 -14
- package/docs-public/editor/builder/polyfills.ts +0 -67
- package/docs-public/editor/builder/styles.css +0 -1
- package/docs-public/editor/builder/tsconfig.app.json +0 -13
- package/docs-public/editor/builder/typings.d.ts +0 -5
- package/docs-public/editor/react/app/main.jsx +0 -6
- package/docs-public/editor/react/index.html +0 -32
- package/docs-public/editor/vue/app/main.js +0 -5
- package/docs-public/editor/vue/index.html +0 -29
- package/docs-public/example-runner.js +0 -802
- package/docs-public/github.css +0 -99
- package/docs-public/snippets.js +0 -1722
- package/docs-public/tomorrow-night.css +0 -75
- package/docs-server.js +0 -152
- package/lint-slugs.js +0 -25
- package/markdown-serve/index.js +0 -10
- package/markdown-serve/parser.js +0 -234
- package/markdown-serve/resolver.js +0 -86
- package/markdown-serve/server.js +0 -370
- package/test/jest-setup.js +0 -2
- package/test/snippets.test.js +0 -373
package/README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
[](https://travis-ci.org/telerik/kendo-common-tasks)
|
|
2
1
|
[](https://badge.fury.io/js/%40telerik%2Fkendo-common-tasks)
|
|
3
2
|
|
|
4
3
|
# Kendo UI Common Tasks
|
|
5
4
|
|
|
6
|
-
This package contains the build and packaging utilities
|
|
5
|
+
This package contains the build and packaging utilities.
|
|
7
6
|
|
|
8
|
-
*Copyright ©
|
|
7
|
+
*Copyright © 2025 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
|
package/index.js
CHANGED
|
@@ -3,24 +3,19 @@
|
|
|
3
3
|
|
|
4
4
|
const path = require('path');
|
|
5
5
|
const _ = require('lodash');
|
|
6
|
-
const argv = require('yargs').argv;
|
|
7
6
|
const merge = require('merge2');
|
|
8
7
|
const named = require('vinyl-named');
|
|
9
8
|
const webpack = require('webpack');
|
|
10
9
|
const WebpackDevServer = require('webpack-dev-server');
|
|
11
10
|
const webpackStream = require('webpack-stream');
|
|
12
|
-
const BrowserSyncPlugin = require('browser-sync-webpack-plugin');
|
|
13
|
-
//BrowserSync will work only on first port
|
|
14
11
|
const listenAddress = process.env['LISTEN_ADDRESS'] || '0.0.0.0';
|
|
12
|
+
const listenPort = parseInt(process.env['LISTEN_PORT'] || '3000', 10);
|
|
15
13
|
const glob = require('glob');
|
|
16
14
|
const $ = require('gulp-load-plugins')();
|
|
17
15
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
18
|
-
const packageName = require('./package.json').name;
|
|
19
16
|
|
|
20
17
|
const verifyModules = require('./verify-modules');
|
|
21
18
|
const systemjsBundle = require('./systemjs-bundle/task');
|
|
22
|
-
const docsServer = require('./docs-server');
|
|
23
|
-
const lintSlugsTask = require('./lint-slugs');
|
|
24
19
|
|
|
25
20
|
const SRC = "src";
|
|
26
21
|
const SRC_EXT_GLOB = ".{jsx,ts,tsx,js}";
|
|
@@ -117,30 +112,11 @@ exports.webpackDevConfig = (config) => webpackCommonConfig({
|
|
|
117
112
|
filename: 'examples/[name].js'
|
|
118
113
|
},
|
|
119
114
|
|
|
120
|
-
devtool: 'cheap-module-
|
|
115
|
+
devtool: 'eval-cheap-module-source-map',
|
|
121
116
|
performance: {
|
|
122
117
|
hints: false
|
|
123
118
|
},
|
|
124
119
|
|
|
125
|
-
plugins: [
|
|
126
|
-
new BrowserSyncPlugin(
|
|
127
|
-
// BrowserSync options
|
|
128
|
-
{
|
|
129
|
-
open: false,
|
|
130
|
-
host: listenAddress,
|
|
131
|
-
port: 3000,
|
|
132
|
-
proxy: 'http://' + listenAddress + ':8888/'
|
|
133
|
-
},
|
|
134
|
-
// plugin options
|
|
135
|
-
{
|
|
136
|
-
// prevent BrowserSync from reloading the page
|
|
137
|
-
// and let Webpack Dev Server take care of this
|
|
138
|
-
reload: false
|
|
139
|
-
}
|
|
140
|
-
),
|
|
141
|
-
new webpack.HotModuleReplacementPlugin()
|
|
142
|
-
],
|
|
143
|
-
|
|
144
120
|
module: {
|
|
145
121
|
rules: config.rules,
|
|
146
122
|
noParse: config.noParse
|
|
@@ -157,7 +133,6 @@ exports.umdExportName = umdExportName;
|
|
|
157
133
|
|
|
158
134
|
exports.addTasks = (gulp, libraryName, srcGlob, webpackConfig, dtsGlob, options = {}) => { //eslint-disable-line max-params
|
|
159
135
|
const series = gulp.series;
|
|
160
|
-
const parallel = gulp.parallel;
|
|
161
136
|
|
|
162
137
|
const libraryClassName = umdExportName(libraryName);
|
|
163
138
|
|
|
@@ -237,12 +212,9 @@ exports.addTasks = (gulp, libraryName, srcGlob, webpackConfig, dtsGlob, options
|
|
|
237
212
|
}));
|
|
238
213
|
|
|
239
214
|
gulp.task("start", async() => {
|
|
240
|
-
const webpackPort = 3000;
|
|
241
|
-
const host = listenAddress;
|
|
242
|
-
|
|
243
215
|
function entryReducer(entry, filename) {
|
|
244
216
|
const key = path.basename(filename, path.extname(filename));
|
|
245
|
-
entry[key] = [ filename, './src/main' ];
|
|
217
|
+
entry[key] = [ './' + filename, './src/main' ];
|
|
246
218
|
|
|
247
219
|
return entry;
|
|
248
220
|
}
|
|
@@ -267,8 +239,8 @@ exports.addTasks = (gulp, libraryName, srcGlob, webpackConfig, dtsGlob, options
|
|
|
267
239
|
const server = new WebpackDevServer({
|
|
268
240
|
hot: true,
|
|
269
241
|
allowedHosts: 'all',
|
|
270
|
-
host,
|
|
271
|
-
port:
|
|
242
|
+
host: listenAddress,
|
|
243
|
+
port: listenPort,
|
|
272
244
|
static: {
|
|
273
245
|
directory: './',
|
|
274
246
|
publicPath: '/'
|
|
@@ -281,22 +253,5 @@ exports.addTasks = (gulp, libraryName, srcGlob, webpackConfig, dtsGlob, options
|
|
|
281
253
|
|
|
282
254
|
await server.start();
|
|
283
255
|
});
|
|
284
|
-
lintSlugsTask(gulp, packageName);
|
|
285
|
-
|
|
286
|
-
gulp.task('docs', parallel('lint-slugs', 'build-cdn', 'build-npm-package', 'build-systemjs-bundle', (done) => docsServer(libraryName, (browserSync) => {
|
|
287
|
-
gulp.watch("docs/**/*.{md,hbs}", series('lint-slugs')).on('change', browserSync.reload);
|
|
288
|
-
gulp.watch("public/**/*.{css,js}").on('change', browserSync.reload);
|
|
289
|
-
gulp.watch("dist/cdn/**/*.{css,js}").on('change', browserSync.reload);
|
|
290
|
-
gulp.watch("src/**/*" + SRC_EXT_GLOB, series("build-cdn", "build-npm-package"));
|
|
291
|
-
}, done)));
|
|
292
|
-
|
|
293
|
-
gulp.task('lint', series('lint-slugs', () => {
|
|
294
|
-
const isFixed = (file) => file.eslint != null && file.eslint.fixed;
|
|
295
|
-
return gulp.src([ srcGlob, "test" ], { "allowEmpty": true })
|
|
296
|
-
.pipe($.eslint({ fix: argv.fix }))
|
|
297
|
-
.pipe($.eslint.format())
|
|
298
|
-
.pipe($.if(isFixed, gulp.dest(".")))
|
|
299
|
-
.pipe($.eslint.failAfterError());
|
|
300
|
-
}));
|
|
301
256
|
|
|
302
257
|
};
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-common-tasks",
|
|
3
|
-
"description": "Build
|
|
4
|
-
"version": "8.0.7-dev.
|
|
3
|
+
"description": "Build helpers and gulp tasks for Kendo UI components",
|
|
4
|
+
"version": "8.0.7-dev.18+dd63893",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/telerik/kendo-build-tasks.git"
|
|
8
8
|
},
|
|
9
9
|
"main": "index.js",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"test": "
|
|
11
|
+
"test": "echo noop"
|
|
12
12
|
},
|
|
13
13
|
"bin": {
|
|
14
14
|
"ci-utils": "./bin/ci-utils",
|
|
@@ -19,71 +19,32 @@
|
|
|
19
19
|
"Kendo UI"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"acorn": "^8.
|
|
23
|
-
"ajv": "^8.
|
|
24
|
-
"
|
|
25
|
-
"babel-core": "^6.0.0",
|
|
26
|
-
"babel-eslint": "^4.1.6",
|
|
27
|
-
"browser-sync": "^2.26.3",
|
|
28
|
-
"browser-sync-webpack-plugin": "^2.2.2",
|
|
29
|
-
"css-loader": "^0.23.1",
|
|
30
|
-
"eslint": "^1.10.1",
|
|
31
|
-
"eslint-plugin-react": "^3.10.0",
|
|
32
|
-
"express": "^4.13.4",
|
|
33
|
-
"express-urlrewrite": "^1.2.0",
|
|
34
|
-
"glob": "^6.0.4",
|
|
22
|
+
"acorn": "^8.14.0",
|
|
23
|
+
"ajv": "^8.17.0",
|
|
24
|
+
"glob": "^11.0.0",
|
|
35
25
|
"graphlib": "2.1.1",
|
|
36
|
-
"gulp": "^
|
|
37
|
-
"gulp-add-src": "^0.2.0",
|
|
38
|
-
"gulp-contains": "^1.1.0",
|
|
39
|
-
"gulp-eslint": "^6.0.0",
|
|
40
|
-
"gulp-if": "^2.0.0",
|
|
26
|
+
"gulp": "^5.0.0",
|
|
41
27
|
"gulp-load-plugins": "^2.0.7",
|
|
42
28
|
"gulp-rename": "^1.2.2",
|
|
43
|
-
"gulp-sourcemaps": "2.6.5",
|
|
44
29
|
"gulp-uglify": "^3.0.0",
|
|
45
|
-
"hbs": "^4.0.0",
|
|
46
|
-
"highlight.js": "9.14.2",
|
|
47
|
-
"jasmine-core": "^2.4.1",
|
|
48
|
-
"js-yaml": "~3.2.2",
|
|
49
|
-
"lazypipe": "^1.0.1",
|
|
50
30
|
"lodash": "^4.6.0",
|
|
51
|
-
"marked": "~0.3.2",
|
|
52
31
|
"merge2": "^1.0.2",
|
|
53
32
|
"mini-css-extract-plugin": "^2.3.0",
|
|
54
|
-
"mkdirp": "^0.5.0",
|
|
55
33
|
"module-deps": "4.0.7",
|
|
56
|
-
"
|
|
57
|
-
"serve-index": "^1.7.3",
|
|
58
|
-
"socket.io": "=1.4.5",
|
|
59
|
-
"style-loader": "^0.13.0",
|
|
34
|
+
"style-loader": "^4.0.0",
|
|
60
35
|
"vinyl-named": "^1.1.0",
|
|
61
|
-
"webpack": "5.
|
|
62
|
-
"webpack-dev-server": "^
|
|
36
|
+
"webpack": "^5.97.1",
|
|
37
|
+
"webpack-dev-server": "^5.2.0",
|
|
63
38
|
"webpack-sources": "^3.2.1",
|
|
64
|
-
"webpack-stream": "7.0.0"
|
|
65
|
-
"yargs": "^3.30.0"
|
|
66
|
-
},
|
|
67
|
-
"jest": {
|
|
68
|
-
"setupFiles": [
|
|
69
|
-
"./test/jest-setup.js"
|
|
70
|
-
],
|
|
71
|
-
"testURL": "http://localhost/"
|
|
39
|
+
"webpack-stream": "^7.0.0"
|
|
72
40
|
},
|
|
73
41
|
"engines": {
|
|
74
|
-
"node": ">=
|
|
75
|
-
"npm": ">=3.0.0"
|
|
42
|
+
"node": ">=20.0.0"
|
|
76
43
|
},
|
|
77
44
|
"author": "Telerik",
|
|
78
45
|
"license": "Apache-2.0",
|
|
79
|
-
"devDependencies": {
|
|
80
|
-
"@progress/kendo-ui": "^2018.2.613",
|
|
81
|
-
"gulp-debug": "^2.1.2",
|
|
82
|
-
"jest": "^23.4.2",
|
|
83
|
-
"jquery": "^3.3.1"
|
|
84
|
-
},
|
|
85
46
|
"publishConfig": {
|
|
86
47
|
"access": "public"
|
|
87
48
|
},
|
|
88
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "dd63893024483babdc25e4a82da282dec34ac2a2"
|
|
89
50
|
}
|
package/docs-layout.hbs
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
|
|
5
|
-
|
|
6
|
-
<!-- code mirror -->
|
|
7
|
-
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/codemirror/5.6.0/codemirror.min.css">
|
|
8
|
-
<link rel="stylesheet" href="/internals/tomorrow-night.css">
|
|
9
|
-
<link rel="stylesheet" href="/internals/bootstrap.css">
|
|
10
|
-
<link rel="stylesheet" href="/internals/docs.css">
|
|
11
|
-
|
|
12
|
-
<script src="/internals/codemirror/codemirror.min.js"></script>
|
|
13
|
-
<script src="/internals/codemirror/clike.min.js"></script>
|
|
14
|
-
<script src="/internals/codemirror/css.min.js"></script>
|
|
15
|
-
<script src="/internals/codemirror/htmlmixed.min.js"></script>
|
|
16
|
-
<script src="/internals/codemirror/javascript.min.js"></script>
|
|
17
|
-
<script src="/internals/codemirror/jsx.min.js"></script>
|
|
18
|
-
<script src="/internals/codemirror/php.min.js"></script>
|
|
19
|
-
<script src="/internals/codemirror/runmode.min.js"></script>
|
|
20
|
-
<script src="/internals/codemirror/xml.min.js"></script>
|
|
21
|
-
|
|
22
|
-
<script src="http://code.jquery.com/jquery-2.2.0.min.js"></script>
|
|
23
|
-
<script src="http://kendo.cdn.telerik.com/2016.2.714/js/kendo.core.min.js"></script>
|
|
24
|
-
<script src="/internals/bootstrap.min.js"></script>
|
|
25
|
-
<script src="/internals/example-runner.js"></script>
|
|
26
|
-
<script src="/auto-imports.js"></script>
|
|
27
|
-
|
|
28
|
-
<script>
|
|
29
|
-
var jsCDN = '/cdn/{{scriptSrc}}'
|
|
30
|
-
var cssCDN = '/cdn/{{styleSrc}}'
|
|
31
|
-
var runnerScript = '/internals/example-runner.js';
|
|
32
|
-
var editorTemplatesPath = '/internals/editor/';
|
|
33
|
-
var npmUrl = '/npm';
|
|
34
|
-
var trackjs = false;
|
|
35
|
-
var k2platform = '{{platform}}';
|
|
36
|
-
var runner = 'stackblitz';
|
|
37
|
-
</script>
|
|
38
|
-
|
|
39
|
-
<script src="/internals/snippets.js"></script>
|
|
40
|
-
</head>
|
|
41
|
-
<body>
|
|
42
|
-
<div class="container">
|
|
43
|
-
<div class="mt-3 alert alert-info" role="alert" style="margin-top: 20px;">
|
|
44
|
-
<strong>Internal Note</strong>: Need help with the docs? Go to the <a target="_blank" href="https://docs.telerik.com/style-guide/introduction" class="alert-link">Style Guide</a>.
|
|
45
|
-
</div>
|
|
46
|
-
<h1>{{title}}</h1>
|
|
47
|
-
|
|
48
|
-
{{{ content }}}
|
|
49
|
-
</div>
|
|
50
|
-
</body>
|
|
51
|
-
</html>
|