@sentry/craft 0.28.1 → 0.29.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.29.2
4
+
5
+ ### Various fixes & improvements
6
+
7
+ - fix: Make sure dart credentials directory exists before writing (#361) by @kamilogorek
8
+
9
+ ## 0.29.1
10
+
11
+ ### Various fixes & improvements
12
+
13
+ - feat: Remove dependency_overrides entries from pubspec.yaml in dart (#359) by @kamilogorek
14
+ - misc: Update PubDev credentials file location in readme (#358) by @kamilogorek
15
+
16
+ ## 0.29.0
17
+
18
+ ### Various fixes & improvements
19
+
20
+ - feat: Adds pub.dev target for Dart and Flutter (#353) by @kamilogorek
21
+ - misc: Add explanatory code comments and minor refactor for Maven target (#354) by @kamilogorek
22
+
3
23
  ## 0.28.1
4
24
 
5
25
  ### Various fixes & improvements
package/README.md CHANGED
@@ -54,6 +54,7 @@ then enforces a specific workflow for managing release branches, changelogs, art
54
54
  - [Unity Package Manager (`upm`)](#unity-package-manager-upm)
55
55
  - [Maven central (`maven`)](#maven-central-maven)
56
56
  - [Symbol Collector (`symbol-collector`)](#symbol-collector-symbol-collector)
57
+ - [pub.dev (`pub-dev`)](#pubdev-pub-dev)
57
58
  - [Integrating Your Project with `craft`](#integrating-your-project-with-craft)
58
59
  - [Pre-release (Version-bumping) Script: Conventions](#pre-release-version-bumping-script-conventions)
59
60
  - [Post-release Script: Conventions](#post-release-script-conventions)
@@ -1078,6 +1079,41 @@ targets:
1078
1079
  bundleIdPrefix: android-ndk-
1079
1080
  ```
1080
1081
 
1082
+ ### pub.dev (`pub-dev`)
1083
+
1084
+ Pushes a new Dart or Flutter package to [pub.dev](https://pub.dev/).
1085
+
1086
+ Because there is [no automated way](https://github.com/dart-lang/pub-dev/issues/5388) to login and obtain required tokens, you need to perform a valid release beforehand, for every package that you configure. This will open up your browser and use Google's OAuth to log you in, and generate an appropriate file with stored credentials.
1087
+
1088
+ Based on your environment, you can find this file at either `$HOME/.pub-cache/credentials.json` or `$HOME/Library/Application\ Support/dart/pub-credentials.json` for OSX and `$HOME/.config/dart/pub-credentials.json` for Linux, depending on your setup.
1089
+
1090
+ For this target to work correctly, either `dart` must be installed on the system or a valid `dartCliPath` must be provided.
1091
+
1092
+ **Environment**
1093
+
1094
+ | Name | Description |
1095
+ | ---------------------- | ------------------------------------------------------------ |
1096
+ | `PUBDEV_ACCESS_TOKEN` | Value of `accessToken` obtained from `pub-credentials.json` |
1097
+ | `PUBDEV_REFRESH_TOKEN` | Value of `refreshToken` obtained from `pub-credentials.json` |
1098
+
1099
+ **Configuration**
1100
+
1101
+ | Option | Description |
1102
+ | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1103
+ | `dartCliPath` | **optional** Path to the Dart CLI. It must be executable by the calling process. Defaults to `dart`. |
1104
+ | `packages` | **optional** List of directories to be released, relative to the root. Useful when a single repository contains multiple packages. When skipped, root directory is assumed as the only package. |
1105
+
1106
+ **Example**
1107
+
1108
+ ```yaml
1109
+ targets:
1110
+ - name: pub-dev
1111
+ packages:
1112
+ uno:
1113
+ dos:
1114
+ tres:
1115
+ ```
1116
+
1081
1117
  ## Integrating Your Project with `craft`
1082
1118
 
1083
1119
  Here is how you can integrate your GitHub project with `craft`: