-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove old "tech-doc-hugo" name which was triggering Snyk vulnerability scans. Replaced it with currenty docsy contents. This was from an older version of docsy: google/docsy-example#45 Looks like this name was taken over at one point: https://security.snyk.io/vuln/SNYK-JS-TECHDOCHUGO-5870392. The scan is triggering even though the name is just the same (even if we aren't and never were using that package).
- Loading branch information
1 parent
35f2df1
commit 0d4f8c2
Showing
1 changed file
with
32 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,38 @@ | ||
{ | ||
"name": "tech-doc-hugo", | ||
"version": "0.0.1", | ||
"description": "Hugo theme for technical documentation.", | ||
"main": "none.js", | ||
"name": "docsy-example-site", | ||
"version": "0.7.1", | ||
"description": "Example site that uses Docsy theme for technical documentation.", | ||
"repository": "github:google/docsy-example", | ||
"homepage": "https://example.docsy.dev", | ||
"author": "Docsy Authors", | ||
"license": "Apache-2.0", | ||
"bugs": "https://github.com/google/docsy-example/issues", | ||
"spelling": "cSpell:ignore HTMLTEST precheck postbuild -", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"_build": "npm run _hugo-dev", | ||
"_check:links": "echo IMPLEMENTATION PENDING for check-links; echo", | ||
"_hugo": "hugo --cleanDestinationDir", | ||
"_hugo-dev": "npm run _hugo -- -e dev -DFE", | ||
"_serve": "npm run _hugo-dev -- --minify serve", | ||
"build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"", | ||
"build:production": "npm run _hugo -- --minify", | ||
"build": "npm run _build", | ||
"check:links:all": "HTMLTEST_ARGS= npm run _check:links", | ||
"check:links": "npm run _check:links", | ||
"clean": "rm -Rf public/* resources", | ||
"make:public": "git init -b main public", | ||
"precheck:links:all": "npm run build", | ||
"precheck:links": "npm run build", | ||
"postbuild:preview": "npm run _check:links", | ||
"postbuild:production": "npm run _check:links", | ||
"serve": "npm run _serve", | ||
"test": "npm run check:links", | ||
"update:pkg:dep": "npm install --save-dev autoprefixer@latest postcss-cli@latest", | ||
"update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/google/docsy-example.git" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/google/docsy-example/issues" | ||
}, | ||
"homepage": "https://github.com/google/docsy-example#readme", | ||
"devDependencies": { | ||
"autoprefixer": "^10.4.0", | ||
"postcss": "^8.3.7", | ||
"postcss-cli": "^9.1.0" | ||
"autoprefixer": "^10.4.14", | ||
"hugo-extended": "0.117.0", | ||
"postcss-cli": "^10.1.0" | ||
} | ||
} |