2023-09-01ãã1ã¶æéã®è¨äºä¸è¦§
ãã©ã¦ã¶Chromeã®æ¡å¼µæ©è½ã¯ã¿ãªããã使ãã®ãã¨ã§ãããã ç§ãåºåãããã«ã¼ããã¯ã¦ãªã®ãç¥ããçãå ¥ãã¦ããã æµ·å¤è£½ã®ããã°ã«ã¦ãjavascriptãreactããã®è¨äºãè¦ã¦ããã®ã ãã翻訳ãã¦èªãå ´åã«å°ã£ããã¨ãããã ã³ã¼ããµã³ãã«ã¾ã§è¨³ãã¦â¦
ESlintã®è¨å®ãã¡ã¤ã«ã¯ã.eslintrc.js / .cjs / .yaml / .json ã§ããã jsonã«ã¯ã³ã¡ã³ãã®æ§æãåå¨ããªãã Nextã§ã¯ããã©ã«ãã§ãjsonã ã£ãã®ã ããã³ã¡ã³ãã§è£è¶³ãå ¥ãããã£ãã®ã§ã jsã«ããã æ«å°¾ã®ããããã£ã« , ãæ¸ããã JSONCã¨ããã³ã¡â¦
ãã¼ã¸ã§ã³ã®ä»ãæ¹ã«é¢ããã¬ã¤ãã©ã¤ã³ãåå¨ããã ã»ãã³ãã£ã㯠ãã¼ã¸ã§ãã³ã° Semantic Versioning 2.0.0ã§ããã èªåãã°ã©ãã£ãã¯ãã¼ã«ã®ãã©ã°ã¤ã³ãããã¤ãä½ã£ããã¨ããããéçºãã¼ã¸ã§ã³ãä»ããã°ãªããªãã¨ãããã£ãããä»æãã°ãã¬â¦
以åã«yarnã®æå¹åã®ãã¨ãæ¸ããã ãã®æã«å ¬å¼ã«ã¯ corepack enable ã¨ããã«ããããããã npm i -g yarn ã¨ã®æ¡å ãå¤ãã¨æ¸ããã ãã®æã¯å¤ãæ å ±ã¨ããå°è±¡ãæã£ã¦ããã®ã ããç¸å¿ã®çç±ãããããã ã Yarn Classic ã©ã¤ã³ (1.x) ã¯ã©ã·ãã¯å®â¦
æåã«ãã®ç§»è¡ã¯ç¹ã«æå³ã®ãããã®ã§ãªããã¿ã¤ãã³ã°ã¨å¥½å¥å¿ãããã®ãã®ã ã ãµãã¹ã¯ãªãã·ã§ã³ã«ã¯æµæã®ãã人ãã¡ãåå¨ããããã ããèªåã¯ãµãã¹ã¯ã«ã¯æ©æµãåãã¦ããã»ãã ããã ãã ã解ç´ææã¨ããã¿ã¤ãã³ã°ããã£ã¦ãã¡ããã©ãã®ææâ¦
ä¸è¬çãªããã°ã©ãã³ã°ã«ã¤ãã¦ã®å¯ä½ç¨ã¨Reactã§ã®å¯ä½ç¨ãã·ã£ã¼ãã«ç解ãã¦ããã¨ã¯è¨ãé£ãã èªåç¨ã«æ¸ãã¦ã¿ããï¼ãã®ããã°ã¯ãã¹ã¦èªåç¨ã ãï¼ ä¸è¬çãªããã°ã©ãã³ã°ã§ã®å¯ä½ç¨ã¨ã¯ã è¿ãå¤ãè¿ã以å¤ã«çºçããå½±é¿ã®ãã¨ ä»£å ¥ã«ãã£ã¦å¤æ°â¦
ãªãã¨ãªããã¤ãnpmãã¦ãã¾ãããyarnãã ãããã®è¨äºã§ã¯ãnpm i -g yarnçãã¿ãããã å ¬å¼ãµã¤ãã ã¨corepack enableã¨ããã®ã§ãèªåã¯ãããã¦ããã Yarn ã管çããæ¨å¥¨ãããæ¹æ³ã¯ãããã¸ã§ã¯ããã¨ã«ãNode.js ã«ããã©ã«ãã§ä»å±ãããã¼ã«â¦