From 597e72ac603624d458ede87a280296d8242413a9 Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Tue, 14 Nov 2023 18:57:10 +0100 Subject: [PATCH] fix: package template with correct pubspec --- apps/wyatt_package_template/brickgen.yaml | 2 +- .../wyatt_package_template/example/pubspec.yaml | 6 +++--- .../wyatt_package_template/pubspec.yaml | 2 ++ .../wyatt_package_template/__brick__/example/pubspec.yaml | 5 +++-- bricks/wyatt_package_template/__brick__/pubspec.yaml | 2 ++ bricks/wyatt_package_template/brick.yaml | 2 +- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/apps/wyatt_package_template/brickgen.yaml b/apps/wyatt_package_template/brickgen.yaml index acf3390..12d19e6 100644 --- a/apps/wyatt_package_template/brickgen.yaml +++ b/apps/wyatt_package_template/brickgen.yaml @@ -1,7 +1,7 @@ name: wyatt_package_template description: New package template for Wyatt Studio projects. -version: 0.2.1 +version: 0.2.2 vars: package_name: diff --git a/apps/wyatt_package_template/wyatt_package_template/example/pubspec.yaml b/apps/wyatt_package_template/wyatt_package_template/example/pubspec.yaml index f88cfcd..49a0d24 100644 --- a/apps/wyatt_package_template/wyatt_package_template/example/pubspec.yaml +++ b/apps/wyatt_package_template/wyatt_package_template/example/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 publish_to: 'none' environment: - sdk: ">=2.19.0 <3.0.0" + sdk: ">=3.0.0 <4.0.0" dependencies: ### {{#flutter}} @@ -25,10 +25,10 @@ dev_dependencies: wyatt_analysis: hosted: https://git.wyatt-studio.fr/api/packages/Wyatt-FOSS/pub - version: ^2.4.0 + version: ^2.6.1 ###{{#flutter}} #### The following section is specific to Flutter. ###flutter: ### uses-material-design: true -###{{/flutter}} \ No newline at end of file +###{{/flutter}} diff --git a/apps/wyatt_package_template/wyatt_package_template/pubspec.yaml b/apps/wyatt_package_template/wyatt_package_template/pubspec.yaml index 265625b..bf9eb56 100644 --- a/apps/wyatt_package_template/wyatt_package_template/pubspec.yaml +++ b/apps/wyatt_package_template/wyatt_package_template/pubspec.yaml @@ -3,6 +3,8 @@ description: A short package description. repository: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages/src/branch/master/packages/package_name version: 1.0.0 +publish_to: https://git.wyatt-studio.fr/api/packages/Wyatt-FOSS/pub + environment: sdk: ">=3.0.0 <4.0.0" diff --git a/bricks/wyatt_package_template/__brick__/example/pubspec.yaml b/bricks/wyatt_package_template/__brick__/example/pubspec.yaml index 8e171f8..b2cd197 100644 --- a/bricks/wyatt_package_template/__brick__/example/pubspec.yaml +++ b/bricks/wyatt_package_template/__brick__/example/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 publish_to: 'none' environment: - sdk: ">=2.19.0 <3.0.0" + sdk: ">=3.0.0 <4.0.0" dependencies: {{#flutter}} @@ -31,7 +31,7 @@ dev_dependencies: wyatt_analysis: hosted: https://git.wyatt-studio.fr/api/packages/Wyatt-FOSS/pub - version: ^2.4.0 + version: ^2.6.1 {{#flutter}} # The following section is specific to Flutter. @@ -39,3 +39,4 @@ flutter: uses-material-design: true {{/flutter}} + diff --git a/bricks/wyatt_package_template/__brick__/pubspec.yaml b/bricks/wyatt_package_template/__brick__/pubspec.yaml index 93a689e..c46a14f 100644 --- a/bricks/wyatt_package_template/__brick__/pubspec.yaml +++ b/bricks/wyatt_package_template/__brick__/pubspec.yaml @@ -3,6 +3,8 @@ description: {{#sentenceCase}}{{description}}{{/sentenceCase}}. repository: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages/src/branch/master/packages/{{#snakeCase}}{{package_name}}{{/snakeCase}} version: 1.0.0 +publish_to: https://git.wyatt-studio.fr/api/packages/Wyatt-FOSS/pub + environment: sdk: ">=3.0.0 <4.0.0" diff --git a/bricks/wyatt_package_template/brick.yaml b/bricks/wyatt_package_template/brick.yaml index c268787..5844dd6 100644 --- a/bricks/wyatt_package_template/brick.yaml +++ b/bricks/wyatt_package_template/brick.yaml @@ -1,7 +1,7 @@ name: wyatt_package_template description: New package template for Wyatt Studio projects. -version: 0.2.1 +version: 0.2.2 vars: package_name: