From 3801e6dc9d597306222c6c7a9db184cca8da97eb Mon Sep 17 00:00:00 2001 From: Julien Wajsberg Date: Fri, 9 Feb 2024 14:00:06 +0100 Subject: [PATCH 1/6] Update prettier --- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0e5b02985..156cab710 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "expect.js": "^0.3.1", "http-server": "^14.1.1", "mocha": "^10.2.0", - "prettier": "^2.8.3", + "prettier": "^3.3.1", "selenium-webdriver": "^4.8.0", "sinon": "^17.0.1", "typescript": "^5.0.4" @@ -5184,15 +5184,15 @@ } }, "node_modules/prettier": { - "version": "2.8.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz", - "integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.1.tgz", + "integrity": "sha512-7CAwy5dRsxs8PHXT3twixW9/OEll8MLE0VRPCJyl7CkS6VHGPSlsVaWTiASPTyGyYRyApxlaWTzwUxVNrhcwDg==", "dev": true, "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" @@ -10494,9 +10494,9 @@ "dev": true }, "prettier": { - "version": "2.8.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz", - "integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.1.tgz", + "integrity": "sha512-7CAwy5dRsxs8PHXT3twixW9/OEll8MLE0VRPCJyl7CkS6VHGPSlsVaWTiASPTyGyYRyApxlaWTzwUxVNrhcwDg==", "dev": true }, "process-nextick-args": { diff --git a/package.json b/package.json index 0f602e7e3..e51bf784a 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ "@babel/core": "^7.21.3", "@babel/eslint-parser": "^7.21.3", "@babel/plugin-proposal-decorators": "^7.21.0", - "@nuxt/eslint-config": "^0.1.1", "@next/eslint-plugin-next": "^13.4.5", + "@nuxt/eslint-config": "^0.1.1", "@typescript-eslint/eslint-plugin": "^5.59.0", "@typescript-eslint/parser": "^5.59.0", "command-line-args": "^5.2.1", @@ -44,7 +44,7 @@ "expect.js": "^0.3.1", "http-server": "^14.1.1", "mocha": "^10.2.0", - "prettier": "^2.8.3", + "prettier": "^3.3.1", "selenium-webdriver": "^4.8.0", "sinon": "^17.0.1", "typescript": "^5.0.4" From 180c5b41bfe6641b65b6bcfbb4644b6b757fd937 Mon Sep 17 00:00:00 2001 From: Julien Wajsberg Date: Wed, 5 Jun 2024 13:56:36 +0200 Subject: [PATCH 2/6] Run prettier after upgrade --- InteractiveRunner.html | 2 +- about.html | 2 +- index.html | 2 +- instructions.html | 2 +- resources/charts/chartjs.html | 2 +- resources/charts/developer.html | 2 +- resources/charts/index.html | 2 +- resources/charts/observable-plot.html | 2 +- resources/editors/codemirror.html | 2 +- resources/editors/index.html | 2 +- resources/editors/tiptap.html | 2 +- .../news-nuxt/components/atoms/Article.vue | 10 ++-- .../components/atoms/ArticleContent.vue | 8 +-- .../components/atoms/ArticleHeader.vue | 4 +- .../components/atoms/ArticleImage.vue | 8 +-- .../news-nuxt/components/atoms/ArticleTag.vue | 8 +-- .../components/atoms/ArticleText.vue | 5 +- .../news-nuxt/components/atoms/Dialog.vue | 14 +++-- .../news-nuxt/components/atoms/Dropdown.vue | 8 +-- .../news-nuxt/components/atoms/Message.vue | 4 +- .../news-nuxt/components/atoms/Navbar.vue | 52 +++++++++---------- .../news-nuxt/components/atoms/Navlist.vue | 14 +++-- .../components/atoms/NavlistItem.vue | 24 ++++----- .../news-nuxt/components/atoms/Sitemap.vue | 19 +++---- .../news-nuxt/components/atoms/Toast.vue | 12 ++--- .../news-nuxt/components/atoms/Toggle.vue | 8 +-- .../news-nuxt/components/molecules/Footer.vue | 28 +++++----- .../news-nuxt/components/molecules/Header.vue | 12 ++--- .../news-nuxt/components/molecules/Main.vue | 12 ++--- .../components/molecules/Navigation.vue | 32 ++++++------ .../news-nuxt/components/molecules/Page.vue | 8 +-- .../components/molecules/Section.vue | 12 ++--- .../components/molecules/SettingsIcons.vue | 20 +++---- .../components/molecules/SocialIcons.vue | 22 ++++---- .../newssite/news-site-css/src/css/a11y.css | 2 +- .../app/todo-footer/todo-footer.component.ts | 5 +- .../src/app/todo-list/todo-list.component.ts | 5 +- .../angular/src/index.html | 2 +- .../architecture-examples/backbone/index.html | 2 +- .../architecture-examples/lit/index.html | 8 ++- .../lit/src/lib/todo-app.ts | 4 +- .../lit/src/lib/todo-footer.ts | 7 ++- .../preact/public/index.html | 2 +- .../react-redux/public/index.html | 2 +- .../react/public/index.html | 2 +- .../svelte/public/index.html | 2 +- .../vue/public/index.html | 2 +- .../todomvc/big-dom-generator/utils/app.css | 17 ++++-- .../utils/web-components-css/app.css | 6 ++- resources/todomvc/todomvc-css/index.html | 2 +- resources/todomvc/todomvc-css/src/css/app.css | 4 +- .../todomvc/todomvc-css/src/css/bottombar.css | 7 ++- .../todomvc/todomvc-css/src/css/global.css | 6 ++- .../javascript-es5/index.html | 2 +- .../javascript-es6-webpack/src/index.html | 2 +- .../javascript-web-components/index.html | 2 +- resources/warmup/index.html | 2 +- tests/index.html | 2 +- 58 files changed, 249 insertions(+), 214 deletions(-) diff --git a/InteractiveRunner.html b/InteractiveRunner.html index 26bed2bfa..36fde6d0f 100644 --- a/InteractiveRunner.html +++ b/InteractiveRunner.html @@ -1,4 +1,4 @@ - + diff --git a/about.html b/about.html index 77f1c2933..03b318de7 100644 --- a/about.html +++ b/about.html @@ -1,4 +1,4 @@ - + diff --git a/index.html b/index.html index ce6e54ebe..3efc66a24 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + diff --git a/instructions.html b/instructions.html index 17e6f7b4e..7bcf77253 100644 --- a/instructions.html +++ b/instructions.html @@ -1,4 +1,4 @@ - + diff --git a/resources/charts/chartjs.html b/resources/charts/chartjs.html index e2beba853..55935b56c 100644 --- a/resources/charts/chartjs.html +++ b/resources/charts/chartjs.html @@ -1,4 +1,4 @@ - + diff --git a/resources/charts/developer.html b/resources/charts/developer.html index 571940a7b..e68b185d4 100644 --- a/resources/charts/developer.html +++ b/resources/charts/developer.html @@ -1,4 +1,4 @@ - + diff --git a/resources/charts/index.html b/resources/charts/index.html index 61e50e44b..ff8997a18 100644 --- a/resources/charts/index.html +++ b/resources/charts/index.html @@ -1,4 +1,4 @@ - + diff --git a/resources/charts/observable-plot.html b/resources/charts/observable-plot.html index 50497cb10..ba8ab412b 100644 --- a/resources/charts/observable-plot.html +++ b/resources/charts/observable-plot.html @@ -1,4 +1,4 @@ - + diff --git a/resources/editors/codemirror.html b/resources/editors/codemirror.html index b226e59a2..9dcfb4fd9 100644 --- a/resources/editors/codemirror.html +++ b/resources/editors/codemirror.html @@ -1,4 +1,4 @@ - + diff --git a/resources/editors/index.html b/resources/editors/index.html index c29865ce9..5bd33c589 100644 --- a/resources/editors/index.html +++ b/resources/editors/index.html @@ -1,4 +1,4 @@ - + diff --git a/resources/editors/tiptap.html b/resources/editors/tiptap.html index a3ae409fc..d527ca365 100644 --- a/resources/editors/tiptap.html +++ b/resources/editors/tiptap.html @@ -1,4 +1,4 @@ - + diff --git a/resources/newssite/news-nuxt/components/atoms/Article.vue b/resources/newssite/news-nuxt/components/atoms/Article.vue index c864a9800..df9c78c84 100644 --- a/resources/newssite/news-nuxt/components/atoms/Article.vue +++ b/resources/newssite/news-nuxt/components/atoms/Article.vue @@ -1,5 +1,5 @@