Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CB-11412 improve template implementation #456

Closed
wants to merge 1 commit into from

Conversation

carynbear
Copy link
Contributor

Removed symlinking.

@carynbear carynbear closed this Jun 14, 2016
@carynbear carynbear reopened this Jun 14, 2016
@carynbear carynbear force-pushed the CB-11412-remove-linking branch from 5139dee to b0f33e1 Compare June 14, 2016 00:21
};

var configSubDirPkgJson = {
lib: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: Look like lib obj here has an extra tab

@stevengill
Copy link
Contributor

LGTM!

@carynbear carynbear force-pushed the CB-11412-remove-linking branch from b0f33e1 to d46658b Compare June 14, 2016 23:41
@carynbear
Copy link
Contributor Author

@stevengill fixed up the little details

pkgjson.name = cfg.name.toLowerCase();
}
pkgjson.version = '1.0.0';
fs.writeFile(path.join(dir, 'package.json'), JSON.stringify(pkgjson), function (err) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets maybe do the write operation as Sync and lets add spaces to the new package.json file. See

fs.writeFileSync(package_json_path, JSON.stringify(package_json, null, 4), 'utf8');

@carynbear carynbear force-pushed the CB-11412-remove-linking branch 2 times, most recently from 39f58de to 3b9fedd Compare June 15, 2016 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants