Skip to content

Commit

Permalink
1. update flutter 3.22
Browse files Browse the repository at this point in the history
2. publish version: 0.0.6-dev.1
  • Loading branch information
chen56 committed May 15, 2024
1 parent b63c3b6 commit d513ce8
Show file tree
Hide file tree
Showing 14 changed files with 130 additions and 54 deletions.
33 changes: 27 additions & 6 deletions bake
Original file line number Diff line number Diff line change
Expand Up @@ -143,24 +143,44 @@ bake.test() { _run bake ./test.bash test;
you_dart.run() { _run you_dart "$@"; }
you_dart.install() { _run you_dart flutter pub get; }
you_dart.clean() { _run you_dart flutter clean; rm -rf build; }
you_dart.upgrade() { _run you_dart flutter pub upgrade ; }
you_dart.upgrade() { _run you_dart flutter pub outdated ;
_run you_dart flutter pub upgrade ; }
you_dart.test() { _run you_dart flutter test; }
you_dart.publish() { _run you_dart flutter pub publish; }

you_flutter.run() { _run you_flutter "$@"; }
you_flutter.install() { _run you_flutter flutter pub get; }
you_flutter.clean() { _run you_flutter flutter clean; rm -rf build; }
you_flutter.upgrade() { _run you_flutter flutter pub upgrade ; }
you_flutter.upgrade() { _run you_flutter flutter pub outdated ;
_run you_flutter flutter pub upgrade ; }
you_flutter.test() { _run you_flutter flutter test; }
you_flutter.publish() { _run you_flutter flutter pub publish; }

you_cli.run() { _run you_cli "$@"; }
you_cli.test() { _run you_cli dart test; }

you_flutter_internal.run() { _run you_flutter_internal "$@"; }
you_flutter_internal.install() { _run you_flutter_internal flutter pub get; }
you_flutter_internal.clean() { _run you_flutter_internal flutter clean; rm -rf build; }
you_flutter_internal.upgrade() { _run you_flutter_internal flutter pub outdated ;
_run you_flutter_internal flutter pub upgrade ; }
you_flutter_internal.test() { _run you_flutter_internal flutter test; }
you_flutter_internal.publish() { _run you_flutter_internal flutter pub publish; }


you_cli.run() { _run you_cli "$@"; }
you_cli.test() { _run you_cli dart test; }
you_cli.install() { _run you_cli flutter pub get; }
you_cli.clean() { _run you_cli flutter clean; rm -rf build; }
you_cli.upgrade() { _run you_cli flutter pub outdated ;
_run you_cli flutter pub upgrade ; }
you_cli.publish() { _run you_cli flutter pub publish; }


learn_dart.run() { _run learn_dart "$@"; }
learn_dart.install() { _run learn_dart dart pub get ; }
learn_dart.clean() { _run learn_dart rm -rf
_run learn_dart rm -rf .dart_tool; }
learn_dart.upgrade() { _run learn_dart dart pub upgrade ; }
learn_dart.upgrade() { _run learn_dart flutter pub outdated ;
_run learn_dart dart pub upgrade ; }
learn_dart.study() { _run learn_dart dart test; }
# skwasm无法运行
# http-server 不支持base href设置,所以单独build,并设置base-href为"/",而github-pages的base-href必须是repository名
Expand All @@ -174,7 +194,8 @@ flutter_web.run() { _run flutter_web "$@" ; }
flutter_web.install() { _run flutter_web flutter pub get ; }
flutter_web.clean() { _run flutter_web flutter clean;
rm -rf build; }
flutter_web.upgrade() { _run flutter_web flutter pub upgrade ; }
flutter_web.upgrade() { _run flutter_web flutter pub outdated ;
_run flutter_web flutter pub upgrade ; }
flutter_web.gen() { #_run root dart run packages/you_cli/bin/cli.dart gen all --dir notes/flutter_web/;
_run root dart run packages/you_cli/bin/cli.dart gen routes --dir notes/flutter_web/ # --async
}
Expand Down
5 changes: 3 additions & 2 deletions notes/flutter_web/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: '>=3.3.0 <4.0.0'
sdk: '>=3.4.0 <4.0.0'
flutter: '>=3.22.0'


dependencies:
Expand Down Expand Up @@ -38,7 +39,7 @@ dependencies:
# you_*
you_dart: ^0.0.4
you_flutter: ^0.0.4
you_flutter_internal: ^0.0.6-dev.1
you_flutter_internal: ^0.0.6-dev.2


dev_dependencies:
Expand Down
6 changes: 5 additions & 1 deletion notes/learn_dart/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: learn_dart
description: A sample command-line application.
version: 1.0.0
# repository: https://github.com/my_org/my_repo
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

environment:
sdk: '>=3.3.0 <4.0.0'
sdk: '>=3.4.0 <4.0.0'
flutter: '>=3.22.0'


# Add regular dependencies here.
Expand Down
3 changes: 3 additions & 0 deletions packages/you_cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 0.0.1

- Initial version.
21 changes: 21 additions & 0 deletions packages/you_cli/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Chen Peng

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
21 changes: 21 additions & 0 deletions packages/you_cli/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# you_dart

A package that facilitates for dart applications.

## Features

- [you_dart](https://pub.dev/packages/you_dart):
- you-data[dart]: JSON automation assistance library, No-code generated.
- [you_flutter](https://pub.dev/packages/you_flutter):
- you-state: signal base flutter state management,base on you-data, No-code generated.
- you-router[flutter]: easier to use navigator framework based on flutter navigator v2.
- you-note[flutter]
- a flutter note framework.
- and some flutter learn examples.
- [you_cli](https://pub.dev/packages/you_cli):

## Getting started

ref: https://github.com/chen56/notes/flutter_web


6 changes: 3 additions & 3 deletions packages/you_cli/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: you_cli
description: you-* project include some flutter common lib ,and study notes.
version: 0.0.6-dev.1
version: 0.0.6-dev.2
homepage: https://github.com/chen56/you
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

environment:
sdk: '>=3.3.0 <4.0.0'
sdk: '>=3.4.0 <4.0.0'
flutter: '>=3.22.0'

dependencies:
meta: ^1.11.0
Expand Down
1 change: 1 addition & 0 deletions packages/you_dart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ A package that facilitates for dart applications.
- you-note[flutter]
- a flutter note framework.
- and some flutter learn examples.
- [you_cli](https://pub.dev/packages/you_cli):

## Getting started

Expand Down
7 changes: 4 additions & 3 deletions packages/you_dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: you_dart
description: "dart lib, for data basic tools such as json、yaml serialization ."
version: 0.0.6-dev.1
version: 0.0.6-dev.2
homepage: https://github.com/chen56/you
repository: https://github.com/chen56/you

environment:
sdk: ^3.3.0
sdk: '>=3.4.0 <4.0.0'
flutter: '>=3.22.0'

# Add regular dependencies here.
dependencies:
flutter:
sdk: flutter
meta: ^1.11.0
meta: ^1.12.0
collection: ^1.18.0

dev_dependencies:
Expand Down
1 change: 1 addition & 0 deletions packages/you_flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ A package that facilitates for dart/flutter applications.
- you-note[flutter]
- a flutter note framework.
- and some flutter learn examples.
- [you_cli](https://pub.dev/packages/you_cli):

## Getting started

Expand Down
6 changes: 3 additions & 3 deletions packages/you_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: you_flutter
description: "Flutter framework project, for state , navigator and other flutter development infrastructure ."
version: 0.0.6-dev.1
version: 0.0.6-dev.2
homepage: https://github.com/chen56/you
repository: https://github.com/chen56/you

environment:
sdk: '>=3.3.0 <4.0.0'
flutter: ">=3.19.0"
sdk: '>=3.4.0 <4.0.0'
flutter: '>=3.22.0'

dependencies:
analyzer: ^6.4.1
Expand Down
22 changes: 21 additions & 1 deletion packages/you_flutter_internal/LICENSE
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
TODO: Add your license here.
MIT License

Copyright (c) 2024 Chen Peng

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
44 changes: 13 additions & 31 deletions packages/you_flutter_internal/README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,21 @@
<!--
This README describes the package. If you publish this package to pub.dev,
this README's contents appear on the landing page for your package.
# you_flutter

For information about how to write a good package README, see the guide for
[writing package pages](https://dart.dev/guides/libraries/writing-package-pages).
A package that facilitates for dart/flutter applications.

For general information about developing packages, see the Dart guide for
[creating packages](https://dart.dev/guides/libraries/create-library-packages)
and the Flutter guide for
[developing packages and plugins](https://flutter.dev/developing-packages).
-->

TODO: Put a short description of the package here that helps potential users
know whether this package might be useful for them.
## Features

## Features

TODO: List what your package can do. Maybe include images, gifs, or videos.
- [you_dart](https://pub.dev/packages/you_dart):
- you-data[dart]: JSON automation assistance library, No-code generated.
- [you_flutter](https://pub.dev/packages/you_flutter):
- you-state[flutter]: signal base flutter state management,base on you-data, No-code generated.
- you-router[flutter]: easier to use navigator framework based on flutter navigator v2.
- you-note[flutter]
- a flutter note framework.
- and some flutter learn examples.
- [you_cli](https://pub.dev/packages/you_cli):

## Getting started

TODO: List prerequisites and provide or point to information on how to
start using the package.

## Usage

TODO: Include short and useful examples for package users. Add longer examples
to `/example` folder.

```dart
const like = 'sample';
```

## Additional information

TODO: Tell users more about the package: where to find more information, how to
contribute to the package, how to file issues, what response they can expect
from the package authors, and more.
ref: https://github.com/chen56/notes/flutter_web
8 changes: 4 additions & 4 deletions packages/you_flutter_internal/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: you_flutter_internal
description: "you_* internal package."
version: 0.0.6-dev.1
version: 0.0.6-dev.2
homepage: https://github.com/chen56/you
repository: https://github.com/chen56/you

environment:
sdk: '>=3.3.0 <4.0.0'
flutter: ">=3.19.0"
sdk: '>=3.4.0 <4.0.0'
flutter: '>=3.22.0'

dependencies:
flutter:
sdk: flutter
meta: ^1.12.0
you_flutter: ^0.0.6-dev.1
you_flutter: ^0.0.6-dev.2

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit d513ce8

Please sign in to comment.