{"_id":"@amplication/plugin-devcontainer-github-codespaces","_rev":"2-158e6d45c05ddc77a33b0fbd582bee32","name":"@amplication/plugin-devcontainer-github-codespaces","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@amplication/plugin-devcontainer-github-codespaces","version":"1.0.1","author":{"name":"pyxelpioneer"},"license":"Apache-2.0","_id":"@amplication/plugin-devcontainer-github-codespaces@1.0.1","maintainers":[{"name":"amplication-bot","email":"engineering@amplication.com"},{"name":"mulygottlieb","email":"muly@amplication.com"},{"name":"levivannoort","email":"vanNoort.levi@protonmail.com"},{"name":"overbit","email":"daniele.iasella@gmail.com"},{"name":"morhag","email":"mor@amplication.com"},{"name":"amitbarletz","email":"amit@amplication.com"},{"name":"yuvalhazaz","email":"hazaz.yuval@gmail.com"}],"nx":{},"dist":{"shasum":"7eea94b06647a3dddd0eb0b204c34e603752ae39","tarball":"https://registry.npmjs.org/@amplication/plugin-devcontainer-github-codespaces/-/plugin-devcontainer-github-codespaces-1.0.1.tgz","fileCount":20,"integrity":"sha512-Ye4TUQBjRZh7Ja77BB4k7VqYALVoe8vd9TFioxFtXWY4NFqL3mz3fvZhMz4vqeCj1axfb30Ocj4uqAthkKSwaQ==","signatures":[{"sig":"MEUCIAp9Miw7l0sUkYO5bpl0W2gMqRZsl/emJETgQSOEB1ZOAiEA8KsLe6ZPpST/mqHL+BAoNE3+UWOgIi9YzSp1Rq1yNHA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":865749},"jest":{"rootDir":"src/tests","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"passWithNoTests":true,"testEnvironment":"node","collectCoverageFrom":["**/*.(t|j)s"],"moduleFileExtensions":["js","json","ts"]},"main":"dist/index.js","gitHead":"b356f342935137e98cf755e6016a6a2f5cbc4207","scripts":{"dev":"webpack --watch","test":"jest","build":"webpack","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"amplication-bot","email":"engineering@amplication.com"},"_npmVersion":"10.5.0","description":"Quickly setup your GitHub codespaces configuration for your Amplication app","directories":{},"_nodeVersion":"18.20.2","dependencies":{"lodash":"^4.17.21","@amplication/code-gen-types":"^2.0.19","@amplication/code-gen-utils":"^0.0.7"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.53.0","rimraf":"^5.0.5","ts-jest":"^29.1.1","webpack":"^5.89.0","prettier":"^3.1.0","ts-loader":"^9.5.1","typescript":"^5.2.2","@types/jest":"^29.5.8","webpack-cli":"^5.1.4","@babel/types":"^7.23.3","@babel/parser":"^7.23.3","@types/lodash":"^4.14.201","jest-mock-extended":"^3.0.5","copy-webpack-plugin":"^11.0.0","@typescript-eslint/parser":"^6.11.0","@typescript-eslint/eslint-plugin":"^6.11.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-devcontainer-github-codespaces_1.0.1_1715169561537_0.43189961143171396","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-05-08T11:59:21.407Z","modified":"2024-09-09T13:32:36.860Z","1.0.1":"2024-05-08T11:59:21.728Z"},"author":{"name":"pyxelpioneer"},"license":"Apache-2.0","description":"Quickly setup your GitHub codespaces configuration for your Amplication app","maintainers":[{"email":"engineering@amplication.com","name":"amplication-bot"},{"email":"muly@amplication.com","name":"mulygottlieb"},{"email":"vanNoort.levi@protonmail.com","name":"levivannoort"},{"email":"mor@amplication.com","name":"morhag"},{"email":"hazaz.yuval@gmail.com","name":"yuvalhazaz"}],"readme":"# @amplication/plugin-devcontainer-github-codespaces\n\n[![NPM Downloads](https://img.shields.io/npm/dt/@amplication/plugin-devcontainer-github-codespaces)](https://www.npmjs.com/package/@amplication/plugin-devcontainer-github-codespaces)\n\nQuickly generates the configuration that you require to setup devcontainer for your Amplication App\n\n## Purpose\nThis plugin serves the purpose of generating devcontainer based on your configuration for your Amplication app\n\n\n## Usage\n\n1. To install the plugin:\n   - Enable the plugin in the Amplication dashboard\n   - Configure the plugin according to your needs\n   - Commit changes and build!\n\n2. To use the plugin\n   - Head over to https://github.com/codespaces/new to create a new codespace\n     \n     ![Create new codespace](./assets/codespaces_before.png)\n\n   - In repository, select the repository that you pushed your Amplication code to.\n     In branch, select the branch that your pushed your Amplication code to.\n     In Dev container configuration, choose the configuration with the name of your Amplication app.\n     In region, select the region that is nearest to you.\n     In machine type, select the specs for the codespace that you want to use\n\n     ![Configure codespace](./assets/codespaces_after.png)\n\n   - Lastly, click on the Create Codespace to create your codespace and start developing!\n\n\n## Configuration\n\nThis plugins allows you to customize the devcontainer config based:\n\n- includeAdminUI (boolean): Start Admin UI alongside the server\n- customLocation (string | null): Allows generating config as a specific directory.\n- generateBasedOnServiceName (string): Generates the config based on the service name, i.e., at `<root>/.devcontainer/<service-name>/devcontainer.json`\n\n>[!WARNING]\n>If `customLocation` is not null and the `generateBasedOnServiceName` is true, then the latter will be ignored and the config will be generated in the custom location provided\n\n## Scripts\n\n### `build`\n\nRunning `npm run build` will bundle your plugin with Webpack for production.\n\n### `dev`\n\nRunning `npm run dev` will watch your plugin's source code and automatically bundle it with every change.","readmeFilename":"README.md"}