@microsoft/sp-build-web 1.22.0-beta.3 → 1.22.0-beta.4
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.
|
@@ -19,7 +19,7 @@ _export(exports, {
|
|
|
19
19
|
return preCopy;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
const
|
|
22
|
+
const _nodefs = /*#__PURE__*/ _interop_require_wildcard(require("node:fs"));
|
|
23
23
|
const _yargs = /*#__PURE__*/ _interop_require_wildcard(require("yargs"));
|
|
24
24
|
const _semver = /*#__PURE__*/ _interop_require_wildcard(require("semver"));
|
|
25
25
|
const _gulpcorebuild = /*#__PURE__*/ _interop_require_wildcard(require("@microsoft/gulp-core-build"));
|
|
@@ -129,7 +129,7 @@ class SPBuildRig {
|
|
|
129
129
|
// Try to ensure the casing of the rootPath is correct
|
|
130
130
|
try {
|
|
131
131
|
const originalRootPath = _gulpcorebuild.getConfig().rootPath;
|
|
132
|
-
const normalizedRootPath =
|
|
132
|
+
const normalizedRootPath = _nodefs.realpathSync.native(originalRootPath);
|
|
133
133
|
if (normalizedRootPath !== originalRootPath) {
|
|
134
134
|
_gulpcorebuild.mergeConfig({
|
|
135
135
|
rootPath: normalizedRootPath
|
package/lib-dts/index.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ export * from '@microsoft/gulp-core-build';
|
|
|
7
7
|
export * from './SPWebBuildRig';
|
|
8
8
|
export * from './WebBuildRigConstants';
|
|
9
9
|
export * from './SPBuildRig';
|
|
10
|
-
import { SPWebBuildRig } from './SPWebBuildRig';
|
|
11
10
|
import type * as Gulp from 'gulp';
|
|
11
|
+
import { SPWebBuildRig } from './SPWebBuildRig';
|
|
12
12
|
export declare const rig: SPWebBuildRig;
|
|
13
13
|
export declare const initialize: (gulp: typeof Gulp) => SPWebBuildRig;
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
package/lib-esm/SPBuildRig.js
CHANGED
|
@@ -11,7 +11,7 @@ function _define_property(obj, key, value) {
|
|
|
11
11
|
}
|
|
12
12
|
return obj;
|
|
13
13
|
}
|
|
14
|
-
import * as fs from 'fs';
|
|
14
|
+
import * as fs from 'node:fs';
|
|
15
15
|
import * as yargs from 'yargs';
|
|
16
16
|
import * as semver from 'semver';
|
|
17
17
|
import * as coreBuild from '@microsoft/gulp-core-build';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/sp-build-web",
|
|
3
|
-
"version": "1.22.0-beta.
|
|
3
|
+
"version": "1.22.0-beta.4",
|
|
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",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"semver": "~7.7.0",
|
|
41
41
|
"webpack": "~5.95.0",
|
|
42
42
|
"yargs": "~4.6.0",
|
|
43
|
-
"@microsoft/sp-build-core-tasks": "1.22.0-beta.
|
|
43
|
+
"@microsoft/sp-build-core-tasks": "1.22.0-beta.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@rushstack/heft": "
|
|
46
|
+
"@rushstack/heft": "1.1.1",
|
|
47
47
|
"@types/semver": "7.7.0",
|
|
48
48
|
"eslint": "8.57.1",
|
|
49
49
|
"@msinternal/internal-node-rig": "0.1.0"
|