@microsoft/sp-build-web 1.14.0 → 1.15.0-beta.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/lib/SPBuildRig.js CHANGED
@@ -66,7 +66,7 @@ class SPBuildRig {
66
66
  // Try to ensure the casing of the rootPath is correct
67
67
  try {
68
68
  const originalRootPath = coreBuild.getConfig().rootPath;
69
- const normalizedRootPath = true_case_path_1.trueCasePathSync(originalRootPath);
69
+ const normalizedRootPath = (0, true_case_path_1.trueCasePathSync)(originalRootPath);
70
70
  if (normalizedRootPath !== originalRootPath) {
71
71
  coreBuild.mergeConfig({
72
72
  rootPath: normalizedRootPath
@@ -122,7 +122,7 @@ class SPWebBuildRig extends SPBuildRig_1.SPBuildRig {
122
122
  }
123
123
  });
124
124
  result.set(WebBuildRigConstants_1.WebBuildRigConstants.tasks.serve, {
125
- executable: gulp_core_build_1.serial(spBuildCoreTasks.serve, gulp_core_build_1.watch(exports.serveWatchFilter, gulp_core_build_1.serial(this._preTelemetryTask, result.get(WebBuildRigConstants_1.WebBuildRigConstants.tasks.bundle).executable, gulp_core_build_serve_1.reload, this._postTelemetryTask))),
125
+ executable: (0, gulp_core_build_1.serial)(spBuildCoreTasks.serve, (0, gulp_core_build_1.watch)(exports.serveWatchFilter, (0, gulp_core_build_1.serial)(this._preTelemetryTask, result.get(WebBuildRigConstants_1.WebBuildRigConstants.tasks.bundle).executable, gulp_core_build_serve_1.reload, this._postTelemetryTask))),
126
126
  arguments: (yargs) => {
127
127
  return yargs
128
128
  .option('port', {
@@ -153,7 +153,7 @@ class SPWebBuildRig extends SPBuildRig_1.SPBuildRig {
153
153
  });
154
154
  result.forEach((taskDefinition, name) => {
155
155
  result.set(name, {
156
- executable: gulp_core_build_1.serial(gulp_core_build_1.serial(this._preTelemetryTask), taskDefinition.executable, gulp_core_build_1.serial(this._postTelemetryTask)),
156
+ executable: (0, gulp_core_build_1.serial)((0, gulp_core_build_1.serial)(this._preTelemetryTask), taskDefinition.executable, (0, gulp_core_build_1.serial)(this._postTelemetryTask)),
157
157
  arguments: taskDefinition.arguments
158
158
  });
159
159
  });
@@ -161,22 +161,22 @@ class SPWebBuildRig extends SPBuildRig_1.SPBuildRig {
161
161
  return result;
162
162
  }
163
163
  getTestTask() {
164
- return gulp_core_build_1.serial(this.getBundleTask(), gulp_core_build_1.jest);
164
+ return (0, gulp_core_build_1.serial)(this.getBundleTask(), gulp_core_build_1.jest);
165
165
  }
166
166
  getTestOnlyTask() {
167
- return gulp_core_build_1.serial(gulp_core_build_1.jest);
167
+ return (0, gulp_core_build_1.serial)(gulp_core_build_1.jest);
168
168
  }
169
169
  getCoreBuildTask() {
170
- return gulp_core_build_1.parallel(gulp_core_build_1.serial(gulp_core_build_sass_1.default, super.getCoreBuildTask()), gulp_core_build_1.copyStaticAssets);
170
+ return (0, gulp_core_build_1.parallel)((0, gulp_core_build_1.serial)(gulp_core_build_sass_1.default, super.getCoreBuildTask()), gulp_core_build_1.copyStaticAssets);
171
171
  }
172
172
  getBundleTask() {
173
- return gulp_core_build_1.serial(this.getBuildTask(), this.getPreWebpackTasks(), spBuildCoreTasks.configureWebpack, gulp_core_build_webpack_1.webpack, this.getPreCopyAssetsTasks(), gulp_core_build_1.parallel(this._postBundleTasks));
173
+ return (0, gulp_core_build_1.serial)(this.getBuildTask(), this.getPreWebpackTasks(), spBuildCoreTasks.configureWebpack, gulp_core_build_webpack_1.webpack, this.getPreCopyAssetsTasks(), (0, gulp_core_build_1.parallel)(this._postBundleTasks));
174
174
  }
175
175
  getPreWebpackTasks() {
176
- return gulp_core_build_1.serial();
176
+ return (0, gulp_core_build_1.serial)();
177
177
  }
178
178
  getPreCopyAssetsTasks() {
179
- return gulp_core_build_1.serial();
179
+ return (0, gulp_core_build_1.serial)();
180
180
  }
181
181
  }
182
182
  exports.SPWebBuildRig = SPWebBuildRig;
package/lib/index.js CHANGED
@@ -8,10 +8,10 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
8
8
  o[k2] = m[k];
9
9
  }));
10
10
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
11
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.initialize = exports.rig = void 0;
14
+ exports.initialize = exports.rig = exports.untrustDevCert = exports.trustDevCert = exports.reload = void 0;
15
15
  __exportStar(require("@microsoft/gulp-core-build-sass"), exports);
16
16
  __exportStar(require("@microsoft/gulp-core-build-typescript"), exports);
17
17
  // Don't export "serve" from GCB-serve. Export it from sp-build-core-tasks
@@ -28,8 +28,9 @@ __exportStar(require("./SPBuildRig"), exports);
28
28
  const SPWebBuildRig_1 = require("./SPWebBuildRig");
29
29
  exports.rig = new SPWebBuildRig_1.SPWebBuildRig();
30
30
  // Replace gcb.initialize to call our init stuff first.
31
- exports.initialize = (gulp) => {
31
+ const initialize = (gulp) => {
32
32
  exports.rig.initialize(gulp);
33
33
  return exports.rig;
34
34
  };
35
+ exports.initialize = initialize;
35
36
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@microsoft/sp-build-web",
3
- "version": "1.14.0",
3
+ "version": "1.15.0-beta.1",
4
4
  "description": "SharePoint Framework build rig for web projects",
5
5
  "license": "SEE LICENSE IN \"EULA\" FOLDER",
6
6
  "homepage": "http://aka.ms/spfx",
7
7
  "scripts": {},
8
8
  "engines": {
9
- "node": ">=12.13.0 <13.0.0 || >=14.15.0 <15.0.0"
9
+ "node": ">=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.13.0 <17.0.0"
10
10
  },
11
11
  "main": "lib/index.js",
12
12
  "typings": "lib/index.d.ts",
@@ -16,8 +16,8 @@
16
16
  "@microsoft/gulp-core-build-serve": "3.9.15",
17
17
  "@microsoft/gulp-core-build-typescript": "8.5.26",
18
18
  "@microsoft/gulp-core-build-webpack": "5.2.21",
19
- "@microsoft/rush-lib": "5.59.2",
20
- "@microsoft/sp-build-core-tasks": "1.14.0",
19
+ "@microsoft/rush-lib": "5.62.4",
20
+ "@microsoft/sp-build-core-tasks": "1.15.0-beta.1",
21
21
  "@rushstack/node-core-library": "3.45.0",
22
22
  "@types/webpack": "4.41.24",
23
23
  "gulp": "4.0.2",