diff --git a/package.json b/package.json index cad25c6..33d4aef 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,10 @@ "author": "nanxiaobei ", "license": "MIT", "scripts": { - "__FOR_DEV__": "please change all `192.168.0.122` to your local IP", + "__FOR_DEV__": "please change all `192.168.0.161` to your local IP", "dev:tailwind": "pnpm tailwindcss -i ./assets/app.css -o ./assets/main.css --watch", - "dev:server": "hugo server --buildDrafts --watch --minify --disableFastRender --themesDir=../.. --source=exampleSite --baseURL=192.168.0.122 --bind=192.168.0.122 --port=1313", - "dev:open": "open http://192.168.0.122:1313/", + "dev:server": "hugo server --buildDrafts --watch --minify --disableFastRender --themesDir=../.. --source=exampleSite --baseURL=192.168.0.161 --bind=192.168.0.161 --port=1313", + "dev:open": "open http://192.168.0.161:1313/", "build:go": "cp exampleSite/go.default.mod exampleSite/go.mod", "build:generate": "hugo --gc --minify --themesDir=../.. --source=exampleSite --config=go.toml,config.toml", "dev": "killall hugo & pnpm dev:tailwind & pnpm dev:server & pnpm dev:open", @@ -16,8 +16,8 @@ }, "dependencies": { "@tailwindcss/typography": "^0.5.9", - "prettier": "^2.8.2", - "prettier-plugin-tailwindcss": "^0.2.1", + "prettier": "^2.8.3", + "prettier-plugin-tailwindcss": "^0.2.2", "stylelint": "^14.16.1", "stylelint-config-one": "^2.3.1", "tailwindcss": "^3.2.4" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6d66e7d..57bb50e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2,16 +2,16 @@ lockfileVersion: 5.4 specifiers: '@tailwindcss/typography': ^0.5.9 - prettier: ^2.8.2 - prettier-plugin-tailwindcss: ^0.2.1 + prettier: ^2.8.3 + prettier-plugin-tailwindcss: ^0.2.2 stylelint: ^14.16.1 stylelint-config-one: ^2.3.1 tailwindcss: ^3.2.4 dependencies: '@tailwindcss/typography': 0.5.9_tailwindcss@3.2.4 - prettier: 2.8.2 - prettier-plugin-tailwindcss: 0.2.1_prettier@2.8.2 + prettier: 2.8.3 + prettier-plugin-tailwindcss: 0.2.2_prettier@2.8.3 stylelint: 14.16.1 stylelint-config-one: 2.3.1_stylelint@14.16.1 tailwindcss: 3.2.4 @@ -39,11 +39,11 @@ packages: js-tokens: 4.0.0 dev: false - /@csstools/selector-specificity/2.0.2_wajs5nedgkikc5pcuwett7legi: - resolution: {integrity: sha512-IkpVW/ehM1hWKln4fCA3NzJU8KwD+kIOvPZA4cqxoJHtE21CCzjyp+Kxbu0i5I4tBNOlXPL9mjwnWlL0VEG4Fg==} - engines: {node: ^12 || ^14 || >=16} + /@csstools/selector-specificity/2.1.1_wajs5nedgkikc5pcuwett7legi: + resolution: {integrity: sha512-jwx+WCqszn53YHOfvFMJJRd/B2GqkCBt+1MJSG6o5/s8+ytHMvDZXsJgUEWLk12UnLd7HYKac4BYU5i/Ron1Cw==} + engines: {node: ^14 || ^16 || >=18} peerDependencies: - postcss: ^8.2 + postcss: ^8.4 postcss-selector-parser: ^6.0.10 dependencies: postcss: 8.4.21 @@ -988,23 +988,66 @@ packages: source-map-js: 1.0.2 dev: false - /prettier-plugin-tailwindcss/0.2.1_prettier@2.8.2: - resolution: {integrity: sha512-aIO8IguumORyRsmT+E7JfJ3A9FEoyhqZR7Au7TBOege3VZkgMvHJMkufeYp4zjnDK2iq4ktkvGMNOQR9T8lisQ==} + /prettier-plugin-tailwindcss/0.2.2_prettier@2.8.3: + resolution: {integrity: sha512-5RjUbWRe305pUpc48MosoIp6uxZvZxrM6GyOgsbGLTce+ehePKNm7ziW2dLG2air9aXbGuXlHVSQQw4Lbosq3w==} engines: {node: '>=12.17.0'} peerDependencies: + '@prettier/plugin-php': '*' + '@prettier/plugin-pug': '*' + '@shopify/prettier-plugin-liquid': '*' + '@shufo/prettier-plugin-blade': '*' + '@trivago/prettier-plugin-sort-imports': '*' prettier: '>=2.2.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: '*' + prettier-plugin-twig-melody: '*' + peerDependenciesMeta: + '@prettier/plugin-php': + 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-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 dependencies: - prettier: 2.8.2 + prettier: 2.8.3 dev: false - /prettier/2.8.2: - resolution: {integrity: sha512-BtRV9BcncDyI2tsuS19zzhzoxD8Dh8LiCx7j7tHzrkz8GFXAexeWFdi22mjE1d16dftH2qNaytVxqiRTGlMfpw==} + /prettier/2.8.3: + resolution: {integrity: sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==} engines: {node: '>=10.13.0'} hasBin: true dev: false - /punycode/2.2.0: - resolution: {integrity: sha512-LN6QV1IJ9ZhxWTNdktaPClrNfp8xdSAYS0Zk2ddX7XsXZAxckMHPCBcHRo0cTcEIgYPRiGEkmji3Idkh2yFtYw==} + /punycode/2.3.0: + resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} engines: {node: '>=6'} dev: false @@ -1320,7 +1363,7 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} hasBin: true dependencies: - '@csstools/selector-specificity': 2.0.2_wajs5nedgkikc5pcuwett7legi + '@csstools/selector-specificity': 2.1.1_wajs5nedgkikc5pcuwett7legi balanced-match: 2.0.0 colord: 2.9.3 cosmiconfig: 7.1.0 @@ -1466,7 +1509,7 @@ packages: /uri-js/4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} dependencies: - punycode: 2.2.0 + punycode: 2.3.0 dev: false /util-deprecate/1.0.2: