{"_id":"@accordingly/yup","name":"@accordingly/yup","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.6":{"name":"@accordingly/yup","version":"1.0.6","description":"A yup handler for @accordingly/databind","main":"dist/index.js","module":"dist/index.esm.js","types":"dist/index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist","build":"npm version patch && rollup -c","dev":"rollup -c -w","test":"jest","lint":"eslint 'src/**/*.{ts,tsx}'","prepublishOnly":"npm run build"},"peerDependencies":{"react":">= 18","react-dom":">= 18"},"devDependencies":{"@rollup/plugin-typescript":"^8.2.1","@types/jest":"^26.0.24","@types/node":"^17.0.0","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@typescript-eslint/eslint-plugin":"^4.29.3","@typescript-eslint/parser":"^4.29.3","eslint":"^7.32.0","jest":"^26.6.3","rimraf":"^3.0.2","rollup":"^2.57.0","ts-jest":"^26.5.6","typescript":"^4.3.5"},"dependencies":{"@accordingly/databind":"^1.0.5","@accordingly/events":"^1.0.3","@accordingly/bound":"^1.0.2","tslib":"^2.3.1","yup":">= 1.3.2"},"_id":"@accordingly/yup@1.0.6","gitHead":"5e7b2900b9891fedbddade1708a597f7fb4263c2","_nodeVersion":"20.8.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-+1fnl0w0gpHRAdt8tSmP9WgaIzAG/jDVeAYpxA7uZiqpd6jkvyyv7fnpPmFQYR805eAn9vDMIgbvpvu981/3ng==","shasum":"a062f69a6d90a0a5f7814d701e0392d1b65353b0","tarball":"https://registry.npmjs.org/@accordingly/yup/-/yup-1.0.6.tgz","fileCount":8,"unpackedSize":186589,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFhpDDMG0TtInMN0NSE+eQfls0BzxxIWWPSPSlmLGVmDAiEA9WqOJfcWROI8dCflt117yvq3EVA2aXi1EIKkV9TkApo="}]},"_npmUser":{"name":"talbot.michael.john","email":"michael.john.talbot@googlemail.com"},"directories":{},"maintainers":[{"name":"talbot.michael.john","email":"michael.john.talbot@googlemail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yup_1.0.6_1698060201859_0.49500262161240727"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-23T11:23:21.786Z","1.0.6":"2023-10-23T11:23:22.073Z","modified":"2023-10-23T11:23:22.319Z"},"maintainers":[{"name":"talbot.michael.john","email":"michael.john.talbot@googlemail.com"}],"description":"A yup handler for @accordingly/databind","readme":"# NPM Package Template\n\nTemplate for creating npm modules. Including react components.\n\n[Example](https://github.com/sriramrudraraju/sriram-npm-package-example) using this template.\n\n## Using the template\n\n### clone or click `use this template` feature\n* Tweak necessary values in package.json\n\n### `npm install`\nInstalls dependencies.\n\n### `npm run test`\nruns unit test cases using [jest](https://jestjs.io/en/) (and [enzyme](https://airbnb.io/enzyme/) for react components)\n\n### `npm run coverage`\ngives unit tests coverage report.\n\n### `npm run build`\ncreates `./dist` prod build folder.\n\n### `npm link` \n For local testing. More [info](https://docs.npmjs.com/cli/link)\n\n### `npm publish` \nPublishes to npm. (have to login if needed using `npm login`)\n\n### Github actions for CI/CD\ncreate `.yml` file for github actions in `.github/workflows` and paste the code\n\n```\nname: Publishing to npm\n\non:\n  push:\n    branches:\n    - master\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v1\n    - name: installing dependencies\n      run: npm install\n    - name: running unit tests\n      run: npm run test\n    - name: generating production build\n      run: npm run build\n    - uses: actions/setup-node@v1\n      with:\n        node-version: '10.x'\n        registry-url: 'https://registry.npmjs.org'\n    - run: npm publish\n      env:\n        NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}\n ```\n * Above code was simple CI/CD for pushing to npm when some code is pushed to master branch\n * ${{ secrets.NPM_AUTH_TOKEN }} was set using [github secrets](https://help.github.com/en/articles/virtual-environments-for-github-actions#creating-and-using-secrets-encrypted-variables)\n * NPM_AUTH_TOKEN is obtained from [npm](https://docs.npmjs.com/creating-and-viewing-authentication-tokens)\n \n ### Storybook Integration\n * code example with integrated [storybook](https://storybook.js.org/) is on `story-book` branch\n","readmeFilename":"README.md"}