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

@contentful/create-contentful-app

Package Overview
Dependencies
Maintainers
99
Versions
610
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.4.3-alpha.288 to 0.4.3

CHANGELOG.md

12

lib/index.js

@@ -9,4 +9,3 @@ #!/usr/bin/env node

const tildify = require('tildify');
const promptAppDefinitionSettings = require('./prompt-app-definition');
const createAppDefinition = require('./index');
const { createAppDefinition } = require('@contentful/app-scripts');

@@ -45,7 +44,5 @@ const command = process.argv[2];

const projectRoot = `file:${path.resolve(__dirname, '../')}`;
const initCommand = 'node';
const createReactApp = require.resolve('create-react-app');
const templatePkg =
process.env.MODE === 'local' ? projectRoot : '@contentful/cra-template-create-contentful-app';
const templatePkg = '@contentful/cra-template-create-contentful-app';

@@ -76,4 +73,2 @@ const args = [createReactApp, appFolder, '--template', templatePkg, '--use-npm'];

(async function main() {
let appDefinitionSettings;
function printHelpText() {

@@ -102,4 +97,3 @@ console.log(`

case 'create-definition':
appDefinitionSettings = await promptAppDefinitionSettings();
await createAppDefinition(appDefinitionSettings);
await createAppDefinition.interactive();
break;

@@ -106,0 +100,0 @@

{
"name": "@contentful/create-contentful-app",
"version": "0.4.3-alpha.288+c9cf58b",
"version": "0.4.3",
"description": "A template for building Contentful Apps",

@@ -9,3 +9,4 @@ "author": "Contentful GmbH",

"type": "git",
"url": "https://github.com/contentful/create-contentful-app.git"
"url": "git+https://github.com/contentful/create-contentful-app.git",
"directory": "packages/@contentful--create-contentful-app"
},

@@ -16,33 +17,10 @@ "engines": {

},
"main": "template.json",
"files": [
"template",
"template.json",
"lib"
],
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
},
"cz-customizable": {
"config": "cz-customizable.config.js"
}
},
"main": "lib/index.js",
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.css": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"bin": {

@@ -52,13 +30,11 @@ "create-contentful-app": "lib/index.js"

"scripts": {
"commit": "git-cz",
"prettier": "prettier **/*.{js,jsx,ts,tsx} scripts/**/*.js --write --ignore-path .gitignore",
"commitmsg": "validate-commit-msg",
"dev": "MODE=local node ./lib/index.js",
"lint": "eslint ./lib ./scripts",
"prettier": "prettier **/*.js --write --ignore-path .gitignore",
"lint": "eslint ./lib",
"lint:fix": "npm run lint -- --fix",
"test": "mocha ./test/*.test.js",
"test:watch": "npm t -- --watch",
"publish": "npm publish --dry-run"
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
},
"dependencies": {
"@contentful/app-scripts": "^0.4.3",
"@contentful/cra-template-create-contentful-app": "^0.4.3",
"chalk": "^4.1.0",

@@ -72,3 +48,17 @@ "contentful-management": "^7.5.1",

},
"gitHead": "c9cf58bf5f89e8940b93c2571161065e1c8a0f46"
"bugs": {
"url": "https://github.com/contentful/create-contentful-app/issues"
},
"homepage": "https://github.com/contentful/create-contentful-app#readme",
"directories": {
"lib": "lib",
"test": "test"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
},
"gitHead": "af2d99028cf9618331ad55ed2ac084ade4a9afc3"
}
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