diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 211b448..c1b351f 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -8,12 +8,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.10' - run: pip install -r requirements.txt - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: '18' - run: npm install diff --git a/docs/lab0/linux.md b/docs/lab0/linux.md index 914068e..c552d0b 100644 --- a/docs/lab0/linux.md +++ b/docs/lab0/linux.md @@ -230,7 +230,7 @@ ssh -p 1145 虚拟机用户名@127.0.0.1 我们已经成功通过 VSCode 连接了虚拟机,下面是一些简单的使用指导。 -首先在 VSCode 中,我们可以使用快捷键 `` CTRL + ` `` 打开终端: +首先在 VSCode 中,我们可以使用快捷键 ``CTRL + ` `` 打开终端: ![image-20230907233217641](photos/image-20230907233217641.png) diff --git a/package-lock.json b/package-lock.json index 4f9967a..f7093bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,7 +1,7 @@ { "name": "2023", "version": "1.0.0", - "lockfileVersion": 2, + "lockfileVersion": 3, "requires": true, "packages": { "": { @@ -9,7 +9,7 @@ "version": "1.0.0", "dependencies": { "autocorrect-node": "^2.8.4", - "prettier": "^2.5.1" + "prettier": "^3.1.0" } }, "node_modules/autocorrect-node": { @@ -106,64 +106,18 @@ } }, "node_modules/prettier": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.1.tgz", - "integrity": "sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz", + "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==", "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" - } - } - }, - "dependencies": { - "autocorrect-node": { - "version": "2.8.4", - "resolved": "https://registry.npmjs.org/autocorrect-node/-/autocorrect-node-2.8.4.tgz", - "integrity": "sha512-65DUHJhIUwAlEtyDjYxE94sTT2anQtGXrPB7W9fdrk/Bm7ro4b7mjxQAP14lQlISXXtbNEJO1WABMqNpNbTjxQ==", - "requires": { - "autocorrect-node-darwin-arm64": "2.8.4", - "autocorrect-node-darwin-x64": "2.8.4", - "autocorrect-node-linux-x64-gnu": "2.8.4", - "autocorrect-node-linux-x64-musl": "2.8.4", - "autocorrect-node-win32-x64-msvc": "2.8.4" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" } - }, - "autocorrect-node-darwin-arm64": { - "version": "2.8.4", - "resolved": "https://registry.npmjs.org/autocorrect-node-darwin-arm64/-/autocorrect-node-darwin-arm64-2.8.4.tgz", - "integrity": "sha512-eJFsrZZZUJVPTbdA6hAmVUbTBaznIfkIwstcfn02CXLVKq15j00CXkNytQIdmKpBraTmxjub9kQvYY0Nz2h4DQ==", - "optional": true - }, - "autocorrect-node-darwin-x64": { - "version": "2.8.4", - "resolved": "https://registry.npmjs.org/autocorrect-node-darwin-x64/-/autocorrect-node-darwin-x64-2.8.4.tgz", - "integrity": "sha512-3QheEz2VgZnJcId7zgzbyC88CSmyHg+F93Bw5wsf7dTSwhVdnXeIIlYtXzFabp+c2aCi9lRAQkHFC9Om1CYkuQ==", - "optional": true - }, - "autocorrect-node-linux-x64-gnu": { - "version": "2.8.4", - "resolved": "https://registry.npmjs.org/autocorrect-node-linux-x64-gnu/-/autocorrect-node-linux-x64-gnu-2.8.4.tgz", - "integrity": "sha512-0nR3VnxpfU6HINQiZjC2cz1YVxOTCn529VPqHsWz2H03BPbS9YskGzbRpujnLvwLCyyDlYXJJneFYD1G+9VPaA==", - "optional": true - }, - "autocorrect-node-linux-x64-musl": { - "version": "2.8.4", - "resolved": "https://registry.npmjs.org/autocorrect-node-linux-x64-musl/-/autocorrect-node-linux-x64-musl-2.8.4.tgz", - "integrity": "sha512-2LtKtaN6YWUnDtBpo2w5c7FSulozbt2kv9UigrckCX8M/AOVw0MA6uB5snglmKMx1f7fYC06/V4A7Ny1weUOGA==", - "optional": true - }, - "autocorrect-node-win32-x64-msvc": { - "version": "2.8.4", - "resolved": "https://registry.npmjs.org/autocorrect-node-win32-x64-msvc/-/autocorrect-node-win32-x64-msvc-2.8.4.tgz", - "integrity": "sha512-ExcoBqRjEVnK9n2AVy/dmkiUSnvs5P/VdzI909bCjej1XgOpXonsZ4vGPEPicRfiHb8dc7whl6sh5P/TunDB7A==", - "optional": true - }, - "prettier": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.1.tgz", - "integrity": "sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==" } } } diff --git a/package.json b/package.json index da3d7bd..f74e9ba 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,6 @@ "homepage": "https://github.com/ustc-compiler-principles/2023#readme", "dependencies": { "autocorrect-node": "^2.8.4", - "prettier": "^2.5.1" + "prettier": "^3.1.0" } }