@contentful/create-contentful-extension
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -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 @@ |
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9597
165