From a4f8c20757015c83b23ce0945c0e1a0cb1d261b3 Mon Sep 17 00:00:00 2001 From: aurindam Date: Tue, 16 Jul 2024 15:42:22 +0200 Subject: [PATCH] Add package-lock.json --- .github/workflows/deploy-releases.yml | 8 ++------ .github/workflows/deploy-snapshots.yml | 10 +++------- releases/package-lock.json | 13 +++++++++++++ snapshots/package-lock.json | 13 +++++++++++++ 4 files changed, 31 insertions(+), 13 deletions(-) create mode 100644 releases/package-lock.json create mode 100644 snapshots/package-lock.json diff --git a/.github/workflows/deploy-releases.yml b/.github/workflows/deploy-releases.yml index e044aa92a..cb7c4ce66 100644 --- a/.github/workflows/deploy-releases.yml +++ b/.github/workflows/deploy-releases.yml @@ -22,7 +22,7 @@ jobs: git config --global user.name "${GITHUB_ACTOR}" ssh-agent sh -c 'echo "${{ secrets.WEBSITE_READ_SSH_KEY }}" | ssh-add - && git clone git@github.com:slint-ui/website.git --depth 1' - - name: Copy index.html and 404.html + - name: Copy docs.html and 404.html run: | mkdir -p website/output cd website @@ -34,15 +34,11 @@ jobs: - name: Install Netlify run: | - npm install netlify-cli@17.10.1 -g + npm install netlify-cli --save-dev - name: Install Dependencies run: | npm ci - - - name: Build project - run: | - npm run build - name: Deploy to Netlify id: netlify_deploy diff --git a/.github/workflows/deploy-snapshots.yml b/.github/workflows/deploy-snapshots.yml index 79d481ca2..1cd77c4f3 100644 --- a/.github/workflows/deploy-snapshots.yml +++ b/.github/workflows/deploy-snapshots.yml @@ -22,7 +22,7 @@ jobs: git config --global user.name "${GITHUB_ACTOR}" ssh-agent sh -c 'echo "${{ secrets.WEBSITE_READ_SSH_KEY }}" | ssh-add - && git clone git@github.com:slint-ui/website.git --depth 1' - - name: Copy index.html and 404.html + - name: Copy docs.html and 404.html run: | mkdir -p website/output cd website @@ -34,15 +34,11 @@ jobs: - name: Install Netlify run: | - npm install netlify-cli@17.10.1 -g - + npm install netlify-cli --save-dev + - name: Install Dependencies run: | npm ci - - - name: Build project - run: | - npm run build - name: Deploy to Netlify id: netlify_deploy diff --git a/releases/package-lock.json b/releases/package-lock.json new file mode 100644 index 000000000..5a2509e32 --- /dev/null +++ b/releases/package-lock.json @@ -0,0 +1,13 @@ +{ + "name": "releases", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "releases", + "version": "1.0.0", + "license": "SEE LICENSE IN https://github.com/slint-ui/www-releases/blob/master/LICENSE.md" + } + } +} diff --git a/snapshots/package-lock.json b/snapshots/package-lock.json new file mode 100644 index 000000000..20d3d3ad5 --- /dev/null +++ b/snapshots/package-lock.json @@ -0,0 +1,13 @@ +{ + "name": "snapshots", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "snapshots", + "version": "1.0.0", + "license": "SEE LICENSE IN https://github.com/slint-ui/www-releases/blob/master/LICENSE.md" + } + } +}