Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • C cpm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • curry-packages
  • cpm
  • Merge requests
  • !5

Add JSON schema for CPM package specification files (package.json)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Fredrik Wieczerkowski requested to merge package-schema into master Mar 07, 2022
  • Overview 0
  • Commits 4
  • Pipelines 0
  • Changes 1

This branch adds a package.schema.json that describes the package.json format as a JSON schema. JSON schema is a widely adopted format that makes it easier to external tooling such as IDEs to provide validation and autocompletion in JSON documents.

With this schema, for example, Visual Studio Code can both provide completions and warn about missing mandatory fields:

vscode-cpm-schema

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: package-schema