@microsoft/generator-sharepoint 1.22.0-beta.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 (131) hide show
  1. package/lib/common/dependencies.json +61 -62
  2. package/lib/generators/applicationCustomizer/index.js +1 -0
  3. package/lib/generators/commandSet/index.js +1 -0
  4. package/lib/generators/component/BaseComponentGenerator.js +1 -1
  5. package/lib/generators/dataVisualizationAdaptiveCardExtension/index.js +1 -0
  6. package/lib/generators/fieldCustomizer/index.js +1 -0
  7. package/lib/generators/formCustomizer/index.js +1 -0
  8. package/lib/generators/genericAdaptiveCardExtension/index.js +1 -0
  9. package/lib/generators/library/index.js +1 -0
  10. package/lib/generators/searchAdaptiveCardExtension/index.js +1 -0
  11. package/lib/generators/searchQueryModifier/index.js +1 -0
  12. package/lib/generators/solution/heft.package.json +5 -3
  13. package/lib/generators/solution/index.js +1 -0
  14. package/lib/generators/webpart/index.js +1 -0
  15. package/lib/{generators/searchQueryModifier/templates → templates/searchQueryModifier}/base/{componentClassName}.manifest.json +1 -1
  16. package/lib/{generators/solution/templates → templates/solution}/base/config/deploy-azure-storage.json +1 -1
  17. package/lib/templates/solution/heft/_npmignore +22 -0
  18. package/lib/{generators/solution/templates → templates/solution}/heft/config/heft.json +1 -1
  19. package/lib/templates/solution/heft/tsconfig.json +3 -0
  20. package/package.json +8 -8
  21. package/lib/generators/solution/templates/heft/_npmignore +0 -16
  22. package/lib/generators/solution/templates/heft/config/jest.config.json +0 -57
  23. package/lib/generators/solution/templates/heft/tsconfig.json +0 -6
  24. /package/lib/{generators/applicationCustomizer/templates → templates/applicationCustomizer}/base/loc/en-us.js +0 -0
  25. /package/lib/{generators/applicationCustomizer/templates → templates/applicationCustomizer}/base/loc/myStrings.d.ts +0 -0
  26. /package/lib/{generators/applicationCustomizer/templates → templates/applicationCustomizer}/base/{componentClassName}.manifest.json +0 -0
  27. /package/lib/{generators/applicationCustomizer/templates → templates/applicationCustomizer}/none/{componentClassName}.ts +0 -0
  28. /package/lib/{generators/applicationCustomizer/templates → templates/applicationCustomizer}/sharepoint/assets/ClientSideInstance.xml +0 -0
  29. /package/lib/{generators/applicationCustomizer/templates → templates/applicationCustomizer}/sharepoint/assets/elements.xml +0 -0
  30. /package/lib/{generators/commandSet/templates → templates/commandSet}/base/loc/en-us.js +0 -0
  31. /package/lib/{generators/commandSet/templates → templates/commandSet}/base/loc/myStrings.d.ts +0 -0
  32. /package/lib/{generators/commandSet/templates → templates/commandSet}/base/{componentClassName}.manifest.json +0 -0
  33. /package/lib/{generators/commandSet/templates → templates/commandSet}/none/{componentClassName}.ts +0 -0
  34. /package/lib/{generators/commandSet/templates → templates/commandSet}/sharepoint/assets/ClientSideInstance.xml +0 -0
  35. /package/lib/{generators/commandSet/templates → templates/commandSet}/sharepoint/assets/elements.xml +0 -0
  36. /package/lib/{generators/component/templates → templates/component}/eslint/.eslintrc.js +0 -0
  37. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/base/loc/en-us.js +0 -0
  38. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/base/loc/mystring.d.ts +0 -0
  39. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/none/cardView/CardView.ts +0 -0
  40. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/none/quickView/QuickView.ts +0 -0
  41. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/none/quickView/template/QuickViewTemplate.json +0 -0
  42. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/none/{componentClassName}.manifest.json +0 -0
  43. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/none/{componentClassName}.ts +0 -0
  44. /package/lib/{generators/dataVisualizationAdaptiveCardExtension/templates → templates/dataVisualizationAdaptiveCardExtension}/none/{componentName}PropertyPane.ts +0 -0
  45. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/base/{componentClassName}.manifest.json +0 -0
  46. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/loc/en-us.js +0 -0
  47. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/loc/myStrings.d.ts +0 -0
  48. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/minimal/loc/en-us.js +0 -0
  49. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/minimal/loc/myStrings.d.ts +0 -0
  50. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/minimal/{componentClassName}.module.scss +0 -0
  51. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/minimal/{componentClassName}.ts +0 -0
  52. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/none/{componentClassName}.module.scss +0 -0
  53. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/none/{componentClassName}.ts +0 -0
  54. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/react/components/{componentName}.module.scss +0 -0
  55. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/react/components/{componentName}.tsx +0 -0
  56. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/react/{componentClassName}.ts +0 -0
  57. /package/lib/{generators/fieldCustomizer/templates → templates/fieldCustomizer}/sharepoint/assets/elements.xml +0 -0
  58. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/base/{componentClassName}.manifest.json +0 -0
  59. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/loc/en-us.js +0 -0
  60. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/loc/myStrings.d.ts +0 -0
  61. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/none/{componentClassName}.module.scss +0 -0
  62. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/none/{componentClassName}.ts +0 -0
  63. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/react/components/{componentName}.module.scss +0 -0
  64. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/react/components/{componentName}.tsx +0 -0
  65. /package/lib/{generators/formCustomizer/templates → templates/formCustomizer}/react/{componentClassName}.ts +0 -0
  66. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/base/assets/MicrosoftLogo.png +0 -0
  67. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/base/loc/en-us.js +0 -0
  68. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/base/loc/mystring.d.ts +0 -0
  69. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/basicCardView/CardView.ts +0 -0
  70. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/genericCardView/CardView.ts +0 -0
  71. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/imageCardView/CardView.ts +0 -0
  72. /package/lib/{generators/genericAdaptiveCardExtension/templates/manifestTemplate/componentsTemplate → templates/genericAdaptiveCardExtension/manifestTemplate/baseTemplate}/{componentClassName}.manifest.json +0 -0
  73. /package/lib/{generators/genericAdaptiveCardExtension/templates/manifestTemplate/baseTemplate → templates/genericAdaptiveCardExtension/manifestTemplate/componentsTemplate}/{componentClassName}.manifest.json +0 -0
  74. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/manifestTemplate/imageTemplate/{componentClassName}.manifest.json +0 -0
  75. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/none/quickView/QuickView.ts +0 -0
  76. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/none/quickView/template/QuickViewTemplate.json +0 -0
  77. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/none/{componentClassName}.ts +0 -0
  78. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/none/{componentName}PropertyPane.ts +0 -0
  79. /package/lib/{generators/genericAdaptiveCardExtension/templates → templates/genericAdaptiveCardExtension}/primaryTextCardView/CardView.ts +0 -0
  80. /package/lib/{generators/library/templates → templates/library}/base/loc/en-us.js +0 -0
  81. /package/lib/{generators/library/templates → templates/library}/base/loc/mystrings.d.ts +0 -0
  82. /package/lib/{generators/library/templates → templates/library}/base/{componentClassName}.manifest.json +0 -0
  83. /package/lib/{generators/library/templates → templates/library}/index/index.ts +0 -0
  84. /package/lib/{generators/library/templates → templates/library}/none/{componentClassName}.ts +0 -0
  85. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/base/assets/MicrosoftLogo.png +0 -0
  86. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/base/loc/en-us.js +0 -0
  87. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/base/loc/mystring.d.ts +0 -0
  88. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/cardView/CardView.ts +0 -0
  89. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/quickView/ItemQuickView.ts +0 -0
  90. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/quickView/SearchResultsQuickView.ts +0 -0
  91. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/quickView/template/ItemQuickViewTemplate.json +0 -0
  92. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/quickView/template/SearchResultsQuickViewTemplate.json +0 -0
  93. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/{componentClassName}.manifest.json +0 -0
  94. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/{componentClassName}.ts +0 -0
  95. /package/lib/{generators/searchAdaptiveCardExtension/templates → templates/searchAdaptiveCardExtension}/none/{componentName}PropertyPane.ts +0 -0
  96. /package/lib/{generators/searchQueryModifier/templates → templates/searchQueryModifier}/base/loc/en-us.js +0 -0
  97. /package/lib/{generators/searchQueryModifier/templates → templates/searchQueryModifier}/base/loc/myStrings.d.ts +0 -0
  98. /package/lib/{generators/searchQueryModifier/templates → templates/searchQueryModifier}/none/{componentClassName}.ts +0 -0
  99. /package/lib/{generators/searchQueryModifier/templates → templates/searchQueryModifier}/sharepoint/assets/ClientSideInstance.xml +0 -0
  100. /package/lib/{generators/searchQueryModifier/templates → templates/searchQueryModifier}/sharepoint/assets/elements.xml +0 -0
  101. /package/lib/{generators/solution/templates → templates/solution}/base/.vscode/settings.json +0 -0
  102. /package/lib/{generators/solution/templates → templates/solution}/base/README.md +0 -0
  103. /package/lib/{generators/solution/templates → templates/solution}/base/_gitignore +0 -0
  104. /package/lib/{generators/solution/templates → templates/solution}/base/config/serve.json +0 -0
  105. /package/lib/{generators/solution/templates → templates/solution}/base/config/write-manifests.json +0 -0
  106. /package/lib/{generators/solution/templates → templates/solution}/gulp/.vscode/launch.json +0 -0
  107. /package/lib/{generators/solution/templates → templates/solution}/gulp/_npmignore +0 -0
  108. /package/lib/{generators/solution/templates → templates/solution}/gulp/config/sass.json +0 -0
  109. /package/lib/{generators/solution/templates → templates/solution}/gulp/gulpfile.js +0 -0
  110. /package/lib/{generators/solution/templates → templates/solution}/gulp/src/index.ts +0 -0
  111. /package/lib/{generators/solution/templates → templates/solution}/heft/config/rig.json +0 -0
  112. /package/lib/{generators/solution/templates → templates/solution}/heft/config/sass.json +0 -0
  113. /package/lib/{generators/solution/templates → templates/solution}/heft/config/typescript.json +0 -0
  114. /package/lib/{generators/solution/templates → templates/solution}/spo/tsconfig.json +0 -0
  115. /package/lib/{generators/webpart/templates → templates/webpart}/assets/welcome-dark.png +0 -0
  116. /package/lib/{generators/webpart/templates → templates/webpart}/assets/welcome-light.png +0 -0
  117. /package/lib/{generators/webpart/templates → templates/webpart}/base/{componentClassName}.manifest.json +0 -0
  118. /package/lib/{generators/webpart/templates → templates/webpart}/images/color.png +0 -0
  119. /package/lib/{generators/webpart/templates → templates/webpart}/images/outline.png +0 -0
  120. /package/lib/{generators/webpart/templates → templates/webpart}/loc/en-us.js +0 -0
  121. /package/lib/{generators/webpart/templates → templates/webpart}/loc/mystrings.d.ts +0 -0
  122. /package/lib/{generators/webpart/templates → templates/webpart}/minimal/loc/en-us.js +0 -0
  123. /package/lib/{generators/webpart/templates → templates/webpart}/minimal/loc/mystrings.d.ts +0 -0
  124. /package/lib/{generators/webpart/templates → templates/webpart}/minimal/{componentClassName}.module.scss +0 -0
  125. /package/lib/{generators/webpart/templates → templates/webpart}/minimal/{componentClassName}.ts +0 -0
  126. /package/lib/{generators/webpart/templates → templates/webpart}/none/{componentClassName}.module.scss +0 -0
  127. /package/lib/{generators/webpart/templates → templates/webpart}/none/{componentClassName}.ts +0 -0
  128. /package/lib/{generators/webpart/templates → templates/webpart}/react/components/I{componentName}Props.ts +0 -0
  129. /package/lib/{generators/webpart/templates → templates/webpart}/react/components/{componentName}.module.scss +0 -0
  130. /package/lib/{generators/webpart/templates → templates/webpart}/react/components/{componentName}.tsx +0 -0
  131. /package/lib/{generators/webpart/templates → templates/webpart}/react/{componentClassName}.ts +0 -0
@@ -2,30 +2,30 @@
2
2
  "adaptiveCardExtension": {
3
3
  "standard": {
4
4
  "dependencies": {
5
- "@microsoft/sp-core-library": "1.22.0-beta.1",
6
- "@microsoft/sp-property-pane": "1.22.0-beta.1",
7
- "@microsoft/sp-adaptive-card-extension-base": "1.22.0-beta.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.22.0-beta.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.22.0-beta.1",
16
- "@microsoft/sp-property-pane": "1.22.0-beta.1",
17
- "@microsoft/sp-adaptive-card-extension-base": "1.22.0-beta.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.22.0-beta.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.22.0-beta.1",
28
- "@microsoft/sp-application-base": "1.22.0-beta.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.22.0-beta.1",
37
- "@microsoft/sp-application-base": "1.22.0-beta.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.22.0-beta.1",
46
- "@microsoft/sp-dialog": "1.22.0-beta.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.22.0-beta.1",
55
- "@microsoft/sp-dialog": "1.22.0-beta.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.22.0-beta.1",
64
- "@microsoft/decorators": "1.22.0-beta.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.22.0-beta.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.22.0-beta.1",
73
- "@microsoft/decorators": "1.22.0-beta.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.22.0-beta.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.22.0-beta.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.22.0-beta.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.22.0-beta.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.22.0-beta.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.22.0-beta.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.22.0-beta.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.22.0-beta.1",
145
- "@microsoft/sp-component-base": "1.22.0-beta.1",
146
- "@microsoft/sp-property-pane": "1.22.0-beta.1",
147
- "@microsoft/sp-webpart-base": "1.22.0-beta.1",
148
- "@microsoft/sp-lodash-subset": "1.22.0-beta.1",
149
- "@microsoft/sp-office-ui-fabric-core": "1.22.0-beta.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.22.0-beta.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.22.0-beta.1",
159
- "@microsoft/sp-component-base": "1.22.0-beta.1",
160
- "@microsoft/sp-property-pane": "1.22.0-beta.1",
161
- "@microsoft/sp-webpart-base": "1.22.0-beta.1",
162
- "@microsoft/sp-lodash-subset": "1.22.0-beta.1",
163
- "@microsoft/sp-office-ui-fabric-core": "1.22.0-beta.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.22.0-beta.1"
166
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2"
167
167
  }
168
168
  }
169
169
  },
@@ -174,14 +174,13 @@
174
174
  },
175
175
  "devDependencies": {
176
176
  "@rushstack/eslint-config": "4.3.0",
177
- "@microsoft/eslint-plugin-spfx": "1.22.0-beta.1",
178
- "@microsoft/eslint-config-spfx": "1.22.0-beta.1",
179
- "@microsoft/spfx-web-build-rig": "1.22.0-beta.1",
180
- "@rushstack/heft": "0.73.6",
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",
181
181
  "@types/webpack-env": "~1.15.2",
182
- "@typescript-eslint/parser": "8.26.1",
182
+ "@typescript-eslint/parser": "8.31.1",
183
183
  "eslint": "8.57.1",
184
- "jest-junit": "12.3.0",
185
184
  "typescript": "5.3.3"
186
185
  }
187
186
  },
@@ -195,11 +194,11 @@
195
194
  "devDependencies": {
196
195
  "@microsoft/rush-stack-compiler-5.3": "0.1.0",
197
196
  "@rushstack/eslint-config": "4.3.0",
198
- "@microsoft/eslint-plugin-spfx": "1.22.0-beta.1",
199
- "@microsoft/eslint-config-spfx": "1.22.0-beta.1",
200
- "@microsoft/sp-build-web": "1.22.0-beta.1",
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",
201
200
  "@types/webpack-env": "~1.15.2",
202
- "@typescript-eslint/parser": "8.26.1",
201
+ "@typescript-eslint/parser": "8.31.1",
203
202
  "ajv": "^6.12.5",
204
203
  "eslint": "8.57.1",
205
204
  "gulp": "4.0.2",
@@ -214,24 +213,24 @@
214
213
  "formCustomizer": {
215
214
  "standard": {
216
215
  "dependencies": {
217
- "@microsoft/sp-core-library": "1.22.0-beta.1",
218
- "@microsoft/sp-listview-extensibility": "1.22.0-beta.1",
219
- "@microsoft/sp-lodash-subset": "1.22.0-beta.1",
220
- "@microsoft/sp-office-ui-fabric-core": "1.22.0-beta.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"
221
220
  },
222
221
  "devDependencies": {
223
- "@microsoft/sp-module-interfaces": "1.22.0-beta.1"
222
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2"
224
223
  }
225
224
  },
226
225
  "plusBeta": {
227
226
  "dependencies": {
228
- "@microsoft/sp-core-library": "1.22.0-beta.1",
229
- "@microsoft/sp-listview-extensibility": "1.22.0-beta.1",
230
- "@microsoft/sp-lodash-subset": "1.22.0-beta.1",
231
- "@microsoft/sp-office-ui-fabric-core": "1.22.0-beta.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"
232
231
  },
233
232
  "devDependencies": {
234
- "@microsoft/sp-module-interfaces": "1.22.0-beta.1"
233
+ "@microsoft/sp-module-interfaces": "1.22.0-beta.2"
235
234
  }
236
235
  }
237
236
  }
@@ -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
  }
@@ -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
  }
@@ -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()) {
@@ -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
  }
@@ -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;
@@ -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;
@@ -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`));
@@ -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
  }
@@ -84,6 +84,7 @@ class SearchAdaptiveCardExtensionGenerator extends _BaseAdaptiveCardExtensionGen
84
84
  }
85
85
  writing() {
86
86
  if (this._shouldExecute()) {
87
+ this.sourceRoot(_path.join(__dirname, '../../templates/searchAdaptiveCardExtension'));
87
88
  super.writing(true);
88
89
  }
89
90
  }
@@ -110,6 +110,7 @@ class SearchQueryModifierGenerator extends _BaseExtensionGenerator.BaseExtension
110
110
  }
111
111
  writing() {
112
112
  if (this._shouldExecute()) {
113
+ this.sourceRoot(_path.join(__dirname, '../../templates/searchQueryModifier'));
113
114
  super.writing();
114
115
  }
115
116
  }
@@ -6,14 +6,16 @@
6
6
  "node": ">=22.14.0 < 23.0.0"
7
7
  },
8
8
  "scripts": {
9
- "build": "heft test --clean",
10
- "test": "heft test",
9
+ "build": "heft build --clean",
10
+ "test": "npm run build && heft test",
11
11
  "clean": "heft clean",
12
12
  "deploy": "heft dev-deploy",
13
13
  "start": "heft start --clean",
14
14
  "build-watch": "heft build --lite",
15
15
  "package-solution": "heft package-solution",
16
16
  "deploy-azure-storage": "heft deploy-azure-storage",
17
- "eject-webpack": "heft eject-webpack"
17
+ "eject-webpack": "heft eject-webpack",
18
+ "trust-dev-cert": "heft trust-dev-cert",
19
+ "untrust-dev-cert": "heft untrust-dev-cert"
18
20
  }
19
21
  }
@@ -229,6 +229,7 @@ class SolutionGenerator extends _BaseGenerator.BaseGenerator {
229
229
  if (this._shouldExecute()) {
230
230
  // eslint-disable-next-line no-console
231
231
  console.log();
232
+ this.sourceRoot(_path.join(__dirname, '../../templates/solution'));
232
233
  super.writing(false);
233
234
  const dest = this.destinationRoot();
234
235
  this.copyTemplate(_path.join(this.sourceRoot(), 'base'), dest);
@@ -103,6 +103,7 @@ class WebpartGenerator extends _BaseComponentGenerator.BaseComponentGenerator {
103
103
  }
104
104
  writing() {
105
105
  if (this._shouldExecute()) {
106
+ this.sourceRoot(_path.join(__dirname, '../../templates/webpart'));
106
107
  super.writing(false);
107
108
  const dest = this._getOutputFolder(this.context.componentNameCamelCase);
108
109
  const template = this.context.template;
@@ -13,5 +13,5 @@
13
13
  // If true, the component can only be installed on sites where Custom Script is allowed.
14
14
  // Components that allow authors to embed arbitrary script code should set this to true.
15
15
  // https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f
16
- "requiresCustomScript": false,
16
+ "requiresCustomScript": false
17
17
  }
@@ -4,4 +4,4 @@
4
4
  "account": "<!-- STORAGE ACCOUNT NAME -->",
5
5
  "container": "<%= libraryName %>",
6
6
  "accessKey": "<!-- ACCESS KEY -->"
7
- }
7
+ }
@@ -0,0 +1,22 @@
1
+ # Ignore everything by default
2
+ **
3
+
4
+ # Use negative patterns to bring back the specific things we want to publish
5
+ !/bin/**
6
+ !/dist/**
7
+ !/EULA/**
8
+ !/lib/**
9
+ !ThirdPartyNotice.txt
10
+
11
+ # Ignore certain files in the above folders
12
+ /dist/*.stats.*
13
+ /dist/**/*.js.map
14
+ /lib/**/*.js.map
15
+ /lib/**/test/**
16
+
17
+ # NOTE: These don't need to be specified, because NPM includes them automatically.
18
+ #
19
+ # package.json
20
+ # README (and its variants)
21
+ # CHANGELOG (and its variants)
22
+ # LICENSE / LICENCE
@@ -15,7 +15,7 @@
15
15
  "copyOperations": [
16
16
  {
17
17
  "sourcePath": "./src",
18
- "destinationFolders": ["./lib", "./lib-commonjs"],
18
+ "destinationFolders": ["./lib"],
19
19
  "fileExtensions": [".js"]
20
20
  }
21
21
  ]
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "./node_modules/@microsoft/spfx-web-build-rig/profiles/default/tsconfig-base.json"
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/generator-sharepoint",
3
- "version": "1.22.0-beta.1",
3
+ "version": "1.22.0-beta.2",
4
4
  "description": "Yeoman generator for the SharePoint Framework",
5
5
  "engines": {
6
6
  "node": ">=22.14.0 < 23.0.0"
@@ -34,8 +34,8 @@
34
34
  }
35
35
  },
36
36
  "dependencies": {
37
- "@rushstack/node-core-library": "5.13.1",
38
- "@rushstack/terminal": "0.15.3",
37
+ "@rushstack/node-core-library": "5.14.0",
38
+ "@rushstack/terminal": "0.15.4",
39
39
  "colors": "~1.2.1",
40
40
  "lodash": "4.17.21",
41
41
  "mem-fs": "^4.1.2",
@@ -43,12 +43,12 @@
43
43
  "uuid": "^9.0.0",
44
44
  "yeoman-generator": "5.10.0",
45
45
  "yosay": "2.0.2",
46
- "@microsoft/spfx-heft-plugins": "1.22.0-beta.1"
46
+ "@microsoft/spfx-heft-plugins": "1.22.0-beta.2"
47
47
  },
48
48
  "devDependencies": {
49
- "@rushstack/heft": "0.73.6",
50
- "@rushstack/heft-isolated-typescript-transpile-plugin": "0.1.14",
51
- "@rushstack/heft-typescript-plugin": "0.9.7",
49
+ "@rushstack/heft": "0.74.3",
50
+ "@rushstack/heft-isolated-typescript-transpile-plugin": "0.2.2",
51
+ "@rushstack/heft-typescript-plugin": "0.9.12",
52
52
  "@types/inquirer": "7.3.1",
53
53
  "@types/lodash": "4.14.117",
54
54
  "@types/update-notifier": "5.1.0",
@@ -59,7 +59,7 @@
59
59
  "mem-fs-editor": "^11.1.4",
60
60
  "@msinternal/ms-graph-v3-bundle": "3.0.2",
61
61
  "@msinternal/internal-node-rig": "0.1.0",
62
- "@msinternal/sp-teams-lib": "0.24.66"
62
+ "@msinternal/sp-teams-lib": "0.24.149"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "heft test --clean",
@@ -1,16 +0,0 @@
1
- !dist
2
- config
3
-
4
- gulpfile.js
5
-
6
- release
7
- src
8
- temp
9
-
10
- tsconfig.json
11
- tslint.json
12
-
13
- *.log
14
-
15
- .yo-rc.json
16
- .vscode
@@ -1,57 +0,0 @@
1
- {
2
- "extends": "@rushstack/heft-jest-plugin/includes/jest-shared.config.json",
3
-
4
- "roots": ["<rootDir>/lib"],
5
-
6
- "testMatch": ["<rootDir>/lib/**/*.test.js"],
7
-
8
- "collectCoverageFrom": [
9
- "lib/**/*.js",
10
- "!lib/**/*.d.ts",
11
- "!lib/**/*.test.js",
12
- "!lib/**/test/**",
13
- "!lib/**/__tests__/**",
14
- "!lib/**/__fixtures__/**",
15
- "!lib/**/__mocks__/**"
16
- ],
17
-
18
- "transformIgnorePatterns": ["[\\/]lib[\\/](.*)\\.js$"],
19
-
20
- "testEnvironment": "jest-environment-jsdom",
21
- "testEnvironmentOptions": {
22
- "customExportConditions": ["require", "node", "umd"]
23
- },
24
-
25
- "moduleFileExtensions": ["cjs", "js", "json", "node", "css"],
26
-
27
- // Enable code coverage for Jest
28
- "collectCoverage": true,
29
- "coverageDirectory": "<rootDir>/jest-output/coverage",
30
- "coverageReporters": [
31
- [
32
- "cobertura",
33
- {
34
- "file": "cobertura/cobertura-coverage.xml"
35
- }
36
- ],
37
- "html",
38
- "json-summary"
39
- ],
40
-
41
- // Use v8 coverage provider to avoid Babel
42
- "coverageProvider": "v8",
43
-
44
- // Enable junit reporting for Jest
45
- "reporters": [
46
- "default",
47
- [
48
- "jest-junit",
49
- {
50
- "outputDirectory": "<rootDir>/jest-output",
51
- "outputName": "JUnit.xml", // QTest expects this casing.
52
- "classNameTemplate": "{classname} > ",
53
- "titleTemplate": "{title} ({filepath})"
54
- }
55
- ]
56
- ]
57
- }
@@ -1,6 +0,0 @@
1
- {
2
- "extends": "./node_modules/@microsoft/spfx-web-build-rig/profiles/default/tsconfig-base.json",
3
- "compilerOptions": {
4
- "skipLibCheck": true
5
- }
6
- }