From fc03a8f09d52468d0e2253570924e20b19c9d574 Mon Sep 17 00:00:00 2001 From: xiaoweii Date: Tue, 2 Apr 2024 09:26:41 +0000 Subject: [PATCH 1/3] release: clickstream React Native 0.1.0 --- README.md | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 14a7b79..1d0975a 100644 --- a/README.md +++ b/README.md @@ -284,24 +284,24 @@ ClickstreamAnalytics.enable(); ## How to integrate and test locally -Clone this repository locally and execute the following script to generate `clickstream-react-native-0.0.1.tgz` zip +Clone this repository locally and execute the following script to generate `clickstream-react-native-0.1.0.tgz` zip package, which will be located in the project root folder. ```bash cd clickstream-react-native && yarn && yarn run pack ``` -Copy the `clickstream-react-native-0.0.1.tgz` into your project, then execute the script in your project root folder to +Copy the `clickstream-react-native-0.1.0.tgz` into your project, then execute the script in your project root folder to install the SDK. ```bash -yarn add ./clickstream-react-native-0.0.1.tgz +yarn add ./clickstream-react-native-0.1.0.tgz ``` -**Note**: Please correct the SDK version and change the path to where the `clickstream-react-native-0.0.1.tgz` file is +**Note**: Please correct the SDK version and change the path to where the `clickstream-react-native-0.1.0.tgz` file is located. -You can also find the `clickstream-react-native-0.0.1.tgz` file in +You can also find the `clickstream-react-native-0.1.0.tgz` file in the [Release](https://github.com/awslabs/clickstream-react-native/releases) page. ### Test diff --git a/package.json b/package.json index 769d6e6..64d0058 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clickstream-react-native", - "version": "0.0.1", + "version": "0.1.0", "description": "ClickstreamAnalytics React Native SDK", "main": ".lib/index.js", "module": "./lib-esm/index.js", From 7138a83d7ee9358ff2447bd220ae21d521d02db1 Mon Sep 17 00:00:00 2001 From: xiaoweii Date: Tue, 2 Apr 2024 17:40:05 +0800 Subject: [PATCH 2/3] fix: add @aws as sdk name prefix --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 64d0058..d544e83 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "clickstream-react-native", + "name": "@aws/clickstream-react-native", "version": "0.1.0", "description": "ClickstreamAnalytics React Native SDK", "main": ".lib/index.js", From 1fd7ab3c40f68ad434799e8481c0d80b49109379 Mon Sep 17 00:00:00 2001 From: xiaoweii Date: Tue, 2 Apr 2024 17:43:55 +0800 Subject: [PATCH 3/3] fix: update yarn lock file --- yarn.lock | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/yarn.lock b/yarn.lock index da2f5c4..a5ba403 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,6 +22,25 @@ __metadata: languageName: node linkType: hard +"@aws/clickstream-react-native@workspace:.": + version: 0.0.0-use.local + resolution: "@aws/clickstream-react-native@workspace:." + dependencies: + "@react-native/eslint-config": 0.73.2 + "@types/jest": ^29.5.5 + "@types/react": ^18.2.44 + eslint: ^8.51.0 + eslint-config-prettier: ^9.0.0 + eslint-plugin-prettier: ^5.0.1 + jest: ^29.7.0 + prettier: ^3.0.3 + react-native: 0.73.5 + typescript: ^4.9.5 + peerDependencies: + react-native: "*" + languageName: unknown + linkType: soft + "@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.23.5": version: 7.23.5 resolution: "@babel/code-frame@npm:7.23.5" @@ -3693,25 +3712,6 @@ __metadata: languageName: unknown linkType: soft -"clickstream-react-native@workspace:.": - version: 0.0.0-use.local - resolution: "clickstream-react-native@workspace:." - dependencies: - "@react-native/eslint-config": 0.73.2 - "@types/jest": ^29.5.5 - "@types/react": ^18.2.44 - eslint: ^8.51.0 - eslint-config-prettier: ^9.0.0 - eslint-plugin-prettier: ^5.0.1 - jest: ^29.7.0 - prettier: ^3.0.3 - react-native: 0.73.5 - typescript: ^4.9.5 - peerDependencies: - react-native: "*" - languageName: unknown - linkType: soft - "cliui@npm:^6.0.0": version: 6.0.0 resolution: "cliui@npm:6.0.0"