swift_composer 0.5.0
swift_composer: ^0.5.0 copied to clipboard
Extensible Object Manager with no boilerplate code using source_gen
0
likes
90/ 130
pub points
1%
popularity
We analyzed this package 5 days ago, and awarded it 90 pub points (of a possible 130):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Package has an example
0/10 points: Failed to run dartdoc
dartdoc
failed with:
exitCode: 255
stdout: [2022-06-26T12:01:48.426725] Starting...
Documenting swift_composer...
Initialized dartdoc with 734 libraries
Generating docs for library swift_composer from package:swift_composer/swift_composer.dart...
Generating docs for library swift_composer from package:swift_composer/swift_generator.dart...
Generating docs for library swift_composer from package:swift_composer/tools.dart...
Generating docs for library swift_composer from package:swift_composer/type_info.dart...
Documented 4 public libraries in 69.1 seconds
stderr: warning: swift_composer has no library level documentation comments
from swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/swift_composer.dart:1:9)
warning: swift_composer has no library level documentation comments
from swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/swift_generator.dart:1:9)
error: failed to write file at: swift_composer/swift_composer-library.html
for symbol swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/swift_generator.dart:1:9)
conflicting with file already generated by swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/swift_composer.dart:1:9)
Dartdoc generates a path and filename to write to for each symbol.
swift_composer conflicts with another symbol in the generated
path, and therefore can not be written out. Changing the name,
library name, or class name (if appropriate) of one of the
conflicting items can resolve the conflict. Alternatively, use the
@nodoc tag in one symbol's documentation comments to hide it.
warning: swift_composer has no library level documentation comments
from swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/tools.dart:2:9)
error: failed to write file at: swift_composer/swift_composer-library.html
for symbol swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/tools.dart:2:9)
conflicting with file already generated by swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/swift_generator.dart:1:9)
warning: swift_composer has no library level documentation comments
from swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/type_info.dart:1:9)
error: failed to write file at: swift_composer/swift_composer-library.html
for symbol swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/type_info.dart:1:9)
conflicting with file already generated by swift_composer: (file:///tmp/pub-dartlang-dartdocTXYKBQ/pkg/lib/tools.dart:2:9)
Found 4 warnings and 3 errors.
Unhandled exception:
encountered 3 errors
#0 Dartdoc.generateDocs (package:dartdoc/src/dartdoc.dart:231:9)
<asynchronous suspension>
#1 main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:32:19)
<asynchronous suspension>
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ MacOS
- ✓ Web
10/30 points: code has no errors, warnings, lints, or formatting issues
Found 45 issues. Showing the first 2:
WARNING: The '!' will have no effect because the receiver can't be null.
lib/swift_generator.dart:207:76
╷
207 │ TypeInfo type = typeMap.allTypes[typeMap.allTypes.keys.elementAt(i)!]!;
│ ^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/swift_generator.dart
INFO: Prefer typing uninitialized variables and fields.
lib/swift_composer.dart:29:9
╷
29 │ final annotation;
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/swift_composer.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
analyzer | ^2.1.0 | 2.8.0 | 4.2.0 |
build | ^2.0.0 | 2.3.0 | 2.3.0 |
build_config | ^1.0.0 | 1.0.0 | 1.0.0 |
path | ^1.6.4 | 1.8.2 | 1.8.2 |
source_gen | ^1.0.0 | 1.2.2 | 1.2.2 |
yaml | ^3.1.0 | 3.1.1 | 3.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared | - | 31.0.0 | 41.0.0 |
args | - | 2.3.1 | 2.3.1 |
async | - | 2.9.0 | 2.9.0 |
checked_yaml | - | 2.0.1 | 2.0.1 |
cli_util | - | 0.3.5 | 0.3.5 |
collection | - | 1.16.0 | 1.16.0 |
convert | - | 3.0.2 | 3.0.2 |
crypto | - | 3.0.2 | 3.0.2 |
dart_style | - | 2.2.1 | 2.2.3 |
file | - | 6.1.2 | 6.1.2 |
glob | - | 2.1.0 | 2.1.0 |
json_annotation | - | 4.5.0 | 4.5.0 |
logging | - | 1.0.2 | 1.0.2 |
meta | - | 1.8.0 | 1.8.0 |
package_config | - | 2.1.0 | 2.1.0 |
pub_semver | - | 2.1.1 | 2.1.1 |
pubspec_parse | - | 1.2.0 | 1.2.0 |
source_span | - | 1.9.0 | 1.9.0 |
string_scanner | - | 1.1.1 | 1.1.1 |
term_glyph | - | 1.2.1 | 1.2.1 |
typed_data | - | 1.3.1 | 1.3.1 |
watcher | - | 1.0.1 | 1.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.1.0` on analyzer does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions analyzer
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Package and dependencies are fully migrated to null safety!
Analysed with Pana 0.21.13
, Dart 2.17.5
.