{"_id":"@altimex-ui/cli","_rev":"1-2a504395688f5e8f1f3cce0fe982d7cb","name":"@altimex-ui/cli","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@altimex-ui/cli","version":"1.0.0","description":"Generate theme typings for autocomplete","keywords":["theme","theming","typings","generator","altimex ui","ui mode","ui"],"author":{"name":"Alvaro Castillo","email":"acastillo@altimetrik.com"},"homepage":"https://github.com/Altimetrik-Mexico/altimex-ui#readme","license":"MIT","main":"dist/index.js","sideEffects":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/Altimetrik-Mexico/altimex-ui.git"},"bugs":{"url":"https://github.com/Altimetrik-Mexico/altimex-ui/issues"},"bin":{"altimex-cli":"bin/index.js"},"scripts":{"prebuild":"rimraf dist","build":"cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist --source-maps","dev":"node bin/index.js tokens ../../website/theme.ts"},"dependencies":{"@altimex-ui/react-utils":"^1.0.0","cli-check-node":"^1.3.4","cli-handle-unhandled":"^1.1.1","cli-welcome":"^2.2.2","commander":"^6.2.1","module-alias":"^2.2.2","ora":"^5.3.0","prettier":"^2.4.1","regenerator-runtime":"^0.13.7","ts-node":"10.4.0","tsconfig-paths":"^3.11.0","update-notifier":"^5.0.1"},"devDependencies":{"@types/module-alias":"^2.0.1","@types/ora":"^3.2.0","@types/update-notifier":"5.0.0"},"_id":"@altimex-ui/cli@1.0.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-ktD1OdglEQBhffK+y+i/6JGYYkO60J1tZgO4xjFWeTalM2GrbwwbVa5nhlpHQ2w7UUIryWCyyrvj81hm3Q/mMg==","shasum":"ec5fcdf2b6f2a54ee24fca07263e8393d8853235","tarball":"https://registry.npmjs.org/@altimex-ui/cli/-/cli-1.0.0.tgz","fileCount":35,"unpackedSize":163330,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHKIsos0//ZSHrjeDoPfGxftFMkvyv0cAQA3BYH7Ht4hAiA1mxsLXF7Ue4PmLBM+7mXENlDwgGr20P5OjqP7VyhWKQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7FSGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpuXw//asVzEcqTqZR/1R2Ojhw551jsB0QPoj0FhVi86J6MmT6mN6H8\r\nKnvm5yKW157GTab8NNdAeaHcjVxJMSyz8rZVdphLm/QV3JCoQUxuSe7JfXCS\r\nmMBct4HRO1/rjJP2d4RB33bL7wIkJMjzRtMKb5oxlZiQCtElFqBfB3ESF50d\r\n/XW+113SUr/l6a/eVHRHp31q4CAcfjO5EiKgbgn0KNgHEvM7e2o3H5jnCLxw\r\n2cQAPTLj3Nd5zTH/wr8r1vIgtuCoj/VwNjlWII9B6/FsLJYuLQRPfikJDh0n\r\nUPhVONTZBYz3OPRPPva/D7lsJF2aeZZotFNk/PqFdzWHrcwgrfSXJzZwvvdE\r\nmW2io6K5SBswd8vVh0xzR/euCCifSxU9yhwNSCuZDx91sjrDo+fB0WvJiza8\r\n1BEmC9x2h3eZWAcg6Fd2m/sSH+++0BU2hk9Qp/NkeSZPkEJXmORx0fxBO3tB\r\nteezs7fV+xKBZjO/vuBQ2i3LicZOTetVQfcV9pXPlofJ/mEbLwU5cAk8fw23\r\nnx0Otj9OiThAJJAGmDU75m8BDA/+zCGihLCtIuWiWZq9AwBIDjK4VN9mxnMo\r\n0LvGOtVMEOudDC3BhtSf7dqorderwUvie2LB7+5gzlOUnmafnjAvbxaKhh4i\r\nnZxG+fdGgjBUkbUAxjdrzZprluqmU2XgxTQ=\r\n=UxY0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"altimex","email":"acastillo@altimetrik.com"},"directories":{},"maintainers":[{"name":"altimex","email":"acastillo@altimetrik.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.0.0_1659655301815_0.6118453600012812"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-04T23:21:41.769Z","1.0.0":"2022-08-04T23:21:41.991Z","modified":"2022-08-04T23:30:00.067Z"},"maintainers":[{"email":"alvaro.castillo777@gmail.com","name":"alvarocastle"},{"email":"acastillo@altimetrik.com","name":"altimex"}],"description":"Generate theme typings for autocomplete","homepage":"https://github.com/Altimetrik-Mexico/altimex-ui#readme","keywords":["theme","theming","typings","generator","altimex ui","ui mode","ui"],"repository":{"type":"git","url":"git+https://github.com/Altimetrik-Mexico/altimex-ui.git"},"author":{"name":"Alvaro Castillo","email":"acastillo@altimetrik.com"},"bugs":{"url":"https://github.com/Altimetrik-Mexico/altimex-ui/issues"},"license":"MIT","readme":"# @altimex-ui/cli\r\n\r\nGenerate TypeScript types to provide autocomplete for your custom theme.\r\n\r\n## Usage\r\n\r\n```sh\r\nnpx @altimex-ui/cli tokens <path/to/your/theme.(js|ts)>\r\n```\r\n\r\nor\r\n\r\n```sh\r\nnpx @altimex-ui/cli tokens <@your-org/altimex-theme-package>\r\n```\r\n\r\n```sh\r\n$ npx @altimex-ui/cli --help\r\n\r\nUsage: altimex-cli tokens [options]\r\n\r\nOptions:\r\n  --out <path>  output directory e.g.\r\n                node_modules/@altimex-ui/styled-system/dist/declarations/src/theming.types.d.ts\r\n  -h, --help    display help for command\r\n\r\nExample call:\r\n  $ altimex-cli tokens theme.ts\r\n```\r\n\r\n> Note 🚨: If you delete the `node_modules` directory, you'll need to re-run the\r\n> command to get proper typings again.\r\n\r\nFor convenience, you can add a `postinstall` script to your `package.json`, so\r\nyou don't have to think about this every time you re-install your dependencies.\r\n\r\n```json title=\"package.json\"\r\n\"scripts\": {\r\n  \"gen:theme-typings\": \"altimex-cli tokens <path/to/your/theme.(js|ts)>\",\r\n  \"postinstall\": \"npm run gen:theme-typings\"\r\n}\r\n```\r\n","readmeFilename":"README.md"}