{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":463723227,"defaultBranch":"main","name":"prettier-plugin-sort-imports","ownerLogin":"IanVS","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-02-26T01:28:14.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/4616705?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1710635516.0","currentOid":""},"activityList":{"items":[{"before":"41ae68b1ccee2a102239ac752f73c5eff0d51739","after":"135b6e55d710df32c3a23c7fe266a04e1eb0c2c1","ref":"refs/heads/main","pushedAt":"2024-03-25T12:27:27.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Update README to show more options for disabling and overrides (#165)\n\nThe new feature of disabling with empty array can do more than just\r\ndisabling globally and enabling for certain folders or files. It can do\r\nthe opposite: enabling globally and disabling for certain folders or\r\nfiles. It can also do sort order overrides, where a different order\r\napplies to certain folders and files instead of the global order.\r\n\r\nFeel free to suggest a rewrite of the text if needed. ๐Ÿ™‚ I have used the\r\nreverse configuration in an actual project and it works well:\r\n\r\n```jsonc\r\n// .prettierrc\r\n{\r\n \"plugins\": [\"@ianvs/prettier-plugin-sort-imports\"],\r\n \"overrides\": [\r\n {\r\n \"files\": \"please/doNot/sortThis.ts\",\r\n \"options\": {\r\n \"importOrder\": [] // disabled\r\n }\r\n }\r\n ],\r\n \"importOrder\": [ /* global order here */ ]\r\n //...\r\n}\r\n```\r\n\r\nTip: The `overrides` order can come before or after the global\r\n`importOrder`. It doesn't matter as Prettier will always apply the\r\noverride regardless of where it is in `.prettierrc`.","shortMessageHtmlLink":"Update README to show more options for disabling and overrides (#165)"}},{"before":"d97c9e4b194fc92a24cb37ec4f57a5d50620a0d6","after":"41ae68b1ccee2a102239ac752f73c5eff0d51739","ref":"refs/heads/main","pushedAt":"2024-03-17T00:27:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"4.2.1","shortMessageHtmlLink":"4.2.1"}},{"before":"192e5d09ca5935f31ea55378d00041737616d2ff","after":null,"ref":"refs/heads/fix-vue-3","pushedAt":"2024-03-17T00:25:44.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"}},{"before":"0ffe11e6fd989967e616408a5540062cfca462c2","after":"d97c9e4b194fc92a24cb37ec4f57a5d50620a0d6","ref":"refs/heads/main","pushedAt":"2024-03-17T00:25:43.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Detect vue 2.7 / 3 more reliably (#160)\n\nFixes https://github.com/IanVS/prettier-plugin-sort-imports/issues/158\r\n\r\nThe `transformRef` method is not found on the most recent versions of\r\n@vue/compiler-sfc (3.4.x), because it seems to have only existed for\r\nsome versions of 3.x (including the version we use in devDependencies,\r\nwhich is why our tests passed). I couldn't find any mention of it in the\r\nVue changelog, though it seems like it should have been a breaking\r\nchange to remove the method.\r\n\r\nSo, now instead of relying on the presence of a method, we'll import the\r\npackage.json directly, look at the version field, and make our decision\r\nbased on that, which should be much safer.","shortMessageHtmlLink":"Detect vue 2.7 / 3 more reliably (#160)"}},{"before":"8fd1444abeb49032c945473393139f5475dd29f5","after":null,"ref":"refs/heads/overrides","pushedAt":"2024-03-17T00:24:42.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"}},{"before":"fe8ff2fbac8d855a84b3aa9886e2892f5c5b72ab","after":"0ffe11e6fd989967e616408a5540062cfca462c2","ref":"refs/heads/main","pushedAt":"2024-03-17T00:24:41.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Allow disabling plugin by setting importOrder to `[]` (#161)\n\nCloses https://github.com/IanVS/prettier-plugin-sort-imports/issues/159\r\n\r\nThis changes up how we handle `importOrder: []` in the prettier config.\r\nPreviously, we would have applied our default config, such that\r\nbuiltins, node modules, and relative imports would be sorted. Now, it\r\neffectively disables the plugin so that no sorting takes place.\r\n\r\nThis could be seen as a breaking change, but instead I see it as a bug\r\nfix. It doesn't make sense that using an explicit empty array for the\r\nsetting causes a fallback to be used.\r\n\r\nAdditionally, this gives users more control over disabling the plugin\r\nand turning it on only for certain subfolders or types of files, as\r\nshown in the referenced issue and documented in the readme in this PR.","shortMessageHtmlLink":"Allow disabling plugin by setting importOrder to [] (#161)"}},{"before":"9a1cfe472d1c03e522b6c3b3456fb24593014bff","after":"8fd1444abeb49032c945473393139f5475dd29f5","ref":"refs/heads/overrides","pushedAt":"2024-03-15T16:45:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Format","shortMessageHtmlLink":"Format"}},{"before":null,"after":"9a1cfe472d1c03e522b6c3b3456fb24593014bff","ref":"refs/heads/overrides","pushedAt":"2024-03-15T16:37:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Allow plugin to be disabled by using empty importOrder array","shortMessageHtmlLink":"Allow plugin to be disabled by using empty importOrder array"}},{"before":"8e6ff4d7f8012ad6f912c7228a0182333eb8f354","after":"192e5d09ca5935f31ea55378d00041737616d2ff","ref":"refs/heads/fix-vue-3","pushedAt":"2024-03-15T13:29:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Update vue compiler for tests","shortMessageHtmlLink":"Update vue compiler for tests"}},{"before":"fe8ff2fbac8d855a84b3aa9886e2892f5c5b72ab","after":"8e6ff4d7f8012ad6f912c7228a0182333eb8f354","ref":"refs/heads/fix-vue-3","pushedAt":"2024-03-15T13:27:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Detect vue 2.7 / 3 more reliably","shortMessageHtmlLink":"Detect vue 2.7 / 3 more reliably"}},{"before":null,"after":"fe8ff2fbac8d855a84b3aa9886e2892f5c5b72ab","ref":"refs/heads/fix-vue-3","pushedAt":"2024-03-15T13:26:22.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"4.2.0","shortMessageHtmlLink":"4.2.0"}},{"before":null,"after":"f58c41de633c7a68186f5d77a081f86e7b6851c7","ref":"refs/heads/revert-2.7","pushedAt":"2024-03-15T12:50:37.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Revert \"Support vue 2.7 (#156)\"\n\nThis reverts commit f5dfa5fffbb5f7d963b12a83637d9d0e85ba81ff.","shortMessageHtmlLink":"Revert \"Support vue 2.7 (#156)\""}},{"before":"f5dfa5fffbb5f7d963b12a83637d9d0e85ba81ff","after":"fe8ff2fbac8d855a84b3aa9886e2892f5c5b72ab","ref":"refs/heads/main","pushedAt":"2024-03-13T13:22:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"4.2.0","shortMessageHtmlLink":"4.2.0"}},{"before":"d098699162c55773f9e032420b7a93f2a9cf4cca","after":null,"ref":"refs/heads/vue-2-7","pushedAt":"2024-03-12T14:05:10.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"}},{"before":"03b05ff35171a24eabe1bd596ce5505c01855f77","after":"f5dfa5fffbb5f7d963b12a83637d9d0e85ba81ff","ref":"refs/heads/main","pushedAt":"2024-03-12T14:05:09.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Support vue 2.7 (#156)\n\nPulls in\r\nhttps://github.com/trivago/prettier-plugin-sort-imports/pull/215 from\r\nupstream, to add support for Vue 2.7, which as far as I can tell still\r\nhas ~1 million weekly downloads.\r\n\r\nCo-authored-by: Aleksei Nagovitsyn ","shortMessageHtmlLink":"Support vue 2.7 (#156)"}},{"before":"005d4f848f3aad5b6b25fda6e07f8a0a6c547b47","after":"d098699162c55773f9e032420b7a93f2a9cf4cca","ref":"refs/heads/vue-2-7","pushedAt":"2024-03-12T11:58:33.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Support vue 2.7\n\nCo-authored-by: Aleksei Nagovitsyn ","shortMessageHtmlLink":"Support vue 2.7"}},{"before":"6d71e9e1e1c8d7c748544a1e205143a8332a2d7d","after":"03b05ff35171a24eabe1bd596ce5505c01855f77","ref":"refs/heads/main","pushedAt":"2024-03-12T11:57:49.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Add example of sorting for built-in node types (#155)\n\nCloses #141","shortMessageHtmlLink":"Add example of sorting for built-in node types (#155)"}},{"before":"e15a843e6689868079d334423a4ee8ba1d6ffb33","after":null,"ref":"refs/heads/types-docs","pushedAt":"2024-03-12T11:57:49.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"}},{"before":"8541bb841028569118dbf5b27215e6a4fd8e165f","after":"6d71e9e1e1c8d7c748544a1e205143a8332a2d7d","ref":"refs/heads/main","pushedAt":"2024-03-12T11:57:39.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Update Babel to 7.24 (#154)\n\nThis updates babel in our `dependencies` to be sure that folks are\r\ngetting the most up-to-date version that supports new syntax like\r\n`using` (closes\r\nhttps://github.com/IanVS/prettier-plugin-sort-imports/pull/153).\r\n\r\nI also re-generated our `yarn.lock` because I was getting some type\r\nerrors, and removed `sourceFile` in one spot because it's no longer\r\nneeded and throws a TypeScript error.","shortMessageHtmlLink":"Update Babel to 7.24 (#154)"}},{"before":"025b31f9b649ecb52811b0455b39c15ab817572f","after":null,"ref":"refs/heads/update-babel","pushedAt":"2024-03-12T11:57:39.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"}},{"before":"bddb41f818b262a75d25a52af5e61164de9378d4","after":"005d4f848f3aad5b6b25fda6e07f8a0a6c547b47","ref":"refs/heads/vue-2-7","pushedAt":"2024-03-11T16:26:09.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Support vue 2.7\n\nCo-authored-by: Aleksei Nagovitsyn ","shortMessageHtmlLink":"Support vue 2.7"}},{"before":null,"after":"bddb41f818b262a75d25a52af5e61164de9378d4","ref":"refs/heads/vue-2-7","pushedAt":"2024-03-11T16:06:20.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Support vue 2.7\n\nCo-authored-by: Aleksei Nagovitsyn ","shortMessageHtmlLink":"Support vue 2.7"}},{"before":null,"after":"e15a843e6689868079d334423a4ee8ba1d6ffb33","ref":"refs/heads/types-docs","pushedAt":"2024-03-11T15:48:04.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Add example of sorting for built-in node types","shortMessageHtmlLink":"Add example of sorting for built-in node types"}},{"before":"e49e51862d3519cd6f8ebe219fd374c4fd834ae9","after":"025b31f9b649ecb52811b0455b39c15ab817572f","ref":"refs/heads/update-babel","pushedAt":"2024-03-11T15:38:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Lock down version of vite to support node 16","shortMessageHtmlLink":"Lock down version of vite to support node 16"}},{"before":"e414d30a44d9888d6156e600c2971f4c55b4c5b9","after":"420fc947684546d9dc254d1e4e4e88dc9837db2c","ref":"refs/heads/types-builtin","pushedAt":"2024-03-11T15:09:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Lock down version of vite to support node 16","shortMessageHtmlLink":"Lock down version of vite to support node 16"}},{"before":null,"after":"e414d30a44d9888d6156e600c2971f4c55b4c5b9","ref":"refs/heads/types-builtin","pushedAt":"2024-03-11T12:00:54.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Add example keeping builtin types with builtins","shortMessageHtmlLink":"Add example keeping builtin types with builtins"}},{"before":null,"after":"e49e51862d3519cd6f8ebe219fd374c4fd834ae9","ref":"refs/heads/update-babel","pushedAt":"2024-03-11T11:51:22.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Update Babel to 7.24","shortMessageHtmlLink":"Update Babel to 7.24"}},{"before":"539e23de96b9fcb6bdb3b485a984894c419f6ea8","after":"8541bb841028569118dbf5b27215e6a4fd8e165f","ref":"refs/heads/main","pushedAt":"2024-01-31T17:53:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"Fix: `node:test` not grouped with `` (#143)\n\nFollowing discussion in #142 , this adds an explicit check for\r\n`\"node:test\"` to `BUILTIN_MODULES_REGEX_STR` in order to properly group\r\nit with other builtin modules.\r\n\r\nTest covers:\r\n- `\"node:test\"` correctly gets grouped in with other builtin node\r\nmodules\r\n- `\"node:test\"` is correctly sorted among other builtin node modules\r\n- `\"*node:test\"` is NOT grouped in with builtin modules\r\n- `\"node:test*\"` is NOT grouped in with builtin modules\r\n- `\"node\"` is NOT grouped in with builtin modules\r\n- `\"test\"` is NOT grouped in with builtin modules\r\n\r\nFixes https://github.com/IanVS/prettier-plugin-sort-imports/issues/142","shortMessageHtmlLink":"Fix: node:test not grouped with <BUILTIN_MODULES> (#143)"}},{"before":"a943523bd542fefd0242d4d9fb29b51fa86e0573","after":"539e23de96b9fcb6bdb3b485a984894c419f6ea8","ref":"refs/heads/main","pushedAt":"2023-10-23T17:18:50.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"chore(deps): bump @babel/traverse to avoid audit warning (#137)\n\nmore info: https://github.com/advisories/GHSA-67hx-6x53-jw92","shortMessageHtmlLink":"chore(deps): bump @babel/traverse to avoid audit warning (#137)"}},{"before":"e09afef8fc8f0642fc57f890e5eb0686f736f518","after":"a943523bd542fefd0242d4d9fb29b51fa86e0573","ref":"refs/heads/main","pushedAt":"2023-10-12T12:00:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"IanVS","name":"Ian VanSchooten","path":"/IanVS","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4616705?s=80&v=4"},"commit":{"message":"4.1.1","shortMessageHtmlLink":"4.1.1"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEHorF0QA","startCursor":null,"endCursor":null}},"title":"Activity ยท IanVS/prettier-plugin-sort-imports"}