@microsoft/generator-sharepoint 1.21.1 → 1.22.0-beta.2

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.
Files changed (147) hide show
  1. package/lib/common/BaseGenerator.js +16 -7
  2. package/lib/common/ConfigJsonManager.js +1 -1
  3. package/lib/common/JsonManager.js +1 -1
  4. package/lib/common/PackageJsonManager.js +16 -1
  5. package/lib/common/PackageSolutionJsonManager.js +1 -1
  6. package/lib/common/ServeJsonManager.js +1 -1
  7. package/lib/common/TeamsManifestJsonManager.js +1 -1
  8. package/lib/common/YeomanConfiguration.js +6 -6
  9. package/lib/common/dependencies.json +65 -63
  10. package/lib/common/spsay.js +6 -6
  11. package/lib/common/utilities.js +1 -1
  12. package/lib/generators/adaptiveCardExtension/BaseAdaptiveCardExtensionGenerator.js +1 -1
  13. package/lib/generators/adaptiveCardExtension/index.js +1 -1
  14. package/lib/generators/app/index.js +15 -6
  15. package/lib/generators/applicationCustomizer/index.js +2 -1
  16. package/lib/generators/commandSet/index.js +2 -1
  17. package/lib/generators/component/BaseComponentGenerator.js +2 -2
  18. package/lib/generators/component/index.js +1 -1
  19. package/lib/generators/dataVisualizationAdaptiveCardExtension/index.js +2 -1
  20. package/lib/generators/extension/BaseExtensionGenerator.js +1 -1
  21. package/lib/generators/extension/index.js +1 -1
  22. package/lib/generators/fieldCustomizer/index.js +2 -1
  23. package/lib/generators/formCustomizer/index.js +2 -1
  24. package/lib/generators/genericAdaptiveCardExtension/index.js +2 -1
  25. package/lib/generators/library/index.js +2 -1
  26. package/lib/generators/searchAdaptiveCardExtension/index.js +2 -1
  27. package/lib/generators/searchQueryModifier/index.js +2 -1
  28. package/lib/generators/solution/heft.package.json +6 -2
  29. package/lib/generators/solution/index.js +21 -19
  30. package/lib/generators/webpart/index.js +2 -1
  31. package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/none/{componentClassName}.ts +2 -2
  32. package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/none/{componentClassName}.ts +2 -2
  33. package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/{componentClassName}.ts +2 -2
  34. package/lib/{generators/searchQueryModifier/templates → templates/searchQueryModifier}/base/{componentClassName}.manifest.json +1 -1
  35. package/lib/{generators/solution/templates → templates/solution}/base/README.md +1 -1
  36. package/lib/{generators/solution/templates → templates/solution}/base/_gitignore +4 -0
  37. package/lib/{generators/solution/templates → templates/solution}/base/config/deploy-azure-storage.json +1 -1
  38. package/lib/templates/solution/heft/_npmignore +22 -0
  39. package/lib/templates/solution/heft/config/heft.json +41 -0
  40. package/lib/templates/solution/heft/config/sass.json +5 -0
  41. package/lib/templates/solution/heft/config/typescript.json +9 -0
  42. package/lib/templates/solution/heft/tsconfig.json +3 -0
  43. package/package.json +12 -11
  44. package/lib/generators/solution/templates/heft/_npmignore +0 -16
  45. package/lib/generators/solution/templates/heft/config/typescript.json +0 -21
  46. package/lib/generators/solution/templates/heft/tsconfig.json +0 -6
  47. /package/lib/{generators/applicationCustomizer/templates → templates/applicationCustomizer}/base/loc/en-us.js +0 -0
  48. /package/lib/{generators/applicationCustomizer/templates → templates/applicationCustomizer}/base/loc/myStrings.d.ts +0 -0
  49. /package/lib/{generators/applicationCustomizer/templates → templates/applicationCustomizer}/base/{componentClassName}.manifest.json +0 -0
  50. /package/lib/{generators/applicationCustomizer/templates → templates/applicationCustomizer}/none/{componentClassName}.ts +0 -0
  51. /package/lib/{generators/applicationCustomizer/templates → templates/applicationCustomizer}/sharepoint/assets/ClientSideInstance.xml +0 -0
  52. /package/lib/{generators/applicationCustomizer/templates → templates/applicationCustomizer}/sharepoint/assets/elements.xml +0 -0
  53. /package/lib/{generators/commandSet/templates → templates/commandSet}/base/loc/en-us.js +0 -0
  54. /package/lib/{generators/commandSet/templates → templates/commandSet}/base/loc/myStrings.d.ts +0 -0
  55. /package/lib/{generators/commandSet/templates → templates/commandSet}/base/{componentClassName}.manifest.json +0 -0
  56. /package/lib/{generators/commandSet/templates → templates/commandSet}/none/{componentClassName}.ts +0 -0
  57. /package/lib/{generators/commandSet/templates → templates/commandSet}/sharepoint/assets/ClientSideInstance.xml +0 -0
  58. /package/lib/{generators/commandSet/templates → templates/commandSet}/sharepoint/assets/elements.xml +0 -0
  59. /package/lib/{generators/component/templates → templates/component}/eslint/.eslintrc.js +0 -0
  60. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/base/loc/en-us.js +0 -0
  61. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/base/loc/mystring.d.ts +0 -0
  62. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/none/cardView/CardView.ts +0 -0
  63. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/none/quickView/QuickView.ts +0 -0
  64. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/none/quickView/template/QuickViewTemplate.json +0 -0
  65. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/none/{componentClassName}.manifest.json +0 -0
  66. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/none/{componentName}PropertyPane.ts +0 -0
  67. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/base/{componentClassName}.manifest.json +0 -0
  68. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/loc/en-us.js +0 -0
  69. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/loc/myStrings.d.ts +0 -0
  70. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/minimal/loc/en-us.js +0 -0
  71. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/minimal/loc/myStrings.d.ts +0 -0
  72. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/minimal/{componentClassName}.module.scss +0 -0
  73. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/minimal/{componentClassName}.ts +0 -0
  74. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/none/{componentClassName}.module.scss +0 -0
  75. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/none/{componentClassName}.ts +0 -0
  76. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/react/components/{componentName}.module.scss +0 -0
  77. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/react/components/{componentName}.tsx +0 -0
  78. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/react/{componentClassName}.ts +0 -0
  79. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/sharepoint/assets/elements.xml +0 -0
  80. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/base/{componentClassName}.manifest.json +0 -0
  81. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/loc/en-us.js +0 -0
  82. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/loc/myStrings.d.ts +0 -0
  83. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/none/{componentClassName}.module.scss +0 -0
  84. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/none/{componentClassName}.ts +0 -0
  85. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/react/components/{componentName}.module.scss +0 -0
  86. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/react/components/{componentName}.tsx +0 -0
  87. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/react/{componentClassName}.ts +0 -0
  88. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/base/assets/MicrosoftLogo.png +0 -0
  89. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/base/loc/en-us.js +0 -0
  90. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/base/loc/mystring.d.ts +0 -0
  91. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/basicCardView/CardView.ts +0 -0
  92. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/genericCardView/CardView.ts +0 -0
  93. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/imageCardView/CardView.ts +0 -0
  94. /package/lib/{generators/genericAdaptiveCardExtension/templates/manifestTemplate/componentsTemplate → templates/genericAdaptiveCardExtension/manifestTemplate/baseTemplate}/{componentClassName}.manifest.json +0 -0
  95. /package/lib/{generators/genericAdaptiveCardExtension/templates/manifestTemplate/baseTemplate → templates/genericAdaptiveCardExtension/manifestTemplate/componentsTemplate}/{componentClassName}.manifest.json +0 -0
  96. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/manifestTemplate/imageTemplate/{componentClassName}.manifest.json +0 -0
  97. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/none/quickView/QuickView.ts +0 -0
  98. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/none/quickView/template/QuickViewTemplate.json +0 -0
  99. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/none/{componentName}PropertyPane.ts +0 -0
  100. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/primaryTextCardView/CardView.ts +0 -0
  101. /package/lib/{generators/library/templates → templates/library}/base/loc/en-us.js +0 -0
  102. /package/lib/{generators/library/templates → templates/library}/base/loc/mystrings.d.ts +0 -0
  103. /package/lib/{generators/library/templates → templates/library}/base/{componentClassName}.manifest.json +0 -0
  104. /package/lib/{generators/library/templates → templates/library}/index/index.ts +0 -0
  105. /package/lib/{generators/library/templates → templates/library}/none/{componentClassName}.ts +0 -0
  106. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/base/assets/MicrosoftLogo.png +0 -0
  107. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/base/loc/en-us.js +0 -0
  108. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/base/loc/mystring.d.ts +0 -0
  109. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/cardView/CardView.ts +0 -0
  110. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/quickView/ItemQuickView.ts +0 -0
  111. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/quickView/SearchResultsQuickView.ts +0 -0
  112. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/quickView/template/ItemQuickViewTemplate.json +0 -0
  113. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/quickView/template/SearchResultsQuickViewTemplate.json +0 -0
  114. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/{componentClassName}.manifest.json +0 -0
  115. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/{componentName}PropertyPane.ts +0 -0
  116. /package/lib/{generators/searchQueryModifier/templates → templates/searchQueryModifier}/base/loc/en-us.js +0 -0
  117. /package/lib/{generators/searchQueryModifier/templates → templates/searchQueryModifier}/base/loc/myStrings.d.ts +0 -0
  118. /package/lib/{generators/searchQueryModifier/templates → templates/searchQueryModifier}/none/{componentClassName}.ts +0 -0
  119. /package/lib/{generators/searchQueryModifier/templates → templates/searchQueryModifier}/sharepoint/assets/ClientSideInstance.xml +0 -0
  120. /package/lib/{generators/searchQueryModifier/templates → templates/searchQueryModifier}/sharepoint/assets/elements.xml +0 -0
  121. /package/lib/{generators/solution/templates → templates/solution}/base/.vscode/settings.json +0 -0
  122. /package/lib/{generators/solution/templates → templates/solution}/base/config/serve.json +0 -0
  123. /package/lib/{generators/solution/templates → templates/solution}/base/config/write-manifests.json +0 -0
  124. /package/lib/{generators/solution/templates → templates/solution}/gulp/.vscode/launch.json +0 -0
  125. /package/lib/{generators/solution/templates → templates/solution}/gulp/_npmignore +0 -0
  126. /package/lib/{generators/solution/templates/base → templates/solution/gulp}/config/sass.json +0 -0
  127. /package/lib/{generators/solution/templates → templates/solution}/gulp/gulpfile.js +0 -0
  128. /package/lib/{generators/solution/templates → templates/solution}/gulp/src/index.ts +0 -0
  129. /package/lib/{generators/solution/templates → templates/solution}/heft/config/rig.json +0 -0
  130. /package/lib/{generators/solution/templates → templates/solution}/spo/tsconfig.json +0 -0
  131. /package/lib/{generators/webpart/templates → templates/webpart}/assets/welcome-dark.png +0 -0
  132. /package/lib/{generators/webpart/templates → templates/webpart}/assets/welcome-light.png +0 -0
  133. /package/lib/{generators/webpart/templates → templates/webpart}/base/{componentClassName}.manifest.json +0 -0
  134. /package/lib/{generators/webpart/templates → templates/webpart}/images/color.png +0 -0
  135. /package/lib/{generators/webpart/templates → templates/webpart}/images/outline.png +0 -0
  136. /package/lib/{generators/webpart/templates → templates/webpart}/loc/en-us.js +0 -0
  137. /package/lib/{generators/webpart/templates → templates/webpart}/loc/mystrings.d.ts +0 -0
  138. /package/lib/{generators/webpart/templates → templates/webpart}/minimal/loc/en-us.js +0 -0
  139. /package/lib/{generators/webpart/templates → templates/webpart}/minimal/loc/mystrings.d.ts +0 -0
  140. /package/lib/{generators/webpart/templates → templates/webpart}/minimal/{componentClassName}.module.scss +0 -0
  141. /package/lib/{generators/webpart/templates → templates/webpart}/minimal/{componentClassName}.ts +0 -0
  142. /package/lib/{generators/webpart/templates → templates/webpart}/none/{componentClassName}.module.scss +0 -0
  143. /package/lib/{generators/webpart/templates → templates/webpart}/none/{componentClassName}.ts +0 -0
  144. /package/lib/{generators/webpart/templates → templates/webpart}/react/components/I{componentName}Props.ts +0 -0
  145. /package/lib/{generators/webpart/templates → templates/webpart}/react/components/{componentName}.module.scss +0 -0
  146. /package/lib/{generators/webpart/templates → templates/webpart}/react/components/{componentName}.tsx +0 -0
  147. /package/lib/{generators/webpart/templates → templates/webpart}/react/{componentClassName}.ts +0 -0
@@ -158,6 +158,9 @@ class BaseGenerator extends _yeomangenerator.default {
158
158
  this._addResolutionsIfApplicable([
159
159
  '@types/react'
160
160
  ]);
161
+ this._addOverridesIfApplicable([
162
+ '@rushstack/heft'
163
+ ]);
161
164
  }
162
165
  nameIsDependencyGroup(name) {
163
166
  const dependenciesByDependencyGroup = this._ensureDependenciesByDependencyGroup();
@@ -191,13 +194,19 @@ class BaseGenerator extends _yeomangenerator.default {
191
194
  }
192
195
  });
193
196
  }
197
+ _addOverridesIfApplicable(packages) {
198
+ for (const packageName of packages){
199
+ let packageVersion;
200
+ if (packageVersion = this.packageJsonManager.mergedDependencies[packageName]) {
201
+ this.packageJsonManager.addOverride(packageName, packageVersion);
202
+ }
203
+ }
204
+ }
194
205
  _addResolutionsIfApplicable(packages) {
195
- if (this.packageJsonManager.data.dependencies) {
196
- for (const packageName of packages){
197
- let packageVersion;
198
- if (packageVersion = this.packageJsonManager.data.dependencies[packageName]) {
199
- this.packageJsonManager.addResolution(packageName, packageVersion);
200
- }
206
+ for (const packageName of packages){
207
+ let packageVersion;
208
+ if (packageVersion = this.packageJsonManager.mergedDependencies[packageName]) {
209
+ this.packageJsonManager.addResolution(packageName, packageVersion);
201
210
  }
202
211
  }
203
212
  }
@@ -272,4 +281,4 @@ class BaseGenerator extends _yeomangenerator.default {
272
281
  _define_property(BaseGenerator, "generatorPackageJson", _nodecorelibrary.JsonFile.load(`${__dirname}/../../package.json`));
273
282
  _define_property(BaseGenerator, "_hasCheckedForUpdates", false);
274
283
 
275
- //#sourceMappingUrl=./BaseGenerator.js.map
284
+ //# sourceMappingURL=./BaseGenerator.js.map
@@ -105,4 +105,4 @@ class ConfigJsonManager extends _JsonManager.JsonManager {
105
105
  }
106
106
  _define_property(ConfigJsonManager, "_instance", void 0);
107
107
 
108
- //#sourceMappingUrl=./ConfigJsonManager.js.map
108
+ //# sourceMappingURL=./ConfigJsonManager.js.map
@@ -91,4 +91,4 @@ class JsonManager {
91
91
  }
92
92
  }
93
93
 
94
- //#sourceMappingUrl=./JsonManager.js.map
94
+ //# sourceMappingURL=./JsonManager.js.map
@@ -63,7 +63,22 @@ class PackageJsonManager extends _JsonManager.JsonManager {
63
63
  }
64
64
  PackageJsonManager.instance.data.resolutions[dependency] = resolution;
65
65
  }
66
+ addOverride(dependency, version) {
67
+ if (!PackageJsonManager.instance.data.overrides) {
68
+ PackageJsonManager.instance.data.overrides = {};
69
+ }
70
+ PackageJsonManager.instance.data.overrides[dependency] = version;
71
+ }
72
+ get mergedDependencies() {
73
+ const dependencies = {
74
+ ...this.data.optionalDependencies,
75
+ ...this.data.peerDependencies,
76
+ ...this.data.devDependencies,
77
+ ...this.data.dependencies
78
+ };
79
+ return dependencies;
80
+ }
66
81
  }
67
82
  _define_property(PackageJsonManager, "_instance", void 0);
68
83
 
69
- //#sourceMappingUrl=./PackageJsonManager.js.map
84
+ //# sourceMappingURL=./PackageJsonManager.js.map
@@ -152,4 +152,4 @@ class PackageSolutionJsonManager extends _JsonManager.JsonManager {
152
152
  }
153
153
  _define_property(PackageSolutionJsonManager, "_instance", void 0);
154
154
 
155
- //#sourceMappingUrl=./PackageSolutionJsonManager.js.map
155
+ //# sourceMappingURL=./PackageSolutionJsonManager.js.map
@@ -110,4 +110,4 @@ class ServeJsonManager extends _JsonManager.JsonManager {
110
110
  }
111
111
  _define_property(ServeJsonManager, "_instance", void 0);
112
112
 
113
- //#sourceMappingUrl=./ServeJsonManager.js.map
113
+ //# sourceMappingURL=./ServeJsonManager.js.map
@@ -63,4 +63,4 @@ class TeamsManifestJsonManager extends _JsonManager.JsonManager {
63
63
  }
64
64
  _define_property(TeamsManifestJsonManager, "_instance", void 0);
65
65
 
66
- //#sourceMappingUrl=./TeamsManifestJsonManager.js.map
66
+ //# sourceMappingURL=./TeamsManifestJsonManager.js.map
@@ -29,7 +29,7 @@ const _strings = {
29
29
  libraryId: 'libraryId',
30
30
  environment: 'environment',
31
31
  packageManager: 'packageManager',
32
- useHeft: 'useHeft'
32
+ useGulp: 'useGulp'
33
33
  };
34
34
  class YeomanConfiguration {
35
35
  static setStore(yeomanConfiguration) {
@@ -65,13 +65,13 @@ class YeomanConfiguration {
65
65
  static set packageManager(value) {
66
66
  YeomanConfiguration._store.set(_strings.packageManager, value);
67
67
  }
68
- static get useHeft() {
69
- return YeomanConfiguration._store.get(_strings.useHeft);
68
+ static get useGulp() {
69
+ return YeomanConfiguration._store.get(_strings.useGulp);
70
70
  }
71
- static set useHeft(value) {
72
- YeomanConfiguration._store.set(_strings.useHeft, value);
71
+ static set useGulp(value) {
72
+ YeomanConfiguration._store.set(_strings.useGulp, value);
73
73
  }
74
74
  }
75
75
  _define_property(YeomanConfiguration, "_store", void 0);
76
76
 
77
- //#sourceMappingUrl=./YeomanConfiguration.js.map
77
+ //# sourceMappingURL=./YeomanConfiguration.js.map
@@ -2,30 +2,30 @@
2
2
  "adaptiveCardExtension": {
3
3
  "standard": {
4
4
  "dependencies": {
5
- "@microsoft/sp-core-library": "1.21.1",
6
- "@microsoft/sp-property-pane": "1.21.1",
7
- "@microsoft/sp-adaptive-card-extension-base": "1.21.1"
5
+ "@microsoft/sp-core-library": "1.22.0-beta.2",
6
+ "@microsoft/sp-property-pane": "1.22.0-beta.2",
7
+ "@microsoft/sp-adaptive-card-extension-base": "1.22.0-beta.2"
8
8
  },
9
9
  "devDependencies": {
10
- "@microsoft/sp-module-interfaces": "1.21.1"
10
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2"
11
11
  }
12
12
  },
13
13
  "plusBeta": {
14
14
  "dependencies": {
15
- "@microsoft/sp-core-library": "1.21.1",
16
- "@microsoft/sp-property-pane": "1.21.1",
17
- "@microsoft/sp-adaptive-card-extension-base": "1.21.1"
15
+ "@microsoft/sp-core-library": "1.22.0-beta.2",
16
+ "@microsoft/sp-property-pane": "1.22.0-beta.2",
17
+ "@microsoft/sp-adaptive-card-extension-base": "1.22.0-beta.2"
18
18
  },
19
19
  "devDependencies": {
20
- "@microsoft/sp-module-interfaces": "1.21.1"
20
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2"
21
21
  }
22
22
  }
23
23
  },
24
24
  "applicationCustomizer": {
25
25
  "standard": {
26
26
  "dependencies": {
27
- "@microsoft/sp-dialog": "1.21.1",
28
- "@microsoft/sp-application-base": "1.21.1"
27
+ "@microsoft/sp-dialog": "1.22.0-beta.2",
28
+ "@microsoft/sp-application-base": "1.22.0-beta.2"
29
29
  }
30
30
  },
31
31
  "plusBeta": null
@@ -33,8 +33,8 @@
33
33
  "applicationCustomizerPlusBeta": {
34
34
  "standard": {
35
35
  "dependencies": {
36
- "@microsoft/sp-dialog": "1.21.1",
37
- "@microsoft/sp-application-base": "1.21.1"
36
+ "@microsoft/sp-dialog": "1.22.0-beta.2",
37
+ "@microsoft/sp-application-base": "1.22.0-beta.2"
38
38
  }
39
39
  },
40
40
  "plusBeta": null
@@ -42,8 +42,8 @@
42
42
  "commandSet": {
43
43
  "standard": {
44
44
  "dependencies": {
45
- "@microsoft/sp-listview-extensibility": "1.21.1",
46
- "@microsoft/sp-dialog": "1.21.1"
45
+ "@microsoft/sp-listview-extensibility": "1.22.0-beta.2",
46
+ "@microsoft/sp-dialog": "1.22.0-beta.2"
47
47
  }
48
48
  },
49
49
  "plusBeta": null
@@ -51,8 +51,8 @@
51
51
  "commandSetPlusBeta": {
52
52
  "standard": {
53
53
  "dependencies": {
54
- "@microsoft/sp-listview-extensibility": "1.21.1",
55
- "@microsoft/sp-dialog": "1.21.1"
54
+ "@microsoft/sp-listview-extensibility": "1.22.0-beta.2",
55
+ "@microsoft/sp-dialog": "1.22.0-beta.2"
56
56
  }
57
57
  },
58
58
  "plusBeta": null
@@ -60,27 +60,27 @@
60
60
  "extension": {
61
61
  "standard": {
62
62
  "dependencies": {
63
- "@microsoft/sp-core-library": "1.21.1",
64
- "@microsoft/decorators": "1.21.1"
63
+ "@microsoft/sp-core-library": "1.22.0-beta.2",
64
+ "@microsoft/decorators": "1.22.0-beta.2"
65
65
  },
66
66
  "devDependencies": {
67
- "@microsoft/sp-module-interfaces": "1.21.1"
67
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2"
68
68
  }
69
69
  },
70
70
  "plusBeta": {
71
71
  "dependencies": {
72
- "@microsoft/sp-core-library": "1.21.1",
73
- "@microsoft/decorators": "1.21.1"
72
+ "@microsoft/sp-core-library": "1.22.0-beta.2",
73
+ "@microsoft/decorators": "1.22.0-beta.2"
74
74
  },
75
75
  "devDependencies": {
76
- "@microsoft/sp-module-interfaces": "1.21.1"
76
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2"
77
77
  }
78
78
  }
79
79
  },
80
80
  "fieldCustomizer": {
81
81
  "standard": {
82
82
  "dependencies": {
83
- "@microsoft/sp-listview-extensibility": "1.21.1"
83
+ "@microsoft/sp-listview-extensibility": "1.22.0-beta.2"
84
84
  }
85
85
  },
86
86
  "plusBeta": null
@@ -88,7 +88,7 @@
88
88
  "fieldCustomizerPlusBeta": {
89
89
  "standard": {
90
90
  "dependencies": {
91
- "@microsoft/sp-listview-extensibility": "1.21.1"
91
+ "@microsoft/sp-listview-extensibility": "1.22.0-beta.2"
92
92
  }
93
93
  },
94
94
  "plusBeta": null
@@ -97,13 +97,13 @@
97
97
  "standard": {
98
98
  "dependencies": {},
99
99
  "devDependencies": {
100
- "@microsoft/sp-module-interfaces": "1.21.1"
100
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2"
101
101
  }
102
102
  },
103
103
  "plusBeta": {
104
104
  "dependencies": {},
105
105
  "devDependencies": {
106
- "@microsoft/sp-module-interfaces": "1.21.1"
106
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2"
107
107
  }
108
108
  }
109
109
  },
@@ -125,7 +125,7 @@
125
125
  "searchQueryModifier": {
126
126
  "standard": {
127
127
  "dependencies": {
128
- "@microsoft/sp-search-extensibility": "1.21.1"
128
+ "@microsoft/sp-search-extensibility": "1.22.0-beta.2"
129
129
  }
130
130
  },
131
131
  "plusBeta": null
@@ -133,7 +133,7 @@
133
133
  "searchQueryModifierPlusBeta": {
134
134
  "standard": {
135
135
  "dependencies": {
136
- "@microsoft/sp-search-extensibility": "1.21.1"
136
+ "@microsoft/sp-search-extensibility": "1.22.0-beta.2"
137
137
  }
138
138
  },
139
139
  "plusBeta": null
@@ -141,29 +141,29 @@
141
141
  "webpart": {
142
142
  "standard": {
143
143
  "dependencies": {
144
- "@microsoft/sp-core-library": "1.21.1",
145
- "@microsoft/sp-component-base": "1.21.1",
146
- "@microsoft/sp-property-pane": "1.21.1",
147
- "@microsoft/sp-webpart-base": "1.21.1",
148
- "@microsoft/sp-lodash-subset": "1.21.1",
149
- "@microsoft/sp-office-ui-fabric-core": "1.21.1"
144
+ "@microsoft/sp-core-library": "1.22.0-beta.2",
145
+ "@microsoft/sp-component-base": "1.22.0-beta.2",
146
+ "@microsoft/sp-property-pane": "1.22.0-beta.2",
147
+ "@microsoft/sp-webpart-base": "1.22.0-beta.2",
148
+ "@microsoft/sp-lodash-subset": "1.22.0-beta.2",
149
+ "@microsoft/sp-office-ui-fabric-core": "1.22.0-beta.2"
150
150
  },
151
151
  "devDependencies": {
152
- "@microsoft/sp-module-interfaces": "1.21.1",
152
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2",
153
153
  "@fluentui/react": "^8.106.4"
154
154
  }
155
155
  },
156
156
  "plusBeta": {
157
157
  "dependencies": {
158
- "@microsoft/sp-core-library": "1.21.1",
159
- "@microsoft/sp-component-base": "1.21.1",
160
- "@microsoft/sp-property-pane": "1.21.1",
161
- "@microsoft/sp-webpart-base": "1.21.1",
162
- "@microsoft/sp-lodash-subset": "1.21.1",
163
- "@microsoft/sp-office-ui-fabric-core": "1.21.1"
158
+ "@microsoft/sp-core-library": "1.22.0-beta.2",
159
+ "@microsoft/sp-component-base": "1.22.0-beta.2",
160
+ "@microsoft/sp-property-pane": "1.22.0-beta.2",
161
+ "@microsoft/sp-webpart-base": "1.22.0-beta.2",
162
+ "@microsoft/sp-lodash-subset": "1.22.0-beta.2",
163
+ "@microsoft/sp-office-ui-fabric-core": "1.22.0-beta.2"
164
164
  },
165
165
  "devDependencies": {
166
- "@microsoft/sp-module-interfaces": "1.21.1"
166
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2"
167
167
  }
168
168
  }
169
169
  },
@@ -173,14 +173,15 @@
173
173
  "tslib": "2.3.1"
174
174
  },
175
175
  "devDependencies": {
176
- "@microsoft/rush-stack-compiler-5.3": "0.1.0",
177
- "@rushstack/eslint-config": "4.0.1",
178
- "@microsoft/eslint-plugin-spfx": "1.21.1",
179
- "@microsoft/eslint-config-spfx": "1.21.1",
180
- "@microsoft/spfx-web-build-rig": "1.21.1",
181
- "@rushstack/heft": "0.71.0",
176
+ "@rushstack/eslint-config": "4.3.0",
177
+ "@microsoft/eslint-plugin-spfx": "1.22.0-beta.2",
178
+ "@microsoft/eslint-config-spfx": "1.22.0-beta.2",
179
+ "@microsoft/spfx-web-build-rig": "1.22.0-beta.2",
180
+ "@rushstack/heft": "0.74.3",
182
181
  "@types/webpack-env": "~1.15.2",
183
- "eslint": "8.57.1"
182
+ "@typescript-eslint/parser": "8.31.1",
183
+ "eslint": "8.57.1",
184
+ "typescript": "5.3.3"
184
185
  }
185
186
  },
186
187
  "plusBeta": null
@@ -192,11 +193,12 @@
192
193
  },
193
194
  "devDependencies": {
194
195
  "@microsoft/rush-stack-compiler-5.3": "0.1.0",
195
- "@rushstack/eslint-config": "4.0.1",
196
- "@microsoft/eslint-plugin-spfx": "1.21.1",
197
- "@microsoft/eslint-config-spfx": "1.21.1",
198
- "@microsoft/sp-build-web": "1.21.1",
196
+ "@rushstack/eslint-config": "4.3.0",
197
+ "@microsoft/eslint-plugin-spfx": "1.22.0-beta.2",
198
+ "@microsoft/eslint-config-spfx": "1.22.0-beta.2",
199
+ "@microsoft/sp-build-web": "1.22.0-beta.2",
199
200
  "@types/webpack-env": "~1.15.2",
201
+ "@typescript-eslint/parser": "8.31.1",
200
202
  "ajv": "^6.12.5",
201
203
  "eslint": "8.57.1",
202
204
  "gulp": "4.0.2",
@@ -211,24 +213,24 @@
211
213
  "formCustomizer": {
212
214
  "standard": {
213
215
  "dependencies": {
214
- "@microsoft/sp-core-library": "1.21.1",
215
- "@microsoft/sp-listview-extensibility": "1.21.1",
216
- "@microsoft/sp-lodash-subset": "1.21.1",
217
- "@microsoft/sp-office-ui-fabric-core": "1.21.1"
216
+ "@microsoft/sp-core-library": "1.22.0-beta.2",
217
+ "@microsoft/sp-listview-extensibility": "1.22.0-beta.2",
218
+ "@microsoft/sp-lodash-subset": "1.22.0-beta.2",
219
+ "@microsoft/sp-office-ui-fabric-core": "1.22.0-beta.2"
218
220
  },
219
221
  "devDependencies": {
220
- "@microsoft/sp-module-interfaces": "1.21.1"
222
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2"
221
223
  }
222
224
  },
223
225
  "plusBeta": {
224
226
  "dependencies": {
225
- "@microsoft/sp-core-library": "1.21.1",
226
- "@microsoft/sp-listview-extensibility": "1.21.1",
227
- "@microsoft/sp-lodash-subset": "1.21.1",
228
- "@microsoft/sp-office-ui-fabric-core": "1.21.1"
227
+ "@microsoft/sp-core-library": "1.22.0-beta.2",
228
+ "@microsoft/sp-listview-extensibility": "1.22.0-beta.2",
229
+ "@microsoft/sp-lodash-subset": "1.22.0-beta.2",
230
+ "@microsoft/sp-office-ui-fabric-core": "1.22.0-beta.2"
229
231
  },
230
232
  "devDependencies": {
231
- "@microsoft/sp-module-interfaces": "1.21.1"
233
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2"
232
234
  }
233
235
  }
234
236
  }
@@ -32,16 +32,16 @@ function times(n, character) {
32
32
  function space(n) {
33
33
  return times(n, ' ');
34
34
  }
35
- function getWords(solutionName, useHeft) {
35
+ function getWords(solutionName, useGulp) {
36
36
  const words = [
37
37
  `Congratulations!`,
38
38
  `Solution ${solutionName} is created.`,
39
- `Run ${useHeft ? 'npm run start' : 'gulp serve'} to play with it!`
39
+ `Run ${useGulp ? 'gulp serve' : 'npm run start'} to play with it!`
40
40
  ];
41
41
  const colorWords = [
42
42
  `Congratulations!`,
43
43
  `Solution ${_colors.default.cyan(solutionName)} is created.`,
44
- `Run ${_colors.default.yellow(useHeft ? 'npm run start' : 'gulp serve')} to play with it!`
44
+ `Run ${_colors.default.yellow(useGulp ? 'gulp serve' : 'npm run start')} to play with it!`
45
45
  ];
46
46
  const maxLength = Math.max.apply(undefined, words.map((word)=>word.length));
47
47
  const formatted = colorWords.map((word, index)=>{
@@ -59,11 +59,11 @@ function getWords(solutionName, useHeft) {
59
59
  ]);
60
60
  return wrapped;
61
61
  }
62
- function spsay(solutionName, useHeft) {
62
+ function spsay(solutionName, useGulp) {
63
63
  const colorLogo = logo.map((line)=>_colors.default.cyan(line));
64
- const words = getWords(solutionName, useHeft);
64
+ const words = getWords(solutionName, useGulp);
65
65
  const lines = _lodash.default.zip(colorLogo, words).map((parts)=>parts.join(''));
66
66
  return '\n' + lines.join('\n') + '\n';
67
67
  }
68
68
 
69
- //#sourceMappingUrl=./spsay.js.map
69
+ //# sourceMappingURL=./spsay.js.map
@@ -144,4 +144,4 @@ function compose(generator, base, options) {
144
144
  }), options);
145
145
  }
146
146
 
147
- //#sourceMappingUrl=./utilities.js.map
147
+ //# sourceMappingURL=./utilities.js.map
@@ -99,4 +99,4 @@ class BaseACEGenerator extends _BaseComponentGenerator.BaseComponentGenerator {
99
99
  }
100
100
  }
101
101
 
102
- //#sourceMappingUrl=./BaseAdaptiveCardExtensionGenerator.js.map
102
+ //# sourceMappingURL=./BaseAdaptiveCardExtensionGenerator.js.map
@@ -154,4 +154,4 @@ module.exports = AdaptiveCardExtensionSelectorGenerator;
154
154
  module.exports.defineOptions = defineOptions;
155
155
  module.exports.composeWith = composeWith;
156
156
 
157
- //#sourceMappingUrl=./index.js.map
157
+ //# sourceMappingURL=./index.js.map
@@ -109,6 +109,17 @@ function composeWith(base, options) {
109
109
  this.env.cwd = this.destinationRoot();
110
110
  this.config.set('whichFolder', 'subdir');
111
111
  }
112
+ // check that we aren't attempting to use Gulp with a Heft solution (or vice versa)
113
+ if (this.options.useGulp) {
114
+ // check that the solution is a gulp solution// check the old option
115
+ if (this.config.get('useHeft') || this.config.get('useGulp') === false) {
116
+ throw new Error('Cannot use the --use-gulp flag as this solution was previously generated with Heft tooling.');
117
+ }
118
+ } else {
119
+ if (this.config.get('useHeft') === false || this.config.get('useGulp')) {
120
+ throw new Error('Cannot generate using Heft tooling as this project was previously generated using Gulp. Please use --use-gulp flag.');
121
+ }
122
+ }
112
123
  if (this.options.solutionName !== undefined) {
113
124
  this.config.set('solutionName', this.options.solutionName);
114
125
  }
@@ -127,9 +138,7 @@ function composeWith(base, options) {
127
138
  if (this.options.isDomainIsolated !== undefined) {
128
139
  this.config.set('isDomainIsolated', this.options.isDomainIsolated);
129
140
  }
130
- if (this.options.useHeft !== undefined) {
131
- this.config.set('useHeft', this.options.useHeft);
132
- }
141
+ this.config.set('useGulp', !!this.options.useGulp);
133
142
  if (this.options.componentType !== undefined) {
134
143
  this.config.set('componentType', this.options.componentType);
135
144
  } else {
@@ -201,8 +210,8 @@ function composeWith(base, options) {
201
210
  /* no-op */ }
202
211
  end() {
203
212
  const libraryName = _YeomanConfiguration.YeomanConfiguration.libraryName;
204
- const useHeft = _YeomanConfiguration.YeomanConfiguration.useHeft;
205
- this.log((0, _spsay.default)(libraryName, useHeft));
213
+ const useGulp = _YeomanConfiguration.YeomanConfiguration.useGulp;
214
+ this.log((0, _spsay.default)(libraryName, useGulp));
206
215
  }
207
216
  _provideRetirementNote() {
208
217
  this.log(_colors.default.bold(`See ${_colors.default.underline(_colors.default.blue('https://aka.ms/spfx-yeoman-info'))} for more information on how to use this generator.`));
@@ -260,4 +269,4 @@ function composeWith(base, options) {
260
269
  module.exports = AppGenerator;
261
270
  module.exports.composeWith = composeWith;
262
271
 
263
- //#sourceMappingUrl=./index.js.map
272
+ //# sourceMappingURL=./index.js.map
@@ -110,6 +110,7 @@ class ApplicationCustomizerGenerator extends _BaseExtensionGenerator.BaseExtensi
110
110
  }
111
111
  writing() {
112
112
  if (this._shouldExecute()) {
113
+ this.sourceRoot(_path.join(__dirname, '../../templates/applicationCustomizer'));
113
114
  super.writing();
114
115
  }
115
116
  }
@@ -141,4 +142,4 @@ module.exports = ApplicationCustomizerGenerator;
141
142
  module.exports.defineOptions = defineOptions;
142
143
  module.exports.composeWith = composeWith;
143
144
 
144
- //#sourceMappingUrl=./index.js.map
145
+ //# sourceMappingURL=./index.js.map
@@ -111,6 +111,7 @@ class CommandSetGenerator extends _BaseExtensionGenerator.BaseExtensionGenerator
111
111
  }
112
112
  writing() {
113
113
  if (this._shouldExecute()) {
114
+ this.sourceRoot(_path.join(__dirname, '../../templates/commandSet'));
114
115
  super.writing();
115
116
  }
116
117
  }
@@ -142,4 +143,4 @@ module.exports = CommandSetGenerator;
142
143
  module.exports.defineOptions = defineOptions;
143
144
  module.exports.composeWith = composeWith;
144
145
 
145
- //#sourceMappingUrl=./index.js.map
146
+ //# sourceMappingURL=./index.js.map
@@ -213,7 +213,7 @@ class BaseComponentGenerator extends _BaseGenerator.BaseGenerator {
213
213
  this.copyTemplate(_path.join(this.sourceRoot(), 'base'), dest);
214
214
  }
215
215
  // we need to write the eslint config anyway
216
- this.copyTemplate(_path.join(`${__dirname}/templates`, 'eslint'), this.destinationRoot());
216
+ this.copyTemplate(_path.join(`${__dirname}/../../templates/component`, 'eslint'), this.destinationRoot());
217
217
  }
218
218
  install() {
219
219
  if (!this.tryInstall()) {
@@ -278,4 +278,4 @@ function normalizeComponentNames(componentNameUnescaped, componentType) {
278
278
  };
279
279
  }
280
280
 
281
- //#sourceMappingUrl=./BaseComponentGenerator.js.map
281
+ //# sourceMappingURL=./BaseComponentGenerator.js.map
@@ -178,4 +178,4 @@ module.exports = ComponentSelectorGenerator;
178
178
  module.exports.defineOptions = defineOptions;
179
179
  module.exports.composeWith = composeWith;
180
180
 
181
- //#sourceMappingUrl=./index.js.map
181
+ //# sourceMappingURL=./index.js.map
@@ -84,6 +84,7 @@ class DataVisualizationAdaptiveCardExtensionGenerator extends _BaseAdaptiveCardE
84
84
  }
85
85
  writing() {
86
86
  if (this._shouldExecute()) {
87
+ this.sourceRoot(_path.join(__dirname, '../../templates/dataVisualizationAdaptiveCardExtension'));
87
88
  super.writing(true);
88
89
  }
89
90
  }
@@ -109,4 +110,4 @@ module.exports = DataVisualizationAdaptiveCardExtensionGenerator;
109
110
  module.exports.defineOptions = defineOptions;
110
111
  module.exports.composeWith = composeWith;
111
112
 
112
- //#sourceMappingUrl=./index.js.map
113
+ //# sourceMappingURL=./index.js.map
@@ -138,4 +138,4 @@ class BaseExtensionGenerator extends _BaseComponentGenerator.BaseComponentGenera
138
138
  }
139
139
  }
140
140
 
141
- //#sourceMappingUrl=./BaseExtensionGenerator.js.map
141
+ //# sourceMappingURL=./BaseExtensionGenerator.js.map
@@ -167,4 +167,4 @@ module.exports = ExtensionSelectorGenerator;
167
167
  module.exports.defineOptions = defineOptions;
168
168
  module.exports.composeWith = composeWith;
169
169
 
170
- //#sourceMappingUrl=./index.js.map
170
+ //# sourceMappingURL=./index.js.map
@@ -111,6 +111,7 @@ class FieldCustomizerGenerator extends _BaseExtensionGenerator.BaseExtensionGene
111
111
  }
112
112
  writing() {
113
113
  if (this._shouldExecute()) {
114
+ this.sourceRoot(_path.join(__dirname, '../../templates/fieldCustomizer'));
114
115
  super.writing(false);
115
116
  const dest = this._getOutputFolder(this.context.componentNameCamelCase);
116
117
  const template = this.context.template;
@@ -155,4 +156,4 @@ module.exports = FieldCustomizerGenerator;
155
156
  module.exports.defineOptions = defineOptions;
156
157
  module.exports.composeWith = composeWith;
157
158
 
158
- //#sourceMappingUrl=./index.js.map
159
+ //# sourceMappingURL=./index.js.map
@@ -139,6 +139,7 @@ class FormCustomizerGenerator extends _BaseExtensionGenerator.BaseExtensionGener
139
139
  }
140
140
  writing() {
141
141
  if (this._shouldExecute()) {
142
+ this.sourceRoot(_path.join(__dirname, '../../templates/formCustomizer'));
142
143
  super.writing(false);
143
144
  const dest = this._getOutputFolder(this.context.componentNameCamelCase);
144
145
  const template = this.context.template;
@@ -186,4 +187,4 @@ module.exports = FormCustomizerGenerator;
186
187
  module.exports.defineOptions = defineOptions;
187
188
  module.exports.composeWith = composeWith;
188
189
 
189
- //#sourceMappingUrl=./index.js.map
190
+ //# sourceMappingURL=./index.js.map
@@ -84,6 +84,7 @@ class GenericAdaptiveCardExtensionGenerator extends _BaseAdaptiveCardExtensionGe
84
84
  }
85
85
  writing() {
86
86
  if (this._shouldExecute()) {
87
+ this.sourceRoot(_path.join(__dirname, '../../templates/genericAdaptiveCardExtension'));
87
88
  super.writing(true);
88
89
  // copy view template
89
90
  this.copyTemplate(this._getTemplatePath(this.config.get('aceTemplateType')), this.destinationPath(`src/adaptiveCardExtensions/${this.context.componentNameCamelCase}/cardView`));
@@ -142,4 +143,4 @@ module.exports = GenericAdaptiveCardExtensionGenerator;
142
143
  module.exports.defineOptions = defineOptions;
143
144
  module.exports.composeWith = composeWith;
144
145
 
145
- //#sourceMappingUrl=./index.js.map
146
+ //# sourceMappingURL=./index.js.map
@@ -108,6 +108,7 @@ class LibraryGenerator extends _BaseComponentGenerator.BaseComponentGenerator {
108
108
  }
109
109
  writing() {
110
110
  if (this._shouldExecute()) {
111
+ this.sourceRoot(_path.join(__dirname, '../../templates/library'));
111
112
  super.writing(true);
112
113
  this.copyTemplate(this.templatePath('./index/'), this.destinationPath('./src'));
113
114
  }
@@ -138,4 +139,4 @@ module.exports = LibraryGenerator;
138
139
  module.exports.defineOptions = defineOptions;
139
140
  module.exports.composeWith = composeWith;
140
141
 
141
- //#sourceMappingUrl=./index.js.map
142
+ //# sourceMappingURL=./index.js.map