{"_id":"@connectiv-ms/conveyor","_rev":"5-e17fba129f3f6b75289cc3a526740c30","name":"@connectiv-ms/conveyor","dist-tags":{"latest":"1.4.3"},"versions":{"1.3.2":{"name":"@connectiv-ms/conveyor","version":"1.3.2","description":"conVeyor.Npm","main":"lib/cli.js","author":{"name":"Oliver Tressler","email":"oliver.tressler@connectiv.de"},"license":"ISC","scripts":{"copy-markdown":"robocopy ../conVeyor.Cli/ . *.md & exit 0","prepublish":"npm run copy-markdown"},"bin":{"upload-webresources":"lib/cli.js","convey":"lib/cli.js"},"_id":"@connectiv-ms/conveyor@1.3.2","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-RusPdZ+wW6ToIo5+V7uDtIeGh04kiw1fD29tTk6K2IRJROuF6W0MYeG/984aUe/8nQ+j7EzyNC5GUNOy8GVZlQ==","shasum":"a6e674ca3b057f484e1058a3b88504174a36290a","tarball":"https://registry.npmjs.org/@connectiv-ms/conveyor/-/conveyor-1.3.2.tgz","fileCount":73,"unpackedSize":12357035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXoW6ASHMLyvtVoDvxbxrEz6fY/3QZQ1xhPX7qPqWecAIhAJ5f/RGwg5jwZQFV1yjhMRQ4M83ZtMT6DTf1W7LdZLHB"}]},"_npmUser":{"name":"connectiv_admin","email":"operations@connectiv.de"},"directories":{},"maintainers":[{"name":"christian-schulte","email":"schulte@connectiv.de"},{"name":"connectiv_admin","email":"operations@connectiv.de"},{"name":"oliver-tressler","email":"oliver.tressler@connectiv.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/conveyor_1.3.2_1704239869390_0.3344113135116846"},"_hasShrinkwrap":false},"1.3.3":{"name":"@connectiv-ms/conveyor","version":"1.3.3","description":"conVeyor.Npm","main":"lib/cli.js","author":{"name":"Oliver Tressler","email":"oliver.tressler@connectiv.de"},"license":"ISC","scripts":{"copy-markdown":"robocopy ../conVeyor.Cli/ . *.md & exit 0","prepublish":"npm run copy-markdown"},"bin":{"upload-webresources":"lib/cli.js","convey":"lib/cli.js"},"_id":"@connectiv-ms/conveyor@1.3.3","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-K9FcvMcOMKDvntQ0z2Gkon3/vE0RwWsyCEvQiCmxez56TYBrQK3PLNuIqinUM9qSE+XM/0BFGyPU0OcyTuYmgA==","shasum":"2f162297faf1190657abfec1549c38f2346202b9","tarball":"https://registry.npmjs.org/@connectiv-ms/conveyor/-/conveyor-1.3.3.tgz","fileCount":99,"unpackedSize":17679921,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFsks3orhlkN2FhUKr/rnYwp4O29Fduqpq3cApiVmR5QIgNC6iHLKvRNk8OFRPdkblddtmWxXU4JA1Uva/tJM7TCk="}]},"_npmUser":{"name":"connectiv_admin","email":"operations@connectiv.de"},"directories":{},"maintainers":[{"name":"christian-schulte","email":"schulte@connectiv.de"},{"name":"connectiv_admin","email":"operations@connectiv.de"},{"name":"oliver-tressler","email":"oliver.tressler@connectiv.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/conveyor_1.3.3_1704285437697_0.41032182148145613"},"_hasShrinkwrap":false},"1.4.0":{"name":"@connectiv-ms/conveyor","version":"1.4.0","description":"conVeyor.Npm","main":"lib/cli.js","author":{"name":"Oliver Tressler","email":"oliver.tressler@connectiv.de"},"license":"ISC","scripts":{"copy-markdown":"robocopy ../conVeyor.Cli/ . *.md & exit 0","prepublish":"npm run copy-markdown"},"bin":{"upload-webresources":"lib/cli.js","convey":"lib/cli.js"},"_id":"@connectiv-ms/conveyor@1.4.0","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-lD5di/VfgXTPLvBPmILjRW7o0bocA8hxZZ35nZ0nX62tYWvUB41A4ZXXHvzd8T7GXQJ8rVwtJfZAU1r91Q2cCA==","shasum":"d3c2d04b7f0627a37eb4a8c132783b06b89bb09c","tarball":"https://registry.npmjs.org/@connectiv-ms/conveyor/-/conveyor-1.4.0.tgz","fileCount":100,"unpackedSize":17705039,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEzyo+N3vcpa+qnC1Gtk04h3fbh0CY9/otUtjp311PZJAiEAgaQb52CbsZMdXdz5Of0+PMLP4j7Bek8vt5eOoxTxMQ8="}]},"_npmUser":{"name":"connectiv_admin","email":"operations@connectiv.de"},"directories":{},"maintainers":[{"name":"christian-schulte","email":"schulte@connectiv.de"},{"name":"connectiv_admin","email":"operations@connectiv.de"},{"name":"oliver-tressler","email":"oliver.tressler@connectiv.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/conveyor_1.4.0_1704705114436_0.906552389085463"},"_hasShrinkwrap":false},"1.4.1":{"name":"@connectiv-ms/conveyor","version":"1.4.1","description":"conVeyor.Npm","main":"lib/cli.js","author":{"name":"Oliver Tressler","email":"oliver.tressler@connectiv.de"},"license":"ISC","scripts":{"copy-markdown":"robocopy ../conVeyor.Cli/ . *.md & exit 0","prepublish":"npm run copy-markdown"},"bin":{"upload-webresources":"lib/cli.js","convey":"lib/cli.js"},"_id":"@connectiv-ms/conveyor@1.4.1","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-tmtET/0VD8+j7uGvQ9Y9mm8TjQnG200eL1ZkpbGYTnmzfs26TqpgvwamNOb8N/TNREWGi83OpCCmnv1yELbIzw==","shasum":"337073c142336950792fa0de0772bb7c780a402d","tarball":"https://registry.npmjs.org/@connectiv-ms/conveyor/-/conveyor-1.4.1.tgz","fileCount":100,"unpackedSize":17705039,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCfLqE8krQrBC/77rN4s41syfkzJTdl/GeH4L1QzTH4AIgEbg1I22qCBJAfK9unElGQ8lB9gV8KERtTv2b9kJzu40="}]},"_npmUser":{"name":"connectiv_admin","email":"operations@connectiv.de"},"directories":{},"maintainers":[{"name":"christian-schulte","email":"schulte@connectiv.de"},{"name":"connectiv_admin","email":"operations@connectiv.de"},{"name":"oliver-tressler","email":"oliver.tressler@connectiv.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/conveyor_1.4.1_1705316243873_0.7562111245387177"},"_hasShrinkwrap":false},"1.4.2":{"name":"@connectiv-ms/conveyor","version":"1.4.2","description":"conVeyor.Npm","main":"lib/cli.js","author":{"name":"Oliver Tressler","email":"oliver.tressler@connectiv.de"},"license":"ISC","scripts":{"copy-markdown":"robocopy ../conVeyor.Cli/ . *.md & exit 0","prepublish":"npm run copy-markdown"},"bin":{"upload-webresources":"lib/cli.js","convey":"lib/cli.js"},"_id":"@connectiv-ms/conveyor@1.4.2","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-fnrXw1zYpkiLlZt9Z7uA6ASoos3gZyRZ03m6VAccNCiHRZ6G7EtHTL7BvYyykzYLe3I/lZtP6oOnYystzI4BPg==","shasum":"27d1a92315eb517b0e38c226057db06c0d5da629","tarball":"https://registry.npmjs.org/@connectiv-ms/conveyor/-/conveyor-1.4.2.tgz","fileCount":100,"unpackedSize":17705039,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjQkOrafzXT5kY9IWfl4xhTH7Z6Dzk9Zhsxpf3AitKpwIhAMP0LvvEZBGrzxjLnVub0DfFm2oYwpDjKyxJKPy06eQw"}]},"_npmUser":{"name":"connectiv_admin","email":"operations@connectiv.de"},"directories":{},"maintainers":[{"name":"christian-schulte","email":"schulte@connectiv.de"},{"name":"connectiv_admin","email":"operations@connectiv.de"},{"name":"oliver-tressler","email":"oliver.tressler@connectiv.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/conveyor_1.4.2_1706536403333_0.6303195548582199"},"_hasShrinkwrap":false},"1.4.3":{"name":"@connectiv-ms/conveyor","version":"1.4.3","description":"conVeyor.Npm","main":"lib/cli.js","author":{"name":"Oliver Tressler","email":"oliver.tressler@connectiv.de"},"license":"ISC","scripts":{"copy-markdown":"robocopy ../conVeyor.Cli/ . *.md & exit 0","prepublish":"npm run copy-markdown"},"bin":{"upload-webresources":"lib/cli.js","convey":"lib/cli.js"},"_id":"@connectiv-ms/conveyor@1.4.3","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-+uV1BwdjBZgk00lpQwmvLTklL0dIRVRrLFIXNX/pqoGLwkPSnSBT66AO3eTYasgN9e+LECZKX0quAjvwuxRKPg==","shasum":"9c3a7fba0b9684ae6a32f14b4a8818104dbdbe49","tarball":"https://registry.npmjs.org/@connectiv-ms/conveyor/-/conveyor-1.4.3.tgz","fileCount":100,"unpackedSize":17705551,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYXlKqphGN0lOsdSYLQQ53POwehq7ULEOh90KmGamkyAIhALSqJbqQIseSEtfoXPG8CMQQBPb/QnPCMueZgE3A5ygu"}]},"_npmUser":{"name":"connectiv_admin","email":"operations@connectiv.de"},"directories":{},"maintainers":[{"name":"christian-schulte","email":"schulte@connectiv.de"},{"name":"connectiv_admin","email":"operations@connectiv.de"},{"name":"oliver-tressler","email":"oliver.tressler@connectiv.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/conveyor_1.4.3_1711122041234_0.918655369919382"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-02T23:57:49.241Z","1.3.2":"2024-01-02T23:57:49.642Z","modified":"2024-03-22T15:40:42.404Z","1.3.3":"2024-01-03T12:37:17.974Z","1.4.0":"2024-01-08T09:11:54.708Z","1.4.1":"2024-01-15T10:57:24.104Z","1.4.2":"2024-01-29T13:53:23.617Z","1.4.3":"2024-03-22T15:40:41.529Z"},"maintainers":[{"name":"christian-schulte","email":"schulte@connectiv.de"},{"name":"connectiv_admin","email":"operations@connectiv.de"},{"name":"oliver-tressler","email":"oliver.tressler@connectiv.de"}],"description":"conVeyor.Npm","author":{"name":"Oliver Tressler","email":"oliver.tressler@connectiv.de"},"license":"ISC","readme":"# conVeyor\r\n\r\n## About\r\n\r\nconVeyor is a tool that takes care of moving code units from your machine to Dataverse. It matches your local files to their remote counterparts and checks which code units need updating. At this time conVeyor can only be used to upload webresources, but a pipeline that can handle deploying plugins is currently in the works.\r\n\r\n## Usage\r\n\r\n### Webresources\r\n\r\nconVeyor will match your local files to webresources in Dataverse. If outdated content is found, these webresources will be updated with their local counterparts. Optionally, it can also create missing webresources.\r\n\r\nThe tool supports the following extensions:\r\n\r\n- .html, .htm\r\n- .js\r\n- .css\r\n- .svg, .gif, .jpg, .png, .ico\r\n- .xml\r\n- .xap, .xsl, .xslt\r\n- .resx\r\n\r\nThe connection to the CRM is established via a `connections.config` file.\r\n\r\n## Install\r\n\r\nInstall either via `npm i -D @connectiv-ms/webresource-uploader` as a Dev-Dependency in your project, or install it globally via `npm i -g @connectiv-ms/webresource-uploader`. Alternatively, this can also be executed via `npx @connectiv-ms/webresource-uploader`, which installs the package and executes it immediately but will not add it to the Dev-Dependencies.\r\n\r\nIf you cannot use the `npm` commands, you can also copy the exe of the C# project to your project folder and run the executable from there.\r\n\r\nIf you already have the old `@connectiv-ms/webresource-uploader` installed, please make sure, that you uninstall this package first (`npm uninstall -g @connectiv-ms/webresource-uploader`), due to a conflict in the command aliases.\r\n\r\n## Execute\r\n\r\nThe tool can be installed via npm using the following command:\r\n\r\n```\r\nnpm i -g @connectiv-ms/conveyor\r\n```\r\n\r\n### Executing after Global NPM Install\r\n\r\nAfter installing the package with the `-g` flag (See **Installation: NPM**), you can run the tool via the `upload-webresources` or `convey webresources` commands in the terminal.\r\n\r\n### Direct execution via NPX\r\n\r\n`npx @connectiv-ms/webresource-uploader` downloads the tool in your current working directory if it is not already present and executes it afterwards. _This is the preferred option for batch/shell/NPM scripts as it does not require preexisting installs._\r\n\r\n### Executing via dotnet tool\r\n\r\nAfter installing the tool with the `--global` flag (See **Installation: dotnet tool**), you can run the tool via the `upload-webresources` or `convey webresources` commands in the terminal.\r\n\r\n### Arguments\r\n\r\nYou can pass a relative or absolute path to a folder or a single file as the first argument to this tool.\r\n\r\n### Options\r\n\r\nThe tool does not necessarily need options to run, but if you need to override the default behavior, you can do so by supplying the options described in the table below. Some options offer a shorthand option, which can be used via `-x <value>`. The full option name can be supplied via `--fullName <value>` For boolean options (flags), the value can be omitted.\r\n\r\n**You can always use the `--help` option to get a short tutorial on how to call this tool and what all these options do.**\r\n\r\n| Option     | Alternative | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Default                                                                                                                                                                                                                                                                                                                                                                     |\r\n|------------|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\r\n| connection | c           | Absolute or relative path to a connection.config file. Relative paths are resolved according to the git repository root folder.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | If this option is not provided, the tool will look for a connections.config file in the following locations: <br/><ul><li> `<reporoot>/connections.config`</li><li>`<reporoot>/.buildconfig/connections/connection.config.<branchname>`</li></ul>where `<branchname>` is the currently active git branch and `<reporoot>` is the root folder of the current git repository. |\r\n| profile    | p           | The name of the profile in the connection config file that should be used.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | Profile at default connection index or first profile found in connections.config file.                                                                                                                                                                                                                                                                                      |\r\n| create     |             | This flag controls if code units that cannot be found in Dataverse will be created automatically.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `false`                                                                                                                                                                                                                                                                                                                                                                     |\r\n| solution   |             | Enter the unique solution name that webresources should be added to. If there is a patch for the target solution, the webresource will be added to this patch instead. Required if `--create` flag is passed and no SolutionName tag has been added to the connections.config file.                                                                                                                                                                                                                                                                                                                                                | The solution that is specified in the connections.config file.                                                                                                                                                                                                                                                                                                              |\r\n| continuous |             | This option keeps the tool open after completing the pipeline, which usually leads to better execution times for following pipeline runs, as the connection is cached. There are several versions that you can use:<br><ul><li>`filewatcher`: Waits until the filesystem signals that files have changed and starts the next pipeline automatically.</li><li>`interval-<X>`: Starts a new pipeline `<X>` seconds after the last pipeline has finished. If `-<X>` is omitted, it will default to 10.</li><li>`manual`: Will start a new pipeline run after pressing enter.</li></ul>                                                | By default, the tool executes only once. Using this flag is recommended though, as it mitigates the overhead of reconnecting everytime. Additionally, remote resources are cached where possible to reduce wait times.                                                                                                                                                      |\r\n| comparer   |             | Controls how changes between local and remote webresources are detected.<ul><li>`content` (default): Compares the content of the local and remote webresource</li><li>`hash-<HASH-ALGORITHM>`: Compares the hash value computed by `<HASH-ALGORITHM>` of the local file with the hash value injected into the remote webresource description tag. Available `-<HASH-ALGORITHM>` values are `MD5`, `SHA1`, `SHA256`. If `-<HASH-ALGORITHM>` is omitted, the `MD5` option will be used. **THIS WILL MODIFY WEBRESOURCE DESCRIPTIONS. IT IS RECOMMENDED TO NOT USE THIS OPTION IF LONG WEBRESOURCE DESCRIPTIONS ARE USED!**</li></ul> | Comparison via `content`                                                                                                                                                                                                                                                                                                                                                    |\r\n| uploader   |             | <ul><li>`iterative`: (default) Uploads webresources one by one.</li><li>`parallel`: Uploads webresources in parallel.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `iterative`                                                                                                                                                                                                                                                                                                                                                                 |\r\n| publisher  |             | <ul><li>`bulk`: (default) Publishes multiple webresources at once. **Strongly recommended**</li><li>`bulk-nowait`: Publishes multiple webresources at once, but does not wait for the publish operation to complete. (Useful for `--continuous` modes)</li><li>`iterative`: Publishes webresources one at a time.</li><li>`all`: Publishes ALL solution components in the environment. **NOT RECOMMENDED!**</li></ul>                                                                                                                                                                                                              | `bulk`                                                                                                                                                                                                                                                                                                                                                                      |\r\n| filter     |             | Regular expression that filters the source files by name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                             |\r\n\r\n","readmeFilename":"README.md"}