Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@episerver/content-definitions
Advanced tools
Readme
SDK and CLI for managing content definitions and modelling of data in an Optimizely application running the Content Definitions API.
Please visit Optimizely World for full documentation of the APIs.
Using npm:
$ npm install @episerver/content-definitions@latest --save-dev
using yarn:
$ yarn install @episerver/content-definitions@latest --save-dev
Help:
$ npx content-definitions --help
Usage: cli <command> [options]
Options:
-V, --version Output the version number
-h, --help Display help for command
Commands:
push [options] <path> Push a manifest with content definitions to a management application from the specified path.
pull [options] [path] Pull a manifest with content definitions from a management application to the specified path.
help [command] Display help for command
Push content definitions manifest:
$ npx content-definitions push manifest.json -s https://example.com --allowed-upgrades major --authority https://example.com --client-id xxx --client-secret xxx
Usage: cli push [options] <path>
Push a manifest with content definitions to a management application from the specified path.
Options:
-s, --source <source> URL to the management application.
--authority <authority> Login authority.
--client-id <clientId> Login client ID.
--client-secret <clientSecret> Login client secret.
--allowed-upgrades [allowedUpgrades] Which semantic upgrades of definitions should be allowed. Allowed values are "none", "patch", "minor", and "major".
-f, --force [force] Should the push proceed even though there are warnings or the changes are not allowed.
-h, --help Display help for command
Pull content definitions manifest:
$ npx content-definitions pull manifest.json -s https://example.com --authority https://example.com --client-id xxx --client-secret xxx
Note that path is optional, if left empty the manifest will be displayed in the output instead.
Usage: cli pull [options] [path]
Pull a manifest with content definitions from a management application to the specified path.
Options:
-s, --source <source> URL to the management application.
--authority <authority> Login authority.
--client-id <clientId> Login client ID.
--client-secret <clientSecret> Login client secret.
-h, --help Display help for command
FAQs
CLI tool for managing content definitions manifest files.
The npm package @episerver/content-definitions receives a total of 10 weekly downloads. As such, @episerver/content-definitions popularity was classified as not popular.
We found that @episerver/content-definitions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.