Skip to content

Nick pape/wip#4

Closed
nick-pape wants to merge 41 commits into
SharePoint:mainfrom
nick-pape:nick-pape/wip
Closed

Nick pape/wip#4
nick-pape wants to merge 41 commits into
SharePoint:mainfrom
nick-pape:nick-pape/wip

Conversation

@nick-pape
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 8, 2026 17:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds example SharePoint Framework (SPFx) projects demonstrating various component types and configurations. It includes web parts, extensions, and a library, each showcasing different frameworks (React, no framework) and build configurations using Heft.

  • Adds 8 example projects covering web parts, extensions (list view command set, form customizer, search query modifier), and a library
  • Provides TypeScript configurations, ESLint setups, and Webpack configurations for each example
  • Includes comprehensive build, test, and deployment configurations using the Heft build system

Reviewed changes

Copilot reviewed 274 out of 358 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
examples/webpart-react/.eslintrc.js ESLint configuration for React-based web part example
examples/webpart-noframework/webpack.config.js Webpack configuration for no-framework web part
examples/webpart-minimal/.eslintrc.js ESLint configuration for minimal web part example
examples/library/webpack.config.js Webpack configuration for SPFx library component
examples/extension-search-query-modifier/webpack.config.js Webpack configuration for search query modifier extension
examples/extension-listviewcommandset/src/extensions/listViewCommandSet/ListViewCommandSetCommandSet.ts Implementation of list view command set extension
examples/extension-formcustomizer-react/src/extensions/reactFormCustomizer/ReactFormCustomizerFormCustomizer.ts React-based form customizer extension implementation
examples/extension-formcustomizer-noframework/src/extensions/noFrameworkFormCustomizer/NoFrameworkFormCustomizerFormCustomizer.ts No-framework form customizer extension implementation
apps/spfx-cli/eslint.config.js Removes base ESLint configuration file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

nick-pape and others added 6 commits January 16, 2026 12:57
Resolved conflicts by:
- Accepting refactored code structure (split repository source files)
- Keeping EJS types and proper API usage
- Maintaining eslint ^8.57.1 for consistency across repo
- Merging test configurations to test both hello-world and real templates
- Keeping our rush.json with all template packages

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Remove eslint.config.js (flat config not supported in ESLint 8)
- Fix typo: componentNameHypenCase → componentNameHyphenCase in templates
- Update examples to match current template output
- Update lockfiles from rush update

All tests now pass successfully.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Merges all changes from main (templates, skills, CLAUDE.md, AGENTS.md,
etc.) into the WIP branch. Removes old-format source files and build
configs (heft.json, jest.config.json, webpack.config.js, en-us.resjson,
myWebPart/* stubs) from examples that already exist in main, keeping
main's versions as the source of truth.

New content unique to this branch is preserved:
- examples/ace-generic-basic-card/
- examples/ace-generic-image-card/
- examples/ace-generic-primarytext-card/
- examples/library/
- templates/test/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…in main)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Comment thread .claude/settings.local.json Outdated
Comment thread .vscode/extensions.json Outdated
Comment thread api/spfx-template-api/etc/generator-sharepoint-api.api.md Outdated
Comment thread common/config/rush/common-versions.json Outdated
Comment thread docs/Templates.md Outdated
Comment thread templates/test/hello_world.md Outdated
Comment thread tools/spfx-cli-build-rig/package.json
Comment thread libraries/spfx-templating-engine/package.json Outdated
nick-pape and others added 7 commits February 25, 2026 21:49
- Remove .claude/settings.local.json (should not be checked in)
- Remove .vscode/extensions.json (should not be checked in)
- Remove api/spfx-template-api/etc/generator-sharepoint-api.api.md
- Remove docs/Templates.md
- Remove templates/test/ (no longer needed)
- Remove baseline-browser-mapping from common-versions.json
- Revert tools/spfx-cli-build-rig/package.json to main version
- Revert libraries/spfx-templating-engine/package.json to main version

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The merge produced hundreds of duplicate keys throughout the lockfile.
Since the new WIP examples are not registered in rush.json, main's
lockfile is the correct baseline.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…red fields

The WIP branch had added three duplicate TemplateConfig entries
(webpart-noframework, webpart-minimal, webpart-react) at the bottom
of TEMPLATE_CONFIGS using the old format that lacked the required
localTemplatePath and componentName fields.

These duplicates already exist earlier in the array in the correct format.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Removes old aceImage/acePrimaryText/library component dirs and legacy
heft.json/jest.config.json/webpack.config.js files that were left over
from the wip branch but were superseded by the cleaner versions merged
via PRs #59, #60, and the library template PR.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nick-pape
Copy link
Copy Markdown
Contributor Author

All work from this branch has landed in main via PRs #59, #60, and subsequent PRs. Closing as complete.

@nick-pape nick-pape closed this Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants