@sentry/craft 0.27.6 → 0.29.0
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 +19 -0
- package/README.md +43 -10
- package/dist/craft +278 -279
- package/dist/craft.map +3 -3
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.29.0
|
|
4
|
+
|
|
5
|
+
### Various fixes & improvements
|
|
6
|
+
|
|
7
|
+
- feat: Adds pub.dev target for Dart and Flutter (#353) by @kamilogorek
|
|
8
|
+
- misc: Add explanatory code comments and minor refactor for Maven target (#354) by @kamilogorek
|
|
9
|
+
|
|
10
|
+
## 0.28.1
|
|
11
|
+
|
|
12
|
+
### Various fixes & improvements
|
|
13
|
+
|
|
14
|
+
- fix: Correctly set auth header and content-type for Nexus requests (#352) by @kamilogorek
|
|
15
|
+
|
|
16
|
+
## 0.28.0
|
|
17
|
+
|
|
18
|
+
### Various fixes & improvements
|
|
19
|
+
|
|
20
|
+
- feat: Publish maven packages without use of Gradle (#351) by @kamilogorek
|
|
21
|
+
|
|
3
22
|
## 0.27.6
|
|
4
23
|
|
|
5
24
|
### 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)
|
|
@@ -1013,14 +1014,13 @@ Note: in order to see the output of the commands, set the [logging level](#loggi
|
|
|
1013
1014
|
|
|
1014
1015
|
**Configuration**
|
|
1015
1016
|
|
|
1016
|
-
| Option | Description
|
|
1017
|
-
| ------------------- |
|
|
1018
|
-
| `
|
|
1019
|
-
| `
|
|
1020
|
-
| `
|
|
1021
|
-
| `
|
|
1022
|
-
| `
|
|
1023
|
-
| `android` | Android configuration, see below. |
|
|
1017
|
+
| Option | Description |
|
|
1018
|
+
| ------------------- | -------------------------------------------------------------------- |
|
|
1019
|
+
| `mavenCliPath` | Path to the Maven CLI. It must be executable by the calling process. |
|
|
1020
|
+
| `mavenSettingsPath` | Path to the Maven `settings.xml` file. |
|
|
1021
|
+
| `mavenRepoId` | ID of the Maven server in the `settings.xml`. |
|
|
1022
|
+
| `mavenRepoUrl` | URL of the Maven repository. |
|
|
1023
|
+
| `android` | Android configuration, see below. |
|
|
1024
1024
|
|
|
1025
1025
|
If your project isn't related to Android, you don't need this configuration and
|
|
1026
1026
|
can set the option to `false`. If not, set the following nested elements:
|
|
@@ -1034,7 +1034,6 @@ can set the option to `false`. If not, set the following nested elements:
|
|
|
1034
1034
|
```yaml
|
|
1035
1035
|
targets:
|
|
1036
1036
|
- name: maven
|
|
1037
|
-
gradleCliPath: ./gradlew
|
|
1038
1037
|
mavenCliPath: scripts/mvnw.cmd
|
|
1039
1038
|
mavenSettingsPath: scripts/settings.xml
|
|
1040
1039
|
mavenRepoId: ossrh
|
|
@@ -1047,7 +1046,6 @@ targets:
|
|
|
1047
1046
|
```yaml
|
|
1048
1047
|
targets:
|
|
1049
1048
|
- name: maven
|
|
1050
|
-
gradleCliPath: ./gradlew
|
|
1051
1049
|
mavenCliPath: scripts/mvnw.cmd
|
|
1052
1050
|
mavenSettingsPath: scripts/settings.xml
|
|
1053
1051
|
mavenRepoId: ossrh
|
|
@@ -1081,6 +1079,41 @@ targets:
|
|
|
1081
1079
|
bundleIdPrefix: android-ndk-
|
|
1082
1080
|
```
|
|
1083
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 `$HOME/Library/Application\ Support/dart/pub-credentials.json` for OSX or `$HOME/.config/dart/pub-credentials.json` for Linux.
|
|
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
|
+
|
|
1084
1117
|
## Integrating Your Project with `craft`
|
|
1085
1118
|
|
|
1086
1119
|
Here is how you can integrate your GitHub project with `craft`:
|