Skip to content

Commit

Permalink
Merge pull request #40 from gasolin/arapp
Browse files Browse the repository at this point in the history
Rename module.json to arapp.json, fix #29
  • Loading branch information
onbjerg authored Mar 10, 2018
2 parents 41009d9 + 02d5d91 commit 184d7b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ exports.builder = (yargs) => {
exports.handler = function (reporter, { name, template }) {
// Clone the template into the directory
// TODO: Somehow write name to `manifest.json` in template?
// TODO: Write human-readable app name to `module.json`
// TODO: Write human-readable app name to `arapp.json`
const basename = name.split('.')[0]
reporter.info(`Cloning ${template} into ${basename}...`)

Expand Down
2 changes: 1 addition & 1 deletion src/commands/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports.builder = function (yargs) {
}

exports.handler = async function (reporter, { bump, cwd }) {
const manifestLocation = await findUp('module.json', { cwd })
const manifestLocation = await findUp('arapp.json', { cwd })
if (!manifestLocation) {
throw new MessageError('This directory is not an Aragon project',
'ERR_NOT_A_PROJECT')
Expand Down
2 changes: 1 addition & 1 deletion src/commands/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports.command = 'versions'
exports.describe = 'List all versions of the package'

exports.handler = async function (reporter, { bump, cwd, ethRpc, apm: apmOptions }) {
const moduleLocation = await findUp('module.json', { cwd })
const moduleLocation = await findUp('arapp.json', { cwd })
if (!moduleLocation) {
throw new MessageError('This directory is not an Aragon project',
'ERR_NOT_A_PROJECT')
Expand Down

0 comments on commit 184d7b2

Please sign in to comment.