{"_id":"@axhxrx/nx-deno","_rev":"3-74e1e06b55b9f163445c00e697425c2d","name":"@axhxrx/nx-deno","dist-tags":{"latest":"1.0.2"},"versions":{"0.0.1":{"name":"@axhxrx/nx-deno","version":"0.0.1","main":"./src/index.js","generators":"./generators.json","executors":"./executors.json","dependencies":{"@nx/devkit":"^17.0.1","@nx/js":"^17.0.1","chalk":"^4.1.0","enquirer":"2.3.6","fs-extra":"^11.0.0"},"nx-migrations":{"migrations":"./migrations.json"},"type":"commonjs","description":"A fork of the final version of @nx/deno after the Nx team discontinued it, for internal use.","licenseText":"(The MIT License)\n\nCopyright (c) 2017-2023 Narwhal Technologies Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","license":"MIT","_id":"@axhxrx/nx-deno@0.0.1","dist":{"shasum":"1b57ccbcbf94c2ac587bf06430e70fd198115407","integrity":"sha512-deD56KdB4N92XhSQwcBb/O2NaQbuF4LNXIHkDPlBKKvSRZZ79/Bk9huEfT7Z7wrQU1p1a5kY8hlSvkW+cdutRA==","tarball":"https://registry.npmjs.org/@axhxrx/nx-deno/-/nx-deno-0.0.1.tgz","fileCount":169,"unpackedSize":185396,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIHMH7dC42dt7dA8gogST1NSlShOUIIC16Z1/o0NewIAIhAPtxfLrFpxzu7s5ioowwsbv8ocQotBOTslCxywhvvNL2"}]},"_npmUser":{"name":"masonmark","email":"npmjs@axhxrx.com"},"directories":{},"maintainers":[{"name":"masonmark","email":"npmjs@axhxrx.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-deno_0.0.1_1706443698056_0.5992166577871554"},"_hasShrinkwrap":false},"1.0.0":{"name":"@axhxrx/nx-deno","version":"1.0.0","main":"./src/index.js","generators":"./generators.json","executors":"./executors.json","dependencies":{"@nx/devkit":"^17.0.1","@nx/js":"^17.0.1","chalk":"^4.1.0","enquirer":"2.3.6","fs-extra":"^11.0.0"},"nx-migrations":{"migrations":"./migrations.json"},"type":"commonjs","description":"A [fork](https://github.com/axhxrx/axhxrx-nx-deno) of the final version of @nx/deno after the Nx team discontinued it, for internal use.","licenseText":"(The MIT License)\n\nCopyright (c) 2017-2023 Narwhal Technologies Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","license":"MIT","_id":"@axhxrx/nx-deno@1.0.0","dist":{"shasum":"8b7ef526ae09049dcb7f9b4bee401ee6c4103698","integrity":"sha512-fwHt6paWU+30WmzFAgy+l+T/eLIkNuZzbpGzxMEqBDiS3LIZXzISNvp1kXHgouC5M703LVFsLHZsBiagHusjjg==","tarball":"https://registry.npmjs.org/@axhxrx/nx-deno/-/nx-deno-1.0.0.tgz","fileCount":169,"unpackedSize":185443,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRcGbD7kRkxoJ/Xc1TIQEh5FNDg+iqWaKYu9tiZTJpPAIhAN1COEjPcBD/NFnH9V7KB49Hp9cQ7XdDdBcsh+tZKyaB"}]},"_npmUser":{"name":"masonmark","email":"npmjs@axhxrx.com"},"directories":{},"maintainers":[{"name":"masonmark","email":"npmjs@axhxrx.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-deno_1.0.0_1706444632684_0.8246235173455343"},"_hasShrinkwrap":false},"1.0.2":{"name":"@axhxrx/nx-deno","version":"1.0.2","main":"./src/index.js","generators":"./generators.json","executors":"./executors.json","repository":{"type":"git","url":"git+https://github.com/axhxrx/axhxrx-nx-deno.git"},"dependencies":{"@nx/devkit":"^17.0.1","@nx/js":"^17.0.1","chalk":"^4.1.0","enquirer":"2.3.6","fs-extra":"^11.0.0"},"nx-migrations":{"migrations":"./migrations.json"},"type":"commonjs","types":"./src/index.d.ts","gitHead":"581c82d61e7be22d9bab35aa86113adc97be6c8a","description":"A plugin for working with Deno in an Nx monorepo. This is a [fork](https://github.com/axhxrx/axhxrx-nx-deno) of the final version of the original [@nrwl nx-labs](https://github.com/nrwl/nx-labs) `@nx/deno` plugin, at the time it was [discontinued](https:/","bugs":{"url":"https://github.com/axhxrx/axhxrx-nx-deno/issues"},"homepage":"https://github.com/axhxrx/axhxrx-nx-deno#readme","_id":"@axhxrx/nx-deno@1.0.2","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-QGNKeL9o1Sb+RQb26AIbAIvqeIqvnLRtkryHduyT7AvEsSI6IKawn5il5PXogUXWARdCNjAxK7vavZ1h17spSg==","shasum":"149915eb348a4a81ac941c8c02080959de925edd","tarball":"https://registry.npmjs.org/@axhxrx/nx-deno/-/nx-deno-1.0.2.tgz","fileCount":130,"unpackedSize":187161,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIASZNnfpz1t1deNlcHEkDDRj9UVcReB3sB5DQMzrN5osAiBTrCqKMtmqy15RLOSlXB7pEecptwO9+2iPc9BT877sxQ=="}]},"_npmUser":{"name":"axhxrxbot","email":"bot@axhxrx.com"},"directories":{},"maintainers":[{"name":"axhxrxbot","email":"bot@axhxrx.com"},{"name":"masonmark","email":"npmjs@axhxrx.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-deno_1.0.2_1706454390851_0.23357362646151825"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-28T12:08:17.971Z","0.0.1":"2024-01-28T12:08:18.294Z","modified":"2024-01-28T15:06:31.250Z","1.0.0":"2024-01-28T12:23:52.854Z","1.0.2":"2024-01-28T15:06:31.047Z"},"maintainers":[{"name":"axhxrxbot","email":"bot@axhxrx.com"},{"name":"masonmark","email":"npmjs@axhxrx.com"}],"description":"A plugin for working with Deno in an Nx monorepo. This is a [fork](https://github.com/axhxrx/axhxrx-nx-deno) of the final version of the original [@nrwl nx-labs](https://github.com/nrwl/nx-labs) `@nx/deno` plugin, at the time it was [discontinued](https:/","readme":"# @axhxrx/nx-deno\n\nA plugin for working with Deno in an Nx monorepo. This is a [fork](https://github.com/axhxrx/axhxrx-nx-deno) of the final version of the original [@nrwl nx-labs](https://github.com/nrwl/nx-labs) `@nx/deno` plugin, at the time it was [discontinued](https://github.com/nrwl/nx-labs/commit/0c0a99bec1eb5a83c64bffffd3ae19560cb6ad36).\n\n## How to hack on this and release it\nThe first attmpts to automate the NPM package release went sideways, with the git version not matching the NPM version, so here are the steps:\n\n1. Create a branch and PR to fix something or whatever, to warrant a new release, and make sure `nx e2e deno-e2e` succeeds.\n\n2. Merge PR to `axhxrx-nx-deno` branch (not `main`).\n\n3. Tag that commit like `v1.0.3`\n\n4. Make a GitHub release with release notes.\n\n5. When all that is done, `nx build deno && nx e2e deno-e2e`\n\n6. If all goes well, rejoice! Then publish manually like `cd dist/packages/deno && npm publish`\n\n(NOTE: Obviously, that whole mess should be automated. But Nx itself doesn't work great for that kind of thing, because of closed-but-not-yet-fixed issues [Allow interactive commands through @nrwl/workspace:run-commands #8269](https://github.com/nrwl/nx/issues/8269). But apparently [feat(core): forward stdin to commands started via rust #21195](https://github.com/nrwl/nx/pull/21195) will also fix #8629 when it lands, and that will be soon, so... waiting for that.)\n\n🤖 2024-01-28: All sorts of projects, including this one, are a little broken on macOS because on ARM the macOS cannot reliably delete node_modules. So every once in a while, some shit will fail because `blah blah rm node_modules failed, weah weah directory not empty`. That includes the `nx e2e deno-e2e` step, so if that happens, \"simply\" run it again.\n\n-----\n\nThe README from the [original Nx project](https://github.com/nrwl/nx-labs) follows:\n\n\n# @nx/deno\n\n> ⚠️ The Deno plugin is deprecated and will no longer receive updates. We are committed to providing high-quality tooling to community, and we no longer have the capacity to keep this plugin updated.\n\n[Deno](https://deno.com/runtime) is a JavaScript runtime that provides great tooling and hassle-free deployment.\n\nThe following guides show you how to create a new Deno project and deploy to either [Deno Deploy](https://deno.com/deploy) or [Netlify](https://www.netlify.com/).\n\n- Deno Deploy: https://nx.dev/recipes/deployment/deno-deploy\n- Netlify: https://nx.dev/recipes/deployment/deno-netlify\n\n## Setup\n\nCreate a new Nx workspace if you don't already have one.\n\n```shell\nnpx create-nx-workspace@latest deno-demo --preset=@nx/deno:preset\n```\n\nNow, you can go into the `deno-demo` folder and start development.\n\n```shell\ncd deno-demo\ndeno task start\n```\n\nYou can also run lint, test, and build scripts for the project.\n\n```shell\ndeno task lint\ndeno task test\ndeno task build\n```\n\n**Note:** Change `deno-demo` to any project name you want.\n\n## Existing workspaces\n\nYou can add Deno to any existing Nx workspace.\n\nFirst, install the plugin:\n\n```bash\nnpm install -DE @nx/deno@latest\n```\n\n## Create a new Deno App\n\nYou can create additional Deno apps\n\n```shell\nnpx nx g @nx/deno:app\n```\n\nYou can run `npx nx serve <your-Deno-app-name>` and see the sample web server on htts://localhost:8000\nYou can also run test, lint, and build as tasks for `<your-Deno-app-name>`\n\n```shell\nnpx nx serve <your-Deno-app-name>\nnpx nx test <your-Deno-app-name>\nnpx nx lint <your-Deno-app-name>\nnpx nx build <your-Deno-app-name>\n```\n\nBuilding/Bundling is an optional step in Deno so you don't have to build when using @nx/deno, but it can be useful to bundle the code into a single file for easier portability if you so need it.\n\n## Create a new Deno Library\n\n```shell\nnpx nx g @nx/deno:lib\n```\n\nDeno libraies only come with lint/test targets to run.\n\n```shell\nnpx nx test <your-Deno-library-name>\nnpx nx lint <your-Deno-library-name>\n```\n\nYou can easily consume these libraries with their import aliases that are listed in the `import_map.json` in the root of the workspace.\n\n## Customizing\n\nThe executors have a `denoConfig` option that allows you to pass in a deno config. This defaults to the generated `deno.json` in the project root of each generated deno project.\nWithin this file you can control various aspects of Deno, such as lint and test settings.\n[Read more about the `deno.json` config file](https://deno.land/manual/getting_started/configuration_file)\n\nBy default this config uses the `import_map.json` in the root of the workspace.\nThis file contains the import alias to your other local Deno projects that you can use across other projects.\n","readmeFilename":"README.md","homepage":"https://github.com/axhxrx/axhxrx-nx-deno#readme","repository":{"type":"git","url":"git+https://github.com/axhxrx/axhxrx-nx-deno.git"},"bugs":{"url":"https://github.com/axhxrx/axhxrx-nx-deno/issues"}}