\n\n\u003Cimg width=\"422\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/10035094-1291-49d4-969a-c04e8a428e79\" />\n\nRequested Feature\nI would like the module to support recursive searching in customCollections directories, allowing it to find icons in all nested subdirectories like wor\n\nSteps to Reproduce\nhttps://stackblitz.com/edit/github-monhzc",[],374,"nuxt","icon","open","Feature Request: Recursive search in customCollections directories","2025-03-19T11:15:14Z","https://github.com/nuxt/icon/issues/374",0.7751412,{"description":1993,"labels":1994,"number":2004,"owner":1985,"repository":2005,"state":1987,"title":2006,"updated_at":2007,"url":2008,"score":2009},"Currently, it's possible to mock a Nuxt import:\r\n\r\n```js\r\nmockNuxtImport('useStorage', () => {\r\n return vi.fn()\r\n})\r\n```\r\n\r\nWhen we want to access this mock in our test, to run an assertion or to change the implementation, we can use `vi.hoisted`:\r\n\r\n```js\r\nconst { useStorageMock } = vi.hoisted(() => {\r\n return {\r\n useStorageMock: vi.fn()\r\n }\r\n})\r\n\r\nmockNuxtImport('useStorage', () => {\r\n return useStorageMock\r\n})\r\n\r\n// now we can change the implementation of useStorageMock between tests\r\n```\r\n\r\nThis is a lot of code just to define and expose a single mock. Would it be possible to make mocking Nuxt imports easier by returning the mocks directly in `mockNuxtImport`? \r\n\r\nI propose something like this:\r\n\r\n```js\r\nconst useStorageMock = mockNuxtImport('useStorage', () => {\r\n return vi.fn()\r\n})\r\n\r\n// now we can change the implementation of useStorageMock between tests\r\n```\r\n\r\nI'm down to have a look at this if this is possible.",[1995,1998,2001],{"name":1996,"color":1997},"enhancement","a2eeef",{"name":1999,"color":2000},"good first issue","7057ff",{"name":2002,"color":2003},"vitest-environment","b60205",541,"test-utils","Expose mocks directly with `mockNuxtImport`","2024-05-01T17:46:01Z","https://github.com/nuxt/test-utils/issues/541",0.7932365,{"description":2011,"labels":2012,"number":2014,"owner":1985,"repository":2015,"state":2016,"title":2017,"updated_at":2018,"url":2019,"score":2020},"### 🆒 Your use case\n\nWhen using the Nuxt Scripts module to bundle global scripts on Vercel, I occasionally encounter a build error caused by a fetch operation timing out. This issue is likely due to the default fetch timeout being too short for certain network conditions. Introducing a configurable `bundle` object would enable developers to customize fetch behavior and bundling, thereby reducing the likelihood of timeouts and other fetch-related errors.\n\n### 🆕 The solution you'd like\n\nUpdate the `bundle` property to be an object instead of a boolean. If the `bundle` object is defined, bundling is enabled. The object should include options for retries, retry delays, and fetch timeouts, as shown below. More options can be considered; however, the following ones are the most important I could think of:\n\n```ts\nscripts: {\n bundle: {\n fetchRetries: 3, // Specifies the number of retry attempts for failed fetches.\n fetchRetryDelay: 2000, // Specifies the delay (in milliseconds) between retry attempts.\n fetchTimeout: 30000 // Configures the maximum time (in milliseconds) allowed for each fetch attempt.\n }\n}\n```\n\nThis approach keeps the configuration modular and allows developers to easily enable or disable bundling by defining or omitting the `bundle` object.\n\n### 🔍 Alternatives you've considered\n\n_No response_\n\n### ℹ️ Additional info\n\nThe error seems to stem from the undici library's internalConnectMultipleTimeout function during resource fetching. My `nuxt.config.ts` and the build logs are attached below:\n\n- [nuxt.config.ts](https://github.com/JonathanXDR/Application-Website-Frontend/blob/84b3b3c5f777235931d8f019dd0b8c4b610dbbbb/nuxt.config.ts#L178C3-L196C5)\n\n- #### Build Logs\n \u003Cimg width=\"1077\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/b5dcc199-de86-4cde-a927-3884ae580aae\" />",[2013],{"name":1996,"color":1997},347,"scripts","closed","Add configuration options for fetch timeout, fetch retries and retry delays","2025-02-07T02:36:55Z","https://github.com/nuxt/scripts/issues/347",0.44854966,{"description":2022,"labels":2023,"number":2029,"owner":1985,"repository":2030,"state":2016,"title":2031,"updated_at":2032,"url":2033,"score":2034},"- [x] Remove action dropdown in media items\n- [x] `Branch` and `File` modal buttons should go into root menu at the bottom\n- [x] `Create file` / `Upload file` should go in navbar dialog tree header right\n- [x] `ProjectNavbar` should contain the name of the file and the `Save` / `Publish` / `Preview` (only icon) buttons\n- [x] `ProjectNavbar` online users disappears for now\n- [x] Next to filename in `ProjectNavbar` we should have a `chevron-down` icon to extend the desktop aside panel with: file actions (`Rename` / `Revert` / `Delete`) and tabs (`Meta` / `History`) and `chevron-up` icon to collapse the menu",[2024,2026],{"name":1996,"color":2025},"1ad6ff",{"name":2027,"color":2028},"responsive","1cd1c6",642,"nuxt.com","[Project] Content + Media responsive files aside","2023-02-15T12:32:40Z","https://github.com/nuxt/nuxt.com/issues/642",0.73098576,{"description":2036,"labels":2037,"number":2029,"owner":1985,"repository":2005,"state":2016,"title":2041,"updated_at":2042,"url":2043,"score":2034},"### Environment\r\n\r\n- Operating System: Windows_NT\r\n- Node Version: v18.11.0\r\n- Nuxt Version: 3.8.2\r\n- CLI Version: 3.10.0\r\n- Nitro Version: 2.8.1\r\n- Package Manager: npm@8.19.2\r\n- Builder: -\r\n- User Config: devtools, app, css, modules, runtimeConfig\r\n- Runtime Modules: nuxt-icon-tw@0.1.3, @nuxtjs/tailwindcss@6.10.1, @nuxtjs/i18n@8.0.0-rc.9\r\n- Build Modules: -\r\n\r\n### Reproduction\r\n\r\n A lot of the recent fixes done seem to only work on the main branch it seems, but i'm unable to install it with npm\r\n \r\n `npm install -D \"https://github.com/nuxt/test-utils.git#main\"`\r\n\r\n### Describe the bug\r\n\r\n````\r\nnpm ERR! code ETARGET\r\nnpm ERR! notarget No matching version found for @nuxt/test-utils@>=3.9.0.\r\nnpm ERR! notarget In most cases you or one of your dependencies are requesting\r\nnpm ERR! notarget a package version that doesn't exist.\r\n````\r\n\r\n### Additional context\r\n\r\nWhat is the recommended way to run the main branch?\r\n\r\n### Logs\r\n\r\n_No response_",[2038],{"name":2039,"color":2040},"pending triage","5D08F5","Unable to install main branch","2023-12-12T13:29:02Z","https://github.com/nuxt/test-utils/issues/642",{"description":2045,"labels":2046,"number":2048,"owner":1985,"repository":2030,"state":2016,"title":2049,"updated_at":2050,"url":2051,"score":2052},"As for branches, we'll need to reload the cache.",[2047],{"name":1996,"color":2025},325,"Refresh files action in files modal","2023-02-15T12:32:08Z","https://github.com/nuxt/nuxt.com/issues/325",0.7341002,{"description":2054,"labels":2055,"number":2056,"owner":1985,"repository":2030,"state":2016,"title":2057,"updated_at":2058,"url":2059,"score":2060},"With a dropdown `heroicons-outline:dots-vertical` I can:\n\n- [ ] Rename\n- [ ] Revert\n- [ ] Delete",[],198,"Media images actions","2023-02-15T12:31:53Z","https://github.com/nuxt/nuxt.com/issues/198",0.7375783,{"description":2062,"labels":2063,"number":2065,"owner":1985,"repository":2030,"state":2016,"title":2066,"updated_at":2067,"url":2068,"score":2069},"Blocked by #293 \n\nMedia files \"data\" (content and dimensions) are stored via `useState` and never cleared.\nEnsure that behavior does not cause issues or fix it, in case we save a media file \"data\" for a specific path then later a completely different file with the same path exists.\n\nUsecase:\n`public/foo.png` exists => fetch and save data for this path.\nrename `public/foo.png` to `public/bar.png` => fetch and save data for this path.\ncreate a new file `public/foo.png` => this new file should have old data and will not refresh it",[2064],{"name":1996,"color":2025},311,"Manage `medias` when doing actions on files","2023-02-15T12:32:07Z","https://github.com/nuxt/nuxt.com/issues/311",0.76992124,{"description":2071,"labels":2072,"number":2065,"owner":1985,"repository":2005,"state":2016,"title":2073,"updated_at":2074,"url":2075,"score":2069},"### Environment\n\nhttps://github.com/Rigo-m/nuxt-vitest-error-test\n\n### Reproduction\n\nhttps://github.com/Rigo-m/nuxt-vitest-error-test\n\n### Describe the bug\n\nRunning pnpm i && pnpm --filter global test gives the following error: \r\n```\r\nError: [@vue/compiler-sfc] No fs option provided to `compileScript` in non-Node environment. File system access is required for resolving imported types.\r\n\r\n/Users/rigo/Projects/nuxt-test-utils-test/packages/layer/components/Test.vue\r\n5 | \u003Cscript setup lang=\"ts\">\r\n6 | import type { TestProps } from \"./test.props\";\r\n7 | defineProps\u003CTestProps>();\r\n | ^^^^^^^^^\r\n8 | \u003C/script>\r\n```\n\n### Additional context\n\nRemoving vitest.config.ts make e2e tests works, but (obviously) kills unit tests using nuxt vitest environment\n\n### Logs\n\n_No response_",[],"nuxt-vitest + nuxt test utils not working properly together","2023-12-02T00:18:09Z","https://github.com/nuxt/test-utils/issues/311",{"description":2077,"labels":2078,"number":1984,"owner":1985,"repository":2030,"state":2016,"title":2079,"updated_at":2080,"url":2081,"score":1991},"- [x] Create file\n- [x] Delete file\n- [x] Revert file\n- [x] Rename file\n\n",[],"Update draft when collaborator updates it","2023-02-15T12:31:26Z","https://github.com/nuxt/nuxt.com/issues/374",["Reactive",2083],{},["Set"],["ShallowReactive",2086],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"50GKnd_1GkVDSXrL4XuQRIup1ZIvbrUM-FAlL_bVpfQ":-1},"/nuxt/nuxt.com/347"]