Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shift dart package hosting to pub.isar-community.dev #43

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/docs/de/tutorials/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Dieser Schnellstart wird wenig um den heißen Brei herumreden und direkt mit dem
Bevor es losgeht, müssen wir ein paar Pakete zur `pubspec.yaml` hinzufügen. Damit es schneller geht lassen wir pub das für uns erledigen.

```bash
dart pub add isar:^3.1.4 isar_flutter_libs:^3.1.4 --hosted-url=https://isar-community.dev
dart pub add dev:isar_generator:^3.1.4 --hosted-url=https://isar-community.dev
dart pub add isar:^3.1.5 isar_flutter_libs:^3.1.5 --hosted-url=https://pub.isar-community.dev
dart pub add dev:isar_generator:^3.1.5 --hosted-url=https://pub.isar-community.dev
```

## 2. Klassen annotieren
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/tutorials/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ We're going to be short on words and quick on code in this quickstart.
Before the fun begins, we need to add a few packages to the `pubspec.yaml`. We can use pub to do the heavy lifting for us.

```bash
dart pub add isar:^3.1.4 isar_flutter_libs:^3.1.4 --hosted-url=https://isar-community.dev
dart pub add dev:isar_generator:^3.1.4 --hosted-url=https://isar-community.dev
dart pub add isar:^3.1.5 isar_flutter_libs:^3.1.5 --hosted-url=https://pub.isar-community.dev
dart pub add dev:isar_generator:^3.1.5 --hosted-url=https://pub.isar-community.dev
```

## 2. Annotate classes
Expand Down
6 changes: 3 additions & 3 deletions packages/isar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ isar_version: &isar_version 3.1.3 # define the version to be used
dependencies:
isar:
version: *isar_version
hosted: https://isar-community.dev/
hosted: https://pub.isar-community.dev/
isar_flutter_libs: # contains Isar Core
version: *isar_version
hosted: https://isar-community.dev/
hosted: https://pub.isar-community.dev/

dev_dependencies:
isar_generator:
version: *isar_version
hosted: https://isar-community.dev/
hosted: https://pub.isar-community.dev/
build_runner: any

```
Expand Down
2 changes: 1 addition & 1 deletion packages/isar/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repository: https://github.com/isar-community/isar/tree/main/packages/isar
homepage: https://github.com/isar-community/isar
issue_tracker: https://github.com/isar-community/isar/issues
documentation: https://isar.dev
publish_to: https://isar-community.dev/
publish_to: https://pub.isar-community.dev/
funding:
- https://github.com/sponsors/leisim/

Expand Down
4 changes: 2 additions & 2 deletions packages/isar_flutter_libs/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Isar Core binaries for the Isar Database. Needs to be included for
version: 3.1.5
repository: https://github.com/isar-community/isar
homepage: https://isar.dev
publish_to: https://isar-community.dev/
publish_to: https://pub.isar-community.dev/

environment:
sdk: ">=2.17.0 <3.0.0"
Expand All @@ -14,7 +14,7 @@ dependencies:
sdk: flutter
isar:
version: 3.1.5
hosted: https://isar-community.dev
hosted: https://pub.isar-community.dev

flutter:
plugin:
Expand Down
4 changes: 2 additions & 2 deletions packages/isar_generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Code generator for the Isar Database. Finds classes annotated with
version: 3.1.5
repository: https://github.com/isar-community/isar
homepage: https://isar.dev
publish_to: https://isar-community.dev/
publish_to: https://pub.isar-community.dev/

environment:
sdk: ">=2.17.0 <3.0.0"
Expand All @@ -16,7 +16,7 @@ dependencies:
glob: ^2.0.2
isar:
version: 3.1.5
hosted: https://isar-community.dev
hosted: https://pub.isar-community.dev
path: ^1.8.1
source_gen: ^1.2.2
xxh3: ^1.0.1
Expand Down
6 changes: 3 additions & 3 deletions packages/isar_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ dependencies:
intl: ^0.19.0
isar:
version: any
hosted: https://isar-community.dev
hosted: https://pub.isar-community.dev
isar_flutter_libs:
version: any
hosted: https://isar-community.dev
hosted: https://pub.isar-community.dev
json_annotation: ^4.7.0
meta: ^1.8.0
path: ^1.8.2
Expand All @@ -32,7 +32,7 @@ dev_dependencies:
sdk: flutter
isar_generator:
version: any
hosted: https://isar-community.dev
hosted: https://pub.isar-community.dev
json_serializable: ^6.3.1
very_good_analysis: ^3.0.1

Expand Down
4 changes: 2 additions & 2 deletions tool/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

# Publishes the packages for a release to isar-community.dev using the artifacts from github
# Prerequisite: unpub authenticated and token added:
# `unpub_auth login && unpub_auth get | dart pub token add https://isar-community.dev/`
# `unpub_auth login && unpub_auth get | dart pub token add https://pub.isar-community.dev/`
#

set -o errexit
pushd packages/isar
dart pub get
popd
sh tool/download_binaries.sh
#dart pub token add --env-var=PUB_JSON https://isar-community.dev/
#dart pub token add --env-var=PUB_JSON https://pub.isar-community.dev/
pushd packages/isar
dart pub publish --force
popd
Expand Down
Loading