totto2727(Hayato Tsuchida)
totto2727(Hayato Tsuchida)
私もステータスコードは取得したいですねー ダーティな実装ですが、エラーオブジェクトにステータスコードが埋め込まれていることは確認できたので、以下のようにパースして対処しています ```ts /** * microCMSの例外をステータスコードに変換する関数 * * microCMSのエラーオブジェクトのメッセージを解析し、ステータスコードを返却します。 * * @param error */ function fromMicroCmsErrorToStatusCode(error: Error) { // 必ずmicroCMSのエラーメッセージに含まれるテキストの正規表現 // source: https://github.com/microcmsio/microcms-js-sdk/blob/05a4efe79ce90932a6d7f33b262ff959ade88d4a/src/createClient.ts#L99 const regex = /status: (\d{3})/; const statusCode...
Yes From now on, each time you create or update a PR, unit tests and static analysis will be performed by GitHub Actions. We can check the results from the...
Unit testing and static analysis are executed in separate workflows. For static analysis, the following are run in parallel using npm run check. - prettier - tsc - eslint or...
Currently, most tests fail and cause a lot of type problems. Could this be the cause of the broken tests? If this is the cause of my environment, I would...
Can we use Hono's new Cloudflare Pages template? We are thinking that if we can run it with only Vite and Hono, without relying on Wrangler, it would give us...
関連する可能性のあるIssue https://github.com/microcmsio/microcms-js-sdk/issues/18 関連する個人開発の実装 https://github.com/totto2727/microcms-astro/blob/6e3af5e5b169c9d6df0392ad7af634120a8427d2/src/config/microCMS.ts#L35C9-L35C9
Same situation with Japanese Input(MacOS Default). It worked with English Input. I also use Karabiner Elements and it did not seem to be affected (same situation without Karabiner running). Hotkey:...
The same problem occurs with `fsevent`. I have confirmed that it works by adding the following settings to `astro.config.mjs`. ```ts vite: { optimizeDeps: { exclude: ["fsevents"], }, }, ``` https://stackoverflow.com/questions/75640753/vite-esbuild-error-no-loader-is-configured-for-node-files-node-modules-fs...
It's certainly an edge case... There is no renderer itself yet, but Qwik has the ability to use React in conjunction with the excellent React library. https://qwik.dev/docs/integrations/react/ The Qwik component...