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

Remove .tnsproject and introduce package.json #476

Merged
merged 1 commit into from
May 19, 2015
Merged

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented May 13, 2015

#362

Should be merged after this PR telerik/mobile-cli-lib#329

@ns-bot
Copy link

ns-bot commented May 13, 2015

1 similar comment
@ns-bot
Copy link

ns-bot commented May 13, 2015

@@ -64,7 +64,7 @@ class ProjectIntegrationTest {
var projectDir = path.join(tempFolder, projectName);
var appDirectoryPath = path.join(projectDir, "app");
var platformsDirectoryPath = path.join(projectDir, "platforms");
var tnsProjectFilePath = path.join(projectDir, ".tnsproject");
var tnsProjectFilePath = path.join(projectDir, "package.json");
Copy link
Contributor

Choose a reason for hiding this comment

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

you can use let instead of var. Also I think the name of the variable should be changed to projectFilePath or packageJson for example.

@rosen-vladimirov
Copy link
Contributor

👍

@ns-bot
Copy link

ns-bot commented May 13, 2015


if (this.$fs.exists(this.projectFilePath).wait()) {
try {
var fileContent = this.$fs.readJson(this.projectFilePath).wait();
this.projectId = fileContent.id;
var data = fileContent[this.$staticConfig.CLIENT_NAME_KEY_IN_PROJECT_FILE];
Copy link
Contributor

Choose a reason for hiding this comment

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

let :)

@ns-bot
Copy link

ns-bot commented May 19, 2015

@Fatme Fatme force-pushed the fatme/package.json branch 3 times, most recently from 6167dc3 to 9cf6f55 Compare May 19, 2015 11:37
@ns-bot
Copy link

ns-bot commented May 19, 2015

@Fatme Fatme force-pushed the fatme/package.json branch from 9cf6f55 to b8dbd95 Compare May 19, 2015 11:56
@ns-bot
Copy link

ns-bot commented May 19, 2015

@Fatme Fatme force-pushed the fatme/package.json branch from b8dbd95 to c4ec922 Compare May 19, 2015 11:58
@ns-bot
Copy link

ns-bot commented May 19, 2015

Fatme pushed a commit that referenced this pull request May 19, 2015
Remove .tnsproject and introduce package.json
@Fatme Fatme merged commit 8cb5a4a into master May 19, 2015
@Fatme Fatme deleted the fatme/package.json branch May 19, 2015 12:05
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.

4 participants