Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Commit 7f9ed69

Browse files
author
Sujaykumar
authored
repo update (#3)
* Delete .github/workflows/codeql.yml * Update dependabot.yml * Delete dist directory * Update package.json * Delete package-lock.json * Update .gitignore * Update README.md * Update publish.yml
1 parent d1421d2 commit 7f9ed69

File tree

9 files changed

+17
-3552
lines changed

9 files changed

+17
-3552
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ updates:
1010
- package-ecosystem: "npm"
1111
directory: "/"
1212
schedule:
13-
interval: "daily"
13+
interval: "weekly"
1414
# ignore:
1515
# - dependency-name: "packagesToIgnore"

.github/workflows/codeql.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
# Pull Source Code
1818
-
1919
name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121

2222
- name: Set env
2323
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
2424

2525
# Use nodejs
26-
- uses: actions/setup-node@v1
26+
- uses: actions/setup-node@v3
2727
with:
28-
node-version: '16.x'
28+
node-version: '20.x'
2929

3030
# Install npm packages
3131
- run: npm install
@@ -36,7 +36,8 @@ jobs:
3636
- run: sed -i -e 's/REL_VER_NUMBER/${{ env.RELEASE_VERSION }}/g' src/plugin.css
3737

3838
# dist setup
39-
- run: rm -rf dist/.git* # delete .git* files in dist
39+
- run: |
40+
[ ! -d ./dist ] && mkdir ./dist || echo 'dist dir already exists!'
4041
- run: echo ARCHIVE="docsify-plugin-footer-${{ env.RELEASE_VERSION }}.zip" >> $GITHUB_ENV
4142
- run: mv LICENSE LICENSE.txt
4243

@@ -45,15 +46,15 @@ jobs:
4546

4647
# Publish to npm
4748
- name: "🚀 Publish to npm"
48-
uses: JS-DevTools/npm-publish@v1
49+
uses: JS-DevTools/npm-publish@v2
4950
with:
5051
token: ${{ secrets.NPM_TOKEN }}
5152
access: "public"
5253
check-version: true
5354

5455
# Publish to github npm
5556
- name: "🚀 Publish to github npm"
56-
uses: JS-DevTools/npm-publish@v1
57+
uses: JS-DevTools/npm-publish@v2
5758
with:
5859
token: ${{ secrets.GITHUB_TOKEN }}
5960
access: "public"
@@ -83,4 +84,4 @@ jobs:
8384
files: |
8485
${{ env.ARCHIVE }}
8586
${{ env.ARCHIVE }}.sha256
86-
${{ env.ARCHIVE }}.md5
87+
${{ env.ARCHIVE }}.md5

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ Temporary Items
8585
## Custom config
8686
!.gitkeep
8787
.env
88+
./dist
8889

8990
## npm
9091
node_modules
91-
npm-debug.log
92+
npm-debug.log
93+
package-lock.json

README.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A simple plugin to add page footer to [docsify](https://github.com/docsifyjs/docsify/)
44

5-
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sujaykumarh/docsify-plugin-footer/Build%20&%20Publish%20package)](https://github.com/Sujaykumarh/docsify-plugin-footer/actions)
5+
<!--[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sujaykumarh/docsify-plugin-footer/Build%20&%20Publish%20package)](https://github.com/Sujaykumarh/docsify-plugin-footer/actions)-->
66
[![GitHub package.json version](https://img.shields.io/github/package-json/v/sujaykumarh/docsify-plugin-footer)](https://www.npmjs.com/package/@sujaykumarh/docsify-plugin-footer)
77
[![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hm/@sujaykumarh/docsify-plugin-footer)](https://www.jsdelivr.com/package/npm/@sujaykumarh/docsify-plugin-footer)
88

@@ -128,18 +128,4 @@ npm run minify:js # generate minified js resources in ./dist
128128
129129
# 📄 License
130130
131-
```
132-
Copyright (c) 2021 Sujaykumar.Hublikar <[email protected]>
133-
134-
Licensed under the Apache License, Version 2.0 (the "License");
135-
you may not use this file except in compliance with the License.
136-
You may obtain a copy of the License at
137-
138-
http://www.apache.org/licenses/LICENSE-2.0
139-
140-
Unless required by applicable law or agreed to in writing, software
141-
distributed under the License is distributed on an "AS IS" BASIS,
142-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
143-
See the License for the specific language governing permissions and
144-
limitations under the License.
145-
```
131+
Copyright (c) 2021 [Sujay H](https://github.com/sujaykumarh) Licensed under `Apache License v2.0` read [LICENSE](./LICENSE)

dist/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

dist/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)