@contentful/create-contentful-app
Advanced tools
Comparing version 0.4.3-alpha.288 to 0.4.3
@@ -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" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
1
0
6461
9
4
86
2
0
2
+ Added@contentful/cra-template-create-contentful-app@^0.4.3
+ Added@contentful/app-scripts@0.4.6(transitive)
+ Added@contentful/cra-template-create-contentful-app@0.4.5(transitive)
+ Addedcommander@7.2.0(transitive)