{"_id":"@andreypopp/esy","_rev":"7-0967b24844844fb8e48e2744c8e23df4","name":"@andreypopp/esy","description":"Easy Package.json Sandboxes For Compilers","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.1":{"name":"@andreypopp/esy","version":"0.0.1","description":"Easy Package.json Sandboxes For Compilers","main":"index.js","bin":{"esy":".bin/esy"},"files":["lib/",".bin/","opam-packages/"],"repository":{"type":"git","url":"git+ssh://git@github.com/jordwalke/esy.git"},"keywords":["sandbox","sandboxes"],"author":{"name":"jordwalke"},"license":"MIT","bugs":{"url":"https://github.com/jordwalke/esy/issues"},"homepage":"https://github.com/jordwalke/esy#readme","engines":{"npm":">=3.10.0"},"devDependencies":{"flow-bin":"^0.38.0","jest":"^18.1.0","babel-cli":"^6.22.2","babel-plugin-transform-flow-strip-types":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.22.0","babel-preset-env":"^1.1.8","babel-register":"^6.22.0"},"__dependencies":{"@andreypopp/pnpm":"^0.50.0","bole":"^3.0.2","chalk":"^1.1.3","execa":"^0.6.0","mkdirp":"^0.5.1","mz":"^2.6.0","ndjson":"^1.5.0","observatory":"^1.0.0","outdent":"^0.3.0","path-is-inside":"^1.0.2","resolve":"^1.1.7","semver":"^5.3.0","tempfile":"^1.1.1"},"__scripts":{"test":"jest tests/*/test.js"},"gitHead":"88749468b8e43db1cbb141fc11c79eec3910d724","_id":"@andreypopp/esy@0.0.1","scripts":{},"_shasum":"33d59012ae8f8df8097d2b3b7fb22b2751996550","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"dist":{"shasum":"33d59012ae8f8df8097d2b3b7fb22b2751996550","tarball":"https://registry.npmjs.org/@andreypopp/esy/-/esy-0.0.1.tgz","integrity":"sha512-d8ho+DRLMQGQo2b9rItDxAVwy7gBd/FEnoT4BUEH3v1lybGUMAgYH+fshuN+mDgirNq2xn0dZDEJvpnPyVCYfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUDLsMTIMJcqFgxjzYVWIEbvD0hcRMzlWGSwUBjxewFQIhAOgZc4Y/d8HOFItbwGOKRhhXS7OVf6HJ8aWm9eqpNmnt"}]},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/esy-0.0.1.tgz_1485184959733_0.8134736537467688"}},"0.0.2":{"name":"@andreypopp/esy","version":"0.0.2","description":"Easy Package.json Sandboxes For Compilers","main":"index.js","bin":{"esy":".bin/esy"},"files":["lib/",".bin/","opam-packages/"],"repository":{"type":"git","url":"git+ssh://git@github.com/jordwalke/esy.git"},"keywords":["sandbox","sandboxes"],"author":{"name":"jordwalke"},"license":"MIT","bugs":{"url":"https://github.com/jordwalke/esy/issues"},"homepage":"https://github.com/jordwalke/esy#readme","engines":{"npm":">=3.10.0"},"devDependencies":{"flow-bin":"^0.38.0","jest":"^18.1.0","babel-cli":"^6.22.2","babel-plugin-transform-flow-strip-types":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.22.0","babel-preset-env":"^1.1.8","babel-register":"^6.22.0"},"__dependencies":{"@andreypopp/pnpm":"^0.50.0","bole":"^3.0.2","chalk":"^1.1.3","execa":"^0.6.0","mkdirp":"^0.5.1","mz":"^2.6.0","ndjson":"^1.5.0","observatory":"^1.0.0","outdent":"^0.3.0","path-is-inside":"^1.0.2","resolve":"^1.1.7","semver":"^5.3.0","tempfile":"^1.1.1"},"__scripts":{"test":"jest tests/*/test.js"},"gitHead":"2ce89b641e8cdae9c911d3a7c41e706d978ee889","_id":"@andreypopp/esy@0.0.2","scripts":{},"_shasum":"dd4710583dd8b7240275009c30d75876ff38de58","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"dist":{"shasum":"dd4710583dd8b7240275009c30d75876ff38de58","tarball":"https://registry.npmjs.org/@andreypopp/esy/-/esy-0.0.2.tgz","integrity":"sha512-qYjM/cdLR1AhoZA2b1US7V3ltjb3zasKNoOmo1ko5SoW9iViVp28oo4+nOrQH9+CKOO9dskHmztlAA7N0T+uxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICp39g32SDExRjuVvTPmlmeahD087mv3iwtn3kraOvHdAiB1Wu211rvHLV75Ou1H47c3QaVVhbbOZ3cfSbt951LQAw=="}]},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/esy-0.0.2.tgz_1485187529440_0.6379697090014815"}},"0.0.3":{"name":"@andreypopp/esy","version":"0.0.3","description":"Easy Package.json Sandboxes For Compilers","main":"index.js","bin":{"esy":".bin/esy"},"files":["lib/",".bin/","opam-packages/"],"repository":{"type":"git","url":"git+ssh://git@github.com/jordwalke/esy.git"},"keywords":["sandbox","sandboxes"],"author":{"name":"jordwalke"},"license":"MIT","bugs":{"url":"https://github.com/jordwalke/esy/issues"},"homepage":"https://github.com/jordwalke/esy#readme","engines":{"npm":">=3.10.0"},"devDependencies":{"flow-bin":"^0.38.0","jest":"^18.1.0","babel-cli":"^6.22.2","babel-plugin-transform-flow-strip-types":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.22.0","babel-preset-env":"^1.1.8","babel-register":"^6.22.0"},"__dependencies":{"@andreypopp/pnpm":"^0.50.0","bole":"^3.0.2","chalk":"^1.1.3","execa":"^0.6.0","mkdirp":"^0.5.1","mz":"^2.6.0","ndjson":"^1.5.0","observatory":"^1.0.0","outdent":"^0.3.0","path-is-inside":"^1.0.2","resolve":"^1.1.7","semver":"^5.3.0","tempfile":"^1.1.1"},"__scripts":{"test":"jest tests/*/test.js"},"gitHead":"2ce89b641e8cdae9c911d3a7c41e706d978ee889","_id":"@andreypopp/esy@0.0.3","scripts":{},"_shasum":"8c9b021387d6e9200579a0c58eb356d2c127b0cd","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"dist":{"shasum":"8c9b021387d6e9200579a0c58eb356d2c127b0cd","tarball":"https://registry.npmjs.org/@andreypopp/esy/-/esy-0.0.3.tgz","integrity":"sha512-eZN9JlhvquhLNKFlzcYdGOOekX8h4k0fbk0J2Jgjzm7w1M1sdcdW9+XJsG0+PhZtic4aWtk2IPVRlM1qcDADeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbNksornNkpuuoC8JwO4D5+/oFq+X6gPPPv13OeWytZAiAmQB+tJlRzB44ZqG1gRCS/L5hrQRGcwXX56+VdliZCUg=="}]},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/esy-0.0.3.tgz_1485191820511_0.976716805016622"}},"0.0.4":{"name":"@andreypopp/esy","version":"0.0.4","description":"Easy Package.json Sandboxes For Compilers","main":"index.js","bin":{"esy":".bin/esy"},"files":["lib/",".bin/","opam-packages/"],"repository":{"type":"git","url":"git+ssh://git@github.com/jordwalke/esy.git"},"keywords":["sandbox","sandboxes"],"author":{"name":"jordwalke"},"license":"MIT","bugs":{"url":"https://github.com/jordwalke/esy/issues"},"homepage":"https://github.com/jordwalke/esy#readme","engines":{"npm":">=3.10.0"},"devDependencies":{"flow-bin":"^0.38.0","jest":"^18.1.0","babel-cli":"^6.22.2","babel-plugin-transform-flow-strip-types":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.22.0","babel-preset-env":"^1.1.8","babel-register":"^6.22.0"},"__dependencies":{"@andreypopp/pnpm":"^0.50.0","bole":"^3.0.2","chalk":"^1.1.3","execa":"^0.6.0","mkdirp":"^0.5.1","mz":"^2.6.0","ndjson":"^1.5.0","observatory":"^1.0.0","outdent":"^0.3.0","path-is-inside":"^1.0.2","resolve":"^1.1.7","semver":"^5.3.0","tempfile":"^1.1.1"},"__scripts":{"test":"jest tests/*/test.js"},"gitHead":"2ce89b641e8cdae9c911d3a7c41e706d978ee889","_id":"@andreypopp/esy@0.0.4","scripts":{},"_shasum":"0fb7384446f32b9db69c17cd6d4b35aeaa77d72a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"dist":{"shasum":"0fb7384446f32b9db69c17cd6d4b35aeaa77d72a","tarball":"https://registry.npmjs.org/@andreypopp/esy/-/esy-0.0.4.tgz","integrity":"sha512-XUHWuGmZnC0vUo0vyftGvLxPKe6641eqZBKBnv/aBIIO9wnoK4VHNH8TKrBnI1DozqtNfVGweHgWJxC7qeqBow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdUNqm8N4RT0kxO91P8tJXR+k4JlyOB2VSARUDE89eNAIgA8zGgf0fJ8GcXdB+Ry+FbRdHn7BbYx4vMwduKAz4YJw="}]},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/esy-0.0.4.tgz_1485192506277_0.14139596675522625"}},"0.0.5":{"name":"@andreypopp/esy","version":"0.0.5","description":"Easy Package.json Sandboxes For Compilers","main":"index.js","bin":{"esy":".bin/esy"},"files":["lib/",".bin/","opam-packages/"],"repository":{"type":"git","url":"git+ssh://git@github.com/jordwalke/esy.git"},"keywords":["sandbox","sandboxes"],"author":{"name":"jordwalke"},"license":"MIT","bugs":{"url":"https://github.com/jordwalke/esy/issues"},"homepage":"https://github.com/jordwalke/esy#readme","engines":{"npm":">=3.10.0"},"devDependencies":{"flow-bin":"^0.38.0","jest":"^18.1.0","babel-cli":"^6.22.2","babel-plugin-transform-flow-strip-types":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.22.0","babel-preset-env":"^1.1.8","babel-register":"^6.22.0"},"__dependencies":{"@andreypopp/pnpm":"^0.50.0","bole":"^3.0.2","chalk":"^1.1.3","execa":"^0.6.0","mkdirp":"^0.5.1","mz":"^2.6.0","ndjson":"^1.5.0","observatory":"^1.0.0","outdent":"^0.3.0","path-is-inside":"^1.0.2","resolve":"^1.1.7","semver":"^5.3.0","tempfile":"^1.1.1"},"__scripts":{"test":"jest tests/*/test.js"},"gitHead":"7188769b7feacf838d4be4bcc5d1937253db7730","_id":"@andreypopp/esy@0.0.5","scripts":{},"_shasum":"7cdb2e564741137dd490ce35569c7f3e6d5178e1","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"dist":{"shasum":"7cdb2e564741137dd490ce35569c7f3e6d5178e1","tarball":"https://registry.npmjs.org/@andreypopp/esy/-/esy-0.0.5.tgz","integrity":"sha512-RzNLc0wxLNF8KP/F3uR18/O0OwdrEmlHrZxTIXlHsgx+CVFAJMaCatXjZCXkM+peJy7vWRIXMn1zRFVghug/Xg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGgQI4KISlDhgtHcQ5EoF4xYzeo7Hb9RTgkCX6qPaKsTAiEA4KtsDVxtNblQ+VSs8Hl1C0vQcbbTJnSMYHgpcf6oRWs="}]},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/esy-0.0.5.tgz_1485212561461_0.9396248382981867"}},"0.0.6":{"name":"@andreypopp/esy","version":"0.0.6","description":"Easy Package.json Sandboxes For Compilers","main":"index.js","bin":{"esy":".bin/esy"},"files":["lib/",".bin/","opam-packages/"],"repository":{"type":"git","url":"git+ssh://git@github.com/jordwalke/esy.git"},"keywords":["sandbox","sandboxes"],"author":{"name":"jordwalke"},"license":"MIT","bugs":{"url":"https://github.com/jordwalke/esy/issues"},"homepage":"https://github.com/jordwalke/esy#readme","engines":{"npm":">=3.10.0"},"devDependencies":{"flow-bin":"^0.38.0","jest":"^18.1.0","babel-cli":"^6.22.2","babel-plugin-transform-flow-strip-types":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.22.0","babel-preset-env":"^1.1.8","babel-register":"^6.22.0"},"__dependencies":{"@andreypopp/pnpm":"^0.50.0","bole":"^3.0.2","chalk":"^1.1.3","execa":"^0.6.0","mkdirp":"^0.5.1","mz":"^2.6.0","ndjson":"^1.5.0","observatory":"^1.0.0","outdent":"^0.3.0","path-is-inside":"^1.0.2","resolve":"^1.1.7","semver":"^5.3.0","tempfile":"^1.1.1"},"__scripts":{"test":"jest tests/*/test.js"},"gitHead":"fc1c4f3bc6ececafc40302c768c0868818f829bc","_id":"@andreypopp/esy@0.0.6","scripts":{},"_shasum":"65ddd5aa4a29b9d7534fa0fe695c4c15d5b9fde6","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"dist":{"shasum":"65ddd5aa4a29b9d7534fa0fe695c4c15d5b9fde6","tarball":"https://registry.npmjs.org/@andreypopp/esy/-/esy-0.0.6.tgz","integrity":"sha512-+1SG711sJiMELqZY7LKUZCwXSPxMrobis32NxQ3KrfrcyVVhGHF/ya+dTTN9wnLrhe0YsQTELMbpzeFeVZGXUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZs42bE7pxeTXtrUrXrs05AOupXgrLRQhFAckwfZtefgIhALyESR7UANx91Rx38fu5iG5KQi6hT6m7xy0mFVtx57oV"}]},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/esy-0.0.6.tgz_1485216117988_0.16444884287193418"}}},"readme":"# esy\nEasy Sandboxes For Compiled Languages\n-------------------------------------\n\nRough sketch start of implementation for\n[PackageJsonForCompilers](https://github.com/jordwalke/PackageJsonForCompilers)\nconcept. (Here, the name is `esy` instead of `pjc`).\n\n`esy` seeks to support an \"eject\" feature, which makes\n`PackageJsonForCompilers` easy to deploy/build on hosts that don't even have\nnode installed - they would only need `make`. Just copy the entire sandbox over\nto the host and run the makefile.\n\nThe `esy` command (without anything following the `esy` word), prints the\nenvironment for *one package*, taking into account variables exported by\ndependencies. The final goal of the `esy build` command is to walk the entire\ndependency graph, running their `build` commands, and running each dependency's\n`build` command in an environment computed from the `esy` command, for that\none package.\n\nThe environments computed by `esy` are with respect to (sandbox root, `cur`\npackage), where the sandbox root is the top level package we're building\neverything for, and `cur` package is one of the transitive dependencies.\nRunning `esy` in a directory is like printing the environment as if `pwd` was\nboth the sandbox root *and* the \"currently building package\".\n\nThe `esy build` command would walk the tree with `sandbox root = topmost package`,\nand at each node set `cur package = <THIS_DEPENDENCY>`, and run the build command\nin an environment computed based on that combination.\n\nWe'd want to generate a makefile that encodes the graph of packages, and can build\neverything with maximum parallelism.\n\n\n#### Test\n\nBuilt In Commands\n\n|Command                  | Meaning                                                                                               | Implemented |\n|-------------------------|------------------------------------------------                                                       |-------------|\n|`esy`                    | Print the environment variables for current directory as sandbox root and `cur` root.                 | Started     |\n|`esy build`              | Implements `pjc build` command from `PackageJsonForCompilers` proposal. Should generate `Makefile`    | Yes          |\n|`esy any command here`   | Executes `any command here` but in the sandbox that would be printed via `esy`                        | No          |\n\n\n#### Test\n\nRun the test. The output shows the environment computed for a single package\n`PackageA`.  Some errors are logged into the comments of the output.\n\n```\ncd tests/TestOne/PackageA\n./test.sh\n```\n\nThe output isn't actually verified yet. We should create many more similar\ntests, even if they don't work correctly yet.\n\n#### Next\n\n- Populate all of the variables in `pjc` proposal.\n- Should generate a build for all packages in makefile form.\n- Implement \"scope\" concept as described in `esy.js` comments.\n- Take `buildTimeOnlyDependencies` in order to \"cut off\" scope of environment\n  variables.\n- Automatically set up `_build` and `_install` directories, populate variables\n  accordingly.\n\n#### Try it out on a sample project\n\nhttps://github.com/andreypopp/esy-ocaml-project\n\n#### Origins\n\nThis is a fork of [`dependency-env`](https://github.com/reasonml/dependency-env) which is more stable.\n","maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"}],"time":{"modified":"2022-06-12T14:40:43.729Z","created":"2017-01-23T15:22:42.881Z","0.0.1":"2017-01-23T15:22:42.881Z","0.0.2":"2017-01-23T16:05:32.346Z","0.0.3":"2017-01-23T17:17:03.797Z","0.0.4":"2017-01-23T17:28:29.433Z","0.0.5":"2017-01-23T23:02:42.163Z","0.0.6":"2017-01-24T00:02:01.481Z"},"homepage":"https://github.com/jordwalke/esy#readme","keywords":["sandbox","sandboxes"],"repository":{"type":"git","url":"git+ssh://git@github.com/jordwalke/esy.git"},"author":{"name":"jordwalke"},"bugs":{"url":"https://github.com/jordwalke/esy/issues"},"license":"MIT","readmeFilename":"README.md"}