eso-manifest
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.3 • Public • Published

    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);

    Install

    npm i eso-manifest

    DownloadsWeekly Downloads

    20

    Version

    2.1.3

    License

    MIT

    Unpacked Size

    11.8 kB

    Total Files

    8

    Last publish

    Collaborators

    • albinopython