Skip to content

Commit

Permalink
Merge pull request #26 from Azure/use_lowercase_letter_for_package_name
Browse files Browse the repository at this point in the history
Use lowercase letter for package name
  • Loading branch information
SLdragon authored Mar 26, 2019
2 parents 1f27ab8 + 181d838 commit b0fea10
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = class extends Generator {
this._copyStatic('Dockerfile.arm32v7.debug');

this._copyTemplate('module.json', { repository: this.repository });
this._copyTemplate('package.json', { name: this.name });
this._copyTemplate('package.json', { name: this.name.toLowerCase() });
}

_copyStatic(from, to = undefined) {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-azure-iot-edge-module",
"version": "1.3.0",
"version": "1.4.0-rc1",
"description": "Yeoman generator for Azure IoT Edge Node.js module",
"files": [
"app"
Expand Down
2 changes: 1 addition & 1 deletion test/assets/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "TestModule",
"name": "testmodule",
"version": "0.0.1",
"dependencies": {
"azure-iot-device": "^1.7.0",
Expand Down

0 comments on commit b0fea10

Please sign in to comment.