@progress/kendo-common-tasks 7.9.2-dev.0 → 7.9.2-ng12.44
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/bin/ci-semantic-release +5 -5
- package/index.js +6 -3
- package/lint-slugs.js +2 -2
- package/package.json +12 -11
- package/umd-externals/index.js +0 -6
package/bin/ci-semantic-release
CHANGED
|
@@ -16,10 +16,10 @@ if [[ "$IS_PULL_REQUEST" == true ]]; then
|
|
|
16
16
|
exit 0;
|
|
17
17
|
fi
|
|
18
18
|
|
|
19
|
-
if [[ "$BRANCH" != "master" ]] && [[ "$BRANCH" != "develop" ]]; then
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
fi
|
|
19
|
+
# if [[ "$BRANCH" != "master" ]] && [[ "$BRANCH" != "develop" ]]; then
|
|
20
|
+
# echo "Skipping release for branches other than \"master\" and \"develop\""
|
|
21
|
+
# exit 0;
|
|
22
|
+
# fi
|
|
23
23
|
|
|
24
24
|
if [[ "$REPOSITORY" == *-base ]]; then
|
|
25
25
|
echo "Skipping release for base repo"
|
|
@@ -32,7 +32,7 @@ sed -i "$REPLACE_YEAR" LICENSE.md
|
|
|
32
32
|
sed -i "$REPLACE_YEAR" NOTICE.txt
|
|
33
33
|
sed -i "$REPLACE_YEAR" README.md
|
|
34
34
|
|
|
35
|
-
ERROR="$(
|
|
35
|
+
ERROR="$(npx -c 'semantic-release pre && npx semantic-prerelease publish && npx semantic-release post' 2>&1)"
|
|
36
36
|
EXIT_CODE=$?
|
|
37
37
|
|
|
38
38
|
echo "$ERROR"
|
package/index.js
CHANGED
|
@@ -14,7 +14,7 @@ const BrowserSyncPlugin = require('browser-sync-webpack-plugin');
|
|
|
14
14
|
const listenAddress = process.env['LISTEN_ADDRESS'] || '0.0.0.0';
|
|
15
15
|
const glob = require('glob');
|
|
16
16
|
const $ = require('gulp-load-plugins')();
|
|
17
|
-
const
|
|
17
|
+
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
18
18
|
const packageName = require('./package.json').name;
|
|
19
19
|
|
|
20
20
|
const urlLoaderPath = require.resolve('url-loader');
|
|
@@ -56,7 +56,7 @@ exports.resourceLoaders = resourceLoaders;
|
|
|
56
56
|
exports.npmPackageSassLoader = exports.CDNSassLoader;
|
|
57
57
|
|
|
58
58
|
exports.extractCssPlugin = () =>
|
|
59
|
-
new
|
|
59
|
+
new MiniCssExtractPlugin("[name].css");
|
|
60
60
|
|
|
61
61
|
exports.uglifyJsPlugin = () =>
|
|
62
62
|
new webpack.optimize.UglifyJsPlugin();
|
|
@@ -159,11 +159,14 @@ function ucfirst(str) {
|
|
|
159
159
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
+
const umdExportName = (libraryName) => _.flow(_.camelCase, ucfirst)(libraryName);
|
|
163
|
+
exports.umdExportName = umdExportName;
|
|
164
|
+
|
|
162
165
|
exports.addTasks = (gulp, libraryName, srcGlob, webpackConfig, dtsGlob, options = {}) => { //eslint-disable-line max-params
|
|
163
166
|
const series = gulp.series;
|
|
164
167
|
const parallel = gulp.parallel;
|
|
165
168
|
|
|
166
|
-
const libraryClassName =
|
|
169
|
+
const libraryClassName = umdExportName(libraryName);
|
|
167
170
|
|
|
168
171
|
systemjsBundle(
|
|
169
172
|
gulp,
|
package/lint-slugs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const contains = require('gulp-contains');
|
|
2
|
-
const
|
|
2
|
+
const PluginError = require('plugin-error');
|
|
3
3
|
|
|
4
4
|
module.exports = (gulp, packageName) => {
|
|
5
5
|
const reportError = message => (string, file, cb) => {
|
|
@@ -8,7 +8,7 @@ module.exports = (gulp, packageName) => {
|
|
|
8
8
|
${message.replace(/FILE/, filename)}
|
|
9
9
|
I can't tell you exactly where due to technical limitations, sorry.
|
|
10
10
|
Validation provided by ${packageName}.`;
|
|
11
|
-
cb(new
|
|
11
|
+
cb(new PluginError('gulp-contains', error));
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
gulp.task('lint-slugs', () =>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-common-tasks",
|
|
3
3
|
"description": "Build infrastructure helpers and gulp tasks for Kendo UI Angular 2 / React components",
|
|
4
|
-
"version": "7.9.2-
|
|
4
|
+
"version": "7.9.2-ng12.44+2169a1c",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/telerik/kendo-build-tasks.git"
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@telerik/eslint-config": "1.1.0",
|
|
24
|
+
"acorn": "^8.5.0",
|
|
24
25
|
"autoprefixer": "^6.3.6",
|
|
25
26
|
"babel-core": "^6.0.0",
|
|
26
27
|
"babel-eslint": "^4.1.6",
|
|
@@ -31,21 +32,19 @@
|
|
|
31
32
|
"eslint-plugin-react": "^3.10.0",
|
|
32
33
|
"express": "^4.13.4",
|
|
33
34
|
"express-urlrewrite": "^1.2.0",
|
|
34
|
-
"extract-text-webpack-plugin": "next",
|
|
35
35
|
"file-loader": "^1.1.6",
|
|
36
36
|
"glob": "^6.0.4",
|
|
37
37
|
"graphlib": "2.1.1",
|
|
38
38
|
"gulp": "^4.0.0",
|
|
39
39
|
"gulp-add-src": "^0.2.0",
|
|
40
40
|
"gulp-contains": "^1.1.0",
|
|
41
|
-
"gulp-eslint": "^
|
|
41
|
+
"gulp-eslint": "^6.0.0",
|
|
42
42
|
"gulp-if": "^2.0.0",
|
|
43
|
-
"gulp-load-plugins": "
|
|
43
|
+
"gulp-load-plugins": "^2.0.7",
|
|
44
44
|
"gulp-rename": "^1.2.2",
|
|
45
45
|
"gulp-sourcemaps": "2.6.5",
|
|
46
46
|
"gulp-uglify": "^3.0.0",
|
|
47
|
-
"gulp-
|
|
48
|
-
"gulp-wrap": "^0.13.0",
|
|
47
|
+
"gulp-wrap": "^0.15.0",
|
|
49
48
|
"hbs": "^4.0.0",
|
|
50
49
|
"highlight.js": "9.14.2",
|
|
51
50
|
"jasmine-core": "^2.4.1",
|
|
@@ -54,18 +53,20 @@
|
|
|
54
53
|
"lodash": "^4.6.0",
|
|
55
54
|
"marked": "~0.3.2",
|
|
56
55
|
"merge2": "^1.0.2",
|
|
56
|
+
"mini-css-extract-plugin": "^2.3.0",
|
|
57
57
|
"mkdirp": "^0.5.0",
|
|
58
58
|
"module-deps": "4.0.7",
|
|
59
|
+
"plugin-error": "^1.0.1",
|
|
59
60
|
"resolve-url-loader": "^1.5.0",
|
|
60
61
|
"serve-index": "^1.7.3",
|
|
61
62
|
"socket.io": "=1.4.5",
|
|
62
63
|
"style-loader": "^0.13.0",
|
|
63
64
|
"url-loader": "^0.5.7",
|
|
64
65
|
"vinyl-named": "^1.1.0",
|
|
65
|
-
"webpack": "
|
|
66
|
-
"webpack-dev-server": "
|
|
67
|
-
"webpack-sources": "^
|
|
68
|
-
"webpack-stream": "
|
|
66
|
+
"webpack": "5.53.0",
|
|
67
|
+
"webpack-dev-server": "^4.2.1",
|
|
68
|
+
"webpack-sources": "^3.2.1",
|
|
69
|
+
"webpack-stream": "7.0.0",
|
|
69
70
|
"webpack-system-register": "^1.6.0",
|
|
70
71
|
"yargs": "^3.30.0"
|
|
71
72
|
},
|
|
@@ -90,5 +91,5 @@
|
|
|
90
91
|
"publishConfig": {
|
|
91
92
|
"access": "public"
|
|
92
93
|
},
|
|
93
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "2169a1c50bc889cbbe8878b38a8cc82a3affebf9"
|
|
94
95
|
}
|
package/umd-externals/index.js
CHANGED
|
@@ -45,12 +45,6 @@ function toWebpackExternal(module) {
|
|
|
45
45
|
function umdExternals(dependencies) {
|
|
46
46
|
const externals = {};
|
|
47
47
|
|
|
48
|
-
if (dependencies.includes('@angular/common')) {
|
|
49
|
-
// Sub-packages are not listed in the package dependencies,
|
|
50
|
-
// but we need to mark them as external.
|
|
51
|
-
dependencies = [...dependencies, '@angular/common/http'];
|
|
52
|
-
}
|
|
53
|
-
|
|
54
48
|
dependencies.forEach(module => {
|
|
55
49
|
externals[module] = toWebpackExternal(module);
|
|
56
50
|
});
|