diff --git a/CHANGELOG.md b/CHANGELOG.md index ebdaf655..1fa836af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 7.13.0-beta.2 + +- readme fix + ## 7.13.0-beta.1 - package update diff --git a/README.md b/README.md index e147d724..125589e0 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ + +

Artemis

@@ -85,20 +87,16 @@ targets: > ⚠️ Make sure your configuration file is called `build.yaml` (with `.yaml` extension, not `.yml`)! -| Option | Default value | Description | | - | - | - | | `generate_helpers` | `true` | If Artemis should generate -query/mutation helper GraphQLQuery subclasses. | | `generate_queries` | `true` | If Artemis should generate query -documents and operation names. If you are using Artemis with `graphql` library it is useful to have those queries and -operation names generated but without Atremis specific classes to exclude Artemis from dependancies | | `scalar_mapping` -| `[]` | Mapping of GraphQL and Dart types. See [Custom scalars](#custom-scalars). | | `schema_mapping` | `[]` | Mapping -of queries and which schemas they will use for code generation. See [Schema mapping](#schema-mapping). | -| `fragments_glob` | `null` | Import path to the file implementing fragments for all queries mapped in schema_mapping. -If it's assigned, fragments defined in schema_mapping will be ignored. | | `ignore_for_file` | `[]` | The linter rules -to ignore for artemis generated files. | - -It's important to remember that, by default, [build](https://github.com/dart-lang/build) will -follow [Dart's package layout conventions](https://dart.dev/tools/pub/package-layout), meaning that only some folders -will be considered to parse the input files. So, if you want to reference files from a folder other than `lib/`, make -sure you've included it on `sources`: +| Option | Default value | Description | +| - | - | - | +| `generate_helpers` | `true` | If Artemis should generate query/mutation helper GraphQLQuery subclasses. | +| `scalar_mapping` | `[]` | Mapping of GraphQL and Dart types. See [Custom scalars](#custom-scalars). | +| `schema_mapping` | `[]` | Mapping of queries and which schemas they will use for code generation. See [Schema mapping](#schema-mapping). | +| `fragments_glob` | `null` | Import path to the file implementing fragments for all queries mapped in schema_mapping. If it's assigned, fragments defined in schema_mapping will be ignored. | +| `ignore_for_file` | `[]` | The linter rules to ignore for artemis generated files. | +| `generate_queries` | `true` | If Artemis should generate query documents and operation names. If you are using Artemis with `graphql` library it is useful to have those queries and operation names generated but without Atremis specific classes to exclude Artemis from dependancies | + +It's important to remember that, by default, [build](https://github.com/dart-lang/build) will follow [Dart's package layout conventions](https://dart.dev/tools/pub/package-layout), meaning that only some folders will be considered to parse the input files. So, if you want to reference files from a folder other than `lib/`, make sure you've included it on `sources`: ```yaml targets: $default: diff --git a/analysis_options.yaml b/analysis_options.yaml index 220fb1ff..b803dfd2 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -2,10 +2,10 @@ include: package:lints/recommended.yaml analyzer: - strong-mode: - implicit-casts: false exclude: - example/**/*.dart + language: + strict-casts: true linter: rules: overridden_fields: false diff --git a/pubspec.yaml b/pubspec.yaml index e01aff76..fc21c4ad 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: artemis -version: 7.13.0-beta.1 +version: 7.13.0-beta.2 description: Build dart types from GraphQL schemas and queries (using Introspection Query). homepage: https://github.com/comigor/artemis