@progress/kendo-common-tasks 7.9.5-ng12.88 → 8.0.1-dev.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,31 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [8.0.0](https://github.com/telerik/kendo-build-tasks/compare/@progress/kendo-common-tasks@7.9.4...@progress/kendo-common-tasks@8.0.0) (2022-04-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * include @angular/localize in externals ([7c6bab6](https://github.com/telerik/kendo-build-tasks/commit/7c6bab6077eadd952ada9341807664cb699f31e1))
12
+ * set commit status ([#340](https://github.com/telerik/kendo-build-tasks/issues/340)) ([e978680](https://github.com/telerik/kendo-build-tasks/commit/e9786808eefbe9b26521116bc57e011bd167d030))
13
+ * systemjs bundles ([fdab155](https://github.com/telerik/kendo-build-tasks/commit/fdab1555388f442de805a90dd6875a24ee13a935))
14
+
15
+
16
+ ### Features
17
+
18
+ * update do TS 4.3, Jest 27 and Angular v12 ([cc7bb34](https://github.com/telerik/kendo-build-tasks/commit/cc7bb34978586a12a14d08822ea03d7c2b6c0daa))
19
+
20
+
21
+ ### BREAKING CHANGES
22
+
23
+ * Requires TypeScript 4.3.x
24
+ * Requires Jest 27.x
25
+ * Requires Angular 12.x
26
+
27
+
28
+
29
+
30
+
6
31
  ## [7.9.4](https://github.com/telerik/kendo-build-tasks/compare/@progress/kendo-common-tasks@7.9.3...@progress/kendo-common-tasks@7.9.4) (2022-03-10)
7
32
 
8
33
 
@@ -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
- # echo "Skipping release for branches other than \"master\" and \"develop\""
21
- # exit 0;
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="$(npx -c 'semantic-release pre && npx semantic-prerelease publish && npx semantic-release post' 2>&1)"
35
+ ERROR="$(npx -c 'semantic-release pre && npx semantic-prerelease publish --public && npx semantic-release post' 2>&1)"
36
36
  EXIT_CODE=$?
37
37
 
38
38
  echo "$ERROR"
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.5-ng12.88+36a3589",
4
+ "version": "8.0.1-dev.1+124875b",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/telerik/kendo-build-tasks.git"
@@ -43,7 +43,6 @@
43
43
  "gulp-rename": "^1.2.2",
44
44
  "gulp-sourcemaps": "2.6.5",
45
45
  "gulp-uglify": "^3.0.0",
46
- "gulp-wrap": "^0.15.0",
47
46
  "hbs": "^4.0.0",
48
47
  "highlight.js": "9.14.2",
49
48
  "jasmine-core": "^2.4.1",
@@ -66,7 +65,6 @@
66
65
  "webpack-dev-server": "^4.2.1",
67
66
  "webpack-sources": "^3.2.1",
68
67
  "webpack-stream": "7.0.0",
69
- "webpack-system-register": "^1.6.0",
70
68
  "yargs": "^3.30.0"
71
69
  },
72
70
  "jest": {
@@ -90,5 +88,5 @@
90
88
  "publishConfig": {
91
89
  "access": "public"
92
90
  },
93
- "gitHead": "36a358928fca5d13dbb2f13e5934252751ace3cf"
91
+ "gitHead": "124875b2e9f5d2b90f4df5cfd17ebd42a8f06b42"
94
92
  }
@@ -1,7 +1,5 @@
1
1
  const path = require('path');
2
2
  const _ = require('lodash');
3
- const WebpackSystemRegister = require('webpack-system-register');
4
- const wrap = require('gulp-wrap');
5
3
  const gulpUglify = require('gulp-uglify');
6
4
  const $ = require('gulp-load-plugins')();
7
5
 
@@ -18,16 +16,18 @@ module.exports = (gulp, { webpackConfig, distName, modules = [], webpackStream,
18
16
  gulp.task('build-systemjs-bundle', (done) => {
19
17
  const config = _.assign({}, webpackConfig);
20
18
 
21
- config.plugins = config.plugins || [];
22
- config.plugins.push(new WebpackSystemRegister({
23
- systemjsDeps: packageDependencies,
24
- registerName: packageName
25
- }));
19
+ config.output = {
20
+ library: {
21
+ type: 'system',
22
+ name: packageName
23
+ }
24
+ };
25
+
26
+ config.externals = packageDependencies;
26
27
 
27
28
  const fail = error => done(error);
28
29
  return gulp.src('src/main' + SRC_EXT_GLOB).on("error", fail)
29
30
  .pipe(webpackStream(config, webpack)).on("error", fail)
30
- .pipe(wrap({ src: path.join(__dirname, 'systemjs-bundle.template.js' ) }, { packageName: packageName, modules: modules }, { variable: "data" })).on("error", fail)
31
31
  .pipe($.rename((path) => {
32
32
  path.basename = distName;
33
33
  })).on("error", fail)
@@ -1,16 +0,0 @@
1
- <%= data.contents %>
2
-
3
- <% for (let idx = 0; idx < data.modules.length; idx++) { %>
4
- System.register('<%= data.packageName %>/<%= data.modules[idx]%>', ['<%= data.packageName %>'], function($__export) {
5
- var lib;
6
-
7
- return {
8
- setters: [function(dependency) {
9
- lib = dependency;
10
- }],
11
- execute: function() {
12
- $__export(lib.<%= data.modules[idx] %>);
13
- }
14
- };
15
- });
16
- <% } %>