Skip to content

Commit 138a1de

Browse files
Fixes for cd yml files, and updates to sample for consistency. (#14)
* Fixes for cd yml files, and updates to sample for consistency.
1 parent 6e744ad commit 138a1de

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

continuous-delivery/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ phases:
55
nodejs: 10
66
build:
77
commands:
8-
- cd $CODEBUILD_SRC_DIR
8+
- cd $CODEBUILD_SRC_DIR/aws-iot-device-sdk-js-v2
99
- aws secretsmanager get-secret-value --secret-id prod/npm-registry/.npmrc --region us-east-1 | jq -r .SecretString > .npmrc
1010
- npm install
1111
- npm pack

continuous-delivery/test-version-exists.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ phases:
55
nodejs: 10
66
build:
77
commands:
8-
- cd $CODEBUILD_SRC_DIR
8+
- cd $CODEBUILD_SRC_DIR/aws-iot-device-sdk-js-v2
99
- bash ./continuous-delivery/test-version-exists.sh
10-
10+

continuous-delivery/test_publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ phases:
66
build:
77
commands:
88
- echo Build started on `date`
9-
- cd $CODEBUILD_SRC_DIR
10-
- continuous-delivery/test_publish.sh
9+
- cd $CODEBUILD_SRC_DIR/aws-iot-device-sdk-js-v2
10+
- bash ./continuous-delivery/test_publish.sh

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-iot-device-sdk-v2",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "NodeJS API for the AWS IoT service",
55
"homepage": "https://github.com/aws/aws-iot-device-sdk-js-v2",
66
"repository": {

samples/node/basic_discovery/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"typescript": "^3.7.3"
1919
},
2020
"dependencies": {
21-
"aws-iot-device-sdk-v2": "^1.0.1",
21+
"aws-iot-device-sdk-v2": "^1.0.2",
2222
"yargs": "^14.0.0"
2323
}
2424
}

samples/node/pub_sub/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ yargs.command('*', false, (yargs: any) => {
4949
alias: 'C',
5050
description: 'Client ID for MQTT connection.',
5151
type: 'string',
52-
required: true
52+
default: 'samples-client-id'
5353
})
5454
.option('topic', {
5555
alias: 't',
5656
description: 'STRING: Targeted topic',
5757
type: 'string',
58-
default: 'sdk/test/NodeJSv2'
58+
default: 'samples/test'
5959
})
6060
.option('count', {
6161
alias: 'n',

samples/node/pub_sub/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"typescript": "^3.7.3"
2222
},
2323
"dependencies": {
24-
"aws-iot-device-sdk-v2": "^1.0.1",
24+
"aws-iot-device-sdk-v2": "^1.0.2",
2525
"yargs": "^14.0.0"
2626
}
2727
}

0 commit comments

Comments
 (0)