Skip to content
HALOWERK

Paketwerk

package publish workspace rewrite

Rewrite supplied workspace dependency protocols to declared publish-time version ranges.

POST https://paket.halowerk.com/v1/package-publish-workspace-rewrite

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
versionsarrayYes
dependenciesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "versions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "$ref": "#/$defs/s0"
          },
          "version": {
            "$ref": "#/$defs/s0"
          }
        },
        "required": [
          "name",
          "version"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    },
    "dependencies": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "$ref": "#/$defs/s0"
          },
          "range": {
            "$ref": "#/$defs/s0"
          }
        },
        "required": [
          "name",
          "range"
        ],
        "additionalProperties": false
      },
      "maxItems": 200,
      "minItems": 1
    }
  },
  "required": [
    "versions",
    "dependencies"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w5:A6:input",
  "$defs": {
    "s0": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
    }
  }
}

Open original schema

Published input example

{
  "versions": [
    {
      "name": "@halowerk/parser",
      "version": "2.3.1"
    }
  ],
  "dependencies": [
    {
      "name": "@halowerk/parser",
      "range": "workspace:^"
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’