diff --git a/.github/workflows/build_static.yaml b/.github/workflows/build_static.yaml deleted file mode 100644 index 3d7d942..0000000 --- a/.github/workflows/build_static.yaml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build Static API - -on: - workflow_dispatch: - schedule: - - cron: 0 0 * * * - -jobs: - build-static: - runs-on: ubuntu-latest - - container: - image: dart:latest - - steps: - - uses: actions/checkout@v2 - - name: Install dependencies - run: dart pub get - # Grind task to build static files - - name: Activate Grinder - run: dart pub global activate grinder - - name: Build static files - run: dart pub run grinder diff --git a/lib/src/schemas/package_metrics_schema.json b/lib/src/schemas/package_metrics_schema.json deleted file mode 100644 index 0c41fdb..0000000 --- a/lib/src/schemas/package_metrics_schema.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-06/schema#", - "$ref": "#/definitions/PackageMetrics", - "definitions": { - "PackageMetrics": { - "type": "object", - "additionalProperties": false, - "properties": { - "score": { - "$ref": "#/definitions/Score" - }, - "scorecard": { - "$ref": "#/definitions/Scorecard" - } - }, - "required": [], - "title": "PackageMetrics" - }, - "Score": { - "type": "object", - "additionalProperties": false, - "properties": { - "grantedPoints": { - "type": "integer" - }, - "maxPoints": { - "type": "integer" - }, - "likeCount": { - "type": "integer" - }, - "popularityScore": { - "type": "number" - }, - "lastUpdated": { - "type": "string", - "format": "date-time" - } - }, - "required": [], - "title": "Score" - }, - "Scorecard": { - "type": "object", - "additionalProperties": false, - "properties": { - "packageName": { - "type": "string" - }, - "packageVersion": { - "type": "string" - }, - "runtimeVersion": { - "type": "string" - }, - "updated": { - "type": "string", - "format": "date-time" - }, - "packageCreated": { - "type": "string", - "format": "date-time" - }, - "packageVersionCreated": { - "type": "string", - "format": "date-time" - }, - "grantedPubPoints": { - "type": "integer" - }, - "maxPubPoints": { - "type": "integer" - }, - "popularityScore": { - "type": "number" - }, - "derivedTags": { - "type": "array", - "items": { - "type": "string" - } - }, - "flags": { - "type": "array", - "items": { - "type": "string" - } - }, - "reportTypes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [], - "title": "Scorecard" - } - } -} diff --git a/lib/src/schemas/package_options_schema.json b/lib/src/schemas/package_options_schema.json deleted file mode 100644 index 1394ab2..0000000 --- a/lib/src/schemas/package_options_schema.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-06/schema#", - "$ref": "#/definitions/PackageOptions", - "definitions": { - "PackageOptions": { - "type": "object", - "additionalProperties": false, - "properties": { - "isDiscontinued": { - "type": "boolean" - }, - "replacedBy": { - "type": "string" - }, - "isUnlisted": { - "type": "boolean" - } - }, - "required": [], - "title": "PackageOptions" - } - } -} diff --git a/lib/src/schemas/package_score_schema.json b/lib/src/schemas/package_score_schema.json deleted file mode 100644 index 4f5f26c..0000000 --- a/lib/src/schemas/package_score_schema.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-06/schema#", - "$ref": "#/definitions/PackageScore", - "definitions": { - "PackageScore": { - "type": "object", - "additionalProperties": false, - "properties": { - "grantedPoints": { - "type": "integer" - }, - "maxPoints": { - "type": "integer" - }, - "likeCount": { - "type": "integer" - }, - "popularityScore": { - "type": "number" - }, - "lastUpdated": { - "type": "string", - "format": "date-time" - } - }, - "required": [], - "title": "PackageScore" - } - } -} diff --git a/lib/src/schemas/package_version_schema.json b/lib/src/schemas/package_version_schema.json deleted file mode 100644 index 50221db..0000000 --- a/lib/src/schemas/package_version_schema.json +++ /dev/null @@ -1,196 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-06/schema#", - "$ref": "#/definitions/PackageVersion", - "definitions": { - "PackageVersion": { - "type": "object", - "additionalProperties": false, - "properties": { - "version": { - "type": "string" - }, - "pubspec": { - "$ref": "#/definitions/Pubspec" - }, - "archive_url": { - "type": "string", - "format": "uri", - "qt-uri-protocols": ["https"], - "qt-uri-extensions": [".gz"] - }, - "published": { - "type": "string", - "format": "date-time" - } - }, - "required": [], - "title": "PackageVersion" - }, - "Pubspec": { - "type": "object", - "additionalProperties": false, - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "version": { - "type": "string" - }, - "homepage": { - "type": "string", - "format": "uri", - "qt-uri-protocols": ["https"] - }, - "environment": { - "$ref": "#/definitions/Environment" - }, - "executables": { - "$ref": "#/definitions/Executables" - }, - "dependencies": { - "$ref": "#/definitions/Dependencies" - }, - "dev_dependencies": { - "$ref": "#/definitions/DevDependencies" - } - }, - "required": [], - "title": "Pubspec" - }, - "Dependencies": { - "type": "object", - "additionalProperties": false, - "properties": { - "meta": { - "type": "string" - }, - "pretty_json": { - "type": "string" - }, - "pubspec_yaml": { - "type": "string" - }, - "args": { - "type": "string" - }, - "cli_util": { - "type": "string" - }, - "console": { - "type": "string" - }, - "io": { - "type": "string" - }, - "path": { - "type": "string" - }, - "process_run": { - "type": "string" - }, - "http": { - "type": "string" - }, - "date_format": { - "type": "string" - }, - "version": { - "type": "string" - }, - "cli_dialog": { - "type": "string" - } - }, - "required": [], - "title": "Dependencies" - }, - "DevDependencies": { - "type": "object", - "additionalProperties": false, - "properties": { - "pedantic": { - "type": "string" - }, - "test": { - "type": "string" - }, - "test_coverage": { - "type": "string" - }, - "build_runner": { - "type": "string" - }, - "build_version": { - "type": "string" - }, - "build_test": { - "type": "string" - }, - "grinder": { - "type": "string" - }, - "cli_pkg": { - "$ref": "#/definitions/CLIPkg" - }, - "dotenv": { - "type": "string" - } - }, - "required": [], - "title": "DevDependencies" - }, - "CLIPkg": { - "type": "object", - "additionalProperties": false, - "properties": { - "git": { - "$ref": "#/definitions/Git" - } - }, - "required": [], - "title": "CLIPkg" - }, - "Git": { - "type": "object", - "additionalProperties": false, - "properties": { - "url": { - "type": "string", - "format": "uri", - "qt-uri-protocols": ["https"], - "qt-uri-extensions": [".git"] - }, - "ref": { - "type": "string" - } - }, - "required": [], - "title": "Git" - }, - "Environment": { - "type": "object", - "additionalProperties": false, - "properties": { - "sdk": { - "type": "string" - } - }, - "required": [], - "title": "Environment" - }, - "Executables": { - "type": "object", - "additionalProperties": false, - "properties": { - "fvm": { - "type": "string" - } - }, - "required": [], - "title": "Executables" - } - } -}