@progress/kendo-common-tasks 7.9.5-ng12.81 → 7.9.5-ng12.84

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.
@@ -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.81+1d7ea9a",
4
+ "version": "7.9.5-ng12.84+2d8a3e4",
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": "1d7ea9a9e27647802925cc66362f333069d01628"
91
+ "gitHead": "2d8a3e45a586dedd8c7e078113203e2738f3f4b9"
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
- <% } %>