
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
sp-js-provisioning
Advanced tools
This project is a SharePoint provisioning tool that uses the SharePoint Framework (SPFx) and Patterns & Practices (PnP) to provision SharePoint sites. It includes various handlers for provisioning different SharePoint components such as files, custom actions, and more.
To install the project, you need to have Node.js and npm installed on your machine. After that, you can clone the repository and install the dependencies:
git clone git://github.com/Puzzlepart/pnp-js-provisioning
cd pnp-js-provisioning
npm install
Add the npm packages to your project
npm install sp-js-provisioning --save
Here is an example of how you might define navigation in a provisioning template, first in XML and then in JSON (used by sp-js-provisioning).
XML:
<pnp:Navigation>
<pnp:CurrentNavigation NavigationType="Structural">
<pnp:StructuralNavigation RemoveExistingNodes="true">
<pnp:NavigationNode Title="Home" Url="{site}" />
<pnp:NavigationNode Title="About" Url="{site}/about" />
</pnp:StructuralNavigation>
</pnp:CurrentNavigation>
</pnp:Navigation>
JSON:
{
"Navigation": {
"CurrentNavigation": {
"NavigationType": "Structural",
"StructuralNavigation": {
"RemoveExistingNodes": true,
"NavigationNode": [
{
"Title": "Home",
"Url": "{site}"
},
{
"Title": "About",
"Url": "{site}/about"
}
]
}
}
}
}
Contributions are welcome. Please open an issue or submit a pull request on the GitHub repository.
FAQs
SharePoint provisioning with pure JavaScript
We found that sp-js-provisioning demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.