Skip to content

feat: add JSON Schema for frontend package.json configuration#95

Open
15414tdh wants to merge 1 commit into
cuentaprueba244w-dotcom:mainfrom
15414tdh:bounty/json-schema
Open

feat: add JSON Schema for frontend package.json configuration#95
15414tdh wants to merge 1 commit into
cuentaprueba244w-dotcom:mainfrom
15414tdh:bounty/json-schema

Conversation

@15414tdh

Copy link
Copy Markdown

Summary

Create a JSON Schema (draft-07) describing the frontend package.json configuration. Closes #5.

Changes

  • Created schemas/frontend-package.schema.json
  • Includes $schema, $id, itle, description, ype, properties
  • Schema describes the tent-frontend Vite + React + TypeScript configuration:
    • Required fields: name, private, version, type, scripts, dependencies, devDependencies
    • Type constraints for all fields
    • Pattern validation for version (semver) and package names
    • Enum validation for module type

Testing

  • Ran python build.py locally
  • Generated diagnostic artifacts included in PR

Checklist

  • Relevant modules affected by these changes build locally
  • Tests pass locally
  • Diagnostic build log is committed in this PR
  • Documentation has been updated, if applicable
  • Configuration or schema changes are documented, if applicable
  • No generated build artifacts are committed, except the required diagnostic build log
  • Changes are scoped to the PR purpose and avoid unrelated cleanup
  • Security, privacy, and error-handling implications have been considered

/claim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[$20 BOUNTY] [JSON] Create JSON Schema for project data structure

1 participant