Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/littlegnal/shared_versions
shared_versions is a command line tool that allow share the versions for multiple packages in Flutter
https://github.com/littlegnal/shared_versions
Last synced: 2 months ago
JSON representation
shared_versions is a command line tool that allow share the versions for multiple packages in Flutter
- Host: GitHub
- URL: https://github.com/littlegnal/shared_versions
- Owner: littleGnAl
- License: apache-2.0
- Created: 2020-03-24T16:30:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-14T10:24:10.000Z (almost 4 years ago)
- Last Synced: 2024-10-02T06:41:21.599Z (3 months ago)
- Language: Dart
- Homepage: https://pub.dev/packages/shared_versions
- Size: 22.5 KB
- Stars: 11
- Watchers: 4
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# shared_versions
[![Build Status](https://api.cirrus-ci.com/github/littleGnAl/shared_versions.svg)](https://cirrus-ci.com/github/littleGnAl/shared_versions)
shared_versions is a CLI tool that allow share the versions for multiple packages in Flutter.
## Usage
shared_versions will match the package dependencies versions from the `shared_versions.yaml` in your package by default, so make sure you have a `shared_versions.yaml` file locate in the root of the package. Note that the format of the dependencies should respect the
[Dart Package dependencies](https://dart.dev/tools/pub/dependencies). e.g.,
```yaml
# shared_versions.yamlbuilt_collection: 4.3.1
built_value: 7.0.8
flutter_svg: ^0.15.0
shared_versions:
git: https://github.com/littleGnAl/shared_versions.git
ref: master
```In your `pubspec.yaml`, add the following:
```
dev_dependencies:
shared_versions: ^1.0.0
```Then you can run:
```
flutter pub run shared_versions
```
or
```
pub run shared_versions
```You can also specify which versions file you use by passing the `--path`/`-p` option, e.g.,
```
flutter pub run shared_versions --path your_versions.yaml
```## License
Copyright (C) 2020 littlegnalLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.