{"_id":"@aparajita/swiftly","_rev":"6-89aea6604e9064a1e041b4a3d21e242b","name":"@aparajita/swiftly","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@aparajita/swiftly","version":"1.0.0","keywords":["lint","linter","formatter","swiftlint","swiftformat","swift"],"author":{"name":"Aparajita Fishman"},"license":"MIT","_id":"@aparajita/swiftly@1.0.0","maintainers":[{"name":"ckgaparajita","email":"aparajita@aparajita.com"}],"homepage":"https://github.com/aparajita/swiftlinter","bugs":{"url":"https://github.com/aparajita/swiftlinter/issues"},"bin":{"swiftly":"lib/cli.mjs"},"dist":{"shasum":"d30cef92c0e4d2c1f545811316794fa26c68d585","tarball":"https://registry.npmjs.org/@aparajita/swiftly/-/swiftly-1.0.0.tgz","fileCount":6,"integrity":"sha512-qWtsn1T1IIoU7ciWUFTn2jvcqyo8N7D2l/VKDED7IA2Rrk9BYYD3AGG4pd/LZatd0ZPmSBLWGLAVL8g0x0YovA==","signatures":[{"sig":"MEQCIGHRPdBSM87zCxf5rjzEN+03P2VHnt/ZuAdtJrbVMsaRAiBWalGhYv8NASEX1Tdo4YNkT9El1cC65lvlUzoOvP336A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivlHGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGVw/+LSZS4M49Y3ZCKRMujxsb+ght2BzzxXRLK/jE15iXA+eWLqVs\r\nwROEy9tVqWUSTc9e/S+37sfzQyB2VRfQNEs7u0YLIc6JxmF155z47l0Wc/YZ\r\nODy9mwh2J1LnyKN221q7S/6BkdwM1pEnl3spSwQ4iwfbRie07AWuWPvye8+L\r\nybq2lPEqNNCHkhB54VM+fJwWrwCr5/durnyAK7JXwXuhVLct0FAjGnr9qQEa\r\ngwkkVB6QxVWPZJCyzLHF/7hnmEPmUp4FErI0bFvEZSHWCgvhhatFNL0zxCi3\r\ntC0RnEqb2RzrVSPZzwmC6Q3AkI+Q1LO78dN39idA2LC6KAWPGuBheX3Qr7Jv\r\nUFIE0U0bp6n4//JIJdBylJOjqZ52fPOhZNNnbWKFHMCz9QI1w4IT0pq9N0t/\r\ngfSFeapFhlyYuDr2HwPnpNsl18dof/yM4ZE24J70y2kqUoaAqRl7g9oNuxg8\r\n759xJku/MuzAugltCpm8rmqXN55cJ8lZeTWA3FnQoCPB/6+AyGxWoVOAs/dc\r\nKLH7ehiGD3zggAmuuw0QND+0c/7vRhBwXaZnCmQkbYXY90L4K+nOhxNuJ+xj\r\n2zall+ldKWaXAoyEOv1vH+lsjYEgt2/nef9MyzyVJwRKGzeRoTuIirB8CJeP\r\nLVeFNcMT9KieE0Xgbv3lHbTXxbh7uvk8ZtE=\r\n=n5H6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:aparajita-swiftly-1.0.0.tgz","scripts":{"lint":"eslint --ext .js,.mjs .","push":"git push --follow-tags origin main","test":"lib/cli.mjs 'test/*.swift'","check":"pnpm lint && pnpm prettier && echo '✅ All good!'","release":"commit-and-tag-version","swiftly":"lib/cli.mjs","lint.fix":"pnpm lint --fix .","prettier":"prettier --check .","test.fix":"./copy-tests.sh && lib/cli.mjs test/fixed --fix","check.fix":"pnpm lint.fix && pnpm prettier.fix && echo '✅ All good!'","prettier.fix":"prettier --check --write ."},"_npmUser":{"name":"ckgaparajita","email":"aparajita@aparajita.com"},"prettier":"@aparajita/prettier-config","_resolved":"/private/var/folders/1z/fl90zpnx2v36z32z255pf8z80000gn/T/f65e74d49f60d2054fcf2aab2c0f096b/aparajita-swiftly-1.0.0.tgz","_integrity":"sha512-qWtsn1T1IIoU7ciWUFTn2jvcqyo8N7D2l/VKDED7IA2Rrk9BYYD3AGG4pd/LZatd0ZPmSBLWGLAVL8g0x0YovA==","repository":{"url":"git+https://github.com/aparajita/swiftlinter.git","type":"git"},"_npmVersion":"8.12.1","description":"A wrapper around swiftlint and swiftformat that combines their execution and formats their output like eslint","directories":{},"_nodeVersion":"18.4.0","dependencies":{"chalk":"^5.0.1","yargs":"^17.5.1","thenby":"^1.3.4","fast-glob":"^3.2.11","swiftlint":"^1.0.1","compare-func":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.18.0","prettier":"^2.7.1","typescript":"^4.7.4","@types/node":"^18.0.0","@types/yargs":"^17.0.10","eslint-plugin-n":"^15.2.3","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","commit-and-tag-version":"^10.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.1.0","@typescript-eslint/parser":"^5.30.0","@aparajita/prettier-config":"^1.0.0","@aparajita/eslint-config-base":"^1.1.2","@typescript-eslint/eslint-plugin":"^5.30.0","eslint-import-resolver-typescript":"^3.1.1"},"_npmOperationalInternal":{"tmp":"tmp/swiftly_1.0.0_1656639942153_0.1556004254876613","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@aparajita/swiftly","version":"1.0.1","keywords":["lint","linter","formatter","swiftlint","swiftformat","swift"],"author":{"name":"Aparajita Fishman"},"license":"MIT","_id":"@aparajita/swiftly@1.0.1","maintainers":[{"name":"ckgaparajita","email":"aparajita@aparajita.com"}],"homepage":"https://github.com/aparajita/swiftlinter","bugs":{"url":"https://github.com/aparajita/swiftlinter/issues"},"bin":{"swiftly":"lib/cli.mjs"},"dist":{"shasum":"4bddbeb4fc7473c93ea98e55668467570ae87cbf","tarball":"https://registry.npmjs.org/@aparajita/swiftly/-/swiftly-1.0.1.tgz","fileCount":6,"integrity":"sha512-k8Zs6yxsIjOS71f/CcwPbGvA4sefVj40eFQ8/QJz/RDG+g2V+wRVFrgv7Fyum6KCDD9CBSrHEsW8S7CqVwwa5Q==","signatures":[{"sig":"MEUCIG2+GhPEtqiSepQW2W834r9k99kxWqgbpbOJpxLYlMQSAiEAqLJ/xqzGQInm9CHCT0S8viq/3kiqM6+KHXdzBkXUDt8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiwg9UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpu3g//bvIr0ED3hPajlRR2XUQZCSUsgyq5NzVSPIwmsQH9W5mK33y3\r\nFVf7TtaeNrklytiMBWs80pO5Po1XXlnggWtg0qaWaqVVgqEBWfqJBn57VuBw\r\noI4YAJ+Fadx7SZ1bQU7O7qUr/bsp+q7KKEF5ipsL/QNYtesEtsMDOlZbn7gN\r\nnF/MsUpPNo4n5qhN8xlFGc4DSkwL0ocop1fzONVNN1I86GwA1wV632n+omQz\r\nZzu03t4Bj7ILg79XVAcyct/Z/igqRxtKFeKv11HAgyiOpQQpdDsFYvZLm56S\r\nmVntAp9T+/CfA0b5Oj9abKdJh3usHQPVoB4rI5hlssHVyIJ33429GuuHrpJr\r\n/8M6rp8YBPZZP9wSoZXQUJtejYBdyTcC+Ggf4rgrs92vc452hr+SR0V2z/7v\r\nxH2HJd9ayf/KokxsGZSFil1bKv0iS1iurBJx68EwtC9vf/R/2U45dg3Ah6dt\r\nIjczqkniJEkjA37GClHIsOFhckuVMo3SjM01sak3o+Ujg1uAJlj2ZUJzC7nq\r\nx5JC9pihOFZcRKGdqwb8aIKvWZrRCdc5iQ5HgvLxXhMuxLrhZpXHN+Cv6HD+\r\nSQktZ7SjATR/IuYZXxolQi2KqBMM8qkyPFC8qjWdOL+mkaVkj3B91lwpZ5UN\r\n6tx+AhBhCR/DV3vvjPol0poM7LJK5ogKd2Y=\r\n=cZc2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:aparajita-swiftly-1.0.1.tgz","scripts":{"lint":"eslint --ext .js,.mjs .","push":"git push --follow-tags origin main","test":"lib/cli.mjs 'test/*.swift' || echo 'NOTE: There **should** be problems.'","check":"pnpm lint && pnpm prettier && echo '\u001b[32m✔︎\u001b[0m All good!'","release":"commit-and-tag-version ${VERSION:+-r $VERSION} && pnpm push && pnpm publish","swiftly":"lib/cli.mjs","lint.fix":"pnpm lint --fix .","prettier":"prettier --check .","test.fix":"./copy-tests.sh && lib/cli.mjs test/fixed --fix || echo 'NOTE: There **should** be 1 error.'","check.fix":"pnpm lint.fix && pnpm prettier.fix && echo '\u001b[32m✔︎\u001b[0m All good!'","prettier.fix":"prettier --check --write .","release.check":"commit-and-tag-version ${VERSION:+-r $VERSION} --dry-run"},"_npmUser":{"name":"ckgaparajita","email":"aparajita@aparajita.com"},"prettier":"@aparajita/prettier-config","_resolved":"/private/var/folders/1z/fl90zpnx2v36z32z255pf8z80000gn/T/8afd2c6815a884928a4d88b5a98b0480/aparajita-swiftly-1.0.1.tgz","_integrity":"sha512-k8Zs6yxsIjOS71f/CcwPbGvA4sefVj40eFQ8/QJz/RDG+g2V+wRVFrgv7Fyum6KCDD9CBSrHEsW8S7CqVwwa5Q==","repository":{"url":"git+https://github.com/aparajita/swiftlinter.git","type":"git"},"_npmVersion":"8.12.1","description":"A wrapper around swiftlint and swiftformat that combines their execution and formats their output like eslint","directories":{},"_nodeVersion":"18.4.0","dependencies":{"chalk":"^5.0.1","yargs":"^17.5.1","thenby":"^1.3.4","fast-glob":"^3.2.11","swiftlint":"^1.0.1","compare-func":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.18.0","prettier":"^2.7.1","typescript":"^4.7.4","@types/node":"^18.0.0","@types/yargs":"^17.0.10","eslint-plugin-n":"^15.2.3","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","commit-and-tag-version":"^10.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.1.0","@typescript-eslint/parser":"^5.30.0","@aparajita/prettier-config":"^1.0.0","@aparajita/eslint-config-base":"^1.1.2","@typescript-eslint/eslint-plugin":"^5.30.0","eslint-import-resolver-typescript":"^3.1.1"},"_npmOperationalInternal":{"tmp":"tmp/swiftly_1.0.1_1656885076316_0.28941774229088435","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@aparajita/swiftly","version":"1.0.2","keywords":["lint","linter","formatter","swiftlint","swiftformat","swift"],"author":{"name":"Aparajita Fishman"},"license":"MIT","_id":"@aparajita/swiftly@1.0.2","maintainers":[{"name":"ckgaparajita","email":"aparajita@aparajita.com"}],"homepage":"https://github.com/aparajita/swiftlinter","bugs":{"url":"https://github.com/aparajita/swiftlinter/issues"},"bin":{"swiftly":"lib/cli.mjs"},"dist":{"shasum":"df8d089d46b53a426d63d262ec3dea94ed5b59ab","tarball":"https://registry.npmjs.org/@aparajita/swiftly/-/swiftly-1.0.2.tgz","fileCount":6,"integrity":"sha512-oq2RnwFKrkdEcsRBZ8bfdx+y+iKzvHgW9H4SCBUaiaqUbn8TG6hyQXpg/kgjg/13ynnMAPnn1bJ1hIFrAYBgJA==","signatures":[{"sig":"MEUCIQCSqKNLLLp6r8B+fWq4TbQLsk1ZV6csjRMkh7TuWJoILwIge4bXliANE0JT7T9X1ziuAap6W6QpfclSMK65G9fSWKE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy221ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJBA//fFFtyX9GGlwpBW64y0ndctav1HLmLf/zzSIfk8UuMStuBcR8\r\nnz8awsMfMpyc1vlATN8QaIvF+yyd3tLOiTJlCqkxXxW20mZQF9GDaFHv2o0O\r\nDjD5bGiqWADLKr9cmIWmShOeOcPYGWD04i/3tXjL81Jnjfrjp7OE1KSYUUNl\r\nrUn+sk3WzrimRyHB7yRkmRrcrH4ivrRaiqNxTSo/AfEAvj7+utrrjvCOFnEV\r\n9uRr6FKzx+e303dgB3Q2wGcI6hUifCtvfO4Qwwb/BBmsANeeR7Ig4AdLpfGI\r\nlSXfL7Z6L1An5bBJmX6XBQbeKHNTnRfcP1wKIoKNtaMLYXeQlmsQr6cdXTXU\r\nYgiB4l/Rxda6sg1ypPRiVNairUVyKYv657AvwH94qdQ/ztXVT4kUZ9Kw+EIa\r\n4jb6XLWwPnmH6fyxS4H/Av4G360i5JpTGM1NRPJKIbYINUWt7L5g/XX02OJi\r\n6GqtrD2c6fgcuFTOcsprmycfQBDXqXc+sVdlXfjo1Dwr9HM8FvOn24tkQjMv\r\nQHZrED8KIz8B/N1dl/2kaylsiNQqR60YvMxFk1Dw5WSFJpl+roh9eKnMtSo1\r\nZA4izWd/rO9sCoPQ/3h78jEF+NrbAZM4ob3brkgYQMLZ+LQtyoTLLUw7is5Y\r\nWLOyDbs2ZjfVr8BoiVzPpeLy5V8jRdCGVC0=\r\n=OWIu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:aparajita-swiftly-1.0.2.tgz","scripts":{"lint":"eslint --ext .js,.mjs .","push":"git push --follow-tags origin main","test":"lib/cli.mjs 'test/*.swift' || echo 'NOTE: There **should** be problems.'","check":"pnpm lint && pnpm prettier && echo '\u001b[32m✔︎\u001b[0mAll good!'","release":"commit-and-tag-version ${VERSION:+-r $VERSION} && pnpm push && pnpm publish","swiftly":"lib/cli.mjs","lint.fix":"pnpm lint --fix .","prettier":"prettier --check .","test.fix":"./copy-tests.sh && lib/cli.mjs test/fixed --fix || echo 'NOTE: There **should** be 1 error.'","check.fix":"pnpm lint.fix && pnpm prettier.fix && echo '\u001b[32m✔︎\u001b[0mAll good!'","prettier.fix":"prettier --check --write .","release.check":"pnpm check.fix && commit-and-tag-version ${VERSION:+-r $VERSION} --dry-run"},"_npmUser":{"name":"ckgaparajita","email":"aparajita@aparajita.com"},"prettier":"@aparajita/prettier-config","_resolved":"/private/var/folders/w2/scy6mhr52q9cvwtp_hyvn81c0000gn/T/587eb32853f0748f4c817bd16a9cb38b/aparajita-swiftly-1.0.2.tgz","_integrity":"sha512-oq2RnwFKrkdEcsRBZ8bfdx+y+iKzvHgW9H4SCBUaiaqUbn8TG6hyQXpg/kgjg/13ynnMAPnn1bJ1hIFrAYBgJA==","repository":{"url":"git+https://github.com/aparajita/swiftlinter.git","type":"git"},"_npmVersion":"8.12.1","description":"A wrapper around swiftlint and swiftformat that combines their execution and formats their output like eslint","directories":{},"_nodeVersion":"18.5.0","dependencies":{"chalk":"^5.0.1","yargs":"^17.5.1","thenby":"^1.3.4","fast-glob":"^3.2.11","swiftlint":"^1.0.1","compare-func":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.18.0","prettier":"^2.7.1","typescript":"^4.7.4","@types/node":"^18.0.0","@types/yargs":"^17.0.10","eslint-plugin-n":"^15.2.3","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","commit-and-tag-version":"^10.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.1.0","@typescript-eslint/parser":"^5.30.0","@aparajita/prettier-config":"^1.0.0","@aparajita/eslint-config-base":"^1.1.2","@typescript-eslint/eslint-plugin":"^5.30.0","eslint-import-resolver-typescript":"^3.1.1"},"_npmOperationalInternal":{"tmp":"tmp/swiftly_1.0.2_1657499060793_0.6826950371506284","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@aparajita/swiftly","version":"1.0.3","keywords":["lint","linter","formatter","swiftlint","swiftformat","swift"],"author":{"name":"Aparajita Fishman"},"license":"MIT","_id":"@aparajita/swiftly@1.0.3","maintainers":[{"name":"ckgaparajita","email":"aparajita@aparajita.com"}],"homepage":"https://github.com/aparajita/swiftlinter","bugs":{"url":"https://github.com/aparajita/swiftlinter/issues"},"bin":{"swiftly":"lib/cli.mjs"},"dist":{"shasum":"3370fc1178d8c670036d74e2a7eda647f6a98af4","tarball":"https://registry.npmjs.org/@aparajita/swiftly/-/swiftly-1.0.3.tgz","fileCount":6,"integrity":"sha512-3fmTEsxBIOv4zvQbuAHn+nAjAw++T+XF/DFvCgQ4DkpkFtiAJ2G2LnGXHixSlDEGQgzl4iqXX9ORquvPASwq2w==","signatures":[{"sig":"MEYCIQCSPteHk52v+GAeoqIJfpdZq3uVkm2sgjLMA/WA2GyRywIhAJQd17ntbOq7+qJ/B1FCYmd8whhmLSh27yzcGeTNOjt8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy3QJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrywQ//WtJfvwBpLn90G9rCkE3e93YRy8XlVkKiB/3/zxBqqcZUJ2IZ\r\nrjuLviq4JhWL4bL99mNJ+kO+reiRCfdA0+S3Wy7ty4zaRbRxiWtZtwAYV9uh\r\n2nL18mbzUSi6wgg0gKr914hltO1kwDzw/LhOFSHgokSPkPv2hfRbB/PiL5F9\r\nVrNzQDmUuyXw895KNPK6Yr0v3FWb3TWSMEO7tmXt6hoqWYtOSs/2GkVmm/YW\r\na9CNzP8bQxg53NvFJ530qTgjjxu6VQ7W9WW7W5GtnG3DCp/3ZnlXoy6qVVX1\r\nTFo/omgohHxr1u04JnY9sTuIz+0H/QCI4Z+0uD842Ik4HJNp6D8rghyIYTcU\r\nBBYYFz0+A+h2ngjQ92SpGrvtMYNFQ073SD4dyn0xlpMsfne0MLp2bRE9AamA\r\nyTVZteXquef/cfIuDvuSZJFsevOs78CvUSxPfUeBVKqwph9N4xgfwfvEfEJI\r\nrKxRPaIQ74QQGFHHSgdGTy25VH46m0yrDU1Hi4AB3rwYw9s4QV/6WHLAYKJe\r\nOSVJVDTpkqT9t0cB0VnNghQCqM+lp0F2xo6vTlRXBpXj7PTswey6fHJ1a0Mu\r\nKp8pqLg0+eRUPM9J8qNosfLSu5yKkUi3ggDXTq4UKBHS3Zq7erEThR5iyXBp\r\nbEc1CEdAQ7mJOwDRbkxy6BJJ8NvmzjNVaVU=\r\n=IV/L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:aparajita-swiftly-1.0.3.tgz","scripts":{"lint":"eslint --ext .js,.mjs .","push":"git push --follow-tags origin main","test":"lib/cli.mjs 'test/*.swift' || echo 'NOTE: There **should** be problems.'","check":"pnpm lint && pnpm prettier && echo '\u001b[32m✔︎\u001b[0mAll good!'","release":"commit-and-tag-version ${VERSION:+-r $VERSION} && pnpm push && pnpm publish","swiftly":"lib/cli.mjs","lint.fix":"pnpm lint --fix .","prettier":"prettier --check .","test.fix":"./copy-tests.sh && lib/cli.mjs test/fixed --fix || echo 'NOTE: There **should** be 1 error.'","check.fix":"pnpm lint.fix && pnpm prettier.fix && echo '\u001b[32m✔︎\u001b[0mAll good!'","prettier.fix":"prettier --check --write .","release.check":"pnpm check.fix && commit-and-tag-version ${VERSION:+-r $VERSION} --dry-run"},"_npmUser":{"name":"ckgaparajita","email":"aparajita@aparajita.com"},"prettier":"@aparajita/prettier-config","_resolved":"/private/var/folders/w2/scy6mhr52q9cvwtp_hyvn81c0000gn/T/4b4598412004be29c1b3d74bc2a8c7e9/aparajita-swiftly-1.0.3.tgz","swiftlint":"@ionic/swiftlint-config","_integrity":"sha512-3fmTEsxBIOv4zvQbuAHn+nAjAw++T+XF/DFvCgQ4DkpkFtiAJ2G2LnGXHixSlDEGQgzl4iqXX9ORquvPASwq2w==","repository":{"url":"git+https://github.com/aparajita/swiftlinter.git","type":"git"},"_npmVersion":"8.12.1","description":"A wrapper around swiftlint and swiftformat that combines their execution and formats their output like eslint","directories":{},"_nodeVersion":"18.5.0","dependencies":{"chalk":"^5.0.1","yargs":"^17.5.1","thenby":"^1.3.4","fast-glob":"^3.2.11","swiftlint":"^1.0.1","compare-func":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.19.0","prettier":"^2.7.1","typescript":"^4.7.4","@types/node":"^18.0.3","@types/yargs":"^17.0.10","eslint-plugin-n":"^15.2.4","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","commit-and-tag-version":"^10.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.2.1","@ionic/swiftlint-config":"^1.1.2","@typescript-eslint/parser":"^5.30.5","@aparajita/prettier-config":"^1.0.0","@aparajita/eslint-config-base":"^1.1.4","@typescript-eslint/eslint-plugin":"^5.30.5","eslint-import-resolver-typescript":"^3.2.5"},"_npmOperationalInternal":{"tmp":"tmp/swiftly_1.0.3_1657500681517_0.028591317626755375","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@aparajita/swiftly","version":"1.0.4","keywords":["lint","linter","formatter","swiftlint","swiftformat","swift"],"author":{"name":"Aparajita Fishman"},"license":"MIT","_id":"@aparajita/swiftly@1.0.4","maintainers":[{"name":"ckgaparajita","email":"aparajita@aparajita.com"}],"homepage":"https://github.com/aparajita/swiftlinter","bugs":{"url":"https://github.com/aparajita/swiftlinter/issues"},"bin":{"swiftly":"lib/cli.mjs"},"dist":{"shasum":"b37811a7454f85b6c7ecb2e0c0e0f1dbc7bbf1a7","tarball":"https://registry.npmjs.org/@aparajita/swiftly/-/swiftly-1.0.4.tgz","fileCount":6,"integrity":"sha512-WBWg3/uyJqbJ8hIJZY1pdkX0YPsi7CwNJG/91Le59IRXOR5I4KN21QyzTGgEbMQD4EAWohDXK7xpALduO9MpUQ==","signatures":[{"sig":"MEYCIQC7ee6qyda9W2b11wwog+JZ48Pl4HPlAzGuzS9GkI37JAIhAPS1nfJpxpJqiExKKdBDURpvA32N0mGTeyobeaQnFkJR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiy7ZbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrtpg/+NkuC/ApUmbYRMYrw5UBDbALJNpJaYGEpDTviXbcb3/LcmDS5\r\nmfvTeIzdrAIr2eBD3KUR3caVgNLxQKz1GyPXiS8/oV52BBf9h4Ig/7TEdWo0\r\ncLjWSeifZvXRWVS5ChecmFlYjzuA13RjdSGdmACodyVujWoMttQJz7/ITsEZ\r\nhJlU3dEuuvH2yupO24EKLSxdH6WgjyCf08ylAkP828YHswKHtnzdcHgAU55/\r\njeXj+X2mGE7nkhDGw7I14pEfwdrDfx3xuYWvodkijZwDUT7v4ncWui7l9rra\r\nyBAnB7vkSIwqF81b2H7b4vnkLYlB4WJ06/rU3/ImCHRoZ4Dy7oiZqSurar1j\r\nb/ONaUBAxbmAZUDBWuk2RAN2bUKeSd0NGZWtZSkIgCch4fWpQAX8uRDmy64V\r\nLsVWyBOYDtAICzy5lHud5gv+GcDCFF7cnNAT8PQ3ekLWDCkN8wh7rWICpXjj\r\nFin3j0BlwCTN9GClGnn+rDJwEXh/Jpcm0JUzx5AMBdv5BFyXxlsb5YstLkcb\r\n7O69vQBZFZXroDgxE7D1L9WTBHUfCjapOrIemD50nOhCLIl7xkVFwc8qTQzI\r\n9SwMi4L4say3S35f5H8qcBTG2rPQHxWZna3iRqaYl772bJrtG/tnzbm8boHR\r\nTMgjppOY2xXu+dPApXFBpxKllAOXI2rgLLw=\r\n=CUCS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:aparajita-swiftly-1.0.4.tgz","scripts":{"lint":"eslint --ext .js,.mjs .","push":"git push --follow-tags origin main","test":"lib/cli.mjs 'test/*.swift' || echo 'NOTE: There **should** be problems.'","check":"pnpm lint && pnpm prettier && echo '\u001b[32m✔︎\u001b[0mAll good!'","release":"commit-and-tag-version ${VERSION:+-r $VERSION} && pnpm push && pnpm publish","swiftly":"lib/cli.mjs","lint.fix":"pnpm lint --fix .","prettier":"prettier --check .","test.fix":"./copy-tests.sh && lib/cli.mjs test/fixed --fix || echo 'NOTE: There **should** be 1 error.'","check.fix":"pnpm lint.fix && pnpm prettier.fix && echo '\u001b[32m✔︎\u001b[0mAll good!'","prettier.fix":"prettier --check --write .","release.check":"pnpm check.fix && commit-and-tag-version ${VERSION:+-r $VERSION} --dry-run"},"_npmUser":{"name":"ckgaparajita","email":"aparajita@aparajita.com"},"prettier":"@aparajita/prettier-config","_resolved":"/private/var/folders/w2/scy6mhr52q9cvwtp_hyvn81c0000gn/T/724640e21b81d58e08d913528e0c19ae/aparajita-swiftly-1.0.4.tgz","swiftlint":"@ionic/swiftlint-config","_integrity":"sha512-WBWg3/uyJqbJ8hIJZY1pdkX0YPsi7CwNJG/91Le59IRXOR5I4KN21QyzTGgEbMQD4EAWohDXK7xpALduO9MpUQ==","repository":{"url":"git+https://github.com/aparajita/swiftlinter.git","type":"git"},"_npmVersion":"8.12.1","description":"A wrapper around swiftlint and swiftformat that combines their execution and formats their output like eslint","directories":{},"_nodeVersion":"18.5.0","dependencies":{"chalk":"^5.0.1","yargs":"^17.5.1","thenby":"^1.3.4","fast-glob":"^3.2.11","swiftlint":"^1.0.1","compare-func":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.19.0","prettier":"^2.7.1","typescript":"^4.7.4","@types/node":"^18.0.3","@types/yargs":"^17.0.10","eslint-plugin-n":"^15.2.4","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.0.0","commit-and-tag-version":"^10.0.1","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.2.1","@ionic/swiftlint-config":"^1.1.2","@typescript-eslint/parser":"^5.30.5","@aparajita/prettier-config":"^1.0.0","@aparajita/eslint-config-base":"^1.1.4","@typescript-eslint/eslint-plugin":"^5.30.5","eslint-import-resolver-typescript":"^3.2.5"},"peerDependencies":{"swiftlint":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/swiftly_1.0.4_1657517659328_0.6701542418560613","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@aparajita/swiftly","version":"2.0.0","description":"A wrapper around swiftlint and swiftformat that combines their execution and formats their output like eslint","type":"module","main":"index.mjs","bin":{"swiftly":"lib/cli.mjs"},"keywords":["lint","linter","formatter","swiftlint","swiftformat","swift"],"author":{"name":"Aparajita Fishman"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/aparajita/swiftlinter.git"},"homepage":"https://github.com/aparajita/swiftlinter","bugs":{"url":"https://github.com/aparajita/swiftlinter/issues"},"devDependencies":{"@aparajita/prettier-config":"^2.0.0","@ionic/swiftlint-config":"^2.0.0","@types/node":"^24.0.10","@types/yargs":"^17.0.33","commit-and-tag-version":"^12.5.1","eslint":"^9.30.1","eslint-config-prettier":"^10.1.5","neostandard":"^0.12.2","prettier":"^3.6.2"},"dependencies":{"chalk":"^5.4.1","compare-func":"^2.0.0","fast-glob":"^3.3.3","swiftlint":"^2.0.0","thenby":"^1.3.4","yargs":"^18.0.0"},"peerDependencies":{"swiftlint":"^2.0.0"},"prettier":"@aparajita/prettier-config","swiftlint":"@ionic/swiftlint-config","scripts":{"format":"prettier --write --log-level error .","lint.eslint":"eslint --ext .js,.mjs --fix .","lint":"pnpm format && pnpm lint.eslint && echo '\u001b[32m✔︎\u001b[0m All good!'","swiftly":"lib/cli.mjs","test":"lib/cli.mjs 'test/*.swift' || echo 'NOTE: There **should** be problems.'","test.fix":"./copy-tests.sh && lib/cli.mjs test/fixed --fix || echo 'NOTE: There **should** be 1 error.'","push":"git push --follow-tags origin main","release.preview":"pnpm lint && commit-and-tag-version ${VERSION:+-r $VERSION} --dry-run","release":"commit-and-tag-version --commit-all ${VERSION:+-r $VERSION} && pnpm push && pnpm publish"},"_id":"@aparajita/swiftly@2.0.0","_integrity":"sha512-s7zBOMGRAudVPh98dDAwLvUSOmkr3JTmr8znfn/PidMK8W2zSDh7bOmZ5XPdbCC90Xwk1iwOZoMSlOSTjkoNaw==","_resolved":"/private/var/folders/0f/kqpdpv050ggbk_j53dfm84f40000gn/T/165742432c77dd62cb49484c673a05f7/aparajita-swiftly-2.0.0.tgz","_from":"file:aparajita-swiftly-2.0.0.tgz","_nodeVersion":"23.6.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-s7zBOMGRAudVPh98dDAwLvUSOmkr3JTmr8znfn/PidMK8W2zSDh7bOmZ5XPdbCC90Xwk1iwOZoMSlOSTjkoNaw==","shasum":"73ba59cb650f9f745eb9f363ea08a00ef43b29e3","tarball":"https://registry.npmjs.org/@aparajita/swiftly/-/swiftly-2.0.0.tgz","fileCount":6,"unpackedSize":16420,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDh0t/tzFUNPQLeLOe345cVjCn3A7OROmo7tG8vJTjAlgIhANKjDYkBiO5xgPt/HEStObVyOwQ0W/1C8evhmJhRTK4z"}]},"_npmUser":{"name":"ckgaparajita","email":"aparajita@aparajita.com","actor":{"name":"ckgaparajita","email":"aparajita@aparajita.com","type":"user"}},"directories":{},"maintainers":[{"name":"ckgaparajita","email":"aparajita@aparajita.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/swiftly_2.0.0_1751649887268_0.740281157800744"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-01T01:45:42.091Z","modified":"2025-07-04T17:24:47.671Z","1.0.0":"2022-07-01T01:45:42.339Z","1.0.1":"2022-07-03T21:51:16.516Z","1.0.2":"2022-07-11T00:24:20.988Z","1.0.3":"2022-07-11T00:51:21.674Z","1.0.4":"2022-07-11T05:34:19.476Z","2.0.0":"2025-07-04T17:24:47.460Z"},"bugs":{"url":"https://github.com/aparajita/swiftlinter/issues"},"author":{"name":"Aparajita Fishman"},"license":"MIT","homepage":"https://github.com/aparajita/swiftlinter","keywords":["lint","linter","formatter","swiftlint","swiftformat","swift"],"repository":{"type":"git","url":"git+https://github.com/aparajita/swiftlinter.git"},"description":"A wrapper around swiftlint and swiftformat that combines their execution and formats their output like eslint","maintainers":[{"name":"ckgaparajita","email":"aparajita@aparajita.com"}],"readme":"# swiftly\n\n[`swiftlint`](https://realm.github.io/SwiftLint/) is an essential tool for checking and formatting Swift code. But it doesn’t do much formatting, especially compared to `Prettier`. That’s where [`swiftformat`](https://github.com/nicklockwood/SwiftFormat#readme) shines, because it lets you (almost) forget about formatting your code altogether, just like `Prettier`. Wouldn’t it be great to be able to run both `swiftlint` and `swiftformat` as one? Now you can!\n\nThis package installs a binary that wraps the functionality of both `swiftlint` and `swiftformat` together, while offering the following advantages:\n\n- Errors from both tools are aggregated and sorted.\n- The output from both tools is reformatted in a unified way to be **way** easier to read, including a concise and informative summary at the end.\n- You can use globs with `swiftformat`.\n- Both binaries return a non-zero exit code if they find problems, which helps with command pipelines.\n\n## Installation\n\nBefore installing this package, you will first have to install `swiftlint` and `swiftformat` globally. On macOS, use Homebrew:\n\n```shell\n% brew install swiftlint swiftformat\n```\n\nFor other platforms, see the installation instructions for the respective binaries.\n\nOnce you have installed the binaries, you can install this package as a dev dependency.\n\n```shell\n% pnpm add -D @aparajita/swiftly\n```\n\n## Usage\n\nIf you run `swiftly --help`, you will get a description of all of the options:\n\n```text\nUsage: swiftly [options] [files]\n\nOptions:\n      --help         Show help                                 [boolean]\n      --version      Show version number                       [boolean]\n  -l, --swiftlint    Only run swiftlint                        [boolean]\n  -f, --swiftformat  Only run swiftformat                      [boolean]\n  -F, --fix          Fix any fixable errors                    [boolean]\n  -s, --single-line  Output errors like eslint’s unix format   [boolean]\n  -q, --quiet        Do not produce any output                 [boolean]\n```\n\n### Choosing the tools to run\n\nBy default, if you specify neither `--swiftlint` nor `--swiftformat`, both tools will run. If you specify either of those, only that tool will run. Those two options are mutually exclusive.\n\n### Specifying the format\n\nBy default, the results are colorized and output in a format very similar to `eslint`’s [stylish format](https://eslint.org/docs/latest/user-guide/formatters/#stylish), which groups errors under the file path, making the output very easy to read. In WebStorm, the line:column references produced in its terminal by the default format of `swiftly` are clickable links that open the file at that point. VS Code (and presumably many other editors) cannot parse the `stylish` format, so to produce a format with clickable links, you will want to pass the `--single-line` option, which produces output like `eslint`’s [unix format](https://eslint.org/docs/latest/user-guide/formatters/#unix), but with file paths colorized according to the error level!\n\n### Linting vs. fixing\n\nBy default, the tools are run in lint-only mode. They will find and report any errors. If you pass `--fix`, first the tools are run in fix mode, and then they are run in lint-only mode to report any errors that could not be fixed. In either case, if there are no errors, there is no output.\n\n### Exit status\n\nIf either tool reports any errors, `swiftly` exits with a status of 1. This makes it easy to include it in a script pipeline, for example:\n\n```json\n{\n  \"scripts\": {\n    \"build\": \"pnpm check && vite build\",\n    \"check\": \"pnpm lint && pnpm swiftly\",\n    \"swiftly\": \"swiftly 'src/**/*.swift'\"\n  }\n}\n```\n\nSometimes you may **only** be interested in the exit status. In that case pass `--quiet` and all output will be suppressed, but the exit status will still be set.\n\n### Specifying the files to check\n\nAny non-option arguments passed to `swiftly` are considered either paths or [globs](https://github.com/mrmlnc/fast-glob#readme). Note that to pass a glob to `swiftly` you must enclose it is single or double quotes, otherwise the shell will expand it.\n\nIf an argument is a glob, it is expanded, otherwise it is taken as is. For example, given the following file structure:\n\n```\nproject\n  test\n    TestList.swift\n  src\n    Foo.swift\n    Bar.swift\n    ui\n      List.swift\n      Dialog.swift\n```\n\nthis would check every Swift file in the `src` directory and its subdirectories:\n\n```shell\n% swiftly src\n```\n\nwhile this would only check Swift files within the `src` directory itself:\n\n```shell\n% swiftly 'src/*.swift'\n```\n\nand this would check all Swift files in the project:\n\n```shell\n% swiftly '**/*.swift'\n```\n\n## Configuration\n\nBecause `swiftly` is passing arguments to two very different tools, you cannot pass configuration options (other than those listed above) directly to the tools from the command line. You can, however, use configuration files.\n\nUnder the hood, `swiftly` uses [`node-swiftlint`](https://github.com/ionic-team/swiftlint#readme) to run `swiftlint`, so in addition to the standard `.swiftlint.yml` configuration file, you can also use an npm package (such as [`@ionic/swiftlint-config`](https://github.com/ionic-team/swiftlint-config)) as a config source.\n\nAs for `swiftformat`, you can use a standard [`.swiftformat`](https://github.com/nicklockwood/SwiftFormat#config-file) config file.\n","readmeFilename":"README.md"}