sip_cli 0.8.0  sip_cli: ^0.8.0 copied to clipboard
sip_cli: ^0.8.0 copied to clipboard
Manage mono-repos with `sip`, run scripts and get dependencies concurrently.
0.8.0 | 7/26/2024 #
Features #
- 
Support env files for scripts my-script: (command): echo $MY_ENV_VAR (env): .env
0.7.1 | 6/7/2024 #
0.7.0 | 6/7/2024 #
Breaking Changes #
- Revert change to run dart and flutter commands separately
- To continue running dart and flutter commands separately, use the --separatedflag
 
- To continue running dart and flutter commands separately, use the 
0.6.1 | 6/3/2024 #
Fixes #
- Issue where exception was thrown if bailflag was not defined inArgParser
0.6.0 | 5/8/2024 #
Features #
- 
Support running specific tests by providing a test file or directory - sip test ./test/my_test.dart
- sip test ./test
 
- 
Create new cleancommand- Removes all .dart_toolandbuilddirectories in dart & flutter packages
- Run flutter cleanin flutter packages
 
- Removes all 
- 
Increase retry time frame from 2s to 4s for flutter pub getcommand
0.5.0 | 5/1/2024 #
Breaking Changes #
- Add --no-pubwhen testing Flutter packages
Enhancements #
- Update copy when testing packages to
- Display Flutter test type
- Display args
- Update colors for better readability
 
Features #
- Speed up getting dependencies via an internal auto-retry mechanism
- For whatever reason, dart/flutter will hang after dependencies are retrieved for a lengthy amount of time. SIP_CLI will now auto-retry if the pub getcommand has been running for too long
 
- For whatever reason, dart/flutter will hang after dependencies are retrieved for a lengthy amount of time. SIP_CLI will now auto-retry if the 
0.4.6 | 4/11/2024 #
- Downgrade args dependency to <2.5.0
0.4.5 | 4/10/2024 #
Features #
- Support different flutter test types to avoid clashing during tests
- TestWidgetsFlutterBinding,- AutomatedTestWidgetsFlutterBinding,- LiveTestWidgetsFlutterBindingcan be used to specify the types of tests to run and CANNOT be used together
- SIP_CLI will create a new test file for each type of test to avoid clashing
 
0.4.4 | 3/25/2024 #
Fixes #
- Fix issue where tests were not run without passing an argument to the sip testcommand
0.4.2 | 3/15/2024 #
Fixes #
- Create alternative flags for the --coverageflags as they exist in both flutter and dart but accept different arguments- --coveragefor dart is changed to- --dart-coverage
- --coveragefor flutter is changed to- --flutter-coverage
 
Features #
- Support running pub commands for dart or flutter packages only
- If the --coverageflag is provided in thesip testcommand, default values will be provided to dart and flutter- Dart: Coverage is enabled and sets the coverage directory to coverage
- Flutter: coverage is enabled
 
- Dart: Coverage is enabled and sets the coverage directory to 
- Add --ignore-lockfile-exitflag tosip pub getcommand- When using --enforce-lockfile, if the lockfile is not up to date, the command will exit with a non-zero exit code. When using--ignore-lockfile-exit, the command ignore the non-zero exit. Even if the lockfile is not up to date, the dependencies will still be retrieved.
 
- When using 
Enhancements #
- Update copy for the --version-checkflag
0.4.0 | 3/12/2024 #
Breaking Changes #
- Rename .optimized_test.dartto.test_optimizer.dart- Helps avoid unintentionally running optimized tests
 
- Rename --runto--scopefor thesip test watchcommand
- Rename packagetoactivefor improved comprehension regarding the test scope for thesip test watchcommand
Features #
- Create a new command to clean up optimized test files sip test clean
Enhancements #
- Wait for a max of 1 second to check for the latest version for sip_cli
0.3.0 | 3/12/2024 #
0.2.4 | 3/8/2024 #
0.2.3+1 | 3/8/2024 #
Fix #
- Fix issue where --no-optimizeran each test file individually
- Fix stopwatch stamp formatting
0.2.2 | 3/8/2024 #
0.2.1 | 3/7/2024 #
Enhancements #
- Print first line of command before executing when running scripts non-concurrently
0.2.0+1 | 3/7/2024 #
Breaking Change #
- Remove --disable-concurrencyin the sip run command- in favor of --no-concurrentflag
- This is in efforts to keep the flag names consistent
 
- in favor of 
- Dropping use of sip_consolein favor ofmason_logger
Features #
- Update logging to be more consistent
- Add stopwatch to print statements
- Handle non-null non-string values in script definitions
- ints & bools for example
- Maps are not supported however
 
Enhancements #
- Use stream controller instead of Future.waitto run concurrent commands- Better control over commands
- The ability to bail faster on failure
 
- Drop use of get_it for dependency injection
- This was overkill 😅
 
- Ensure that script exists before running with --never-exitflag
0.1.2+1 | 3/6/2024 #
Features #
- Add --never-exitflag tosip runcommand- This will prevent the command from ever exiting, even if a command fails
- This is useful for running a command that will be restarted by another process
- For example, build_runner will stop running whenever the project's dependencies change
 
- Please use with Caution! There is a second delay between each command run to prevent a runaway process
- The process can be stopped by pressing ctrl+c
 
0.1.1 | 3/5/2024 #
Enhancements #
- Add very_good_analysis for linting
- Fix lint warnings
- Restructure Readme
0.1.0 | 3/4/2024 #
Breaking Changes #
- Remove run-manycommand- Use runwith the--concurrentflag instead
 
- Use 
Features #
- Add --concurrentflag toruncommand- This will run all scripts in parallel, regardless of the concurrent symbol defined within the script
 
- Add --disable-concurrencyflag toruncommand- This will run all scripts in serial, regardless of the concurrent symbol defined within the script
 
- Add sip testcommand- Runs projects tests
- Can recursively search for testdirectories
- Can run concurrent tests
- Passes most dart & flutter args to the testcommand
 
- Can recursively search for 
 
- Runs projects tests
Enhancements #
- Speed up recursive search for sub-packages using glob
- Update README
- To include new testcommand
- To remove run-manycommand
- Spelling and grammar updates
 
- To include new 
- Better handle dependency injection
Fixes #
- Fix issue where --helpwas not printing for theruncommand
0.0.17 | 2/13/2024 #
0.0.16 | 2/13/2024 #
Features #
- Add parsing support for chained short flags (sip run my-script -abc)
0.0.13 | 2/12/2024 #
Features #
- Allow any args to be provided in any order without the requirement of --before any "extra" args.- Before: sip run-many my-script -- --arg1 --arg2
- After : sip run-many my-script --arg1 --arg2
 
- Before: 
0.0.10 | 2/12/2024 #
0.0.9 | 2/10/2024 #
0.0.8 | 2/9/2024 #
Fixes #
- Fix issue where bail was not being respected and failing commands were not stopping the script
0.0.5 | 2/9/2024 #
Features #
- Support individual concurrent commands with (+)
- Support defining variables in scripts.yamlto use in commands
- Support defining private scripts in scripts.yamlto use as references
- Add alias for run-manycommand (r-m,run-m)
Enhancements #
- Tighten key pattern matching
- Improve color output when listing scripts, lighten color for scripts without a command definition
Fixes #
- Handle nullscripts
0.0.4 | 2/9/2024 #
- Add version constraints to dependencies to support adding sip_clito flutter projects
0.0.3 | 1/30/2024 #
- Initial Release