akira-toriyama / next.js-tpl Goto Github PK
View Code? Open in Web Editor NEWNext.js template
Home Page: https://next-js-tpl-app.vercel.app
License: MIT License
Next.js template
Home Page: https://next-js-tpl-app.vercel.app
License: MIT License
scss は、ネストすると可読性がつらい
Linaria を試す
検証
}
// todo 検証
// TODO 検証
523b6416ba3919c3563a25ddb94318a7524c8ad6
main
branch failed. 🚨I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the main
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:
If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.
An npm token must be created and set in the NPM_TOKEN
environment variable on your CI environment.
Please make sure to create an npm token and to set it in the NPM_TOKEN
environment variable on your CI environment. The token must allow to publish to the registry https://registry.npmjs.org/
.
Good luck with your project ✨
Your semantic-release bot 📦🚀
const { withKumaUI } = require("@kuma-ui/next-plugin");
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// TODO やめる
pageExtensions: ["page.tsx"],
compiler: {
reactRemoveProperties: true,
},
};
module.exports = withKumaUI(nextConfig);
);
export default Layout;
// TODO チャクラ 適用
// ちゃくらui
// コンテンツプレースホルダー
// #2151
// nextjs dbなども追加
loading いる?
useMediaquery が扱いやすい
Line 57 in 2e11f53
/// <reference types="vitest" />
import { defineConfig } from "vite";
import { configDefaults } from "vitest/config";
import react from "@vitejs/plugin-react";
import path from "path";
export default defineConfig({
/**
* https://github.com/tajo/ladle/issues/100#issuecomment-1192413254
*/
define: {
"process.env": process.env,
},
// @ts-expect-error -- ???
plugins: [react()],
test: {
environment: "jsdom",
exclude: [...configDefaults.exclude, "snapshot/snapshot.test.ts"],
coverage: {
all: true,
include: ["src/**/*.{ts,tsx}"],
exclude: [
"**/*.stories.tsx",
"**/*.gql.generated.ts",
"**/*.gql.ts",
"**/dao.ts",
"src/infra/graphql/types.ts",
"src/ui/provider/Wrapper.tsx",
"src/ui/provider/ReactQuery.tsx",
"src/ui/provider/ErrorBoundary.tsx",
"src/infra/env.ts",
],
provider: "istanbul",
},
},
resolve: {
alias: {
"~": path.join(__dirname, "./src"),
},
},
server: {
/**
* https://github.com/tajo/ladle/blob/main/e2e/playwright/vite.config.ts
*/
open: "none",
},
preview: {
/**
* https://github.com/tajo/ladle/blob/main/e2e/playwright/vite.config.ts
*/
open: "none",
},
});
// TODO カバレッジしきい値
// https://github.com/vitest-dev/vitest/issues/1241
await expect(page).toHaveURL("/items");
.fill(service.formParam.body.placeholder);
await page.getByRole("button", { name: "submit" }).click();
// TODO テスト不能
// await expect(page).toHaveURL("/items");
});
import { useQuery } from "@tanstack/react-query";
import * as dao from "./coLocation/dao";
import type * as commonType from "../../common.type";
// TODO keys.ts
export const useFetch = (p: commonType.OuterProps) =>
useQuery(["Common", { id: p.id }], () => dao.find(p));
);
export default Page;
// TODO tsconfig bump https://github.com/tsconfig/bases/pull/161
CSS in JS を使うので、 useMediaquery
を使うのでよさそう。
下記の書き方は、可読性に限界を感じる...
// pc
@media screen and (width >= 64em) {
}
// tablet
@media screen and (width >= 48em) and (width < 64em) {
}
// sp
@media screen and (width < 48em) {
}
selectors
は いらないかも?
// TODO コンテンツプレースホルダーを適用 or やめる
import type { NextPage } from "next";
import * as presenter from "~/ui/domain/items/presenter";
);
await page.goto("/items/1/detail");
// TODO CI でエラー
await page.getByText("編集へ").first().click();
await expect(page).toHaveURL("/items/1/edit");
});
hoge fuga
next.js-tpl/src/useCase/user/workFlow.ts
Line 22 in 266c341
)
.exhaustive()
);
// TODO どうしましょ?
// hoge fuga
main
branch failed. 🚨I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the main
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:
If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.
An npm token must be created and set in the NPM_TOKEN
environment variable on your CI environment.
Please make sure to create an npm token and to set it in the NPM_TOKEN
environment variable on your CI environment. The token must allow to publish to the registry https://registry.npmjs.org/
.
Good luck with your project ✨
Your semantic-release bot 📦🚀
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.