@spfx-extensions/package 1.6.1 → 1.6.3

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 (81) hide show
  1. package/.npmignore +16 -16
  2. package/.nvmrc +1 -1
  3. package/LICENSE +674 -674
  4. package/README.md +166 -166
  5. package/config/config-scripts/rename-solution.mjs +22 -0
  6. package/config/config-scripts/update-version.mjs +23 -0
  7. package/config/config-scripts/webpack-patch.mjs +134 -0
  8. package/config/config.json +27 -27
  9. package/config/deploy-azure-storage.json +6 -6
  10. package/config/heft.json +58 -0
  11. package/config/package-solution.json +3 -3
  12. package/config/rig.json +7 -0
  13. package/config/sass.json +3 -2
  14. package/config/serve.json +18 -18
  15. package/config/typescript.json +7 -0
  16. package/config/webpack-patch.json +6 -0
  17. package/config/write-manifests.json +3 -3
  18. package/dist/8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.manifest.json +3 -3
  19. package/dist/d6ca1fc2-0591-4c6d-8a25-cae3262c017b.manifest.json +6 -6
  20. package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/ClientSideInstance.xml +8 -8
  21. package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/Extension_8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.xml +1 -1
  22. package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/WebPart_d6ca1fc2-0591-4c6d-8a25-cae3262c017b.xml +1 -1
  23. package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/elements.xml +8 -8
  24. package/dist/debug/AppManifest.xml +1 -1
  25. package/dist/debug/ClientSideAssets/spfx-extension-application-customizer_a3a347c8bd029396ec50.js +2 -0
  26. package/dist/debug/ClientSideAssets/spfx-extensionloader-web-part_3b393b3ec530c336b801.js +2 -0
  27. package/dist/debug/ClientSideAssets/spfx-extensions-classiccustomaction.js +1 -0
  28. package/dist/debug/ClientSideAssets/spfx-extensions-classicwrapper.js +1 -0
  29. package/dist/debug/ClientSideAssets/spfx-extensions-core.js +1 -0
  30. package/dist/debug/ClientSideAssets/spfx-extensions-coreconfigurator.js +175 -0
  31. package/dist/debug/ClientSideAssets/spfx-extensions-loader_6e8eb68a4b27d7c6f742.js +2 -0
  32. package/dist/debug/ClientSideAssets.xml +1 -1
  33. package/dist/debug/ClientSideAssets.xml.config.xml +1 -1
  34. package/dist/debug/_rels/AppManifest.xml.rels +1 -1
  35. package/dist/debug/_rels/ClientSideAssets.xml.rels +1 -1
  36. package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml +1 -1
  37. package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml.config.xml +1 -1
  38. package/dist/deploy/sp-fx-extensions.sppkg +0 -0
  39. package/dist/spfx-extension-application-customizer_a3a347c8bd029396ec50.js +2 -0
  40. package/dist/spfx-extensionloader-web-part_3b393b3ec530c336b801.js +2 -0
  41. package/dist/spfx-extensions-classiccustomaction.js +1 -0
  42. package/dist/spfx-extensions-classicwrapper.js +1 -0
  43. package/dist/spfx-extensions-core.js +1 -0
  44. package/dist/spfx-extensions-coreconfigurator.js +175 -0
  45. package/dist/spfx-extensions-loader_6e8eb68a4b27d7c6f742.js +2 -0
  46. package/gulpfile.js +80 -196
  47. package/package.json +68 -63
  48. package/sharepoint/assets/ClientSideInstance.xml +8 -8
  49. package/sharepoint/assets/elements.xml +8 -8
  50. package/src/@types/globals.d.ts +17 -14
  51. package/src/extensions/spfxExtension/SpfxExtensionApplicationCustomizer.manifest.json +17 -17
  52. package/src/extensions/spfxExtension/SpfxExtensionApplicationCustomizer.ts +70 -70
  53. package/src/extensions/spfxExtension/loc/en-us.js +4 -4
  54. package/src/extensions/spfxExtension/loc/myStrings.d.ts +8 -8
  55. package/src/index.ts +1 -1
  56. package/src/services/initCoreService.ts +68 -60
  57. package/src/utilities/constants.ts +3 -3
  58. package/src/webparts/spfxExtensionloader/SpfxExtensionloaderWebPart.manifest.json +34 -34
  59. package/src/webparts/spfxExtensionloader/SpfxExtensionloaderWebPart.module.scss +185 -185
  60. package/src/webparts/spfxExtensionloader/SpfxExtensionloaderWebPart.ts +767 -767
  61. package/src/webparts/spfxExtensionloader/ai.json +38 -0
  62. package/src/webparts/spfxExtensionloader/loc/en-us.js +15 -15
  63. package/src/webparts/spfxExtensionloader/loc/mystrings.d.ts +19 -19
  64. package/tsconfig.json +25 -25
  65. package/dist/debug/ClientSideAssets/spfx-extension-application-customizer_4ec7a7e885824c810f4a.js +0 -2
  66. package/dist/debug/ClientSideAssets/spfx-extension-core.js +0 -1
  67. package/dist/debug/ClientSideAssets/spfx-extension-coreconfigurator.js +0 -175
  68. package/dist/debug/ClientSideAssets/spfx-extension-loader_a8e9e98c65f5ffdfbd2f.js +0 -2
  69. package/dist/debug/ClientSideAssets/spfx-extension-wrapper.js +0 -1
  70. package/dist/debug/ClientSideAssets/spfx-extensionloader-web-part_02ffe17119fb99560692.js +0 -3
  71. package/dist/spfx-extension-application-customizer_4ec7a7e885824c810f4a.js +0 -2
  72. package/dist/spfx-extension-core.js +0 -1
  73. package/dist/spfx-extension-coreconfigurator.js +0 -175
  74. package/dist/spfx-extension-loader_a8e9e98c65f5ffdfbd2f.js +0 -2
  75. package/dist/spfx-extension-wrapper.js +0 -1
  76. package/dist/spfx-extensionloader-web-part_02ffe17119fb99560692.js +0 -3
  77. package/src/webparts/spfxExtensionloader/SpfxExtensionloaderWebPart.module.scss.ts +0 -24
  78. /package/dist/debug/ClientSideAssets/{3be36e80-4431-4b52-99c5-0a339b4e696e_color.png → d6ca1fc2-0591-4c6d-8a25-cae3262c017b_color.png} +0 -0
  79. /package/dist/debug/ClientSideAssets/{3be36e80-4431-4b52-99c5-0a339b4e696e_outline.png → d6ca1fc2-0591-4c6d-8a25-cae3262c017b_outline.png} +0 -0
  80. /package/teams/{3be36e80-4431-4b52-99c5-0a339b4e696e_color.png → d6ca1fc2-0591-4c6d-8a25-cae3262c017b_color.png} +0 -0
  81. /package/teams/{3be36e80-4431-4b52-99c5-0a339b4e696e_outline.png → d6ca1fc2-0591-4c6d-8a25-cae3262c017b_outline.png} +0 -0
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackJsonp_ae216b2de8bd1132c7f194bc5845cc9c=self.webpackJsonp_ae216b2de8bd1132c7f194bc5845cc9c||[]).push([[573],{455:(e,t,n)=>{n.r(t),n.d(t,{initCore:()=>m,registerPlaceHolderProvider:()=>p});var a=n(367),{getPrototypeOf:i,defineProperty:r,getOwnPropertyNames:o}=(Object.create,Object);Object.prototype.hasOwnProperty;const s=n.p+"spfx-extensions-core.js?v=60c587768fe3d8f0d829",c=n.p+"spfx-extensions-coreconfigurator.js?v=2a0fad3198648bc40d23",d=n.p+"spfx-extensions-classicwrapper.js?v=9127f9ef9d0b6b964c3c",l=n.p+"spfx-extensions-classiccustomaction.js?v=9154b65bbd0d97bfd92a";let u=!1;async function f(){return Promise.resolve({coreUrl:s,configuratorUrl:c,wrapperUrl:d,customActionUrl:l})}function p(e,t){u||(u=!0,window.__SPFxExtensions.Utils.placeHolderResolver({placeHolderProvider:e,eventObserver:t}))}async function m(e){if(window.__SPFxExtensions?.__CoreInitializationPromise)return window.__SPFxExtensions.Utils&&!window.__SPFxExtensions.Utils.initializedThroughSPFX&&(window.__SPFxExtensions.Utils.environmentType=e,window.__SPFxExtensions.Utils.initializedThroughSPFX=!0),window.__SPFxExtensions.__CoreInitializationPromise;const{promise:t,resolve:n}=Promise.withResolvers();window.__SPFxExtensions={__CoreInitializationPromise:t,__CoreInitializationResolver:n},console.info(a.Lf,"Initializing Core from SPFx Built:","2026-03-18T23:29:32.165Z"),await async function(e,t){if(window.__SPFxExtensions.__CorePromise)return window.__SPFxExtensions.__CorePromise;!function(e){if(!window.__SPFxExtensions.__CorePromise){let{promise:e,resolve:t}=Promise.withResolvers();window.__SPFxExtensions.__CorePromise=e,window.__SPFxExtensions.__CorePromiseResolver=t}if(!window.__SPFxExtensions.Utils){let{promise:t,resolve:n}=Promise.withResolvers(),{promise:a,resolve:i}=Promise.withResolvers();window.__SPFxExtensions.Utils={environmentType:e,initializedThroughSPFX:true,placeHolderProviderPromise:t,placeHolderResolver:n,appManifestPromises:[],spAppInitializationPromise:a,spAppInitializationPromiseResolver:i,fluentIconsInitialized:!1,ConfiguratorPageUrl:"/sites/appcatalog/SPFxExtensionsData/SitePages/SPFxExtensionsConfigurator.aspx"}}}(t);let n=await async function(e){let t=Number(localStorage.getItem("SPFXEXT")),n={core:"",configuratorUrl:""};if(t>0){let e=Date.now();return n.core=`https://localhost:${t}/spfx-extensions-core.js?v=${e}`,n.configuratorUrl=`https://localhost:${t}/spfx-extensions-coreconfigurator.js?v=${e}`,n}let{coreUrl:a,configuratorUrl:i}=await e();if(!a)throw Error("[SPFxExtensions/Core] Unable to resolve SPFx Core location");if(!i)throw Error("[SPFxExtensions/Core] Unable to resolve SPFx Core Configurator location");return n.core=a,n.configuratorUrl=i,n}(e);window.__SPFxExtensions.__ConfiguratorUrl=n.configuratorUrl,console.info("[SPFxExtensions/Core]","Loading SPFxExtensions Core from",n);let a=document.createElement("script");return a.src=n.core,a.type="module",a.addEventListener("error",e=>{console.error("[SPFxExtensions/Core]","Catastrophic failure, cannot load SPFxExtensions Core from",n,e)}),document.head.appendChild(a),window.__SPFxExtensions.__CorePromise}(f,e),window.__SPFxExtensions.__CoreInitializationResolver()}}
2
+ }]);
package/gulpfile.js CHANGED
@@ -1,196 +1,80 @@
1
- "use strict";
2
- const fs = require("fs");
3
- const build = require("@microsoft/sp-build-web");
4
- const { spawnSync } = require("child_process");
5
- const path = require("path");
6
- const isProd = process.argv.indexOf("--ship") > -1;
7
- const changeNameArg = "--change-name";
8
- const argvJoined = process.argv.join(" ");
9
- const changeNameArgIndex = argvJoined.indexOf(changeNameArg);
10
- const shouldChangeName = changeNameArgIndex > -1;
11
- const newNameStart = changeNameArgIndex + changeNameArg.length + 1;
12
- const newNameSubstring = argvJoined.substring(newNameStart);
13
- const hasMoreArgsAfterName = newNameSubstring.indexOf("--");
14
- let newName = "";
15
- if (shouldChangeName) {
16
- if (hasMoreArgsAfterName > -1) {
17
- newName = newNameSubstring.substring(0, hasMoreArgsAfterName).trim();
18
- } else {
19
- newName = newNameSubstring.trim();
20
- }
21
- }
22
-
23
- build.addSuppression(
24
- `Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`
25
- );
26
-
27
- const projectSolutionPackage = fs.readFileSync(
28
- "./config/package-solution.json",
29
- { encoding: "utf8" }
30
- );
31
- const projectPackage = fs.readFileSync("./package.json", { encoding: "utf8" });
32
- const projectPackageJson = JSON.parse(projectPackage);
33
- const projectSolutionPackageJson = JSON.parse(projectSolutionPackage);
34
- const projectVersion = `${projectPackageJson.version}.0`;
35
- console.log("Project Version:", projectVersion);
36
- projectSolutionPackageJson.solution.version = projectVersion;
37
- projectSolutionPackageJson.solution.features[0].version = projectVersion;
38
-
39
- fs.writeFileSync(
40
- "./config/package-solution.json",
41
- JSON.stringify(projectSolutionPackageJson, null, 2)
42
- );
43
-
44
- if (newName) {
45
- const jsonPath =
46
- "./src/webparts/spfxExtensionloader/SpfxExtensionloaderWebPart.manifest.json";
47
- const webpartData = fs.readFileSync(jsonPath, { encoding: "utf8" });
48
- const webpartDataJson = JSON.parse(webpartData);
49
- const oldName = webpartDataJson.preconfiguredEntries[0].title.default;
50
- console.log("Old Webpart Name:", oldName);
51
- console.log("New Webpart Name:", newName);
52
- webpartDataJson.preconfiguredEntries[0].title.default = newName;
53
- fs.writeFileSync(jsonPath, JSON.stringify(webpartDataJson, null, 2));
54
- }
55
-
56
- // build.addSuppression(
57
- // `Warning - [webpack] No webpack config has been provided. Create a webpack.config.js file or call webpack.setConfig({ configPath: null }) in your gulpfile.`
58
- // );
59
- // build.webpack.setConfig({
60
- // configPath: "./webpack.config.js"
61
- // })
62
-
63
- build.tscCmd.executeTask = function () {
64
- console.log("Overriding tscCmd.executeTask");
65
- spawnSync("npx", ["tsc", "--build", "--verbose"], {
66
- shell: true,
67
- stdio: "inherit",
68
- cwd: path.resolve(__dirname),
69
- });
70
- return Promise.resolve();
71
- };
72
-
73
- build.configureWebpack.mergeConfig({
74
- //https://github.com/SharePoint/sp-dev-docs/issues/10205
75
- // generateCssClassName: (name) => {
76
- // return name;
77
- // },
78
- additionalConfiguration: (generatedConfiguration) => {
79
- // generatedConfiguration.optimization.usedExports = true;
80
- //generatedConfiguration.resolve.extensions.push(".ts");
81
- generatedConfiguration.output.chunkFilename = "[name]_[contenthash].js";
82
- generatedConfiguration.output.environment = {
83
- arrowFunction: true,
84
- const: true,
85
- optionalChaining: true,
86
- module: true,
87
- templateLiteral: true,
88
- destructuring: true,
89
- dynamicImport: true,
90
- globalThis: true,
91
- forOf: true,
92
- };
93
- generatedConfiguration.optimization.splitChunks = {
94
- cacheGroups: {
95
- defaultVendors: false,
96
- },
97
- };
98
- // const sourceMapLoaderIndex = generatedConfiguration.module.rules.findIndex(
99
- // (l) => l.use && l.use?.loader?.indexOf("source-map-loader") > -1
100
- // );
101
- // if (sourceMapLoaderIndex > -1) {
102
- // generatedConfiguration.module.rules.splice(sourceMapLoaderIndex, 1);
103
- // generatedConfiguration.module.rules.push({
104
- // test: /\.js$/,
105
- // enforce: "pre",
106
- // use: [
107
- // {
108
- // loader: "source-map-loader",
109
- // options: {
110
- // filterSourceMappingUrl: (url, resourcePath) => {
111
- // const includeSourceMap =
112
- // resourcePath.indexOf("node_modules") === -1 ||
113
- // url.indexOf("__spfxCore.js") > -1 ||
114
- // url.indexOf("@spfx-extensions/core") > -1 ||
115
- // resourcePath.indexOf("@spfx-extensions/core") > -1;
116
- // return includeSourceMap;
117
- // },
118
- // },
119
- // },
120
- // ],
121
- // });
122
- // }
123
-
124
- generatedConfiguration.module.rules.push({
125
- test: /__spfxCore\.js$/,
126
- generator: {
127
- filename: "spfx-extension-core[ext]?v=[hash]",
128
- },
129
- type: "asset/resource",
130
- });
131
- generatedConfiguration.module.rules.push({
132
- test: /__spfxCoreConfigurator\.js$/,
133
- generator: {
134
- filename: "spfx-extension-coreconfigurator[ext]?v=[hash]",
135
- },
136
- type: "asset/resource",
137
- });
138
- generatedConfiguration.module.rules.push({
139
- test: /__spfxWrapperClassic\.js$/,
140
- generator: {
141
- filename: "spfx-extension-wrapper[ext]?v=[hash]",
142
- },
143
- type: "asset/resource",
144
- });
145
- // generatedConfiguration.module.rules.push({
146
- // test: /__spfxCore\.js\.map$/,
147
- // generator: {
148
- // filename: "spfx-extension-core.js[ext]?[hash]",
149
- // },
150
- // type: "asset/resource",
151
- // });
152
- generatedConfiguration.resolve.alias["__spfxCore.js"] =
153
- "@spfx-extensions/core/spfxCoreEntry";
154
- generatedConfiguration.resolve.alias["__spfxCoreConfigurator.js"] =
155
- "@spfx-extensions/core/configurator";
156
- generatedConfiguration.resolve.alias["__spfxWrapperClassic.js"] =
157
- "@spfx-extensions/core/classicWrapper";
158
- // generatedConfiguration.resolve.alias["__spfxCore.js.map"] =
159
- // "@spfx-extensions/core/spfxCoreEntryMap";
160
- // generatedConfiguration.resolve.alias.push({
161
-
162
- // })
163
- // generatedConfiguration.experiments = {
164
- // outputModule: true,
165
- // };
166
- // generatedConfiguration.output.libraryTarget = "commonjs-module";
167
- // generatedConfiguration.output.library = {
168
- // type: "commonjs-module",
169
- // };
170
- const definePlugin = generatedConfiguration.plugins.find(
171
- (p) => p.definitions
172
- );
173
- if (definePlugin) {
174
- const date = new Date().toISOString();
175
- console.log("Adding BUILD_DATE to define plugin:", date);
176
- definePlugin.definitions["BUILD_DATE"] = JSON.stringify(date);
177
- definePlugin.definitions["ISDEBUG"] = JSON.stringify(
178
- isProd ? false : true
179
- );
180
- } else {
181
- console.error("No define plugin found in webpack configuration.");
182
- }
183
- return generatedConfiguration;
184
- },
185
- });
186
-
187
- var getTasks = build.rig.getTasks;
188
- build.rig.getTasks = function () {
189
- var result = getTasks.call(build.rig);
190
-
191
- result.set("serve", result.get("serve-deprecated"));
192
-
193
- return result;
194
- };
195
-
196
- build.initialize(require("gulp"));
1
+ "use strict";
2
+ const fs = require("fs");
3
+ const build = require("@microsoft/sp-build-web");
4
+ const { spawnSync } = require("child_process");
5
+ const path = require("path");
6
+ const isProd = process.argv.indexOf("--ship") > -1;
7
+
8
+
9
+ build.addSuppression(
10
+ `Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`
11
+ );
12
+
13
+
14
+ // build.addSuppression(
15
+ // `Warning - [webpack] No webpack config has been provided. Create a webpack.config.js file or call webpack.setConfig({ configPath: null }) in your gulpfile.`
16
+ // );
17
+ // build.webpack.setConfig({
18
+ // configPath: "./webpack.config.js"
19
+ // })
20
+
21
+ build.tscCmd.executeTask = function () {
22
+ console.log("Overriding tscCmd.executeTask");
23
+ spawnSync("npx", ["tsc", "--build", "--verbose"], {
24
+ shell: true,
25
+ stdio: "inherit",
26
+ cwd: path.resolve(__dirname),
27
+ });
28
+ return Promise.resolve();
29
+ };
30
+
31
+ build.configureWebpack.mergeConfig({
32
+ //https://github.com/SharePoint/sp-dev-docs/issues/10205
33
+ // generateCssClassName: (name) => {
34
+ // return name;
35
+ // },
36
+ additionalConfiguration: (generatedConfiguration) => {
37
+ // generatedConfiguration.optimization.usedExports = true;
38
+ //generatedConfiguration.resolve.extensions.push(".ts");
39
+
40
+ // const sourceMapLoaderIndex = generatedConfiguration.module.rules.findIndex(
41
+ // (l) => l.use && l.use?.loader?.indexOf("source-map-loader") > -1
42
+ // );
43
+ // if (sourceMapLoaderIndex > -1) {
44
+ // generatedConfiguration.module.rules.splice(sourceMapLoaderIndex, 1);
45
+ // generatedConfiguration.module.rules.push({
46
+ // test: /\.js$/,
47
+ // enforce: "pre",
48
+ // use: [
49
+ // {
50
+ // loader: "source-map-loader",
51
+ // options: {
52
+ // filterSourceMappingUrl: (url, resourcePath) => {
53
+ // const includeSourceMap =
54
+ // resourcePath.indexOf("node_modules") === -1 ||
55
+ // url.indexOf("__spfxCore.js") > -1 ||
56
+ // url.indexOf("@spfx-extensions/core") > -1 ||
57
+ // resourcePath.indexOf("@spfx-extensions/core") > -1;
58
+ // return includeSourceMap;
59
+ // },
60
+ // },
61
+ // },
62
+ // ],
63
+ // });
64
+ // }
65
+
66
+
67
+ return generatedConfiguration;
68
+ },
69
+ });
70
+
71
+ var getTasks = build.rig.getTasks;
72
+ build.rig.getTasks = function () {
73
+ var result = getTasks.call(build.rig);
74
+
75
+ result.set("serve", result.get("serve-deprecated"));
76
+
77
+ return result;
78
+ };
79
+
80
+ build.initialize(require("gulp"));
package/package.json CHANGED
@@ -1,63 +1,68 @@
1
- {
2
- "name": "@spfx-extensions/package",
3
- "version": "1.6.1",
4
- "author": "SPWizard01",
5
- "access": "public",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/SPWizard01/spfx-extensions"
9
- },
10
- "license": "GPL-3.0-only",
11
- "engines": {
12
- "node": ">=22.14.0 < 23.0.0"
13
- },
14
- "description": "SPFx Extensions package for SharePoint Online",
15
- "scripts": {
16
- "build": "gulp bundle",
17
- "clean": "gulp clean",
18
- "serve": "gulp serve",
19
- "prerelease": "gulp clean",
20
- "release": "gulp bundle --ship",
21
- "postrelease": "gulp package-solution --ship",
22
- "test": "gulp test"
23
- },
24
- "files": [
25
- "dist",
26
- "config",
27
- "sharepoint",
28
- "src",
29
- "teams",
30
- ".npmignore",
31
- ".nvmrc",
32
- "gulpfile.js",
33
- "LICENSE",
34
- "README.md",
35
- "tsconfig.json"
36
- ],
37
- "dependencies": {
38
- "@microsoft/decorators": "^1.21.1",
39
- "@microsoft/sp-application-base": "^1.21.1",
40
- "@microsoft/sp-component-base": "^1.21.1",
41
- "@microsoft/sp-core-library": "^1.21.1",
42
- "@microsoft/sp-dialog": "^1.21.1",
43
- "@microsoft/sp-lodash-subset": "^1.21.1",
44
- "@microsoft/sp-office-ui-fabric-core": "^1.21.1",
45
- "@microsoft/sp-property-pane": "^1.21.1",
46
- "@microsoft/sp-webpart-base": "^1.21.1",
47
- "@spfx-extensions/core": "^0.9.5",
48
- "tslib": "^2.8.1"
49
- },
50
- "devDependencies": {
51
- "@microsoft/eslint-config-spfx": "^1.21.1",
52
- "@microsoft/eslint-plugin-spfx": "^1.21.1",
53
- "@microsoft/rush-stack-compiler-5.3": "0.1.0",
54
- "@microsoft/sp-build-web": "^1.21.1",
55
- "@microsoft/sp-module-interfaces": "^1.21.1",
56
- "@rushstack/eslint-config": "^4.4.0",
57
- "@types/webpack-env": "^1.18.8",
58
- "ajv": "^6.12.5",
59
- "eslint": "8.57.1",
60
- "gulp": "4.0.2",
61
- "typescript": "^5.8.3"
62
- }
63
- }
1
+ {
2
+ "name": "@spfx-extensions/package",
3
+ "version": "1.6.3",
4
+ "author": "SPWizard01",
5
+ "access": "public",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/SPWizard01/spfx-extensions"
9
+ },
10
+ "publishConfig": {
11
+ "access": "public",
12
+ "provenance": true
13
+ },
14
+ "license": "GPL-3.0-only",
15
+ "engines": {
16
+ "node": ">=22.14.0 < 23.0.0"
17
+ },
18
+ "description": "SPFx Extensions package for SharePoint Online",
19
+ "scripts": {
20
+ "build": "heft test --clean --production && heft package-solution --production",
21
+ "start": "heft start --clean",
22
+ "clean": "heft clean"
23
+ },
24
+ "files": [
25
+ "dist",
26
+ "config",
27
+ "sharepoint",
28
+ "src",
29
+ "teams",
30
+ ".npmignore",
31
+ ".nvmrc",
32
+ "gulpfile.js",
33
+ "LICENSE",
34
+ "README.md",
35
+ "tsconfig.json"
36
+ ],
37
+ "dependencies": {
38
+ "@microsoft/decorators": "1.22.2",
39
+ "@microsoft/sp-application-base": "1.22.2",
40
+ "@microsoft/sp-component-base": "1.22.2",
41
+ "@microsoft/sp-core-library": "1.22.2",
42
+ "@microsoft/sp-dialog": "1.22.2",
43
+ "@microsoft/sp-lodash-subset": "1.22.2",
44
+ "@microsoft/sp-office-ui-fabric-core": "1.22.2",
45
+ "@microsoft/sp-property-pane": "1.22.2",
46
+ "@microsoft/sp-webpart-base": "1.22.2",
47
+ "@spfx-extensions/core": "^0.9.16",
48
+ "tslib": "2.8.1"
49
+ },
50
+ "devDependencies": {
51
+ "@microsoft/eslint-config-spfx": "1.22.2",
52
+ "@microsoft/eslint-plugin-spfx": "1.22.2",
53
+ "@microsoft/sp-build-web": "1.22.2",
54
+ "@microsoft/sp-module-interfaces": "1.22.2",
55
+ "@microsoft/spfx-heft-plugins": "1.22.2",
56
+ "@microsoft/spfx-web-build-rig": "1.22.2",
57
+ "@rushstack/eslint-config": "4.5.2",
58
+ "@rushstack/heft": "1.1.2",
59
+ "@types/webpack": "5.28.5",
60
+ "@types/webpack-env": "1.18.8",
61
+ "@typescript-eslint/parser": "8.46.2",
62
+ "eslint": "8.57.1",
63
+ "typescript": "5.9.3"
64
+ },
65
+ "overrides": {
66
+ "@rushstack/heft": "1.1.2"
67
+ }
68
+ }
@@ -1,9 +1,9 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
3
- <ClientSideComponentInstance
4
- Title="SpFxExtensionsCustomizer"
5
- Location="ClientSideExtension.ApplicationCustomizer"
6
- ComponentId="8d1029da-85e6-48cc-aaaf-37a5bbc0b9be"
7
- Properties="">
8
- </ClientSideComponentInstance>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
3
+ <ClientSideComponentInstance
4
+ Title="SpFxExtensionsCustomizer"
5
+ Location="ClientSideExtension.ApplicationCustomizer"
6
+ ComponentId="8d1029da-85e6-48cc-aaaf-37a5bbc0b9be"
7
+ Properties="">
8
+ </ClientSideComponentInstance>
9
9
  </Elements>
@@ -1,9 +1,9 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
3
- <CustomAction
4
- Title="SpFxExtensionsCustomizer"
5
- Location="ClientSideExtension.ApplicationCustomizer"
6
- ClientSideComponentId="8d1029da-85e6-48cc-aaaf-37a5bbc0b9be"
7
- ClientSideComponentProperties="">
8
- </CustomAction>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
3
+ <CustomAction
4
+ Title="SpFxExtensionsCustomizer"
5
+ Location="ClientSideExtension.ApplicationCustomizer"
6
+ ClientSideComponentId="8d1029da-85e6-48cc-aaaf-37a5bbc0b9be"
7
+ ClientSideComponentProperties="">
8
+ </CustomAction>
9
9
  </Elements>
@@ -1,15 +1,18 @@
1
- declare const BUILD_DATE: string;
2
- declare const ISDEBUG: boolean;
3
- declare module "__spfxCore.js" {
4
- const content: string;
5
- export default content;
6
- }
7
- declare module "__spfxCoreConfigurator.js" {
8
- const content: string;
9
- export default content;
10
- }
11
-
12
- declare module "__spfxWrapperClassic.js" {
13
- const content: string;
14
- export default content;
1
+ declare const BUILD_DATE: string;
2
+ declare const ISDEBUG: boolean;
3
+ declare module "@spfx-extensions/core/spfx-extensions-core" {
4
+ const content: string;
5
+ export default content;
6
+ }
7
+ declare module "@spfx-extensions/core/spfx-extensions-coreconfigurator" {
8
+ const content: string;
9
+ export default content;
10
+ }
11
+ declare module "@spfx-extensions/core/spfx-extensions-classicwrapper" {
12
+ const content: string;
13
+ export default content;
14
+ }
15
+ declare module "@spfx-extensions/core/spfx-extensions-classiccustomaction" {
16
+ const content: string;
17
+ export default content;
15
18
  }
@@ -1,17 +1,17 @@
1
- {
2
- "$schema": "https://developer.microsoft.com/json-schemas/spfx/client-side-extension-manifest.schema.json",
3
-
4
- "id": "8d1029da-85e6-48cc-aaaf-37a5bbc0b9be",
5
- "alias": "SpfxExtensionApplicationCustomizer",
6
- "componentType": "Extension",
7
- "extensionType": "ApplicationCustomizer",
8
-
9
- // The "*" signifies that the version should be taken from the package.json
10
- "version": "*",
11
- "manifestVersion": 2,
12
-
13
- // If true, the component can only be installed on sites where Custom Script is allowed.
14
- // Components that allow authors to embed arbitrary script code should set this to true.
15
- // https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f
16
- "requiresCustomScript": false
17
- }
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/spfx/client-side-extension-manifest.schema.json",
3
+
4
+ "id": "8d1029da-85e6-48cc-aaaf-37a5bbc0b9be",
5
+ "alias": "SpfxExtensionApplicationCustomizer",
6
+ "componentType": "Extension",
7
+ "extensionType": "ApplicationCustomizer",
8
+
9
+ // The "*" signifies that the version should be taken from the package.json
10
+ "version": "*",
11
+ "manifestVersion": 2,
12
+
13
+ // If true, the component can only be installed on sites where Custom Script is allowed.
14
+ // Components that allow authors to embed arbitrary script code should set this to true.
15
+ // https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f
16
+ "requiresCustomScript": false
17
+ }