@microsoft/sp-build-web 1.18.0-beta.2 → 1.18.0-beta.5
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 +26 -3
- package/lib/SPWebBuildRig.js +28 -2
- package/package.json +9 -10
package/lib/SPBuildRig.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
26
|
exports.SPBuildRig = exports.postCopy = exports.preCopy = void 0;
|
|
4
|
-
const yargs = require("yargs");
|
|
5
|
-
const semver = require("semver");
|
|
27
|
+
const yargs = __importStar(require("yargs"));
|
|
28
|
+
const semver = __importStar(require("semver"));
|
|
6
29
|
const true_case_path_1 = require("true-case-path");
|
|
7
|
-
const coreBuild = require("@microsoft/gulp-core-build");
|
|
30
|
+
const coreBuild = __importStar(require("@microsoft/gulp-core-build"));
|
|
8
31
|
const gulp_core_build_typescript_1 = require("@microsoft/gulp-core-build-typescript");
|
|
9
32
|
const BuildRigConstants_1 = require("./BuildRigConstants");
|
|
10
33
|
exports.preCopy = new coreBuild.CopyTask();
|
package/lib/SPWebBuildRig.js
CHANGED
|
@@ -1,11 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
2
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
29
|
exports.SPWebBuildRig = exports.serveWatchFilter = void 0;
|
|
4
|
-
const gulp_core_build_sass_1 = require("@microsoft/gulp-core-build-sass");
|
|
30
|
+
const gulp_core_build_sass_1 = __importDefault(require("@microsoft/gulp-core-build-sass"));
|
|
5
31
|
const gulp_core_build_serve_1 = require("@microsoft/gulp-core-build-serve");
|
|
6
32
|
const gulp_core_build_1 = require("@microsoft/gulp-core-build");
|
|
7
33
|
const gulp_core_build_webpack_1 = require("@microsoft/gulp-core-build-webpack");
|
|
8
|
-
const spBuildCoreTasks = require("@microsoft/sp-build-core-tasks");
|
|
34
|
+
const spBuildCoreTasks = __importStar(require("@microsoft/sp-build-core-tasks"));
|
|
9
35
|
const ConfigureWebpackTask_1 = require("@microsoft/sp-build-core-tasks/lib/webpack/ConfigureWebpackTask");
|
|
10
36
|
const gulp_core_build_typescript_1 = require("@microsoft/gulp-core-build-typescript");
|
|
11
37
|
const WebBuildRigConstants_1 = require("./WebBuildRigConstants");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/sp-build-web",
|
|
3
|
-
"version": "1.18.0-beta.
|
|
3
|
+
"version": "1.18.0-beta.5",
|
|
4
4
|
"description": "SharePoint Framework build rig for web projects",
|
|
5
5
|
"license": "https://aka.ms/spfx/license",
|
|
6
6
|
"homepage": "http://aka.ms/spfx",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"@microsoft/gulp-core-build-serve": "3.12.0",
|
|
16
16
|
"@microsoft/gulp-core-build-typescript": "8.6.0",
|
|
17
17
|
"@microsoft/gulp-core-build-webpack": "5.3.0",
|
|
18
|
-
"@microsoft/rush-lib": "5.100.
|
|
19
|
-
"@rushstack/node-core-library": "3.59.
|
|
18
|
+
"@microsoft/rush-lib": "5.100.2",
|
|
19
|
+
"@rushstack/node-core-library": "3.59.6",
|
|
20
20
|
"@types/webpack": "4.41.24",
|
|
21
21
|
"gulp": "4.0.2",
|
|
22
22
|
"postcss": "^8.4.19",
|
|
@@ -24,21 +24,20 @@
|
|
|
24
24
|
"true-case-path": "~2.2.1",
|
|
25
25
|
"webpack": "~4.44.2",
|
|
26
26
|
"yargs": "~4.6.0",
|
|
27
|
-
"@microsoft/sp-build-core-tasks": "1.18.0-beta.
|
|
27
|
+
"@microsoft/sp-build-core-tasks": "1.18.0-beta.5"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@rushstack/heft": "0.
|
|
30
|
+
"@rushstack/heft": "0.58.1",
|
|
31
31
|
"@types/semver": "7.3.8",
|
|
32
32
|
"eslint": "8.7.0",
|
|
33
|
-
"@odsp-web-tools/internal-node-rig": "0.1.0"
|
|
33
|
+
"@odsp-web-tools/internal-node-next-rig": "0.1.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "heft test --clean",
|
|
37
37
|
"clean": "heft clean",
|
|
38
|
-
"start": "heft build
|
|
39
|
-
"build
|
|
40
|
-
"_phase:build": "heft build --
|
|
41
|
-
"_phase:build-incremental": "heft build --lite",
|
|
38
|
+
"start": "heft build-watch",
|
|
39
|
+
"_phase:build": "heft run --only build -- --clean",
|
|
40
|
+
"_phase:build-incremental": "heft run --only build --",
|
|
42
41
|
"_phase:depscan": "heft depscan"
|
|
43
42
|
}
|
|
44
43
|
}
|