mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 12:50:20 +03:00
Update Prettier for package.json
Next sometimes wants to patch `package-lock.json`. The old Prettier setting indended with 4 spaces, but Next always indends with 2 spaces. Since `npm install` automatically uses the indendation from `package.json` for `package-lock.json` and to avoid the format switching back and forth, both files are now set to 2 spaces.
This commit is contained in:
parent
95443133f6
commit
39610dfd0f
|
@ -22,7 +22,7 @@
|
|||
{
|
||||
"files": ["package.json", "package-lock.json"],
|
||||
"options": {
|
||||
"tabWidth": 4,
|
||||
"tabWidth": 2,
|
||||
"printWidth": 80,
|
||||
"proseWrap": "always"
|
||||
}
|
||||
|
|
42034
website/package-lock.json
generated
42034
website/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -1,63 +1,63 @@
|
|||
{
|
||||
"name": "next-blog",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build && npm run sitemap && next export",
|
||||
"prebuild": "pip install -r setup/requirements.txt && sh setup/setup.sh",
|
||||
"sitemap": "next-sitemap --config next-sitemap.config.mjs",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"prettier": "prettier . --write"
|
||||
},
|
||||
"dependencies": {
|
||||
"@codemirror/lang-python": "^6.1.0",
|
||||
"@docsearch/react": "^3.3.0",
|
||||
"@jupyterlab/services": "^3.2.1",
|
||||
"@lezer/highlight": "^1.1.3",
|
||||
"@mapbox/rehype-prism": "^0.8.0",
|
||||
"@mdx-js/loader": "^2.1.5",
|
||||
"@mdx-js/react": "^2.1.5",
|
||||
"@next/mdx": "^13.0.2",
|
||||
"@rehooks/online-status": "^1.1.2",
|
||||
"@types/node": "18.11.9",
|
||||
"@types/react": "18.0.25",
|
||||
"@types/react-dom": "18.0.8",
|
||||
"@uiw/codemirror-themes": "^4.19.3",
|
||||
"@uiw/react-codemirror": "^4.19.3",
|
||||
"acorn": "^8.8.1",
|
||||
"browser-monads": "^1.0.0",
|
||||
"classnames": "^2.3.2",
|
||||
"eslint": "8.27.0",
|
||||
"eslint-config-next": "13.0.2",
|
||||
"html-to-react": "^1.5.0",
|
||||
"jinja-to-js": "^3.2.3",
|
||||
"md-attr-parser": "^1.3.0",
|
||||
"next": "13.0.2",
|
||||
"next-mdx-remote": "^4.2.0",
|
||||
"next-plausible": "^3.6.5",
|
||||
"next-pwa": "^5.6.0",
|
||||
"next-sitemap": "^3.1.32",
|
||||
"node-fetch": "^2.6.7",
|
||||
"parse-numeric-range": "^1.3.0",
|
||||
"prettier": "^2.7.1",
|
||||
"prismjs": "^1.29.0",
|
||||
"prop-types": "^15.8.1",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"react-github-btn": "^1.4.0",
|
||||
"react-inlinesvg": "^3.0.1",
|
||||
"react-intersection-observer": "^9.4.0",
|
||||
"remark": "^14.0.2",
|
||||
"remark-gfm": "^3.0.1",
|
||||
"remark-react": "^9.0.1",
|
||||
"remark-smartypants": "^2.0.0",
|
||||
"remark-unwrap-images": "^3.0.1",
|
||||
"sass": "^1.56.1",
|
||||
"typescript": "4.8.4",
|
||||
"unist-util-visit": "^4.1.1",
|
||||
"ws": "^8.11.0"
|
||||
},
|
||||
"engine": 18
|
||||
"name": "next-blog",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build && npm run sitemap && next export",
|
||||
"prebuild": "pip install -r setup/requirements.txt && sh setup/setup.sh",
|
||||
"sitemap": "next-sitemap --config next-sitemap.config.mjs",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"prettier": "prettier . --write"
|
||||
},
|
||||
"dependencies": {
|
||||
"@codemirror/lang-python": "^6.1.0",
|
||||
"@docsearch/react": "^3.3.0",
|
||||
"@jupyterlab/services": "^3.2.1",
|
||||
"@lezer/highlight": "^1.1.3",
|
||||
"@mapbox/rehype-prism": "^0.8.0",
|
||||
"@mdx-js/loader": "^2.1.5",
|
||||
"@mdx-js/react": "^2.1.5",
|
||||
"@next/mdx": "^13.0.2",
|
||||
"@rehooks/online-status": "^1.1.2",
|
||||
"@types/node": "18.11.9",
|
||||
"@types/react": "18.0.25",
|
||||
"@types/react-dom": "18.0.8",
|
||||
"@uiw/codemirror-themes": "^4.19.3",
|
||||
"@uiw/react-codemirror": "^4.19.3",
|
||||
"acorn": "^8.8.1",
|
||||
"browser-monads": "^1.0.0",
|
||||
"classnames": "^2.3.2",
|
||||
"eslint": "8.27.0",
|
||||
"eslint-config-next": "13.0.2",
|
||||
"html-to-react": "^1.5.0",
|
||||
"jinja-to-js": "^3.2.3",
|
||||
"md-attr-parser": "^1.3.0",
|
||||
"next": "13.0.2",
|
||||
"next-mdx-remote": "^4.2.0",
|
||||
"next-plausible": "^3.6.5",
|
||||
"next-pwa": "^5.6.0",
|
||||
"next-sitemap": "^3.1.32",
|
||||
"node-fetch": "^2.6.7",
|
||||
"parse-numeric-range": "^1.3.0",
|
||||
"prettier": "^2.7.1",
|
||||
"prismjs": "^1.29.0",
|
||||
"prop-types": "^15.8.1",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"react-github-btn": "^1.4.0",
|
||||
"react-inlinesvg": "^3.0.1",
|
||||
"react-intersection-observer": "^9.4.0",
|
||||
"remark": "^14.0.2",
|
||||
"remark-gfm": "^3.0.1",
|
||||
"remark-react": "^9.0.1",
|
||||
"remark-smartypants": "^2.0.0",
|
||||
"remark-unwrap-images": "^3.0.1",
|
||||
"sass": "^1.56.1",
|
||||
"typescript": "4.8.4",
|
||||
"unist-util-visit": "^4.1.1",
|
||||
"ws": "^8.11.0"
|
||||
},
|
||||
"engine": 18
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user