Skip to content

Commit ce41bb5

Browse files
committed
chore: update project configuration and dependencies
* Add .fvmrc file to specify Flutter version 3.29.3 for consistent development environment. * Update Dart SDK constraints in pubspec.yaml to allow versions from 3.3.0 to less than 4.0.0. * Modify pubspec.lock to reflect Dart SDK version change. * Enhance VSCode launch configurations for improved development experience with new options for running with webdev. * Introduce settings.json and tasks.json for better integration with VSCode, including a task for webdev serve with auto-refresh capability.
1 parent b993761 commit ce41bb5

File tree

6 files changed

+47
-3
lines changed

6 files changed

+47
-3
lines changed

.fvmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"flutter": "3.29.3"
3+
}

.vscode/launch.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,23 @@
55
"version": "0.2.0",
66
"configurations": [
77
{
8-
"name": "ai_builders_circle",
8+
"name": "Run with Dart",
99
"request": "launch",
1010
"type": "dart",
1111
"program": "web/main.dart"
12+
},
13+
{
14+
"name": "Run with webdev (auto-refresh)",
15+
"request": "launch",
16+
"type": "dart",
17+
"program": "web/main.dart",
18+
"args": [
19+
"--web-renderer",
20+
"html",
21+
"--web-port",
22+
"8080"
23+
],
24+
"preLaunchTask": "webdev-serve"
1225
}
1326
]
1427
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"dart.flutterSdkPath": ".fvm/versions/3.29.3"
3+
}

.vscode/tasks.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "webdev-serve",
6+
"type": "shell",
7+
"command": "webdev serve --auto refresh",
8+
"isBackground": true,
9+
"problemMatcher": {
10+
"owner": "dart",
11+
"pattern": {
12+
"regexp": ".",
13+
"file": 1,
14+
"location": 2,
15+
"message": 3
16+
},
17+
"background": {
18+
"activeOnStart": true,
19+
"beginsPattern": "^\\[INFO\\] Serving",
20+
"endsPattern": "^\\[INFO\\] Succeeded"
21+
}
22+
}
23+
}
24+
]
25+
}

pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,4 +618,4 @@ packages:
618618
source: hosted
619619
version: "3.1.3"
620620
sdks:
621-
dart: ">=3.6.2 <3.8.0-z"
621+
dart: ">=3.6.0 <3.8.0-z"

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/fluttercommunity/ai_builders_circle
44
version: 1.0.0
55

66
environment:
7-
sdk: ^3.6.2
7+
sdk: '>=3.3.0 <4.0.0'
88

99
dependencies:
1010
jaspr: ^0.18.0

0 commit comments

Comments
 (0)