\u003Cbr /> \u003Cimg width=\"502\" alt=\"Screen Shot 2022-03-25 at 2 57 18 PM\" src=\"https://user-images.githubusercontent.com/734428/160080618-1320d0f9-5674-4133-9a57-9fd7f6e77ce2.png\"> | **3m** \u003Cbr />\u003Cbr /> \u003Cimg width=\"498\" alt=\"Screen Shot 2022-03-25 at 2 54 50 PM\" src=\"https://user-images.githubusercontent.com/734428/160080718-4f3fad38-71e5-4793-a839-797a0f87b65e.png\">\r\nInstall Deps in Actions | [1m 25s](https://github.com/kodadot/nft-gallery/runs/5676422402?check_suite_focus=true#step:4:35) | [**28s**](https://github.com/kodadot/nft-gallery/runs/5687650302?check_suite_focus=true#step:6:467)\r\n\r\n\r\nimpressive time savings.\r\nCurious if you would be keen to write an article on how we've migrated from yarn to pnpm? \r\nSome people might find it interesting as we are still early! \r\nThis morning found friends deciding between npm and yarn 😅.\r\n\r\nWe are usually publishing at https://medium.com/kodadot :)\r\n\r\nIssue is reserved for @preschian \r\n\r\n_Originally posted by @yangwao in https://github.com/kodadot/nft-gallery/issues/2643#issuecomment-1078864547_\r\n\r\n### Ref \r\n- https://medium.com/pnpm/why-should-we-use-pnpm-75ca4bfe7d93#:~:text=pnpm%20is%20not%20only%20faster,them%20from%20the%20global%20store.\r\n- https://rushjs.io/pages/maintainer/package_managers/\r\n- https://blog.logrocket.com/javascript-package-managers-compared/\r\n- [What does make pnpm special?](https://twitter.com/moo9000/status/1507297097070043184)\r\n- PNPM is the only option that solves the [NPM doppelgangers](https://rushjs.io/pages/advanced/npm_doppelgangers/) problem. In a complex monorepo, doppelgangers sometimes cause a lot of trouble, so PNPM has an important advantage in this regard.\r\n- we can push KodaDot logo to https://pnpm.io/users",[2867,2870,2873],{"name":2868,"color":2869},"$$","0E8A16",{"name":2871,"color":2872},"p3","D4C5F9",{"name":2874,"color":2875},"A-writing-✍️","FBCA04",2671,"kodadot","nft-gallery","open","How we've migrated from yarn to pnpm","2023-05-18T11:23:54Z","https://github.com/kodadot/nft-gallery/issues/2671",0.6729694,{"description":2885,"labels":2886,"number":2891,"owner":2877,"repository":2878,"state":2879,"title":2892,"updated_at":2893,"url":2894,"score":2895},"I'm researching on our build times and what's new at Netlify house.\r\n\r\nI've found they have on-demand builders, which could be friendly with Distributed Persistent Rendering. \r\n\r\nI think something similar has Vercel called ISR \r\n\r\nCurrent build times are around 4m3.7s\r\n\r\n```\r\n4:34:28 PM: Finished processing build request in 4m3.7037858s\r\n```\r\n## Ref\r\n- https://docs.netlify.com/configure-builds/on-demand-builders/\r\n- https://www.netlify.com/blog/2021/04/14/distributed-persistent-rendering-a-new-jamstack-approach-for-faster-builds/\r\n- https://vercel.com/docs/concepts/incremental-static-regeneration/overview",[2887,2889],{"name":2888,"color":2875},"A-research",{"name":2890,"color":2872},"p5",4620,"Look on on-demand builders from Netlify","2023-01-05T16:16:37Z","https://github.com/kodadot/nft-gallery/issues/4620",0.74438167,{"description":2897,"labels":2898,"number":2903,"owner":2877,"repository":2878,"state":2879,"title":2904,"updated_at":2905,"url":2906,"score":2907},"As it generating pictures takes longer (37-90secs), it probably shows a picture from the existing collection to entertain users as the initial generation takes \r\n\r\nnew model\r\n- https://replicate.com/cjwbw/anything-v3-better-vae\r\n\r\n",[2899,2901],{"name":2900,"color":2872},"p4",{"name":2902,"color":2875},"A-ai-minter",4722,"Change to new model cjwbw/anything-v3-better-vae","2023-01-16T14:34:01Z","https://github.com/kodadot/nft-gallery/issues/4722",0.7765959,{"description":2909,"labels":2910,"number":2917,"owner":2877,"repository":2878,"state":2918,"title":2919,"updated_at":2920,"url":2921,"score":2922},"I've noticed that sometimes builds now last like for 7-10m, on average 7minutes +\r\nOn average we've been somewhere between 4-5m. \r\n\r\nbefore\r\n\u003Cimg width=\"1190\" alt=\"image\" src=\"https://user-images.githubusercontent.com/5887929/172619410-6c49c078-24fa-40fb-9670-e4d801ee60f6.png\">\r\n\r\nnow\r\n\u003Cimg width=\"1179\" alt=\"image\" src=\"https://user-images.githubusercontent.com/5887929/172622256-496624d3-11db-4a0f-bae7-3c5201f1c224.png\">\r\n\r\n\u003Cimg width=\"1137\" alt=\"image\" src=\"https://user-images.githubusercontent.com/5887929/172622319-6f6293e8-7fca-4e1e-b2b0-f3af506c8b11.png\">\r\n\r\n\r\n",[2911,2913,2914],{"name":2912,"color":2869},"$",{"name":2900,"color":2872},{"name":2915,"color":2916},"performance","922478",3123,"closed","Seems build times take a while on beta ","2023-10-11T11:07:28Z","https://github.com/kodadot/nft-gallery/issues/3123",0.7037975,{"description":2924,"labels":2925,"number":2931,"owner":2877,"repository":2878,"state":2918,"title":2932,"updated_at":2933,"url":2934,"score":2935},"Kindly reminder for us we've passed our free plan and time to evolve and get a paid plan.\r\nMeanwhile, good hints are how to optimize our bundle as it takes quite a lot to process.\r\nhttps://answers.netlify.com/t/support-guide-how-can-i-optimize-my-netlify-build-time/3907",[2926,2929,2930],{"name":2927,"color":2928},"good first issue","5319e7",{"name":2912,"color":2869},{"name":2890,"color":2872},279,"Optimize builds - Over build minutes on Netlify","2022-04-08T09:45:29Z","https://github.com/kodadot/nft-gallery/issues/279",0.71798414,{"description":2937,"labels":2938,"number":2945,"owner":2877,"repository":2878,"state":2918,"title":2946,"updated_at":2947,"url":2948,"score":2949},"To me looks like a Netlify outage?\r\n\r\n`Deploy did not succeed: Deploy directory 'dist' does not exist`\r\n\r\nFirst failed build seems on `main` at 11:44am\r\n\r\nMy bet is at \r\n\r\nhttps://github.com/kodadot/nft-gallery/pull/2815/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R27\r\n\r\n### Ref\r\n- https://github.com/kodadot/nft-gallery/pull/2812\r\n- https://github.com/kodadot/nft-gallery/pull/2825\r\n- #2718 \r\n\r\nhttps://app.netlify.com/teams/yangwao/builds/625549e849e59900089b0d26\r\n\r\n\r\n\r\nhttps://app.netlify.com/sites/koda-nuxt/deploys/62554a7806c0270008e7f412\r\n\r\n\r\n\r\n",[2939,2942],{"name":2940,"color":2941},"p1","D93F0B",{"name":2943,"color":2944},"🧙♀️ - bug-hunt","DC2653",2826,"Builds are broken ","2022-04-12T11:39:00Z","https://github.com/kodadot/nft-gallery/issues/2826",0.7278866,{"description":2951,"labels":2952,"number":2959,"owner":2877,"repository":2878,"state":2918,"title":2960,"updated_at":2961,"url":2962,"score":2963},"Someone can take care and migrate to yarn v2, it should cut us time for development and fresh installs \r\n\r\nWhy we should migrate -> https://yarnpkg.com/getting-started/qa#why-should-you-upgrade-to-yarn-modern\r\n\r\nNote to @yangwao -- check deployments if works ok!\r\n- on beta\r\n- on production\r\n\r\n### Ref\r\n- https://yarnpkg.com/getting-started/migration",[2953,2954,2955,2956],{"name":2912,"color":2869},{"name":2868,"color":2869},{"name":2871,"color":2872},{"name":2957,"color":2958},"v2.2","6AC658",2197,"Migrate to the newer package manager","2022-03-25T16:16:26Z","https://github.com/kodadot/nft-gallery/issues/2197",0.7333853,{"description":2965,"labels":2966,"number":2971,"owner":2877,"repository":2878,"state":2918,"title":2972,"updated_at":2973,"url":2974,"score":2975},"currently we are at about 11min on ` Lint, Build & Test workflow`",[2967,2969],{"name":2968,"color":2872},"p2",{"name":2970,"color":2875},"A-tests",3841,"E2E - Cypress parallelization","2022-10-28T12:06:54Z","https://github.com/kodadot/nft-gallery/issues/3841",0.74556947,{"description":2977,"labels":2978,"number":2985,"owner":2877,"repository":2878,"state":2918,"title":2986,"updated_at":2987,"url":2988,"score":2989},"It's a bit frustrating every time I need to clear the cache between new changes in deploy previews, even I see on `main` branch stuff which isn't there tho 😅 \r\n\r\nHas someone will figure out the current caching issue to really flush stuff browser cache? \r\nIn future, it would help to avoid unnecessary caching issues on the client browser while testing new stuff.\r\n\r\n\r\n",[2979,2980,2981,2984],{"name":2912,"color":2869},{"name":2968,"color":2872},{"name":2982,"color":2983},"experimental","B09211",{"name":2943,"color":2944},2237,"Time to tackle cache more efficiently ","2022-08-25T16:58:22Z","https://github.com/kodadot/nft-gallery/issues/2237",0.74591607,{"description":2991,"labels":2992,"number":2994,"owner":2877,"repository":2878,"state":2918,"title":2995,"updated_at":2996,"url":2997,"score":2998},"tried everything I could think of up to this point:\r\n- reinstalling pnpm\r\n- making sure I have same version as @vikiival (7.3.0)\r\n- deleting and cloning app again \r\n- turning off and on (everything 😆)\r\n- clean install from latest main [fork](/petersopko/nft-gallery)\r\n\r\ndoesn't build anyways. Anybody facing similar errors/got any idea how to get around this?\r\n\r\n```\r\n ERROR in ./node_modules/@substrate/smoldot-light/dist/mjs/index-browser.js friendly-errors 13:40:11 \r\n\r\nModule parse failed: Unexpected token (38:43) friendly-errors 13:40:11 \r\nFile was processed with these loaders:\r\n * ./node_modules/unplugin/dist/webpack/loaders/transform.js\r\n * ./node_modules/@open-wc/webpack-import-meta-loader/webpack-import-meta-loader.js\r\nYou may need an additional loader to handle the result of these loaders.\r\n| },\r\n| connect: (config) => {\r\n> return connect(config, options?.forbidWs || false, options?.forbidNonLocalWs || false, options?.forbidWss || false);\r\n| }\r\n| });\r\n friendly-errors 13:40:11 \r\n @ ./node_modules/@substrate/connect/dist/mjs/connector/smoldot-light.js 7:19-53\r\n @ ./node_modules/@substrate/connect/dist/mjs/connector/index.js\r\n @ ./node_modules/@substrate/connect/dist/mjs/index.js\r\n @ ./node_modules/@polkadot/rpc-provider/substrate-connect/ScProvider.js\r\n @ ./node_modules/@polkadot/rpc-provider/substrate-connect/index.js\r\n @ ./node_modules/@polkadot/rpc-provider/bundle.js\r\n @ ./node_modules/@polkadot/rpc-provider/index.js\r\n @ ./node_modules/@polkadot/api/bundle.js\r\n @ ./node_modules/@polkadot/api/index.js\r\n @ ./node_modules/@kodadot1/sub-api/dist/index.mjs\r\n @ ./node_modules/unplugin/dist/webpack/loaders/transform.js??ref--44-0!./node_modules/unplugin/dist/webpack/loaders/transform.js??ref--46-0!./node_modules/babel-loader/lib??ref--0-0!./node_modules/@nuxt/webpack-edge/\r\nnode_modules/vue-loader/lib??vue-loader-options!./node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--19-0!./node_modules/unplugin/dist/webpack/loaders/transform.js??ref--45-0!./components/unique/Collection/Item/CollectionItem.vue?vue&type=script&lang=ts&\r\n @ ./components/unique/Collection/Item/CollectionItem.vue?vue&type=script&lang=ts&\r\n @ ./components/unique/Collection/Item/CollectionItem.vue\r\n @ ./node_modules/unplugin/dist/webpack/loaders/transform.js??ref--44-0!./node_modules/unplugin/dist/webpack/loaders/transform.js??ref--46-0!./node_modules/babel-loader/lib??ref--0-0!./node_modules/@nuxt/webpack-edge/\r\nnode_modules/vue-loader/lib??vue-loader-options!./node_modules/unplugin-vue2-script-setup/node_modules/unplugin/dist/webpack/loaders/transform.js??ref--19-0!./node_modules/unplugin/dist/webpack/loaders/transform.js??ref--45-0!./pages/statemine/collection/_id.vue?vue&type=script&lang=ts&\r\n @ ./pages/statemine/collection/_id.vue?vue&type=script&lang=ts&\r\n @ ./pages/statemine/collection/_id.vue\r\n @ ./.nuxt/router.js\r\n @ ./.nuxt/index.js\r\n @ ./.nuxt/client.js\r\n @ multi ./node_modules/@nuxt/bridge/dist/runtime/capi.plugin.mjs ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js\r\n\r\n```",[2993],{"name":2943,"color":2944},3594,"can't build with latest main","2022-08-17T12:23:07Z","https://github.com/kodadot/nft-gallery/issues/3594",0.75332063,["Reactive",3000],{},["Set"],["ShallowReactive",3003],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fB5h3nvcinPMlrCnYV5qgROLuSAfUAYyT6uGMEPgmc1w":-1},"/kodadot/nft-gallery/2696"]