Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contentful/create-contentful-extension

Package Overview
Dependencies
Maintainers
49
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/create-contentful-extension - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [0.2.0](https://github.com/contentful/create-contentful-extension/compare/@contentful/create-contentful-extension@0.1.0...@contentful/create-contentful-extension@0.2.0) (2019-03-18)
### Features
* moved installing dependencies to a user land ([#18](https://github.com/contentful/create-contentful-extension/issues/18)) ([daedf71](https://github.com/contentful/create-contentful-extension/commit/daedf71))
# [0.1.0](https://github.com/contentful/create-contentful-extension/compare/@contentful/create-contentful-extension@0.0.7...@contentful/create-contentful-extension@0.1.0) (2019-03-05)

@@ -8,0 +19,0 @@

23

lib/create-contentful-extension.js

@@ -52,3 +52,2 @@ /* eslint-disable no-console, no-process-exit */

'--save-exact',
'--no-package-lock',
'--loglevel',

@@ -76,19 +75,3 @@ 'error',

function run(root, payload, verbose, originalDirectory) {
const allDependencies = [
'@contentful/forma-36-react-components',
'@contentful/forma-36-tokens',
'@contentful/forma-36-fcss',
'contentful-ui-extensions-sdk',
'react',
'react-dom',
'prop-types',
];
const devDependencies = [
'contentful-cli',
'@babel/core',
'@babel/preset-env',
'@babel/preset-react',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-transform-runtime',
// path.resolve('./packages/contentful-extension-scripts'),

@@ -99,6 +82,4 @@ '@contentful/contentful-extension-scripts',

return install(root, devDependencies, verbose, true).then(() => {
install(root, allDependencies, verbose, false).then(() => {
const init = require(`${root}/node_modules/@contentful/contentful-extension-scripts/scripts/init.js`);
init(root, payload, originalDirectory);
});
const init = require(`${root}/node_modules/@contentful/contentful-extension-scripts/scripts/init.js`);
init(root, payload, originalDirectory);
});

@@ -105,0 +86,0 @@ }

{
"name": "@contentful/create-contentful-extension",
"version": "0.1.0",
"version": "0.2.0",
"description": "Create Contentful extensions with zero configuration",

@@ -48,3 +48,3 @@ "keywords": [

},
"gitHead": "0bc54e5a95ed3871932b5a216a2fc24713e02f67"
"gitHead": "de90c682055bf7f5316950247fc02ede25080be0"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc