diff --git a/.eslintrc b/.eslintrc
index 0d454ed..1a2d174 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -2,7 +2,7 @@
"extends": ["next/core-web-vitals", "prettier", "plugin:storybook/recommended"],
"settings": {
"next": {
- "rootDir": "packages/nextjs-craft-blog-kit/"
+ "rootDir": "packages/blog/"
}
}
}
diff --git a/.github/temp/craft_raw.json b/.github/temp/craft_raw.json
index 9235b68..7c01239 100644
--- a/.github/temp/craft_raw.json
+++ b/.github/temp/craft_raw.json
@@ -3965,4 +3965,4 @@
"alignmentStyle": "left",
"textStyle": "page"
}
-}
\ No newline at end of file
+}
diff --git a/.gitignore b/.gitignore
index f7ce280..2f0fb09 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,5 @@ yarn-error.log*
# Only dev module
background-extract
+
+.eslintcache
diff --git a/.husky/pre-commit b/.husky/pre-commit
new file mode 100755
index 0000000..d2ae35e
--- /dev/null
+++ b/.husky/pre-commit
@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+yarn lint-staged
diff --git a/.yarn/cache/ansi-escapes-npm-4.3.2-3ad173702f-93111c4218.zip b/.yarn/cache/ansi-escapes-npm-4.3.2-3ad173702f-93111c4218.zip
new file mode 100644
index 0000000..6b90eff
Binary files /dev/null and b/.yarn/cache/ansi-escapes-npm-4.3.2-3ad173702f-93111c4218.zip differ
diff --git a/.yarn/cache/ansi-styles-npm-6.1.0-4f6a594d04-7a7f8528c0.zip b/.yarn/cache/ansi-styles-npm-6.1.0-4f6a594d04-7a7f8528c0.zip
new file mode 100644
index 0000000..27d0a18
Binary files /dev/null and b/.yarn/cache/ansi-styles-npm-6.1.0-4f6a594d04-7a7f8528c0.zip differ
diff --git a/.yarn/cache/astral-regex-npm-2.0.0-f30d866aab-876231688c.zip b/.yarn/cache/astral-regex-npm-2.0.0-f30d866aab-876231688c.zip
new file mode 100644
index 0000000..1af622c
Binary files /dev/null and b/.yarn/cache/astral-regex-npm-2.0.0-f30d866aab-876231688c.zip differ
diff --git a/.yarn/cache/cli-cursor-npm-3.1.0-fee1e46b5e-2692784c6c.zip b/.yarn/cache/cli-cursor-npm-3.1.0-fee1e46b5e-2692784c6c.zip
new file mode 100644
index 0000000..2a8723c
Binary files /dev/null and b/.yarn/cache/cli-cursor-npm-3.1.0-fee1e46b5e-2692784c6c.zip differ
diff --git a/.yarn/cache/cli-truncate-npm-2.1.0-72184d3467-bf1e4e6195.zip b/.yarn/cache/cli-truncate-npm-2.1.0-72184d3467-bf1e4e6195.zip
new file mode 100644
index 0000000..f8c20f3
Binary files /dev/null and b/.yarn/cache/cli-truncate-npm-2.1.0-72184d3467-bf1e4e6195.zip differ
diff --git a/.yarn/cache/cli-truncate-npm-3.1.0-654d2989ef-c3243e4197.zip b/.yarn/cache/cli-truncate-npm-3.1.0-654d2989ef-c3243e4197.zip
new file mode 100644
index 0000000..6ad23df
Binary files /dev/null and b/.yarn/cache/cli-truncate-npm-3.1.0-654d2989ef-c3243e4197.zip differ
diff --git a/.yarn/cache/eastasianwidth-npm-0.2.0-c37eb16bd1-7d00d7cd8e.zip b/.yarn/cache/eastasianwidth-npm-0.2.0-c37eb16bd1-7d00d7cd8e.zip
new file mode 100644
index 0000000..1038599
Binary files /dev/null and b/.yarn/cache/eastasianwidth-npm-0.2.0-c37eb16bd1-7d00d7cd8e.zip differ
diff --git a/.yarn/cache/is-fullwidth-code-point-npm-4.0.0-848488b60d-8ae89bf505.zip b/.yarn/cache/is-fullwidth-code-point-npm-4.0.0-848488b60d-8ae89bf505.zip
new file mode 100644
index 0000000..dbeb234
Binary files /dev/null and b/.yarn/cache/is-fullwidth-code-point-npm-4.0.0-848488b60d-8ae89bf505.zip differ
diff --git a/.yarn/cache/lilconfig-npm-2.0.4-f0d8b03457-02ae530aa4.zip b/.yarn/cache/lilconfig-npm-2.0.4-f0d8b03457-02ae530aa4.zip
new file mode 100644
index 0000000..dd979ac
Binary files /dev/null and b/.yarn/cache/lilconfig-npm-2.0.4-f0d8b03457-02ae530aa4.zip differ
diff --git a/.yarn/cache/lint-staged-npm-12.3.8-4ba34d6dbb-af6a89ae42.zip b/.yarn/cache/lint-staged-npm-12.3.8-4ba34d6dbb-af6a89ae42.zip
new file mode 100644
index 0000000..3c8ca8c
Binary files /dev/null and b/.yarn/cache/lint-staged-npm-12.3.8-4ba34d6dbb-af6a89ae42.zip differ
diff --git a/.yarn/cache/listr2-npm-4.0.5-e9e44decc1-7af31851ab.zip b/.yarn/cache/listr2-npm-4.0.5-e9e44decc1-7af31851ab.zip
new file mode 100644
index 0000000..38f6ae2
Binary files /dev/null and b/.yarn/cache/listr2-npm-4.0.5-e9e44decc1-7af31851ab.zip differ
diff --git a/.yarn/cache/log-update-npm-4.0.0-9d0554261c-ae2f85bbab.zip b/.yarn/cache/log-update-npm-4.0.0-9d0554261c-ae2f85bbab.zip
new file mode 100644
index 0000000..66a2c50
Binary files /dev/null and b/.yarn/cache/log-update-npm-4.0.0-9d0554261c-ae2f85bbab.zip differ
diff --git a/.yarn/cache/pidtree-npm-0.5.0-ed08283e89-371cd14bbc.zip b/.yarn/cache/pidtree-npm-0.5.0-ed08283e89-371cd14bbc.zip
new file mode 100644
index 0000000..9c767dd
Binary files /dev/null and b/.yarn/cache/pidtree-npm-0.5.0-ed08283e89-371cd14bbc.zip differ
diff --git a/.yarn/cache/restore-cursor-npm-3.1.0-52c5a4c98f-f877dd8741.zip b/.yarn/cache/restore-cursor-npm-3.1.0-52c5a4c98f-f877dd8741.zip
new file mode 100644
index 0000000..f11afe9
Binary files /dev/null and b/.yarn/cache/restore-cursor-npm-3.1.0-52c5a4c98f-f877dd8741.zip differ
diff --git a/.yarn/cache/rfdc-npm-1.3.0-272f288ad8-fb2ba8512e.zip b/.yarn/cache/rfdc-npm-1.3.0-272f288ad8-fb2ba8512e.zip
new file mode 100644
index 0000000..c6d5d0c
Binary files /dev/null and b/.yarn/cache/rfdc-npm-1.3.0-272f288ad8-fb2ba8512e.zip differ
diff --git a/.yarn/cache/rxjs-npm-7.5.5-d0546b1ccb-e034f60805.zip b/.yarn/cache/rxjs-npm-7.5.5-d0546b1ccb-e034f60805.zip
new file mode 100644
index 0000000..c7a67f4
Binary files /dev/null and b/.yarn/cache/rxjs-npm-7.5.5-d0546b1ccb-e034f60805.zip differ
diff --git a/.yarn/cache/slice-ansi-npm-3.0.0-d9999864af-5ec6d022d1.zip b/.yarn/cache/slice-ansi-npm-3.0.0-d9999864af-5ec6d022d1.zip
new file mode 100644
index 0000000..0129e70
Binary files /dev/null and b/.yarn/cache/slice-ansi-npm-3.0.0-d9999864af-5ec6d022d1.zip differ
diff --git a/.yarn/cache/slice-ansi-npm-4.0.0-6eeca1d10e-4a82d7f085.zip b/.yarn/cache/slice-ansi-npm-4.0.0-6eeca1d10e-4a82d7f085.zip
new file mode 100644
index 0000000..ef2012f
Binary files /dev/null and b/.yarn/cache/slice-ansi-npm-4.0.0-6eeca1d10e-4a82d7f085.zip differ
diff --git a/.yarn/cache/slice-ansi-npm-5.0.0-8cd4f226df-7e600a2a55.zip b/.yarn/cache/slice-ansi-npm-5.0.0-8cd4f226df-7e600a2a55.zip
new file mode 100644
index 0000000..d3e5c6f
Binary files /dev/null and b/.yarn/cache/slice-ansi-npm-5.0.0-8cd4f226df-7e600a2a55.zip differ
diff --git a/.yarn/cache/string-argv-npm-0.3.1-b4f6cd3d7b-efbd0289b5.zip b/.yarn/cache/string-argv-npm-0.3.1-b4f6cd3d7b-efbd0289b5.zip
new file mode 100644
index 0000000..7e2ee44
Binary files /dev/null and b/.yarn/cache/string-argv-npm-0.3.1-b4f6cd3d7b-efbd0289b5.zip differ
diff --git a/.yarn/cache/string-width-npm-5.1.2-bf60531341-7369deaa29.zip b/.yarn/cache/string-width-npm-5.1.2-bf60531341-7369deaa29.zip
new file mode 100644
index 0000000..bd88405
Binary files /dev/null and b/.yarn/cache/string-width-npm-5.1.2-bf60531341-7369deaa29.zip differ
diff --git a/.yarn/cache/supports-color-npm-9.2.2-d003069e84-976d848774.zip b/.yarn/cache/supports-color-npm-9.2.2-d003069e84-976d848774.zip
new file mode 100644
index 0000000..a4c7d6d
Binary files /dev/null and b/.yarn/cache/supports-color-npm-9.2.2-d003069e84-976d848774.zip differ
diff --git a/.yarn/cache/type-fest-npm-0.21.3-5ff2a9c6fd-e6b32a3b38.zip b/.yarn/cache/type-fest-npm-0.21.3-5ff2a9c6fd-e6b32a3b38.zip
new file mode 100644
index 0000000..89f3fd5
Binary files /dev/null and b/.yarn/cache/type-fest-npm-0.21.3-5ff2a9c6fd-e6b32a3b38.zip differ
diff --git a/.yarn/cache/wrap-ansi-npm-6.2.0-439a7246d8-6cd96a4101.zip b/.yarn/cache/wrap-ansi-npm-6.2.0-439a7246d8-6cd96a4101.zip
new file mode 100644
index 0000000..aa06055
Binary files /dev/null and b/.yarn/cache/wrap-ansi-npm-6.2.0-439a7246d8-6cd96a4101.zip differ
diff --git a/_contents/posts/41C3AD93-299C-4535-B94C-C772929265B1.json b/_contents/posts/41C3AD93-299C-4535-B94C-C772929265B1.json
index a2be851..7fc8dcd 100644
--- a/_contents/posts/41C3AD93-299C-4535-B94C-C772929265B1.json
+++ b/_contents/posts/41C3AD93-299C-4535-B94C-C772929265B1.json
@@ -509,11 +509,7 @@
},
{
"color": "text",
- "columns": [
- {},
- {},
- {}
- ],
+ "columns": [{}, {}, {}],
"documentId": "DB29A26D-2759-4258-B42E-5BCED3A1A8B2",
"hasBlockDecoration": false,
"hasFocusDecoration": false,
@@ -1998,4 +1994,4 @@
],
"type": "textBlock"
}
-}
\ No newline at end of file
+}
diff --git a/package.json b/package.json
index 9575fed..3ed7034 100644
--- a/package.json
+++ b/package.json
@@ -40,6 +40,8 @@
"eslint-plugin-storybook": "^0.5.9--canary.acfda00.0",
"husky": "^7.0.4",
"is-ci": "^3.0.1",
+ "lint-staged": "^12.3.8",
+ "next": "^12.1.5",
"prettier": "^2.6.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
@@ -50,5 +52,9 @@
},
"dependencies": {
"framer-motion": "^6.3.0"
+ },
+ "lint-staged": {
+ "*.{js,jsx,ts,tsx}": "eslint --cache --fix",
+ "*.{js,jsx,ts,tsx,css,sass,less,md,mdx}": "prettier --write"
}
}
diff --git a/packages/blog/.eslintrc.json b/packages/blog/.eslintrc.json
deleted file mode 100644
index bb8b1c0..0000000
--- a/packages/blog/.eslintrc.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "extends": ["next/core-web-vitals", "plugin:storybook/recommended"]
-}
diff --git a/packages/blog/.storybook/main.js b/packages/blog/.storybook/main.js
index 661ca07..d76f9c7 100644
--- a/packages/blog/.storybook/main.js
+++ b/packages/blog/.storybook/main.js
@@ -1,20 +1,20 @@
module.exports = {
stories: [
- "../stories/**/*.stories.mdx",
- "../stories/**/*.stories.@(js|jsx|ts|tsx)",
- "../components/**/*.stories.mdx",
- "../components/**/*.stories.@(js|jsx|ts|tsx)",
+ '../stories/**/*.stories.mdx',
+ '../stories/**/*.stories.@(js|jsx|ts|tsx)',
+ '../components/**/*.stories.mdx',
+ '../components/**/*.stories.@(js|jsx|ts|tsx)',
],
addons: [
- "storybook-addon-swc",
- "@storybook/addon-a11y",
- "@storybook/addon-links",
- "@storybook/addon-essentials",
- "@storybook/addon-interactions",
- "storybook-addon-next-router",
+ 'storybook-addon-swc',
+ '@storybook/addon-a11y',
+ '@storybook/addon-links',
+ '@storybook/addon-essentials',
+ '@storybook/addon-interactions',
+ 'storybook-addon-next-router',
],
- framework: "@storybook/react",
+ framework: '@storybook/react',
core: {
- builder: "@storybook/builder-webpack5",
+ builder: '@storybook/builder-webpack5',
},
-};
+}
diff --git a/packages/blog/.storybook/preview.js b/packages/blog/.storybook/preview.js
index 9f555dd..849e99b 100644
--- a/packages/blog/.storybook/preview.js
+++ b/packages/blog/.storybook/preview.js
@@ -1,11 +1,11 @@
-import React from "react";
-import { RouterContext } from "next/dist/shared/lib/router-context"; // next 12
-import { ThemeProvider } from "styled-components";
-import { theme } from "../styles/theme";
-import GlobalStyle from "../styles/glolbal-style";
+import React from 'react'
+import { RouterContext } from 'next/dist/shared/lib/router-context' // next 12
+import { ThemeProvider } from 'styled-components'
+import { theme } from '../styles/theme'
+import GlobalStyle from '../styles/glolbal-style'
export const parameters = {
- actions: { argTypesRegex: "^on[A-Z].*" },
+ actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
color: /(background|color)$/i,
@@ -15,7 +15,7 @@ export const parameters = {
nextRouter: {
Provider: RouterContext.Provider,
},
-};
+}
export const decorators = [
(Story) => (
@@ -24,4 +24,4 @@ export const decorators = [
),
-];
+]
diff --git a/packages/blog/components/Header/Header.stories.tsx b/packages/blog/components/Header/Header.stories.tsx
index f9c4a7c..331a2ca 100644
--- a/packages/blog/components/Header/Header.stories.tsx
+++ b/packages/blog/components/Header/Header.stories.tsx
@@ -1,25 +1,25 @@
-import React from "react";
-import { ComponentMeta, ComponentStory } from "@storybook/react";
-import Header from "./Header";
+import React from 'react'
+import { ComponentMeta, ComponentStory } from '@storybook/react'
+import Header from './Header'
export default {
- title: "Components/Header",
+ title: 'Components/Header',
component: Header,
parameters: {
- layout: "fullscreen",
+ layout: 'fullscreen',
},
-} as ComponentMeta;
+} as ComponentMeta
const Template: ComponentStory = (args) => (
-);
+)
-export const Primary = Template.bind({});
-Primary.args = {};
+export const Primary = Template.bind({})
+Primary.args = {}
diff --git a/packages/blog/components/Header/Header.styled.tsx b/packages/blog/components/Header/Header.styled.tsx
index bbae696..0853ab2 100644
--- a/packages/blog/components/Header/Header.styled.tsx
+++ b/packages/blog/components/Header/Header.styled.tsx
@@ -1,5 +1,5 @@
-import { motion } from "framer-motion";
-import styled from "styled-components";
+import { motion } from 'framer-motion'
+import styled from 'styled-components'
const Styled = {
rootContainer: styled(motion.header)`
@@ -47,6 +47,6 @@ const Styled = {
display: flex;
`,
search: styled(motion.div)``,
-};
+}
-export default Styled;
+export default Styled
diff --git a/packages/blog/components/Header/Header.tsx b/packages/blog/components/Header/Header.tsx
index eae7453..98df04a 100644
--- a/packages/blog/components/Header/Header.tsx
+++ b/packages/blog/components/Header/Header.tsx
@@ -1,40 +1,40 @@
-import React, { useState } from "react";
-import { useViewportScroll, MotionConfig } from "framer-motion";
-import Styled from "./Header.styled";
+import React, { useState } from 'react'
+import { useViewportScroll, MotionConfig } from 'framer-motion'
+import Styled from './Header.styled'
-export type HeaderProps = {};
+export type HeaderProps = {}
const Header: React.FC = ({}) => {
- const { scrollY } = useViewportScroll();
- const [isHero, setIsHero] = useState(scrollY.get() < 200);
+ const { scrollY } = useViewportScroll()
+ const [isHero, setIsHero] = useState(scrollY.get() < 200)
scrollY.onChange((value) => {
if (value < 200) {
- setIsHero(true);
+ setIsHero(true)
} else {
- setIsHero(false);
+ setIsHero(false)
}
- });
+ })
return (
= ({}) => {
alt="JaeSeoKim's avatar"
variants={{
hero: {
- width: "200px",
- height: "200px",
+ width: '200px',
+ height: '200px',
},
header: {
- width: "36px",
- height: "36px",
+ width: '36px',
+ height: '36px',
},
}}
/>
@@ -59,10 +59,10 @@ const Header: React.FC = ({}) => {
@@ -71,15 +71,15 @@ const Header: React.FC = ({}) => {
@@ -91,7 +91,7 @@ const Header: React.FC = ({}) => {
- );
-};
+ )
+}
-export default Header;
+export default Header
diff --git a/packages/blog/components/Header/index.tsx b/packages/blog/components/Header/index.tsx
index 5fee6ce..5921d09 100644
--- a/packages/blog/components/Header/index.tsx
+++ b/packages/blog/components/Header/index.tsx
@@ -1,2 +1,2 @@
-export { default } from "./Header";
-export type { HeaderProps } from "./Header";
+export { default } from './Header'
+export type { HeaderProps } from './Header'
diff --git a/packages/blog/stories/Introduction.stories.mdx b/packages/blog/stories/Introduction.stories.mdx
index 7c4cd93..9791129 100644
--- a/packages/blog/stories/Introduction.stories.mdx
+++ b/packages/blog/stories/Introduction.stories.mdx
@@ -1,4 +1,4 @@
-import { Meta } from "@storybook/addon-docs";
+import { Meta } from '@storybook/addon-docs'
diff --git a/packages/components/package.json b/packages/components/package.json
index d91cedf..6a39df0 100644
--- a/packages/components/package.json
+++ b/packages/components/package.json
@@ -28,7 +28,7 @@
"@types/react-dom": "*",
"@types/react-syntax-highlighter": "^13.5.2",
"@types/styled-components": "*",
- "next": "^12.1.5"
+ "next": "*"
},
"dependencies": {
"@matejmazur/react-katex": "^3.1.3",
diff --git a/packages/components/src/Introduction.stories.mdx b/packages/components/src/Introduction.stories.mdx
index 7c4cd93..9791129 100644
--- a/packages/components/src/Introduction.stories.mdx
+++ b/packages/components/src/Introduction.stories.mdx
@@ -1,4 +1,4 @@
-import { Meta } from "@storybook/addon-docs";
+import { Meta } from '@storybook/addon-docs'
diff --git a/yarn.lock b/yarn.lock
index 986af7c..fbe5c1e 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6593,6 +6593,15 @@ __metadata:
languageName: node
linkType: hard
+"ansi-escapes@npm:^4.3.0":
+ version: 4.3.2
+ resolution: "ansi-escapes@npm:4.3.2"
+ dependencies:
+ type-fest: ^0.21.3
+ checksum: 93111c42189c0a6bed9cdb4d7f2829548e943827ee8479c74d6e0b22ee127b2a21d3f8b5ca57723b8ef78ce011fbfc2784350eb2bde3ccfccf2f575fa8489815
+ languageName: node
+ linkType: hard
+
"ansi-html-community@npm:0.0.8, ansi-html-community@npm:^0.0.8":
version: 0.0.8
resolution: "ansi-html-community@npm:0.0.8"
@@ -6648,6 +6657,13 @@ __metadata:
languageName: node
linkType: hard
+"ansi-styles@npm:^6.0.0":
+ version: 6.1.0
+ resolution: "ansi-styles@npm:6.1.0"
+ checksum: 7a7f8528c07a9d20c3a92bccd2b6bc3bb4d26e5cb775c02826921477377bd495d615d61f710d56216344b6238d1d11ef2b0348e146c5b128715578bfb3217229
+ languageName: node
+ linkType: hard
+
"ansi-to-html@npm:^0.6.11":
version: 0.6.15
resolution: "ansi-to-html@npm:0.6.15"
@@ -6977,6 +6993,13 @@ __metadata:
languageName: node
linkType: hard
+"astral-regex@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "astral-regex@npm:2.0.0"
+ checksum: 876231688c66400473ba505731df37ea436e574dd524520294cc3bbc54ea40334865e01fa0d074d74d036ee874ee7e62f486ea38bc421ee8e6a871c06f011766
+ languageName: node
+ linkType: hard
+
"async-each@npm:^1.0.1":
version: 1.0.3
resolution: "async-each@npm:1.0.3"
@@ -8091,6 +8114,15 @@ __metadata:
languageName: node
linkType: hard
+"cli-cursor@npm:^3.1.0":
+ version: 3.1.0
+ resolution: "cli-cursor@npm:3.1.0"
+ dependencies:
+ restore-cursor: ^3.1.0
+ checksum: 2692784c6cd2fd85cfdbd11f53aea73a463a6d64a77c3e098b2b4697a20443f430c220629e1ca3b195ea5ac4a97a74c2ee411f3807abf6df2b66211fec0c0a29
+ languageName: node
+ linkType: hard
+
"cli-table3@npm:^0.6.1":
version: 0.6.2
resolution: "cli-table3@npm:0.6.2"
@@ -8104,6 +8136,26 @@ __metadata:
languageName: node
linkType: hard
+"cli-truncate@npm:^2.1.0":
+ version: 2.1.0
+ resolution: "cli-truncate@npm:2.1.0"
+ dependencies:
+ slice-ansi: ^3.0.0
+ string-width: ^4.2.0
+ checksum: bf1e4e6195392dc718bf9cd71f317b6300dc4a9191d052f31046b8773230ece4fa09458813bf0e3455a5e68c0690d2ea2c197d14a8b85a7b5e01c97f4b5feb5d
+ languageName: node
+ linkType: hard
+
+"cli-truncate@npm:^3.1.0":
+ version: 3.1.0
+ resolution: "cli-truncate@npm:3.1.0"
+ dependencies:
+ slice-ansi: ^5.0.0
+ string-width: ^5.0.0
+ checksum: c3243e41974445691c63f8b405df1d5a24049dc33d324fe448dc572e561a7b772ae982692900b1a5960901cc4fc7def25a629b9c69a4208ee89d12ab3332617a
+ languageName: node
+ linkType: hard
+
"cliui@npm:^7.0.2":
version: 7.0.4
resolution: "cliui@npm:7.0.4"
@@ -8218,7 +8270,7 @@ __metadata:
languageName: node
linkType: hard
-"colorette@npm:^2.0.10, colorette@npm:^2.0.14":
+"colorette@npm:^2.0.10, colorette@npm:^2.0.14, colorette@npm:^2.0.16":
version: 2.0.16
resolution: "colorette@npm:2.0.16"
checksum: cd55596a3a2d1071c1a28eee7fd8a5387593ff1bd10a3e8d0a6221499311fe34a9f2b9272d77c391e0e003dcdc8934fb2f8d106e7ef1f7516f8060c901d41a27
@@ -8643,6 +8695,8 @@ __metadata:
framer-motion: ^6.3.0
husky: ^7.0.4
is-ci: ^3.0.1
+ lint-staged: ^12.3.8
+ next: ^12.1.5
prettier: ^2.6.2
react: ^18.0.0
react-dom: ^18.0.0
@@ -8915,7 +8969,7 @@ __metadata:
languageName: node
linkType: hard
-"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2":
+"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3":
version: 4.3.4
resolution: "debug@npm:4.3.4"
dependencies:
@@ -9423,6 +9477,13 @@ __metadata:
languageName: node
linkType: hard
+"eastasianwidth@npm:^0.2.0":
+ version: 0.2.0
+ resolution: "eastasianwidth@npm:0.2.0"
+ checksum: 7d00d7cd8e49b9afa762a813faac332dee781932d6f2c848dc348939c4253f1d4564341b7af1d041853bc3f32c2ef141b58e0a4d9862c17a7f08f68df1e0f1ed
+ languageName: node
+ linkType: hard
+
"ee-first@npm:1.1.1":
version: 1.1.1
resolution: "ee-first@npm:1.1.1"
@@ -10203,7 +10264,7 @@ __metadata:
languageName: node
linkType: hard
-"execa@npm:^5.0.0":
+"execa@npm:^5.0.0, execa@npm:^5.1.1":
version: 5.1.1
resolution: "execa@npm:5.1.1"
dependencies:
@@ -12336,6 +12397,13 @@ __metadata:
languageName: node
linkType: hard
+"is-fullwidth-code-point@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "is-fullwidth-code-point@npm:4.0.0"
+ checksum: 8ae89bf5057bdf4f57b346fb6c55e9c3dd2549983d54191d722d5c739397a903012cc41a04ee3403fd872e811243ef91a7c5196da7b5841dc6b6aae31a264a8d
+ languageName: node
+ linkType: hard
+
"is-function@npm:^1.0.2":
version: 1.0.2
resolution: "is-function@npm:1.0.2"
@@ -13094,6 +13162,13 @@ __metadata:
languageName: node
linkType: hard
+"lilconfig@npm:2.0.4":
+ version: 2.0.4
+ resolution: "lilconfig@npm:2.0.4"
+ checksum: 02ae530aa49218d782eb79e92c600ea5220828987f85aa3403fa512cadc7efe38c0ac7d0cd2edf600ad3fae1f6c1752f5b4bb78c0d9950435b044d53d507c9e1
+ languageName: node
+ linkType: hard
+
"lilconfig@npm:^2.0.5":
version: 2.0.5
resolution: "lilconfig@npm:2.0.5"
@@ -13108,6 +13183,51 @@ __metadata:
languageName: node
linkType: hard
+"lint-staged@npm:^12.3.8":
+ version: 12.3.8
+ resolution: "lint-staged@npm:12.3.8"
+ dependencies:
+ cli-truncate: ^3.1.0
+ colorette: ^2.0.16
+ commander: ^8.3.0
+ debug: ^4.3.3
+ execa: ^5.1.1
+ lilconfig: 2.0.4
+ listr2: ^4.0.1
+ micromatch: ^4.0.4
+ normalize-path: ^3.0.0
+ object-inspect: ^1.12.0
+ pidtree: ^0.5.0
+ string-argv: ^0.3.1
+ supports-color: ^9.2.1
+ yaml: ^1.10.2
+ bin:
+ lint-staged: bin/lint-staged.js
+ checksum: af6a89ae4244e4eac7180c6e7da452f378fd156ff38eaa666ecbb78f1e2efb7f1a9fc766dcc1cdde2bd76e03da68e602056ca9d2f1c6e46cf10aa83d20bf4d49
+ languageName: node
+ linkType: hard
+
+"listr2@npm:^4.0.1":
+ version: 4.0.5
+ resolution: "listr2@npm:4.0.5"
+ dependencies:
+ cli-truncate: ^2.1.0
+ colorette: ^2.0.16
+ log-update: ^4.0.0
+ p-map: ^4.0.0
+ rfdc: ^1.3.0
+ rxjs: ^7.5.5
+ through: ^2.3.8
+ wrap-ansi: ^7.0.0
+ peerDependencies:
+ enquirer: ">= 2.3.0 < 3"
+ peerDependenciesMeta:
+ enquirer:
+ optional: true
+ checksum: 7af31851abe25969ef0581c6db808117e36af15b131401795182427769d9824f451ba9e8aff6ccd25b6a4f6c8796f816292caf08e5f1f9b1775e8e9c313dc6c5
+ languageName: node
+ linkType: hard
+
"load-json-file@npm:^1.0.0":
version: 1.1.0
resolution: "load-json-file@npm:1.1.0"
@@ -13252,6 +13372,18 @@ __metadata:
languageName: node
linkType: hard
+"log-update@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "log-update@npm:4.0.0"
+ dependencies:
+ ansi-escapes: ^4.3.0
+ cli-cursor: ^3.1.0
+ slice-ansi: ^4.0.0
+ wrap-ansi: ^6.2.0
+ checksum: ae2f85bbabc1906034154fb7d4c4477c79b3e703d22d78adee8b3862fa913942772e7fa11713e3d96fb46de4e3cabefbf5d0a544344f03b58d3c4bff52aa9eb2
+ languageName: node
+ linkType: hard
+
"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0":
version: 1.4.0
resolution: "loose-envify@npm:1.4.0"
@@ -14060,7 +14192,7 @@ __metadata:
languageName: node
linkType: hard
-"next@npm:12.1.5, next@npm:^12.1.5":
+"next@npm:*, next@npm:12.1.5, next@npm:^12.1.5":
version: 12.1.5
resolution: "next@npm:12.1.5"
dependencies:
@@ -14572,7 +14704,7 @@ __metadata:
languageName: node
linkType: hard
-"onetime@npm:^5.1.2":
+"onetime@npm:^5.1.0, onetime@npm:^5.1.2":
version: 5.1.2
resolution: "onetime@npm:5.1.2"
dependencies:
@@ -15069,6 +15201,15 @@ __metadata:
languageName: node
linkType: hard
+"pidtree@npm:^0.5.0":
+ version: 0.5.0
+ resolution: "pidtree@npm:0.5.0"
+ bin:
+ pidtree: bin/pidtree.js
+ checksum: 371cd14bbc9bdee2a6a44596dd521dd3565e223481e0b1afffdca3f1c29831850bfa7784114dc30d245d37e7d186cec035e036256b39f75d878d19498fe0df6a
+ languageName: node
+ linkType: hard
+
"pify@npm:^2.0.0":
version: 2.3.0
resolution: "pify@npm:2.3.0"
@@ -15839,7 +15980,7 @@ __metadata:
"@types/react-syntax-highlighter": ^13.5.2
"@types/styled-components": "*"
katex: ^0.15.3
- next: ^12.1.5
+ next: "*"
react-syntax-highlighter: ^15.5.0
peerDependencies:
react: "*"
@@ -16623,6 +16764,16 @@ __metadata:
languageName: node
linkType: hard
+"restore-cursor@npm:^3.1.0":
+ version: 3.1.0
+ resolution: "restore-cursor@npm:3.1.0"
+ dependencies:
+ onetime: ^5.1.0
+ signal-exit: ^3.0.2
+ checksum: f877dd8741796b909f2a82454ec111afb84eb45890eb49ac947d87991379406b3b83ff9673a46012fca0d7844bb989f45cc5b788254cf1a39b6b5a9659de0630
+ languageName: node
+ linkType: hard
+
"ret@npm:~0.1.10":
version: 0.1.15
resolution: "ret@npm:0.1.15"
@@ -16651,6 +16802,13 @@ __metadata:
languageName: node
linkType: hard
+"rfdc@npm:^1.3.0":
+ version: 1.3.0
+ resolution: "rfdc@npm:1.3.0"
+ checksum: fb2ba8512e43519983b4c61bd3fa77c0f410eff6bae68b08614437bc3f35f91362215f7b4a73cbda6f67330b5746ce07db5dd9850ad3edc91271ad6deea0df32
+ languageName: node
+ linkType: hard
+
"rgb-regex@npm:^1.0.1":
version: 1.0.1
resolution: "rgb-regex@npm:1.0.1"
@@ -16722,6 +16880,15 @@ __metadata:
languageName: node
linkType: hard
+"rxjs@npm:^7.5.5":
+ version: 7.5.5
+ resolution: "rxjs@npm:7.5.5"
+ dependencies:
+ tslib: ^2.1.0
+ checksum: e034f60805210cce756dd2f49664a8108780b117cf5d0e2281506e9e6387f7b4f1532d974a8c8b09314fa7a16dd2f6cff3462072a5789672b5dcb45c4173f3c6
+ languageName: node
+ linkType: hard
+
"safe-buffer@npm:5.1.1":
version: 5.1.1
resolution: "safe-buffer@npm:5.1.1"
@@ -17151,6 +17318,38 @@ __metadata:
languageName: node
linkType: hard
+"slice-ansi@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "slice-ansi@npm:3.0.0"
+ dependencies:
+ ansi-styles: ^4.0.0
+ astral-regex: ^2.0.0
+ is-fullwidth-code-point: ^3.0.0
+ checksum: 5ec6d022d12e016347e9e3e98a7eb2a592213a43a65f1b61b74d2c78288da0aded781f665807a9f3876b9daa9ad94f64f77d7633a0458876c3a4fdc4eb223f24
+ languageName: node
+ linkType: hard
+
+"slice-ansi@npm:^4.0.0":
+ version: 4.0.0
+ resolution: "slice-ansi@npm:4.0.0"
+ dependencies:
+ ansi-styles: ^4.0.0
+ astral-regex: ^2.0.0
+ is-fullwidth-code-point: ^3.0.0
+ checksum: 4a82d7f085b0e1b070e004941ada3c40d3818563ac44766cca4ceadd2080427d337554f9f99a13aaeb3b4a94d9964d9466c807b3d7b7541d1ec37ee32d308756
+ languageName: node
+ linkType: hard
+
+"slice-ansi@npm:^5.0.0":
+ version: 5.0.0
+ resolution: "slice-ansi@npm:5.0.0"
+ dependencies:
+ ansi-styles: ^6.0.0
+ is-fullwidth-code-point: ^4.0.0
+ checksum: 7e600a2a55e333a21ef5214b987c8358fe28bfb03c2867ff2cbf919d62143d1812ac27b4297a077fdaf27a03da3678e49551c93e35f9498a3d90221908a1180e
+ languageName: node
+ linkType: hard
+
"smart-buffer@npm:^4.2.0":
version: 4.2.0
resolution: "smart-buffer@npm:4.2.0"
@@ -17523,6 +17722,13 @@ __metadata:
languageName: node
linkType: hard
+"string-argv@npm:^0.3.1":
+ version: 0.3.1
+ resolution: "string-argv@npm:0.3.1"
+ checksum: efbd0289b599bee808ce80820dfe49c9635610715429c6b7cc50750f0437e3c2f697c81e5c390208c13b5d5d12d904a1546172a88579f6ee5cbaaaa4dc9ec5cf
+ languageName: node
+ linkType: hard
+
"string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3":
version: 4.2.3
resolution: "string-width@npm:4.2.3"
@@ -17534,6 +17740,17 @@ __metadata:
languageName: node
linkType: hard
+"string-width@npm:^5.0.0":
+ version: 5.1.2
+ resolution: "string-width@npm:5.1.2"
+ dependencies:
+ eastasianwidth: ^0.2.0
+ emoji-regex: ^9.2.2
+ strip-ansi: ^7.0.1
+ checksum: 7369deaa29f21dda9a438686154b62c2c5f661f8dda60449088f9f980196f7908fc39fdd1803e3e01541970287cf5deae336798337e9319a7055af89dafa7193
+ languageName: node
+ linkType: hard
+
"string.prototype.matchall@npm:^4.0.0 || ^3.0.1, string.prototype.matchall@npm:^4.0.6":
version: 4.0.7
resolution: "string.prototype.matchall@npm:4.0.7"
@@ -17637,7 +17854,7 @@ __metadata:
languageName: node
linkType: hard
-"strip-ansi@npm:^7.0.0":
+"strip-ansi@npm:^7.0.0, strip-ansi@npm:^7.0.1":
version: 7.0.1
resolution: "strip-ansi@npm:7.0.1"
dependencies:
@@ -17818,6 +18035,13 @@ __metadata:
languageName: node
linkType: hard
+"supports-color@npm:^9.2.1":
+ version: 9.2.2
+ resolution: "supports-color@npm:9.2.2"
+ checksum: 976d84877402fc38c1d43b1fde20b0a8dc0283273f21cfebe4ff7507d27543cdfbeec7db108a96b82d694465f06d64e8577562b05d0520b41710088e0a33cc50
+ languageName: node
+ linkType: hard
+
"supports-preserve-symlinks-flag@npm:^1.0.0":
version: 1.0.0
resolution: "supports-preserve-symlinks-flag@npm:1.0.0"
@@ -18082,7 +18306,7 @@ __metadata:
languageName: node
linkType: hard
-"through@npm:>=2.2.7 <3":
+"through@npm:>=2.2.7 <3, through@npm:^2.3.8":
version: 2.3.8
resolution: "through@npm:2.3.8"
checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd
@@ -18377,6 +18601,13 @@ __metadata:
languageName: node
linkType: hard
+"type-fest@npm:^0.21.3":
+ version: 0.21.3
+ resolution: "type-fest@npm:0.21.3"
+ checksum: e6b32a3b3877f04339bae01c193b273c62ba7bfc9e325b8703c4ee1b32dc8fe4ef5dfa54bf78265e069f7667d058e360ae0f37be5af9f153b22382cd55a9afe0
+ languageName: node
+ linkType: hard
+
"type-fest@npm:^0.6.0":
version: 0.6.0
resolution: "type-fest@npm:0.6.0"
@@ -19453,6 +19684,17 @@ __metadata:
languageName: node
linkType: hard
+"wrap-ansi@npm:^6.2.0":
+ version: 6.2.0
+ resolution: "wrap-ansi@npm:6.2.0"
+ dependencies:
+ ansi-styles: ^4.0.0
+ string-width: ^4.1.0
+ strip-ansi: ^6.0.0
+ checksum: 6cd96a410161ff617b63581a08376f0cb9162375adeb7956e10c8cd397821f7eb2a6de24eb22a0b28401300bf228c86e50617cd568209b5f6775b93c97d2fe3a
+ languageName: node
+ linkType: hard
+
"wrap-ansi@npm:^7.0.0":
version: 7.0.0
resolution: "wrap-ansi@npm:7.0.0"