Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/spfx-template-api/etc/spfx-template-api.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export class ServeJsonMergeHelper extends JsonMergeHelper {
}

// @public
export const SPFX_TEMPLATE_CATEGORIES: readonly ['webpart', 'extension', 'ace', 'library'];
export const SPFX_TEMPLATE_CATEGORIES: readonly ['webpart', 'extension', 'ace', 'library', 'copilot'];

// @public
export type SPFxRepositorySource = LocalFileSystemRepositorySource | PublicGitHubRepositorySource;
Expand Down
5 changes: 3 additions & 2 deletions api/spfx-template-api/src/templating/SPFxTemplateJsonFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ const DESCRIPTION_MAX_LENGTH: number = 500;
* The allowed category values for SPFx templates.
* @public
*/
export const SPFX_TEMPLATE_CATEGORIES: readonly ['webpart', 'extension', 'ace', 'library'] = [
export const SPFX_TEMPLATE_CATEGORIES: readonly ['webpart', 'extension', 'ace', 'library', 'copilot'] = [
'webpart',
'extension',
'ace',
'library'
'library',
'copilot'
] as const;

/**
Expand Down
8 changes: 8 additions & 0 deletions apps/spfx-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,14 @@ Templates are fetched at runtime from the [SharePoint/spfx](https://github.com/S
| `ace-generic-primarytext-card` | Generic primary text card |
| `ace-search-card` | Search card |

### Copilot Components

| Name | Description |
|------|-------------|
| `copilot-component-minimal` | Bare-bones Copilot Component, no UI framework |
| `copilot-component-noframework` | No-framework Copilot Component (HTML/CSS) with theming and localization |
| `copilot-component-react` | React-based Copilot Component using Fluent UI, Microsoft Graph, and SharePoint REST |

### Other

| Name | Description |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@microsoft/spfx-cli",
"comment": "",
"type": "none"
}
],
"packageName": "@microsoft/spfx-cli"
}
13 changes: 12 additions & 1 deletion common/config/rush/common-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,17 @@
"eslint": [
// Used by templates and examples for now
"8.57.1"
]
],
// The copilot component templates track a newer SPFx line than the other
// templates (see templates/copilot-component-*). Allow their SPFx package
// versions in addition to the repo's usual version.
"@microsoft/eslint-config-spfx": ["1.24.0-beta.2"],
"@microsoft/eslint-plugin-spfx": ["1.24.0-beta.2"],
"@microsoft/sp-lodash-subset": ["1.24.0-beta.2"],
"@microsoft/sp-module-interfaces": ["1.24.0-beta.2"],
"@microsoft/spfx-web-build-rig": ["1.24.0-beta.2"],
// Copilot component templates use zod 3.x (required by zod-to-json-schema),
// whereas the CLI tooling uses zod 4.x.
"zod": ["3.24.1"]
}
}
Loading