Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): remove old dart code linter reference and bump dcm/lints #269

Merged
merged 6 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@
[![Codecov](https://codecov.io/github/tsinis/sealed_world/branch/main/graph/badge.svg)](https://app.codecov.io/github/tsinis/sealed_world/flags)
[![CodeRabbit](https://img.shields.io/badge/reviewed-code?style=flat&logo=vowpalwabbit&logoColor=orange&label=coderabbit&color=dark-green)](https://coderabbit.ai)
[![Dart Code Metrics](https://img.shields.io/badge/passing-dcm?style=flat&logo=dart&logoColor=lightskyblue&label=dcm&color=dark-green)](https://dcm.dev)
![Last commit](https://img.shields.io/github/last-commit/tsinis/sealed_world)
![GitHub stars](https://img.shields.io/github/stars/tsinis/sealed_world?style=flat&color=green)
[![Last commit](https://img.shields.io/github/last-commit/tsinis/sealed_world)](https://github.com/tsinis/sealed_world/commits)
[![GitHub stars](https://img.shields.io/github/stars/tsinis/sealed_world?style=flat&color=green)](https://github.com/tsinis/sealed_world/stargazers)
[![License MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Sealed World

A pure Dart, fully tested and ISO-driven ecosystem for the world's data in the form of compile-time, tree-shakable constant sealed classes.

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/tsinis/sealed_world?hide_repo_select=true&ref=main)
<a href="https://idx.google.com/import?url=https%3A%2F%2Fgithub.com%2Ftsinis%2Fsealed_world%2Ftree%2Fmain%2Fpackages%2Fworld_countries%2Fexample">
<img height="32" alt="Open in IDX" src="https://cdn.idx.dev/btn/open_dark_32.svg"> </a>

> [!TIP]
> Flutter packages follow a **world** prefix convention, whereas Dart packages utilize the **sealed** prefix.

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish_world_countries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

jobs:
publish-world-countries:
if: false # Until: https://github.com/dart-lang/setup-dart/issues/68
uses: ./.github/workflows/publish_to_pub.yaml
permissions:
id-token: write
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/publish_world_flags.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: publish_world_flags

on:
push:
branches: [main]
tags:
- 'world_flags-v[0-9]+.[0-9]+.[0-9]+*'

tsinis marked this conversation as resolved.
Show resolved Hide resolved
jobs:
publish-world-flags:
uses: ./.github/workflows/publish_to_pub.yaml
permissions:
id-token: write
with:
package_name: world_flags
tag: ${{ github.ref }}
tsinis marked this conversation as resolved.
Show resolved Hide resolved
20 changes: 13 additions & 7 deletions .vscode/sealed_world.code-workspace
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{
"folders": [
{ "name": "VS Code", "path": "../.vscode" },
{ "name": "Dev Container", "path": "../.devcontainer" },
{
"name": "VS Code",
"path": "."
},
{
"name": "Dev Container",
"path": "../.devcontainer"
},
{
"name": "GitHub Setup",
"path": "../.github"
Expand Down Expand Up @@ -259,27 +265,27 @@
},
{
"type": "shell",
"command": "dart run dart_code_linter:metrics analyze lib",
"command": "dcm analyze lib",
"label": "Dart Code Metrics Analyze"
},
{
"type": "shell",
"command": "dart run dart_code_linter:metrics check-unnecessary-nullable lib",
"command": "dcm check-unnecessary-nullable lib",
"label": "Dart Code Metrics Nullable"
},
{
"type": "shell",
"command": "dart run dart_code_linter:metrics check-unused-l10n lib",
"command": "dcm check-unused-l10n lib",
"label": "Dart Code Metrics Unused L10N"
},
{
"type": "shell",
"command": "dart run dart_code_linter:metrics check-unused-files lib",
"command": "dcm check-unused-files lib",
"label": "Dart Code Metrics Unused Files"
},
{
"type": "shell",
"command": "dart run dart_code_linter:metrics check-unused-code lib",
"command": "dcm check-unused-code lib",
"label": "Dart Code Metrics Unused Code"
},
{
Expand Down
4 changes: 2 additions & 2 deletions packages/_sealed_world_tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
[![Codecov](https://codecov.io/github/tsinis/sealed_world/branch/main/graph/badge.svg)](https://app.codecov.io/github/tsinis/sealed_world/flags)
[![CodeRabbit](https://img.shields.io/badge/reviewed-code?style=flat&logo=vowpalwabbit&logoColor=orange&label=coderabbit&color=dark-green)](https://coderabbit.ai)
[![Dart Code Metrics](https://img.shields.io/badge/passing-dcm?style=flat&logo=dart&logoColor=lightskyblue&label=dcm&color=dark-green)](https://dcm.dev)
![Last commit](https://img.shields.io/github/last-commit/tsinis/sealed_world)
![GitHub stars](https://img.shields.io/github/stars/tsinis/sealed_world?style=flat&color=green)
[![Last commit](https://img.shields.io/github/last-commit/tsinis/sealed_world)](https://github.com/tsinis/sealed_world/commits)
[![GitHub stars](https://img.shields.io/github/stars/tsinis/sealed_world?style=flat&color=green)](https://github.com/tsinis/sealed_world/stargazers)
[![License MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

# Internal Testing Package
Expand Down
9 changes: 4 additions & 5 deletions packages/_sealed_world_tests/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ repository: https://github.com/tsinis/sealed_world/tree/main/packages/_sealed_wo
issue_tracker: https://github.com/tsinis/sealed_world/issues

environment:
sdk: ^3.5.3
sdk: ^3.6.0
tsinis marked this conversation as resolved.
Show resolved Hide resolved

dependencies:
meta: ^1.15.0 # Specific version for the flags package. From Google
test: ^1.25.7 # Specific version for the flags package. From Google
test: ^1.25.8 # Specific version for the flags package. From Google
vm_service: ^14.2.5 # Specific version for the flags package. From Google

dev_dependencies:
dart_code_linter: ^1.1.5 # Ex-DCM.
dart_code_metrics_presets: ^2.17.0
lints: ^5.0.0 # From Google
dart_code_metrics_presets: ^2.19.0
lints: ^5.1.1 # From Google
Loading
Loading