diff --git a/.prettierrc b/.prettierrc index 6911108..e78df48 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,8 @@ { "singleQuote": false, "tabWidth": 4, - "semi": true + "semi": true, + "plugins": [ + "prettier-plugin-foo" + ] } diff --git a/package-lock.json b/package-lock.json index 1516970..84f37a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,8 @@ "jest": "^29.4.1", "jest-environment-jsdom": "^29.4.1", "nx": "16.10.0", - "prettier": "^2.6.2", + "prettier": "^2.8.8", + "prettier-plugin-tailwindcss": "^0.5.5", "swc-loader": "0.1.15", "ts-jest": "^29.1.0", "ts-node": "10.9.1", @@ -4954,23 +4955,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/babel-plugin-macros": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", - "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", - "dev": true, - "optional": true, - "peer": true, - "dependencies": { - "@babel/runtime": "^7.12.5", - "cosmiconfig": "^7.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - } - }, "node_modules/babel-plugin-polyfill-corejs2": { "version": "0.4.5", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.5.tgz", @@ -11600,6 +11584,78 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, + "node_modules/prettier-plugin-tailwindcss": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.5.tgz", + "integrity": "sha512-voy0CjWv/CM8yeaduv5ZwovovpTGMR5LbzlhGF+LtEvMJt9wBeVTVnW781hL38R/RcDXCJwN2rolsgr94B/n0Q==", + "dev": true, + "engines": { + "node": ">=14.21.3" + }, + "peerDependencies": { + "@ianvs/prettier-plugin-sort-imports": "*", + "@prettier/plugin-pug": "*", + "@shopify/prettier-plugin-liquid": "*", + "@shufo/prettier-plugin-blade": "*", + "@trivago/prettier-plugin-sort-imports": "*", + "prettier": "^3.0", + "prettier-plugin-astro": "*", + "prettier-plugin-css-order": "*", + "prettier-plugin-import-sort": "*", + "prettier-plugin-jsdoc": "*", + "prettier-plugin-organize-attributes": "*", + "prettier-plugin-organize-imports": "*", + "prettier-plugin-style-order": "*", + "prettier-plugin-svelte": "*" + }, + "peerDependenciesMeta": { + "@ianvs/prettier-plugin-sort-imports": { + "optional": true + }, + "@prettier/plugin-pug": { + "optional": true + }, + "@shopify/prettier-plugin-liquid": { + "optional": true + }, + "@shufo/prettier-plugin-blade": { + "optional": true + }, + "@trivago/prettier-plugin-sort-imports": { + "optional": true + }, + "prettier-plugin-astro": { + "optional": true + }, + "prettier-plugin-css-order": { + "optional": true + }, + "prettier-plugin-import-sort": { + "optional": true + }, + "prettier-plugin-jsdoc": { + "optional": true + }, + "prettier-plugin-marko": { + "optional": true + }, + "prettier-plugin-organize-attributes": { + "optional": true + }, + "prettier-plugin-organize-imports": { + "optional": true + }, + "prettier-plugin-style-order": { + "optional": true + }, + "prettier-plugin-svelte": { + "optional": true + }, + "prettier-plugin-twig-melody": { + "optional": true + } + } + }, "node_modules/pretty-format": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", diff --git a/package.json b/package.json index 1f1a842..69f0a32 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "jest": "^29.4.1", "jest-environment-jsdom": "^29.4.1", "nx": "16.10.0", - "prettier": "^2.6.2", + "prettier": "^2.8.8", + "prettier-plugin-tailwindcss": "^0.5.5", "swc-loader": "0.1.15", "ts-jest": "^29.1.0", "ts-node": "10.9.1", diff --git a/part-1-html-css/src/app/app.element.ts b/part-1-html-css/src/app/app.element.ts index 85dc8a7..7aac395 100644 --- a/part-1-html-css/src/app/app.element.ts +++ b/part-1-html-css/src/app/app.element.ts @@ -11,20 +11,13 @@ export class AppElement extends HTMLElement {
PaySpace - PaySpace + + PaySpace
+