Skip to content

Some package.json attributes within Template archive need rethinking. #787

Open
@martinhalford

Description

@martinhalford

Bug Report 🐛

The package.json contains some legacy artefacts which need to be removed or rethought.

Current Behaviour

An Accord Project template archive contains a package.json file containing the following definition:

    "accordproject": {
        "template": "clause",
        "cicero": "^0.24.0",
        "runtime": "ergo"
    },

The runtime attribute is redundant - should it be removed?

The template attribute seems to causes an error when using certain cicero commands (e.g. cicero archive), when it is set to contract - but the cicero commands seem to works fine when set to it is set to clause. It's probably still doing some sort of validation against the Ergo logic syntax - maybe?

Possible Solution

  • Remove the template and runtime attributes completely - unless there is some benefit to keeping them for future use.

Context (Environment)

  • cicero v0.24.0
  • node v19.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions