@microsoft/generator-sharepoint 1.13.0-beta.15 → 1.13.0-beta.22
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/common/BaseGenerator.d.ts +14 -15
- package/lib/common/BaseGenerator.d.ts.map +1 -1
- package/lib/common/BaseGenerator.js +19 -33
- package/lib/common/ConfigJsonManager.d.ts +4 -4
- package/lib/common/ConfigJsonManager.d.ts.map +1 -1
- package/lib/common/ConfigJsonManager.js +3 -2
- package/lib/common/JsonManager.d.ts +3 -3
- package/lib/common/JsonManager.d.ts.map +1 -1
- package/lib/common/PackageJsonManager.d.ts +2 -2
- package/lib/common/PackageJsonManager.d.ts.map +1 -1
- package/lib/common/PackageJsonManager.js +0 -1
- package/lib/common/PackageSolutionJsonManager.d.ts +4 -4
- package/lib/common/PackageSolutionJsonManager.d.ts.map +1 -1
- package/lib/common/PackageSolutionJsonManager.js +3 -2
- package/lib/common/ServeJsonManager.d.ts +3 -3
- package/lib/common/ServeJsonManager.d.ts.map +1 -1
- package/lib/common/TeamsManifestJsonManager.d.ts +3 -3
- package/lib/common/TeamsManifestJsonManager.d.ts.map +1 -1
- package/lib/common/YeomanConfiguration.d.ts +1 -1
- package/lib/common/YeomanConfiguration.d.ts.map +1 -1
- package/lib/common/dependency/adaptiveCardExtension/firstParty.json +7 -7
- package/lib/common/dependency/adaptiveCardExtension/firstPartyPlusBeta.json +7 -7
- package/lib/common/dependency/applicationCustomizer.json +2 -2
- package/lib/common/dependency/applicationCustomizerPlusBeta.json +2 -2
- package/lib/common/dependency/commandSet.json +2 -2
- package/lib/common/dependency/commandSetPlusBeta.json +2 -2
- package/lib/common/dependency/extension/firstParty.json +6 -6
- package/lib/common/dependency/extension/firstPartyPlusBeta.json +6 -6
- package/lib/common/dependency/fieldCustomizer.json +1 -1
- package/lib/common/dependency/fieldCustomizerPlusBeta.json +1 -1
- package/lib/common/dependency/library/firstParty.json +4 -4
- package/lib/common/dependency/library/firstPartyPlusBeta.json +4 -4
- package/lib/common/dependency/react.json +4 -4
- package/lib/common/dependency/searchQueryModifier.json +1 -1
- package/lib/common/dependency/searchQueryModifierPlusBeta.json +1 -1
- package/lib/common/dependency/webpart/firstParty.json +9 -9
- package/lib/common/dependency/webpart/firstPartyPlusBeta.json +9 -9
- package/lib/generators/adaptiveCardExtension/index.d.ts +3 -3
- package/lib/generators/adaptiveCardExtension/index.d.ts.map +1 -1
- package/lib/generators/adaptiveCardExtension/index.js +0 -4
- package/lib/generators/adaptiveCardExtension/templates/base/{componentClassName}.manifest.json +1 -1
- package/lib/generators/adaptiveCardExtension/templates/none/{componentClassName}.ts +3 -1
- package/lib/generators/app/index.d.ts +1 -1
- package/lib/generators/app/index.d.ts.map +1 -1
- package/lib/generators/app/index.js +1 -2
- package/lib/generators/applicationCustomizer/index.d.ts +3 -3
- package/lib/generators/applicationCustomizer/index.d.ts.map +1 -1
- package/lib/generators/applicationCustomizer/index.js +0 -3
- package/lib/generators/commandSet/index.d.ts +3 -3
- package/lib/generators/commandSet/index.d.ts.map +1 -1
- package/lib/generators/commandSet/index.js +0 -3
- package/lib/generators/component/BaseComponentGenerator.d.ts +1 -1
- package/lib/generators/component/BaseComponentGenerator.d.ts.map +1 -1
- package/lib/generators/component/BaseComponentGenerator.js +0 -2
- package/lib/generators/component/index.d.ts +2 -2
- package/lib/generators/component/index.d.ts.map +1 -1
- package/lib/generators/component/index.js +0 -2
- package/lib/generators/extension/BaseExtensionGenerator.d.ts +3 -3
- package/lib/generators/extension/BaseExtensionGenerator.d.ts.map +1 -1
- package/lib/generators/extension/BaseExtensionGenerator.js +0 -1
- package/lib/generators/extension/index.d.ts +3 -3
- package/lib/generators/extension/index.d.ts.map +1 -1
- package/lib/generators/extension/index.js +0 -3
- package/lib/generators/fieldCustomizer/index.d.ts +3 -3
- package/lib/generators/fieldCustomizer/index.d.ts.map +1 -1
- package/lib/generators/fieldCustomizer/index.js +0 -3
- package/lib/generators/fieldCustomizer/templates/none/{componentClassName}.module.scss +4 -4
- package/lib/generators/fieldCustomizer/templates/react/components/{componentName}.module.scss +4 -4
- package/lib/generators/library/index.d.ts +3 -3
- package/lib/generators/library/index.d.ts.map +1 -1
- package/lib/generators/library/index.js +1 -4
- package/lib/generators/searchQueryModifier/index.d.ts +3 -3
- package/lib/generators/searchQueryModifier/index.d.ts.map +1 -1
- package/lib/generators/searchQueryModifier/index.js +0 -3
- package/lib/generators/solution/index.d.ts +2 -2
- package/lib/generators/solution/index.d.ts.map +1 -1
- package/lib/generators/solution/index.js +3 -5
- package/lib/generators/solution/templates/base/README.md +1 -1
- package/lib/generators/solution/templates/base/_gitignore +1 -0
- package/lib/generators/solution/templates/base/tslint.json +0 -1
- package/lib/generators/solution/templates/spo/tsconfig.json +1 -1
- package/lib/generators/webpart/index.d.ts +3 -3
- package/lib/generators/webpart/index.d.ts.map +1 -1
- package/lib/generators/webpart/index.js +0 -3
- package/lib/generators/webpart/templates/base/{componentClassName}.manifest.json +2 -1
- package/lib/generators/webpart/templates/images/color.png +0 -0
- package/lib/generators/webpart/templates/images/outline.png +0 -0
- package/package.json +5 -5
- package/lib/generators/solution/templates/base/config/copy-assets.json +0 -4
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import yeoman from 'yeoman-generator';
|
|
2
|
+
import { Editor } from 'mem-fs-editor';
|
|
3
|
+
import { IPackageJson } from '@rushstack/node-core-library';
|
|
2
4
|
import { PackageJsonManager } from './PackageJsonManager';
|
|
3
5
|
import { ConfigJsonManager } from './ConfigJsonManager';
|
|
4
6
|
import { ServeJsonManager } from './ServeJsonManager';
|
|
@@ -8,21 +10,18 @@ export declare type DependencyGroups = 'react' | 'none' | 'extension' | 'webpart
|
|
|
8
10
|
export interface IBaseOptions {
|
|
9
11
|
'skip-install': boolean;
|
|
10
12
|
plusbeta: boolean;
|
|
13
|
+
force?: boolean;
|
|
11
14
|
}
|
|
12
|
-
export declare abstract class BaseGenerator<IOptions extends IBaseOptions, IContext> extends yeoman {
|
|
13
|
-
protected static generatorPackageJson:
|
|
15
|
+
export declare abstract class BaseGenerator<IOptions extends IBaseOptions, IContext> extends yeoman<IOptions> {
|
|
16
|
+
protected static generatorPackageJson: IPackageJson;
|
|
14
17
|
private static _hasCheckedForUpdates;
|
|
15
|
-
/**
|
|
16
|
-
* The options property bag created by yeoman
|
|
17
|
-
*/
|
|
18
|
-
options: IOptions;
|
|
19
18
|
/**
|
|
20
19
|
* The context property bag used by templates
|
|
21
20
|
*/
|
|
22
21
|
context: IContext;
|
|
23
22
|
protected abstract friendlyName: string;
|
|
24
23
|
protected allowEmptyPackageJson: boolean;
|
|
25
|
-
protected get
|
|
24
|
+
protected get packageJsonManager(): PackageJsonManager;
|
|
26
25
|
protected get configJson(): ConfigJsonManager;
|
|
27
26
|
protected get serveJson(): ServeJsonManager;
|
|
28
27
|
protected get packageSolutionJson(): PackageSolutionJsonManager;
|
|
@@ -34,20 +33,20 @@ export declare abstract class BaseGenerator<IOptions extends IBaseOptions, ICont
|
|
|
34
33
|
* http://yeoman.io/authoring/running-context.html
|
|
35
34
|
*/
|
|
36
35
|
/** Your initialization methods (checking current project state, getting configs, etc) */
|
|
37
|
-
abstract initializing(): Promise<
|
|
36
|
+
abstract initializing(): Promise<void> | void;
|
|
38
37
|
/** Where you prompt users for options (where you'd call this.prompt()) */
|
|
39
|
-
abstract prompting(): Promise<
|
|
38
|
+
abstract prompting(): Promise<void> | void;
|
|
40
39
|
/** Saving configurations and configure the project (creating metadata files) */
|
|
41
|
-
abstract configuring(): Promise<
|
|
40
|
+
abstract configuring(): Promise<void> | void;
|
|
41
|
+
copyTemplate: Editor['copy'];
|
|
42
42
|
/** Where you write the generator specific files (routes, controllers, etc) */
|
|
43
|
-
writing(shouldCopy?: boolean): Promise<
|
|
43
|
+
writing(shouldCopy?: boolean): Promise<void> | void;
|
|
44
44
|
/** Where installation are run (npm, bower) */
|
|
45
|
-
abstract install(): Promise<
|
|
45
|
+
abstract install(): Promise<void> | void;
|
|
46
46
|
/** Called last, cleanup, say good bye, etc */
|
|
47
|
-
abstract end(): Promise<
|
|
48
|
-
protected constructor(args: string | string[], options:
|
|
47
|
+
abstract end(): Promise<void> | void;
|
|
48
|
+
protected constructor(args: string | string[], options: IOptions);
|
|
49
49
|
protected tryInstall(): boolean;
|
|
50
|
-
protected copyTemplate(sourceDirectory: string, destinationDir: string): void;
|
|
51
50
|
protected ensureCorrectFolder(): void;
|
|
52
51
|
protected ensureDependencyGroup(group: DependencyGroups): void;
|
|
53
52
|
private _addResoutionsIfApplicable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseGenerator.d.ts","sourceRoot":"","sources":["../../src/common/BaseGenerator.ts"],"names":[],"mappings":"AAGA,OAAO,MAAM,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"BaseGenerator.d.ts","sourceRoot":"","sources":["../../src/common/BaseGenerator.ts"],"names":[],"mappings":"AAGA,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E,oBAAY,mBAAmB,GAAG,OAAO,GAAG,MAAM,CAAC;AAEnD,oBAAY,gBAAgB,GACxB,OAAO,GACP,MAAM,GACN,WAAW,GACX,SAAS,GACT,uBAAuB,GACvB,iBAAiB,GACjB,YAAY,GACZ,qBAAqB,GACrB,SAAS,GACT,uBAAuB,CAAC;AAE5B,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,8BAAsB,aAAa,CAAC,QAAQ,SAAS,YAAY,EAAE,QAAQ,CAAE,SAAQ,MAAM,CAAC,QAAQ,CAAC;IACnG,SAAS,CAAC,MAAM,CAAC,oBAAoB,EAAE,YAAY,CAAiC;IACpF,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAkB;IAEtD;;OAEG;IACI,OAAO,EAAE,QAAQ,CAAC;IAEzB,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IACxC,SAAS,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAEjD,SAAS,KAAK,kBAAkB,IAAI,kBAAkB,CAQrD;IAED,SAAS,KAAK,UAAU,IAAI,iBAAiB,CAK5C;IAED,SAAS,KAAK,SAAS,IAAI,gBAAgB,CAK1C;IAED,SAAS,KAAK,mBAAmB,IAAI,0BAA0B,CAK9D;IAED,OAAO,CAAC,mBAAmB,CAAyC;IAEpE,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAa/B;;;;OAIG;IAEH,yFAAyF;aACzE,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAEpD,0EAA0E;aAC1D,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAEjD,gFAAgF;aAChE,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAE5C,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,CAEjC;IAEF,8EAA8E;IACvE,OAAO,CAAC,UAAU,GAAE,OAAc,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAkBhE,8CAA8C;aAC9B,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAE/C,8CAA8C;aAC9B,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI;IAE3C,SAAS,aAAa,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ;IAmChE,SAAS,CAAC,UAAU,IAAI,OAAO;IAQ/B,SAAS,CAAC,mBAAmB,IAAI,IAAI;IAMrC,SAAS,CAAC,qBAAqB,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI;IAiD9D,OAAO,CAAC,0BAA0B;IAWlC,OAAO,CAAC,cAAc;IAiCtB,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,mBAAmB;IAK3B,OAAO,KAAK,iBAAiB,GAgC5B;IAED,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;CAQ/B"}
|
|
@@ -34,12 +34,13 @@ const ServeJsonManager_1 = require("./ServeJsonManager");
|
|
|
34
34
|
const PackageSolutionJsonManager_1 = require("./PackageSolutionJsonManager");
|
|
35
35
|
const YeomanConfiguration_1 = require("./YeomanConfiguration");
|
|
36
36
|
class BaseGenerator extends yeoman_generator_1.default {
|
|
37
|
-
// tslint:enable:no-any
|
|
38
|
-
// tslint:disable-next-line:no-any
|
|
39
37
|
constructor(args, options) {
|
|
40
38
|
// Always overwrite the conflict files, without any prompting.
|
|
41
39
|
super(args, !(options.force = true) || options);
|
|
42
40
|
this.allowEmptyPackageJson = false;
|
|
41
|
+
this.copyTemplate = (sourceDirectory, destinationDir) => {
|
|
42
|
+
Utils.filesIn(sourceDirectory).forEach(this._untokenizedCopier(sourceDirectory, destinationDir));
|
|
43
|
+
};
|
|
43
44
|
this.context = {};
|
|
44
45
|
// Register an error handler for uncaught exceptions:
|
|
45
46
|
this.addListener('error', (errorObject) => {
|
|
@@ -67,7 +68,7 @@ class BaseGenerator extends yeoman_generator_1.default {
|
|
|
67
68
|
default: false
|
|
68
69
|
});
|
|
69
70
|
}
|
|
70
|
-
get
|
|
71
|
+
get packageJsonManager() {
|
|
71
72
|
if (!PackageJsonManager_1.PackageJsonManager.instance) {
|
|
72
73
|
PackageJsonManager_1.PackageJsonManager.load(this.destinationPath('package.json'), this.fs);
|
|
73
74
|
}
|
|
@@ -101,7 +102,7 @@ class BaseGenerator extends yeoman_generator_1.default {
|
|
|
101
102
|
});
|
|
102
103
|
update.notify({
|
|
103
104
|
defer: false
|
|
104
|
-
});
|
|
105
|
+
});
|
|
105
106
|
}
|
|
106
107
|
BaseGenerator._hasCheckedForUpdates = true;
|
|
107
108
|
}
|
|
@@ -110,7 +111,7 @@ class BaseGenerator extends yeoman_generator_1.default {
|
|
|
110
111
|
// Update config to add the webpart entry.
|
|
111
112
|
this.configJson.save();
|
|
112
113
|
// Update package.json dependencies and trigger npm install if necessary.
|
|
113
|
-
this.
|
|
114
|
+
this.packageJsonManager.save();
|
|
114
115
|
// Update serve.json to add the new serve configuration.
|
|
115
116
|
this.serveJson.save();
|
|
116
117
|
// Update package-solution.json to add the new packaging configuration.
|
|
@@ -119,27 +120,13 @@ class BaseGenerator extends yeoman_generator_1.default {
|
|
|
119
120
|
this.copyTemplate(this.sourceRoot(), this.destinationRoot());
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
|
-
// tslint:disable-next-line:no-any
|
|
123
123
|
tryInstall() {
|
|
124
124
|
const shouldInstall = !this.options['skip-install'];
|
|
125
|
-
if (shouldInstall) {
|
|
126
|
-
|
|
127
|
-
case 'yarn':
|
|
128
|
-
this.yarnInstall();
|
|
129
|
-
break;
|
|
130
|
-
case 'pnpm':
|
|
131
|
-
this._doPnpmInstall();
|
|
132
|
-
break;
|
|
133
|
-
default:
|
|
134
|
-
this.npmInstall();
|
|
135
|
-
break;
|
|
136
|
-
}
|
|
125
|
+
if (shouldInstall && YeomanConfiguration_1.YeomanConfiguration.packageManager === 'pnpm') {
|
|
126
|
+
this._doPnpmInstall();
|
|
137
127
|
}
|
|
138
128
|
return shouldInstall;
|
|
139
129
|
}
|
|
140
|
-
copyTemplate(sourceDirectory, destinationDir) {
|
|
141
|
-
Utils.filesIn(sourceDirectory).map(this._untokenizedCopier(sourceDirectory, destinationDir));
|
|
142
|
-
}
|
|
143
130
|
ensureCorrectFolder() {
|
|
144
131
|
if (this.config.get('whichFolder') === 'subdir') {
|
|
145
132
|
this.destinationRoot(this.destinationPath());
|
|
@@ -148,11 +135,11 @@ class BaseGenerator extends yeoman_generator_1.default {
|
|
|
148
135
|
ensureDependencyGroup(group) {
|
|
149
136
|
const dependencyList = this._getDependencies(group);
|
|
150
137
|
const devDependencyList = this._getDevDependencies(group);
|
|
151
|
-
if (!this.
|
|
152
|
-
this.
|
|
138
|
+
if (!this.packageJsonManager.data.dependencies) {
|
|
139
|
+
this.packageJsonManager.data.dependencies = {};
|
|
153
140
|
}
|
|
154
|
-
if (!this.
|
|
155
|
-
this.
|
|
141
|
+
if (!this.packageJsonManager.data.devDependencies) {
|
|
142
|
+
this.packageJsonManager.data.devDependencies = {};
|
|
156
143
|
}
|
|
157
144
|
if (group === 'webpart' ||
|
|
158
145
|
group === 'extension' ||
|
|
@@ -162,24 +149,24 @@ class BaseGenerator extends yeoman_generator_1.default {
|
|
|
162
149
|
fileName = this._getDependencyFileName(fileName);
|
|
163
150
|
const firstPartyDependencies = require(path.join(__dirname, 'dependency', group, fileName));
|
|
164
151
|
const thirdPartyDependencies = require(path.join(__dirname, 'dependency', 'thirdParty.json'));
|
|
165
|
-
this.
|
|
166
|
-
this.
|
|
152
|
+
this.packageJsonManager.merge(firstPartyDependencies);
|
|
153
|
+
this.packageJsonManager.merge(thirdPartyDependencies);
|
|
167
154
|
}
|
|
168
155
|
Object.keys(dependencyList).forEach((name) => {
|
|
169
|
-
this.
|
|
156
|
+
this.packageJsonManager.addDependency(name, dependencyList[name]);
|
|
170
157
|
});
|
|
171
158
|
Object.keys(devDependencyList).forEach((name) => {
|
|
172
|
-
this.
|
|
159
|
+
this.packageJsonManager.addDevDependency(name, devDependencyList[name]);
|
|
173
160
|
});
|
|
174
161
|
// if at any point we are adding some react typings, then ensure they are in the resolutions for Yarn
|
|
175
162
|
this._addResoutionsIfApplicable(['@types/react']);
|
|
176
163
|
}
|
|
177
164
|
_addResoutionsIfApplicable(packages) {
|
|
178
|
-
if (this.
|
|
165
|
+
if (this.packageJsonManager.data.dependencies) {
|
|
179
166
|
for (const packageName of packages) {
|
|
180
167
|
let packageVersion;
|
|
181
|
-
if ((packageVersion = this.
|
|
182
|
-
this.
|
|
168
|
+
if ((packageVersion = this.packageJsonManager.data.dependencies[packageName])) {
|
|
169
|
+
this.packageJsonManager.addResolution(packageName, packageVersion);
|
|
183
170
|
}
|
|
184
171
|
}
|
|
185
172
|
}
|
|
@@ -247,7 +234,6 @@ class BaseGenerator extends yeoman_generator_1.default {
|
|
|
247
234
|
}
|
|
248
235
|
}
|
|
249
236
|
exports.BaseGenerator = BaseGenerator;
|
|
250
|
-
/* tslint:disable-next-line:no-any */
|
|
251
237
|
BaseGenerator.generatorPackageJson = require('../../package.json');
|
|
252
238
|
BaseGenerator._hasCheckedForUpdates = false;
|
|
253
239
|
//# sourceMappingURL=BaseGenerator.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Editor } from 'mem-fs-editor';
|
|
2
2
|
import { IConfigBundle, IConfigJson } from '@microsoft/spfx-heft-plugins';
|
|
3
3
|
import { IV1ConfigJson } from '@microsoft/spfx-heft-plugins/lib/spfxConfig/interfaces/config-v1';
|
|
4
4
|
import { JsonManager } from './JsonManager';
|
|
5
5
|
export declare class ConfigJsonManager extends JsonManager<IConfigJson | IV1ConfigJson> {
|
|
6
6
|
configJsonIsV1: boolean;
|
|
7
|
-
private static _instance
|
|
8
|
-
static load(filepath: string, fs:
|
|
7
|
+
private static _instance?;
|
|
8
|
+
static load(filepath: string, fs: Editor): void;
|
|
9
9
|
static reset(): void;
|
|
10
10
|
static get instance(): ConfigJsonManager;
|
|
11
11
|
addEntry(bundleEntry: IConfigBundle, name: string): void;
|
|
12
|
-
addLocalizedResource(localizedResourceKey
|
|
12
|
+
addLocalizedResource(localizedResourceKey: string, localizedResourcePath?: string): void;
|
|
13
13
|
private constructor();
|
|
14
14
|
private _translateV2BundleIntoV1;
|
|
15
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigJsonManager.d.ts","sourceRoot":"","sources":["../../src/common/ConfigJsonManager.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ConfigJsonManager.d.ts","sourceRoot":"","sources":["../../src/common/ConfigJsonManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE1E,OAAO,EAEL,aAAa,EACd,MAAM,kEAAkE,CAAC;AAE1E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,iBAAkB,SAAQ,WAAW,CAAC,WAAW,GAAG,aAAa,CAAC;IA2FpE,cAAc,EAAE,OAAO;IA1FhC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAAoB;WAE/B,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI;WAmBxC,KAAK,IAAI,IAAI;IAI3B,WAAkB,QAAQ,IAAI,iBAAiB,CAE9C;IAEM,QAAQ,CAAC,WAAW,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;IAmCxD,oBAAoB,CAAC,oBAAoB,EAAE,MAAM,EAAE,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI;IAsB/F,OAAO;IASP,OAAO,CAAC,wBAAwB;CAWjC"}
|
|
@@ -32,15 +32,16 @@ class ConfigJsonManager extends JsonManager_1.JsonManager {
|
|
|
32
32
|
return this._instance;
|
|
33
33
|
}
|
|
34
34
|
addEntry(bundleEntry, name) {
|
|
35
|
+
var _a, _b;
|
|
35
36
|
if (this.configJsonIsV1) {
|
|
36
37
|
const v1Entry = this._translateV2BundleIntoV1(bundleEntry, name);
|
|
37
38
|
const existingConfig = this._data;
|
|
38
|
-
existingConfig.entries.forEach((existingEntry) => {
|
|
39
|
+
(_a = existingConfig.entries) === null || _a === void 0 ? void 0 : _a.forEach((existingEntry) => {
|
|
39
40
|
if (existingEntry.manifest === v1Entry.manifest) {
|
|
40
41
|
throw new Error('You cannot have two config entries for the same manifest.');
|
|
41
42
|
}
|
|
42
43
|
});
|
|
43
|
-
existingConfig.entries.push(v1Entry);
|
|
44
|
+
(_b = existingConfig.entries) === null || _b === void 0 ? void 0 : _b.push(v1Entry);
|
|
44
45
|
}
|
|
45
46
|
else {
|
|
46
47
|
const existingConfig = this._data;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Editor } from 'mem-fs-editor';
|
|
2
2
|
export declare abstract class JsonManager<T> {
|
|
3
3
|
protected _filepath: string;
|
|
4
|
-
protected _fs:
|
|
4
|
+
protected _fs: Editor;
|
|
5
5
|
protected _data: T;
|
|
6
6
|
set(newData: T): T;
|
|
7
7
|
merge(newData: T): T;
|
|
8
8
|
get data(): T;
|
|
9
9
|
save(): void;
|
|
10
|
-
protected constructor(_filepath: string, _fs:
|
|
10
|
+
protected constructor(_filepath: string, _fs: Editor, _data: T);
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=JsonManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JsonManager.d.ts","sourceRoot":"","sources":["../../src/common/JsonManager.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"JsonManager.d.ts","sourceRoot":"","sources":["../../src/common/JsonManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAGvC,8BAAsB,WAAW,CAAC,CAAC;IAsBX,SAAS,CAAC,SAAS,EAAE,MAAM;IAAE,SAAS,CAAC,GAAG,EAAE,MAAM;IAAE,SAAS,CAAC,KAAK,EAAE,CAAC;IArBrF,GAAG,CAAC,OAAO,EAAE,CAAC,GAAG,CAAC;IAQlB,KAAK,CAAC,OAAO,EAAE,CAAC,GAAG,CAAC;IAK3B,IAAW,IAAI,IAAI,CAAC,CAEnB;IAEM,IAAI,IAAI,IAAI;IAInB,SAAS,aAAuB,SAAS,EAAE,MAAM,EAAY,GAAG,EAAE,MAAM,EAAY,KAAK,EAAE,CAAC;CAC7F"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IPackageJson } from '@rushstack/node-core-library';
|
|
2
|
-
import
|
|
2
|
+
import { Editor } from 'mem-fs-editor';
|
|
3
3
|
import { JsonManager } from './JsonManager';
|
|
4
4
|
export interface IExtendedPackageJson extends IPackageJson {
|
|
5
5
|
resolutions?: {
|
|
@@ -8,7 +8,7 @@ export interface IExtendedPackageJson extends IPackageJson {
|
|
|
8
8
|
}
|
|
9
9
|
export declare class PackageJsonManager extends JsonManager<IExtendedPackageJson> {
|
|
10
10
|
private static _instance;
|
|
11
|
-
static load(filepath: string, fs:
|
|
11
|
+
static load(filepath: string, fs: Editor): void;
|
|
12
12
|
static reset(): void;
|
|
13
13
|
static get instance(): PackageJsonManager;
|
|
14
14
|
addDependency(dependency: string, version: string): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageJsonManager.d.ts","sourceRoot":"","sources":["../../src/common/PackageJsonManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,
|
|
1
|
+
{"version":3,"file":"PackageJsonManager.d.ts","sourceRoot":"","sources":["../../src/common/PackageJsonManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IAGxD,WAAW,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACzC;AAED,qBAAa,kBAAmB,SAAQ,WAAW,CAAC,oBAAoB,CAAC;IACvE,OAAO,CAAC,MAAM,CAAC,SAAS,CAAiC;WAE3C,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI;WAaxC,KAAK,IAAI,IAAI;IAI3B,WAAkB,QAAQ,IAAI,kBAAkB,CAE/C;IAEM,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IASxD,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IAO3D,aAAa,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI;CAMnE"}
|
|
@@ -36,7 +36,6 @@ class PackageJsonManager extends JsonManager_1.JsonManager {
|
|
|
36
36
|
}
|
|
37
37
|
PackageJsonManager.instance.data.devDependencies[dependency] = version;
|
|
38
38
|
}
|
|
39
|
-
// tslint:disable:no-any
|
|
40
39
|
addResolution(dependency, resolution) {
|
|
41
40
|
if (!PackageJsonManager.instance.data.resolutions) {
|
|
42
41
|
PackageJsonManager.instance.data.resolutions = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { IPackageSolution } from '@microsoft/spfx-heft-plugins';
|
|
2
|
+
import { Editor } from 'mem-fs-editor';
|
|
3
3
|
import { ISolutionContext } from '../generators/solution';
|
|
4
4
|
import { JsonManager } from './JsonManager';
|
|
5
5
|
export declare class PackageSolutionJsonManager extends JsonManager<IPackageSolution> {
|
|
6
|
-
private static _instance
|
|
7
|
-
static load(filepath: string, fs:
|
|
6
|
+
private static _instance?;
|
|
7
|
+
static load(filepath: string, fs: Editor): void;
|
|
8
8
|
static reset(): void;
|
|
9
9
|
static get instance(): PackageSolutionJsonManager;
|
|
10
10
|
getSkipFeatureDeployment(): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageSolutionJsonManager.d.ts","sourceRoot":"","sources":["../../src/common/PackageSolutionJsonManager.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"PackageSolutionJsonManager.d.ts","sourceRoot":"","sources":["../../src/common/PackageSolutionJsonManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAuB,MAAM,8BAA8B,CAAC;AACrF,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,0BAA2B,SAAQ,WAAW,CAAC,gBAAgB,CAAC;IAC3E,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAA6B;WAExC,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI;WAqBxC,KAAK,IAAI,IAAI;IAI3B,WAAkB,QAAQ,IAAI,0BAA0B,CAEvD;IAEM,wBAAwB,IAAI,OAAO;IAQnC,aAAa,CAAC,eAAe,EAAE,gBAAgB,GAAG,IAAI;IAgCtD,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,yBAAyB,EAAE,OAAO,GAAG,IAAI;CA8BxF"}
|
|
@@ -29,8 +29,9 @@ class PackageSolutionJsonManager extends JsonManager_1.JsonManager {
|
|
|
29
29
|
return this._instance;
|
|
30
30
|
}
|
|
31
31
|
getSkipFeatureDeployment() {
|
|
32
|
+
var _a;
|
|
32
33
|
try {
|
|
33
|
-
return this.data.solution.skipFeatureDeployment;
|
|
34
|
+
return !!((_a = this.data.solution) === null || _a === void 0 ? void 0 : _a.skipFeatureDeployment);
|
|
34
35
|
}
|
|
35
36
|
catch (error) {
|
|
36
37
|
return false;
|
|
@@ -56,7 +57,7 @@ class PackageSolutionJsonManager extends JsonManager_1.JsonManager {
|
|
|
56
57
|
websiteUrl: '',
|
|
57
58
|
privacyUrl: '',
|
|
58
59
|
termsOfUseUrl: '',
|
|
59
|
-
mpnId:
|
|
60
|
+
mpnId: `Undefined-${YeomanConfiguration_1.YeomanConfiguration.version}`
|
|
60
61
|
};
|
|
61
62
|
}
|
|
62
63
|
data.paths = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Editor } from 'mem-fs-editor';
|
|
2
2
|
import { _ISpfxServeSessionConfiguration as ISpfxServeSessionConfiguration, _ISpfxServe as ISpfxServe } from '@microsoft/spfx-heft-plugins';
|
|
3
3
|
import { JsonManager } from './JsonManager';
|
|
4
4
|
export declare class ServeJsonManager extends JsonManager<ISpfxServe> {
|
|
5
|
-
private static _instance
|
|
6
|
-
static load(filepath: string, fs:
|
|
5
|
+
private static _instance?;
|
|
6
|
+
static load(filepath: string, fs: Editor): void;
|
|
7
7
|
static reset(): void;
|
|
8
8
|
static get instance(): ServeJsonManager;
|
|
9
9
|
addConfiguration(name: string, configuration: ISpfxServeSessionConfiguration): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServeJsonManager.d.ts","sourceRoot":"","sources":["../../src/common/ServeJsonManager.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ServeJsonManager.d.ts","sourceRoot":"","sources":["../../src/common/ServeJsonManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,OAAO,EACL,+BAA+B,IAAI,8BAA8B,EACjE,WAAW,IAAI,UAAU,EAC1B,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,qBAAa,gBAAiB,SAAQ,WAAW,CAAC,UAAU,CAAC;IAC3D,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAAmB;WAE9B,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI;WAwBxC,KAAK,IAAI,IAAI;IAI3B,WAAkB,QAAQ,IAAI,gBAAgB,CAE7C;IAEM,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,8BAA8B,GAAG,IAAI;IAWnF,gBAAgB,IAAI,IAAI;CAMhC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Editor } from 'mem-fs-editor';
|
|
2
2
|
import { JsonManager } from './JsonManager';
|
|
3
3
|
export interface ITeamsManifestData {
|
|
4
4
|
componentId: string;
|
|
@@ -43,9 +43,9 @@ export interface ITeamsManifest {
|
|
|
43
43
|
}
|
|
44
44
|
export declare class TeamsManifestJsonManager extends JsonManager<ITeamsManifest> {
|
|
45
45
|
private static _instance;
|
|
46
|
-
static load(filepath: string, fs:
|
|
46
|
+
static load(filepath: string, fs: Editor): void;
|
|
47
47
|
static reset(): void;
|
|
48
|
-
static get instance(): TeamsManifestJsonManager;
|
|
48
|
+
static get instance(): TeamsManifestJsonManager | undefined;
|
|
49
49
|
setUpManifest(teamsManifestData: ITeamsManifestData): void;
|
|
50
50
|
}
|
|
51
51
|
//# sourceMappingURL=TeamsManifestJsonManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TeamsManifestJsonManager.d.ts","sourceRoot":"","sources":["../../src/common/TeamsManifestJsonManager.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TeamsManifestJsonManager.d.ts","sourceRoot":"","sources":["../../src/common/TeamsManifestJsonManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,iBAAiB;IAChC,gBAAgB,EAAE,MAAM,CAAC;IACzB,sBAAsB,EAAE,OAAO,CAAC;IAChC,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,WAAW,EAAE;QACX,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;IACtC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,kBAAkB,EAAE;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;CACH;AAED,qBAAa,wBAAyB,SAAQ,WAAW,CAAC,cAAc,CAAC;IACvE,OAAO,CAAC,MAAM,CAAC,SAAS,CAAuC;WAEjD,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI;WAqBxC,KAAK,IAAI,IAAI;IAI3B,WAAkB,QAAQ,IAAI,wBAAwB,GAAG,SAAS,CAEjE;IAEM,aAAa,CAAC,iBAAiB,EAAE,kBAAkB,GAAG,IAAI;CAuBlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YeomanConfiguration.d.ts","sourceRoot":"","sources":["../../src/common/YeomanConfiguration.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"YeomanConfiguration.d.ts","sourceRoot":"","sources":["../../src/common/YeomanConfiguration.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,GAAG,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC,CAAC;CAC5B;AAYD;;;GAGG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,MAAM,CAAC,MAAM,CAA2B;WAElC,QAAQ,CAAC,mBAAmB,EAAE,wBAAwB,GAAG,IAAI;IAI3E,WAAkB,WAAW,IAAI,MAAM,CAEtC;IACD,WAAkB,WAAW,CAAC,KAAK,EAAE,MAAM,EAE1C;IAED,WAAkB,OAAO,IAAI,MAAM,CAElC;IACD,WAAkB,OAAO,CAAC,KAAK,EAAE,MAAM,EAEtC;IAED,WAAkB,SAAS,IAAI,MAAM,CAEpC;IACD,WAAkB,SAAS,CAAC,KAAK,EAAE,MAAM,EAExC;IAED,WAAkB,WAAW,IAAI,KAAK,CAErC;IAED,WAAkB,WAAW,CAAC,KAAK,EAAE,KAAK,EAEzC;IAED,WAAkB,cAAc,IAAI,KAAK,GAAG,MAAM,GAAG,MAAM,CAE1D;IAED,WAAkB,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,EAE9D;CACF"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@microsoft/sp-core-library": "1.13.0-beta.
|
|
4
|
-
"@microsoft/sp-property-pane": "1.13.0-beta.
|
|
5
|
-
"@microsoft/sp-adaptive-card-extension-base": "1.13.0-beta.
|
|
3
|
+
"@microsoft/sp-core-library": "1.13.0-beta.22",
|
|
4
|
+
"@microsoft/sp-property-pane": "1.13.0-beta.22",
|
|
5
|
+
"@microsoft/sp-adaptive-card-extension-base": "1.13.0-beta.22"
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@microsoft/sp-build-web": "1.13.0-beta.
|
|
9
|
-
"@microsoft/sp-tslint-rules": "1.13.0-beta.
|
|
10
|
-
"@microsoft/sp-module-interfaces": "1.13.0-beta.
|
|
11
|
-
"@microsoft/rush-stack-compiler-3.
|
|
8
|
+
"@microsoft/sp-build-web": "1.13.0-beta.22",
|
|
9
|
+
"@microsoft/sp-tslint-rules": "1.13.0-beta.22",
|
|
10
|
+
"@microsoft/sp-module-interfaces": "1.13.0-beta.22",
|
|
11
|
+
"@microsoft/rush-stack-compiler-3.9": "0.4.47"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@microsoft/sp-core-library": "1.13.0-beta.
|
|
4
|
-
"@microsoft/sp-property-pane": "1.13.0-beta.
|
|
5
|
-
"@microsoft/sp-adaptive-card-extension-base": "1.13.0-beta.
|
|
3
|
+
"@microsoft/sp-core-library": "1.13.0-beta.22",
|
|
4
|
+
"@microsoft/sp-property-pane": "1.13.0-beta.22",
|
|
5
|
+
"@microsoft/sp-adaptive-card-extension-base": "1.13.0-beta.22"
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@microsoft/sp-build-web": "1.13.0-beta.
|
|
9
|
-
"@microsoft/sp-tslint-rules": "1.13.0-beta.
|
|
10
|
-
"@microsoft/sp-module-interfaces": "1.13.0-beta.
|
|
11
|
-
"@microsoft/rush-stack-compiler-3.
|
|
8
|
+
"@microsoft/sp-build-web": "1.13.0-beta.22",
|
|
9
|
+
"@microsoft/sp-tslint-rules": "1.13.0-beta.22",
|
|
10
|
+
"@microsoft/sp-module-interfaces": "1.13.0-beta.22",
|
|
11
|
+
"@microsoft/rush-stack-compiler-3.9": "0.4.47"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@microsoft/sp-core-library": "1.13.0-beta.
|
|
4
|
-
"@microsoft/decorators": "1.13.0-beta.
|
|
3
|
+
"@microsoft/sp-core-library": "1.13.0-beta.22",
|
|
4
|
+
"@microsoft/decorators": "1.13.0-beta.22"
|
|
5
5
|
},
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"@microsoft/sp-build-web": "1.13.0-beta.
|
|
8
|
-
"@microsoft/sp-tslint-rules": "1.13.0-beta.
|
|
9
|
-
"@microsoft/sp-module-interfaces": "1.13.0-beta.
|
|
10
|
-
"@microsoft/rush-stack-compiler-3.
|
|
7
|
+
"@microsoft/sp-build-web": "1.13.0-beta.22",
|
|
8
|
+
"@microsoft/sp-tslint-rules": "1.13.0-beta.22",
|
|
9
|
+
"@microsoft/sp-module-interfaces": "1.13.0-beta.22",
|
|
10
|
+
"@microsoft/rush-stack-compiler-3.9": "0.4.47"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@microsoft/sp-core-library": "1.13.0-beta.
|
|
4
|
-
"@microsoft/decorators": "1.13.0-beta.
|
|
3
|
+
"@microsoft/sp-core-library": "1.13.0-beta.22",
|
|
4
|
+
"@microsoft/decorators": "1.13.0-beta.22"
|
|
5
5
|
},
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"@microsoft/sp-build-web": "1.13.0-beta.
|
|
8
|
-
"@microsoft/sp-tslint-rules": "1.13.0-beta.
|
|
9
|
-
"@microsoft/sp-module-interfaces": "1.13.0-beta.
|
|
10
|
-
"@microsoft/rush-stack-compiler-3.
|
|
7
|
+
"@microsoft/sp-build-web": "1.13.0-beta.22",
|
|
8
|
+
"@microsoft/sp-tslint-rules": "1.13.0-beta.22",
|
|
9
|
+
"@microsoft/sp-module-interfaces": "1.13.0-beta.22",
|
|
10
|
+
"@microsoft/rush-stack-compiler-3.9": "0.4.47"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {},
|
|
3
3
|
"devDependencies": {
|
|
4
|
-
"@microsoft/sp-build-web": "1.13.0-beta.
|
|
5
|
-
"@microsoft/sp-tslint-rules": "1.13.0-beta.
|
|
6
|
-
"@microsoft/sp-module-interfaces": "1.13.0-beta.
|
|
7
|
-
"@microsoft/rush-stack-compiler-3.
|
|
4
|
+
"@microsoft/sp-build-web": "1.13.0-beta.22",
|
|
5
|
+
"@microsoft/sp-tslint-rules": "1.13.0-beta.22",
|
|
6
|
+
"@microsoft/sp-module-interfaces": "1.13.0-beta.22",
|
|
7
|
+
"@microsoft/rush-stack-compiler-3.9": "0.4.47"
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {},
|
|
3
3
|
"devDependencies": {
|
|
4
|
-
"@microsoft/sp-build-web": "1.13.0-beta.
|
|
5
|
-
"@microsoft/sp-tslint-rules": "1.13.0-beta.
|
|
6
|
-
"@microsoft/sp-module-interfaces": "1.13.0-beta.
|
|
7
|
-
"@microsoft/rush-stack-compiler-3.
|
|
4
|
+
"@microsoft/sp-build-web": "1.13.0-beta.22",
|
|
5
|
+
"@microsoft/sp-tslint-rules": "1.13.0-beta.22",
|
|
6
|
+
"@microsoft/sp-module-interfaces": "1.13.0-beta.22",
|
|
7
|
+
"@microsoft/rush-stack-compiler-3.9": "0.4.47"
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"react": "16.
|
|
4
|
-
"react-dom": "16.
|
|
5
|
-
"office-ui-fabric-react": "7.
|
|
3
|
+
"react": "16.13.1",
|
|
4
|
+
"react-dom": "16.13.1",
|
|
5
|
+
"office-ui-fabric-react": "7.174.1"
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@types/react": "16.9.
|
|
8
|
+
"@types/react": "16.9.51",
|
|
9
9
|
"@types/react-dom": "16.9.8"
|
|
10
10
|
}
|
|
11
11
|
}
|