Skip to content

Commit 97149df

Browse files
authored
Merge pull request #43 from isar-community/feature/migrate-hosted-v3
Shift dart package hosting to pub.isar-community.dev
2 parents 99b81c7 + 381d4b9 commit 97149df

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

docs/docs/de/tutorials/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Dieser Schnellstart wird wenig um den heißen Brei herumreden und direkt mit dem
1313
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.
1414

1515
```bash
16-
dart pub add isar:^3.1.4 isar_flutter_libs:^3.1.4 --hosted-url=https://isar-community.dev
17-
dart pub add dev:isar_generator:^3.1.4 --hosted-url=https://isar-community.dev
16+
dart pub add isar:^3.1.5 isar_flutter_libs:^3.1.5 --hosted-url=https://pub.isar-community.dev
17+
dart pub add dev:isar_generator:^3.1.5 --hosted-url=https://pub.isar-community.dev
1818
```
1919

2020
## 2. Klassen annotieren

docs/docs/tutorials/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ We're going to be short on words and quick on code in this quickstart.
1313
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.
1414

1515
```bash
16-
dart pub add isar:^3.1.4 isar_flutter_libs:^3.1.4 --hosted-url=https://isar-community.dev
17-
dart pub add dev:isar_generator:^3.1.4 --hosted-url=https://isar-community.dev
16+
dart pub add isar:^3.1.5 isar_flutter_libs:^3.1.5 --hosted-url=https://pub.isar-community.dev
17+
dart pub add dev:isar_generator:^3.1.5 --hosted-url=https://pub.isar-community.dev
1818
```
1919

2020
## 2. Annotate classes

packages/isar/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ isar_version: &isar_version 3.1.3 # define the version to be used
7070
dependencies:
7171
isar:
7272
version: *isar_version
73-
hosted: https://isar-community.dev/
73+
hosted: https://pub.isar-community.dev/
7474
isar_flutter_libs: # contains Isar Core
7575
version: *isar_version
76-
hosted: https://isar-community.dev/
76+
hosted: https://pub.isar-community.dev/
7777

7878
dev_dependencies:
7979
isar_generator:
8080
version: *isar_version
81-
hosted: https://isar-community.dev/
81+
hosted: https://pub.isar-community.dev/
8282
build_runner: any
8383

8484
```

packages/isar/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repository: https://github.com/isar-community/isar/tree/main/packages/isar
55
homepage: https://github.com/isar-community/isar
66
issue_tracker: https://github.com/isar-community/isar/issues
77
documentation: https://isar.dev
8-
publish_to: https://isar-community.dev/
8+
publish_to: https://pub.isar-community.dev/
99
funding:
1010
- https://github.com/sponsors/leisim/
1111

packages/isar_flutter_libs/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Isar Core binaries for the Isar Database. Needs to be included for
33
version: 3.1.5
44
repository: https://github.com/isar-community/isar
55
homepage: https://isar.dev
6-
publish_to: https://isar-community.dev/
6+
publish_to: https://pub.isar-community.dev/
77

88
environment:
99
sdk: ">=2.17.0 <3.0.0"
@@ -14,7 +14,7 @@ dependencies:
1414
sdk: flutter
1515
isar:
1616
version: 3.1.5
17-
hosted: https://isar-community.dev
17+
hosted: https://pub.isar-community.dev
1818

1919
flutter:
2020
plugin:

packages/isar_generator/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Code generator for the Isar Database. Finds classes annotated with
33
version: 3.1.5
44
repository: https://github.com/isar-community/isar
55
homepage: https://isar.dev
6-
publish_to: https://isar-community.dev/
6+
publish_to: https://pub.isar-community.dev/
77

88
environment:
99
sdk: ">=2.17.0 <3.0.0"
@@ -16,7 +16,7 @@ dependencies:
1616
glob: ^2.0.2
1717
isar:
1818
version: 3.1.5
19-
hosted: https://isar-community.dev
19+
hosted: https://pub.isar-community.dev
2020
path: ^1.8.1
2121
source_gen: ^1.2.2
2222
xxh3: ^1.0.1

packages/isar_test/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ dependencies:
1515
intl: ^0.19.0
1616
isar:
1717
version: any
18-
hosted: https://isar-community.dev
18+
hosted: https://pub.isar-community.dev
1919
isar_flutter_libs:
2020
version: any
21-
hosted: https://isar-community.dev
21+
hosted: https://pub.isar-community.dev
2222
json_annotation: ^4.7.0
2323
meta: ^1.8.0
2424
path: ^1.8.2
@@ -32,7 +32,7 @@ dev_dependencies:
3232
sdk: flutter
3333
isar_generator:
3434
version: any
35-
hosted: https://isar-community.dev
35+
hosted: https://pub.isar-community.dev
3636
json_serializable: ^6.3.1
3737
very_good_analysis: ^3.0.1
3838

tool/publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

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

88
set -o errexit
99
pushd packages/isar
1010
dart pub get
1111
popd
1212
sh tool/download_binaries.sh
13-
#dart pub token add --env-var=PUB_JSON https://isar-community.dev/
13+
#dart pub token add --env-var=PUB_JSON https://pub.isar-community.dev/
1414
pushd packages/isar
1515
dart pub publish --force
1616
popd

0 commit comments

Comments
 (0)