Should there be an npm module for DotSlash that contains the dotslash executable for multiple platforms (and/or the npm module fetches the platform-specific dotslash in postinstall, though that could fail in the presence of --ignore-scripts?) so that once that one-time cost is paid, it's easier for other modules in the Node.js ecosystem to distribute executables using DotSlash?
For example, suppose you have a DotSlash file for my-example-tool. Then perhaps the package.json for the my-example-tool module looks something like:
{
"name": "my-example-tool",
"bin": {
"my-example-tool": "dotslash ./my-example-tool-dotslash-file"
},
"scripts": {
"postinstall": "dotslash -- fetch ./my-example-tool-dotslash-file"
},
"dependencies": {
"@meta/dotslash": "0.1.0"
},
}
@zertosh curious to get your thoughts on this one.
Should there be an
npmmodule for DotSlash that contains thedotslashexecutable for multiple platforms (and/or thenpmmodule fetches the platform-specificdotslashinpostinstall, though that could fail in the presence of--ignore-scripts?) so that once that one-time cost is paid, it's easier for other modules in the Node.js ecosystem to distribute executables using DotSlash?For example, suppose you have a DotSlash file for
my-example-tool. Then perhaps thepackage.jsonfor themy-example-toolmodule looks something like:{ "name": "my-example-tool", "bin": { "my-example-tool": "dotslash ./my-example-tool-dotslash-file" }, "scripts": { "postinstall": "dotslash -- fetch ./my-example-tool-dotslash-file" }, "dependencies": { "@meta/dotslash": "0.1.0" }, }@zertosh curious to get your thoughts on this one.