From 623618a04b1ebbd3ab9f4fb8b0dd424facce044e Mon Sep 17 00:00:00 2001 From: Gabriel Horner Date: Tue, 8 Jul 2025 09:24:22 -0400 Subject: [PATCH] fix: remove references to nonexistent static/yarn.lock File was removed in #11903. Also remove publishing script that has been unused for some time --- .github/workflows/build.yml | 4 +--- .gitignore | 1 - gulpfile.js | 2 +- scripts/publishing.sh | 17 ----------------- 4 files changed, 2 insertions(+), 22 deletions(-) delete mode 100755 scripts/publishing.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc22f5833f..1a34387f9b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,9 +45,7 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} cache: 'yarn' - cache-dependency-path: | - yarn.lock - static/yarn.lock + cache-dependency-path: yarn.lock - name: Set up Java uses: actions/setup-java@v3 diff --git a/.gitignore b/.gitignore index 15b7828dc0..5a4b79e640 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,6 @@ pom.xml.asc node_modules/ static/** -!static/yarn.lock tmp cljs-test-runner-out diff --git a/gulpfile.js b/gulpfile.js index 16b744503c..4fed6854f5 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -52,7 +52,7 @@ const css = { const common = { clean () { return del( - ['./static/**/*', '!./static/yarn.lock', '!./static/node_modules']) + ['./static/**/*', '!./static/node_modules']) }, syncResourceFile () { diff --git a/scripts/publishing.sh b/scripts/publishing.sh deleted file mode 100755 index dd224fedc4..0000000000 --- a/scripts/publishing.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -yarn clean && yarn release-publishing -/usr/bin/rm -rf /tmp/publishing -mkdir /tmp/publishing -cp -R ./static /tmp/publishing/ -cp ./static/404.html /tmp/publishing/ -/usr/bin/rm -rf /tmp/publishing/static/node_modules/ -/usr/bin/rm /tmp/publishing/static/electron* -/usr/bin/rm /tmp/publishing/static/forge.config.js -/usr/bin/rm /tmp/publishing/static/package.json -/usr/bin/rm /tmp/publishing/static/yarn.lock -/usr/bin/rm /tmp/publishing/static/index.html -/usr/bin/rm /tmp/publishing/static/404.html -/usr/bin/rm /tmp/publishing/static/public.css -cd /tmp/publishing/ -mv ./static/js/publishing/code-editor.js ./static/js/ -tar -zcvf /tmp/logseq_publishing.tar.gz ./