Skip to content

Commit

Permalink
build: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlosfarah committed Mar 20, 2020
1 parent 4be3bf2 commit 2ed3cc1
Show file tree
Hide file tree
Showing 7 changed files with 1,922 additions and 1,535 deletions.
28 changes: 28 additions & 0 deletions .versionrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "test",
"section": "Tests"
},
{
"type": "build",
"section": "Build System"
},
{
"type": "ci",
"section": "Continuous Integration"
},
{
"type": "chore",
"section": "Chores"
}
]
}
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,29 @@
},
"homepage": "https://github.com/graasp/graasp-cli#readme",
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@babel/preset-env": "7.3.1",
"@commitlint/cli": "7.3.2",
"@commitlint/config-conventional": "7.3.1",
"babel-eslint": "10.0.1",
"eslint": "5.12.1",
"eslint-config-airbnb-base": "13.1.0",
"eslint-plugin-import": "2.15.0",
"husky": "1.3.1",
"@babel/cli": "7.8.4",
"@babel/core": "7.9.0",
"@babel/preset-env": "7.9.0",
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"babel-eslint": "10.1.0",
"eslint": "6.8.0",
"eslint-config-airbnb-base": "14.1.0",
"eslint-plugin-import": "2.20.1",
"husky": "4.2.3",
"npm-run-all": "4.1.5",
"standard-version": "4.4.0"
"standard-version": "7.1.0"
},
"dependencies": {
"@babel/polyfill": "7.2.5",
"bson-objectid": "1.2.4",
"@babel/polyfill": "7.8.7",
"bson-objectid": "1.3.0",
"del": "4.1.1",
"execa": "1.0.0",
"fs-exists-cached": "1.0.0",
"fs-extra": "7.0.1",
"hosted-git-info": "2.7.1",
"inquirer": "6.2.2",
"lodash": "4.17.13",
"lodash": "4.17.15",
"yargs": "12.0.5"
}
}
4 changes: 2 additions & 2 deletions src/createCli.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import yargs from 'yargs';
import prompt from './prompt';
import { DEFAULT_STARTER } from './config';

const promisify = fn => (...args) => {
const promisify = (fn) => (...args) => {
Promise.resolve(fn(...args)).then(
() => process.exit(0),
// err => report.panic(err)
Expand Down Expand Up @@ -33,7 +33,7 @@ const createCli = (argv) => {
.command({
command: 'new',
desc: 'Create new Graasp app.',
builder: _ => _.option('s', {
builder: (_) => _.option('s', {
alias: 'starter',
type: 'string',
default: DEFAULT_STARTER,
Expand Down
2 changes: 1 addition & 1 deletion src/initStarter.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const removeIgnoredFiles = async (rootPath) => {
const lines = text.split('\n');

// pattern cannot be empty
const files = lines.filter(line => line !== '');
const files = lines.filter((line) => line !== '');

// delete matching files, including hidden ones
del.sync(files, { dot: true });
Expand Down
12 changes: 6 additions & 6 deletions src/prompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const prompt = async (opts) => {
name: 'Lab',
},
],
filter: val => val.toLowerCase(),
filter: (val) => val.toLowerCase(),
when: () => Boolean(!type),
},
{
Expand All @@ -74,7 +74,7 @@ const prompt = async (opts) => {
checked: true,
},
],
filter: val => val.toLowerCase(),
filter: (val) => val.toLowerCase(),
},
{
type: 'confirm',
Expand All @@ -92,30 +92,30 @@ const prompt = async (opts) => {
type: 'input',
name: 'graaspDeveloperId',
message: 'Graasp Developer ID',
when: responses => Boolean(responses.ecosystem),
when: (responses) => Boolean(responses.ecosystem),
validate: validateGraaspDeveloperId,
},
{
type: 'input',
name: 'graaspAppId',
message: 'Graasp App ID',
default: () => ObjectId().str,
when: responses => Boolean(responses.ecosystem),
when: (responses) => Boolean(responses.ecosystem),
validate: validateGraaspAppId,
},
{
type: 'input',
name: 'awsAccessKeyId',
message: 'AWS Access Key ID',
when: responses => Boolean(responses.ecosystem),
when: (responses) => Boolean(responses.ecosystem),
validate: validateAwsAccessKeyId,
},
{
type: 'password',
name: 'awsSecretAccessKey',
message: 'AWS Secret Access Key',
mask: '*',
when: responses => Boolean(responses.ecosystem),
when: (responses) => Boolean(responses.ecosystem),
validate: validateAwsSecretAccessKey,
},
]);
Expand Down
2 changes: 1 addition & 1 deletion src/writeEnvFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const writeEnvFile = async (env, rootPath, opts) => {

const writeEnvFiles = async (rootPath, opts) => {
console.log('writing environment files...');
await Promise.all([LOCAL, DEV, PROD].map(env => writeEnvFile(env, rootPath, opts)));
await Promise.all([LOCAL, DEV, PROD].map((env) => writeEnvFile(env, rootPath, opts)));
console.log('wrote environment files');
};

Expand Down
Loading

0 comments on commit 2ed3cc1

Please sign in to comment.