Skip to content

Commit

Permalink
Update flutter_html internal package to point to this git repo
Browse files Browse the repository at this point in the history
We have to point them all to this repo otherwise pub get fails when
trying to only point the flutter_html and flutter_html_iframe packages
to this repo. They all need to be unified.
  • Loading branch information
swiftymf committed Aug 9, 2023
1 parent 403a644 commit ea0931c
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 15 deletions.
37 changes: 30 additions & 7 deletions packages/flutter_html_all/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: flutter_html_all
description: All optional flutter_html widgets, bundled into a single package.
version: 3.0.0-beta.2
homepage: https://github.com/Sub6Resources/flutter_html
publish_to: none # Remove this line if you wish to publish to pub.dev

environment:
sdk: ">=2.12.0 <4.0.0"
Expand All @@ -11,13 +12,35 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: ^3.0.0-beta.2
flutter_html_audio: ^3.0.0-beta.2
flutter_html_iframe: ^3.0.0-beta.2
flutter_html_math: ^3.0.0-beta.2
flutter_html_svg: ^3.0.0-beta.2
flutter_html_table: ^3.0.0-beta.2
flutter_html_video: ^3.0.0-beta.2
flutter_html:
git:
url: git@github.com:uptech/flutter_html.git
ref: allow-srcdoc
flutter_html_audio:
git:
url: git@github.com:uptech/flutter_html.git
path: packages/flutter_html_audio
ref: allow-srcdoc
flutter_html_iframe:
url: git@github.com:uptech/flutter_html.git
path: packages/flutter_html_iframe
ref: allow-srcdoc
flutter_html_math:
url: git@github.com:uptech/flutter_html.git
path: packages/flutter_html_math
ref: allow-srcdoc
flutter_html_svg:
url: git@github.com:uptech/flutter_html.git
path: packages/flutter_html_svg
ref: allow-srcdoc
flutter_html_table:
url: git@github.com:uptech/flutter_html.git
path: packages/flutter_html_table
ref: allow-srcdoc
flutter_html_video:
url: git@github.com:uptech/flutter_html.git
path: packages/flutter_html_video
ref: allow-srcdoc

dev_dependencies:
flutter_test:
Expand Down
7 changes: 5 additions & 2 deletions packages/flutter_html_audio/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: flutter_html_audio
description: This extension package allows the <audio> tag to be rendered using the flutter_html package
version: 3.0.0-beta.2
homepage: https://github.com/Sub6Resources/flutter_html
publish_to: none # Remove this line if you wish to publish to pub.dev

environment:
sdk: ">=2.12.0 <4.0.0"
Expand All @@ -11,8 +12,10 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: ^3.0.0-beta.2
video_player: '>=2.2.8 <3.0.0'
flutter_html:
git:
url: git@github.com:uptech/flutter_html.git
ref: allow-srcdoc video_player: '>=2.2.8 <3.0.0'
chewie_audio: ^1.5.0

dev_dependencies:
Expand Down
7 changes: 5 additions & 2 deletions packages/flutter_html_iframe/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: flutter_html_iframe
description: This extension package allows the <iframe> tag to be rendered using the flutter_html package
version: 3.0.0-beta.2
homepage: https://github.com/Sub6Resources/flutter_html
publish_to: none # Remove this line if you wish to publish to pub.dev

environment:
sdk: ">=2.12.0 <4.0.0"
Expand All @@ -11,8 +12,10 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: ^3.0.0-beta.2
webview_flutter: '>=4.0.0 <5.0.0'
flutter_html:
git:
url: git@github.com:uptech/flutter_html.git
ref: allow-srcdoc webview_flutter: '>=4.0.0 <5.0.0'

dev_dependencies:
flutter_test:
Expand Down
6 changes: 5 additions & 1 deletion packages/flutter_html_math/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: flutter_html_math
description: This extension package allows the <math> tag to be rendered using the flutter_html package
version: 3.0.0-beta.2
homepage: https://github.com/Sub6Resources/flutter_html
publish_to: none # Remove this line if you wish to publish to pub.dev

environment:
sdk: ">=2.12.0 <4.0.0"
Expand All @@ -11,7 +12,10 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: ^3.0.0-beta.2
flutter_html:
git:
url: git@github.com:uptech/flutter_html.git
ref: allow-srcdoc
flutter_math_fork: '>=0.6.0 <1.0.0'

dev_dependencies:
Expand Down
6 changes: 5 additions & 1 deletion packages/flutter_html_svg/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: flutter_html_svg
description: This extension package allows the <svg> tag and svg-based img sources to be rendered using the flutter_html package
version: 3.0.0-beta.2
homepage: https://github.com/Sub6Resources/flutter_html
publish_to: none # Remove this line if you wish to publish to pub.dev

environment:
sdk: ">=2.17.0 <4.0.0"
Expand All @@ -11,7 +12,10 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: ^3.0.0-beta.2
flutter_html:
git:
url: git@github.com:uptech/flutter_html.git
ref: allow-srcdoc
flutter_svg: '>=1.0.0 <3.0.0'

dev_dependencies:
Expand Down
6 changes: 5 additions & 1 deletion packages/flutter_html_table/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ description: This extension package allows the <table> tag to be rendered using

version: 3.0.0-beta.2
homepage: https://github.com/Sub6Resources/flutter_html
publish_to: none # Remove this line if you wish to publish to pub.dev

environment:
sdk: ">=2.17.0 <4.0.0"
Expand All @@ -12,7 +13,10 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: ^3.0.0-beta.2
flutter_html:
git:
url: git@github.com:uptech/flutter_html.git
ref: allow-srcdoc
flutter_layout_grid: '>=1.0.1 <3.0.0'

dev_dependencies:
Expand Down
6 changes: 5 additions & 1 deletion packages/flutter_html_video/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: flutter_html_video
description: This extension package allows the <video> tag to be rendered using the flutter_html package
version: 3.0.0-beta.2
homepage: https://github.com/Sub6Resources/flutter_html
publish_to: none # Remove this line if you wish to publish to pub.dev

environment:
sdk: ">=2.12.0 <4.0.0"
Expand All @@ -11,7 +12,10 @@ dependencies:
flutter:
sdk: flutter
html: '>=0.15.0 <1.0.0'
flutter_html: ^3.0.0-beta.2
flutter_html:
git:
url: git@github.com:uptech/flutter_html.git
ref: allow-srcdoc
video_player: '>=2.2.8 <3.0.0'
chewie: '>=1.1.0 <2.0.0'

Expand Down

0 comments on commit ea0931c

Please sign in to comment.