{"_id":"@arth-rocketium/rpf","_rev":"1-d499028b92e8ed81321c74009f060cd5","name":"@arth-rocketium/rpf","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@arth-rocketium/rpf","version":"0.1.0","author":{"name":"Arth"},"license":"MIT","_id":"@arth-rocketium/rpf@0.1.0","maintainers":[{"name":"arth-rocketium","email":"arth.thapa@rocketium.com"}],"dist":{"shasum":"d9efec0d0fa82d53afafa48747f80ab5579c3a4a","tarball":"https://registry.npmjs.org/@arth-rocketium/rpf/-/rpf-0.1.0.tgz","fileCount":16,"integrity":"sha512-RVNtsd8Io+0xwgslkDjwEafIvIz12qcziEoMQwI4qB7NR9mfxTOJF7gZPGwQTl/sj2NfKvV1lwusczmAGBtqiA==","signatures":[{"sig":"MEUCIQCYSqv6TeJMDXSuyi18JzpnIURX4L8JG/UHlx0nHPZhqAIgIl3AMxj2oHTviiQusKzk1Yxj45/ziARtSjQLsnppoGw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":803465},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/rpf.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"arth-rocketium","email":"arth.thapa@rocketium.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/rpf.cjs.production.min.js","limit":"10 KB"},{"path":"dist/rpf.esm.js","limit":"10 KB"}],"_npmVersion":"8.19.4","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.","directories":{},"_nodeVersion":"16.20.2","dependencies":{"zod":"^3.23.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^9.1.6","tslib":"^2.8.0","size-limit":"^11.1.6","typescript":"^3.9.10","@types/node":"^22.7.9","@size-limit/preset-small-lib":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/rpf_0.1.0_1730091313039_0.912704693862485","host":"s3://npm-registry-packages"}},"0.1.1":{"version":"0.1.1","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"publishConfig":{"access":"public"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@arth-rocketium/rpf","author":{"name":"Arth"},"module":"dist/rpf.esm.js","size-limit":[{"path":"dist/rpf.cjs.production.min.js","limit":"10 KB"},{"path":"dist/rpf.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^11.1.6","@types/node":"^22.7.9","husky":"^9.1.6","size-limit":"^11.1.6","tsdx":"^0.14.1","tslib":"^2.8.0","typescript":"^3.9.10"},"dependencies":{"zod":"^3.23.8"},"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":"@arth-rocketium/rpf@0.1.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-u7FjwbGf9EolXxxPA6w+QOPOwRtoy45OIhHoIBBqPoCYhyYbRAdnwBU1VF4j1uM+LlOUf/O7Zmqeka1sM5L7/w==","shasum":"ae0926211ae92d5610237823ed3d3473a6007198","tarball":"https://registry.npmjs.org/@arth-rocketium/rpf/-/rpf-0.1.1.tgz","fileCount":16,"unpackedSize":2499875,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB+xTyAqRCNRbQdxRCceLT7rEcLb7l/7XfX0KzeNsWjmAiEAhs4mFQqQU4tTzIPBVddzgoBndRjuvQoo105LBYjnvDc="}]},"_npmUser":{"name":"arth-rocketium","email":"arth.thapa@rocketium.com"},"directories":{},"maintainers":[{"name":"arth-rocketium","email":"arth.thapa@rocketium.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rpf_0.1.1_1730092473978_0.7048152380496071"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-28T04:55:12.942Z","modified":"2024-10-28T05:14:34.361Z","0.1.0":"2024-10-28T04:55:13.275Z","0.1.1":"2024-10-28T05:14:34.181Z"},"author":{"name":"Arth"},"license":"MIT","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.","maintainers":[{"name":"arth-rocketium","email":"arth.thapa@rocketium.com"}],"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"}