PUBSPEC_YAML_TPL top-level constant
String
const PUBSPEC_YAML_TPL
Template for the Dart package metadata file: pubspec.yaml.
Variables:
{{projectName}}: The project's snake_case name (e.g.,fasty_cli).
Implementation
const String PUBSPEC_YAML_TPL = r'''
name: {{projectName}}
description: A new Cardinal project created using the Cardinal CLI.
version: 1.0.0
# repository: https://github.com/my_org/my_repo
environment:
sdk: ^3.10.1
# Add regular dependencies here.
dependencies:
cardinal: ^0.3.0
dev_dependencies:
lints: ^6.0.0
test: ^1.25.6
''';