{"_id":"@akalsi.libs/log","_rev":"1-ee43ef5c4cc778d05307e6dacd24ef8f","name":"@akalsi.libs/log","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"version":"0.0.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@akalsi.libs/log","author":{"name":"Aaditya Kalsi"},"module":"dist/log.esm.js","size-limit":[{"path":"dist/log.cjs.production.min.js","limit":"10 KB"},{"path":"dist/log.esm.js","limit":"10 KB"}],"publishConfig":{"access":"public"},"devDependencies":{"@size-limit/preset-small-lib":"^7.0.5","husky":"^7.0.4","size-limit":"^7.0.5","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.5.4"},"gitHead":"36adef9bd5f2f8b5b40573f7c3a5464cb57dd7b2","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","_id":"@akalsi.libs/log@0.0.0","_nodeVersion":"17.3.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-uKErdCFEhbw8yxxkTzFk9go5DmEgzTwgar0MfmKG4ipxRCjwm9unVyC1NPPyjE+7QPiuvmuILNtjfKIX4HY8JA==","shasum":"ecb5b7edf990158c15fc5e0001eb2860cabc3436","tarball":"https://registry.npmjs.org/@akalsi.libs/log/-/log-0.0.0.tgz","fileCount":13,"unpackedSize":49059,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh22SyCRA9TVsSAnZWagAAilAP/i6bCG4kkVoYPziHx1yp\naAZtGTiMFBOrhGjv1ut9SNYaUADcsjwbOeUIMGVpJugbHoTTPeQPun32tQNT\ngxhuhULZOGEjYsabzgVlKcWPa20kMLynYouKZ0lYT/t+nUUsZhSA3kmKQZn6\nvHwjcVGrrjBu2z0sDPv/s/tULbqTLiqfTmGof8Brf4La7406/8cVE9+O4Mfc\nRhYMqPuoUc1/pwhLd3lqXdAAJiVpsiEL4tQyMvy9fOO6Y/4fZ1jD5YRj7KJS\ntVONE7V0JxVNqes6g2vTYquuhUt7Tie3m8AciDB4PJTT3/eYnt00H2U8wjZ5\nFxm6gn3Whc0JEc4Pol1HlWmzKoxcSTO+qDXOnvEskL9FzPp3pR38NH9/oxoL\n2SyfTBNp5k0rw/MYopAxOFaZ4Rp3YuPAT9clM+TuAZhqaC1+kQLYu7RjJQET\n/yxJ4PY84DetPiLvM0AQPXd8H5KNf0lxa+a90Sn3gaZ/MFuq8QheTzMrSHAZ\ns5Iw6LAS1XIo6eNH+VAG0GiVZ68wB5J9pIcHWhKH98Z6TOpV/EhaZspG/7AV\nUO8UONxyv/Y3bYC8+Wuf3AyrjTtviMY6035SICPu2gBDm/tCD9BsHaIvepZI\nFo+1dYutBZG39ONsi+h5HmxQmITG4VXrOD7iqPFMsiKaHf4LiyF5Hpk/3KJN\nTgAD\r\n=zFOV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC517fd9A9vPX9XEihZNvgHMNYA8E7ZZIm3z36mjHE7EQIgFt95lYYkONmnuVE62CZy/h7l5qF0yXe1YDvjP6wsE0w="}]},"_npmUser":{"name":"akalsi.dev","email":"akalsidev@gmail.com"},"directories":{},"maintainers":[{"name":"akalsi.dev","email":"akalsidev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/log_0.0.0_1641768114781_0.78606664252508"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-09T22:41:54.709Z","0.0.0":"2022-01-09T22:41:54.953Z","modified":"2022-04-04T12:27:52.734Z"},"maintainers":[{"name":"akalsi.dev","email":"akalsidev@gmail.com"}],"description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","author":{"name":"Aaditya Kalsi"},"license":"MIT","readme":"# TSDX User Guide\n\nCongrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.\n\n> This TSDX setup is meant for developing libraries (not apps!) that can be published to NPM. If you’re looking to build a Node app, you could use `ts-node-dev`, plain `ts-node`, or simple `tsc`.\n\n> If you’re new to TypeScript, checkout [this handy cheatsheet](https://devhints.io/typescript)\n\n## Commands\n\nTSDX scaffolds your new library inside `/src`.\n\nTo run TSDX, use:\n\n```bash\nnpm start # or yarn start\n```\n\nThis builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.\n\nTo do a one-off build, use `npm run build` or `yarn build`.\n\nTo run tests, use `npm test` or `yarn test`.\n\n## Configuration\n\nCode quality is set up for you with `prettier`, `husky`, and `lint-staged`. Adjust the respective fields in `package.json` accordingly.\n\n### Jest\n\nJest tests are set up to run with `npm test` or `yarn test`.\n\n### Bundle Analysis\n\n[`size-limit`](https://github.com/ai/size-limit) is set up to calculate the real cost of your library with `npm run size` and visualize the bundle with `npm run analyze`.\n\n#### Setup Files\n\nThis is the folder structure we set up for you:\n\n```txt\n/src\n  index.tsx       # EDIT THIS\n/test\n  blah.test.tsx   # EDIT THIS\n.gitignore\npackage.json\nREADME.md         # EDIT THIS\ntsconfig.json\n```\n\n### Rollup\n\nTSDX uses [Rollup](https://rollupjs.org) as a bundler and generates multiple rollup configs for various module formats and build settings. See [Optimizations](#optimizations) for details.\n\n### TypeScript\n\n`tsconfig.json` is set up to interpret `dom` and `esnext` types, as well as `react` for `jsx`. Adjust according to your needs.\n\n## Continuous Integration\n\n### GitHub Actions\n\nTwo actions are added by default:\n\n- `main` which installs deps w/ cache, lints, tests, and builds on all pushes against a Node and OS matrix\n- `size` which comments cost comparison of your library on every pull request using [`size-limit`](https://github.com/ai/size-limit)\n\n## Optimizations\n\nPlease see the main `tsdx` [optimizations docs](https://github.com/palmerhq/tsdx#optimizations). In particular, know that you can take advantage of development-only optimizations:\n\n```js\n// ./types/index.d.ts\ndeclare var __DEV__: boolean;\n\n// inside your code...\nif (__DEV__) {\n  console.log('foo');\n}\n```\n\nYou can also choose to install and use [invariant](https://github.com/palmerhq/tsdx#invariant) and [warning](https://github.com/palmerhq/tsdx#warning) functions.\n\n## Module Formats\n\nCJS, ESModules, and UMD module formats are supported.\n\nThe appropriate paths are configured in `package.json` and `dist/index.js` accordingly. Please report if any issues are found.\n\n## Named Exports\n\nPer Palmer Group guidelines, [always use named exports.](https://github.com/palmerhq/typescript#exports) Code split inside your React app instead of your React library.\n\n## Including Styles\n\nThere are many ways to ship styles, including with CSS-in-JS. TSDX has no opinion on this, configure how you like.\n\nFor vanilla CSS, you can include it at the root directory and add it to the `files` section in your `package.json`, so that it can be imported separately by your users and run through their bundler's loader.\n\n## Publishing to NPM\n\nWe recommend using [np](https://github.com/sindresorhus/np).\n","readmeFilename":"README.md"}