2.1.3 • Published 4 years ago

eso-manifest v2.1.3

Weekly downloads
4
License
MIT
Repository
-
Last release
4 years ago

eso-manifest

Generates a manifest file for Elder Scrolls Online.

Available:

  • npm - Latest stable
  • git - Sources and deployment
  • esoui - Sources published for visibility.

Install

  • npm install -g eso-manifest

Command Line

  1. Save configuration to example-config.txt
    {
        "Title": "Addon Name",
        "APIVersion": "100026",
        "AddOnVersion": 1,
        "Description": "Text description of the addon",
        "Author": "ME!",
        "SavedVariables": "SavedVars1 SavedVars2",
        "DependsOn": "DependencyA DependencyB",
        "OptionalDependsOn": "DependencyC DependencyD",
        "Files": [
            "lang/$(language).lua",
            "addOnFile.lua",
            "file.xml"
        ]
    }
  2. From a terminal run:

    • eso-manifest --manifestFileName=addon.txt --inputJSONFileName=example-config.json
    • Output to addon.txt:

      # Manifest generated using eso-manifest. https://www.npmjs.com/package/eso-manifest
      ## Title: Addon Name
      ## APIVersion: 100026
      ## AddOnVersion: 1
      ## Author: ME!
      ## Description: Text description of the addon
      ## SavedVariables: SavedVars1 SavedVars2
      ## DependsOn: DependencyA DependencyB
      ## OptionalDependsOn: DependencyC DependencyD
      lang/$(language).lua
      addOnFile.lua
      file.xml
      
      # This Add-on is not created by, affiliated with, or sponsored by, ZeniMax Media Inc. or its affiliates.
      # The Elder Scrolls® and related logos are registered trademarks or trademarks of ZeniMax Media Inc. in the United States
      # and/or other countries. All rights reserved.

Node/JavaScript

const esoManifest = require('eso-manifest');
const destinationFile = 'manifest.txt';
const manifest = {
    Title: 'Addon Name',
    APIVersion: '100026',
    AddOnVersion: 1, // Optional
    Description: 'Text description of the addon', // Optional
    Author: 'ME!', // Optional
    SavedVariables: 'SavedVars1 SavedVars2', // Optional
    DependsOn: 'DependencyA DependencyB', // Optional
    OptionalDependsOn: 'DependencyC DependencyD', // Optional
    Files: [
        // Ordered list of file dependencies
        'lang/$(language).lua',
        'addOnFile.lua',
        'file.xml'
    ]
};

// Where the magic happens :)
esoManifest.generateManifest(destinationFile, manifest, true);
2.1.2

4 years ago

2.1.3

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.0

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago