deps: bump versions to latest

This commit is contained in:
Henk Verlinde 2021-09-03 13:42:43 +02:00
parent 2e8489fa49
commit 8a9871654e
4 changed files with 2003 additions and 3658 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
bin
node_modules node_modules
public public
resources resources

View File

@ -5,26 +5,25 @@
[build.environment] [build.environment]
NODE_VERSION = "16.3.0" NODE_VERSION = "16.3.0"
NPM_VERSION = "7.16.0" NPM_VERSION = "7.16.0"
HUGO_VERSION = "0.87.0"
[context.production] [context.production]
command = "hugo --gc --minify" command = "npm run build"
[context.deploy-preview] [context.deploy-preview]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" command = "npm run build -- -b $DEPLOY_PRIME_URL"
[context.branch-deploy] [context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" command = "npm run build -- -b $DEPLOY_PRIME_URL"
[context.next] [context.next]
command = "hugo --gc --minify" command = "npm run build"
[context.next.environment] [context.next.environment]
HUGO_ENV = "next" HUGO_ENV = "next"
[dev] [dev]
framework = "#custom" framework = "#custom"
command = "shx rm -rf public resources && hugo server --bind=0.0.0.0 --disableFastRender" command = "npm run start"
targetPort = 1313 targetPort = 1313
port = 8888 port = 8888
publish = "public" publish = "public"

5629
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,29 +12,29 @@
}, },
"scripts": { "scripts": {
"init": "shx rm -rf .git && git init -b main", "init": "shx rm -rf .git && git init -b main",
"create": "exec-bin bin/hugo/hugo new", "create": "exec-bin node_modules/.bin/hugo/hugo new",
"prestart": "npm run clean", "prestart": "npm run clean",
"start": "exec-bin bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender", "start": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender",
"prebuild": "npm run clean", "prebuild": "npm run clean",
"build": "exec-bin bin/hugo/hugo --gc --minify", "build": "exec-bin node_modules/.bin/hugo/hugo --gc --minify",
"build:preview": "npm run build -D -F", "build:preview": "npm run build -D -F",
"clean": "shx rm -rf public resources", "clean": "shx rm -rf public resources",
"clean:install": "shx rm -rf package-lock.json bin node_modules ", "clean:install": "shx rm -rf package-lock.json node_modules ",
"lint": "npm run -s lint:scripts && npm run -s lint:styles && npm run -s lint:markdown", "lint": "npm run -s lint:scripts && npm run -s lint:styles && npm run -s lint:markdown",
"lint:scripts": "eslint assets/js config functions", "lint:scripts": "eslint assets/js config functions",
"lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\"", "lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\"",
"lint:markdown": "markdownlint \"*.md\" \"content/**/*.md\"", "lint:markdown": "markdownlint \"*.md\" \"content/**/*.md\"",
"server": "exec-bin bin/hugo/hugo server", "server": "exec-bin node_modules/.bin/hugo/hugo server",
"test": "npm run -s lint", "test": "npm run -s lint",
"env": "env", "env": "env",
"precheck": "npm version", "precheck": "npm version",
"check": "exec-bin bin/hugo/hugo version", "check": "exec-bin node_modules/.bin/hugo/hugo version",
"copy:katex-fonts": "shx cp ./node_modules/katex/dist/fonts/* ./static/fonts/", "copy:katex-fonts": "shx cp ./node_modules/katex/dist/fonts/* ./static/fonts/",
"postinstall": "hugo-installer --version otherDependencies.hugo --extended", "postinstall": "hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugo",
"version": "auto-changelog -p && git add CHANGELOG.md" "version": "auto-changelog -p && git add CHANGELOG.md"
}, },
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.14", "@babel/cli": "^7.15",
"@babel/core": "^7.15", "@babel/core": "^7.15",
"@babel/preset-env": "^7.15", "@babel/preset-env": "^7.15",
"@fullhuman/postcss-purgecss": "^4.0", "@fullhuman/postcss-purgecss": "^4.0",
@ -51,7 +51,7 @@
"katex": "^0.13", "katex": "^0.13",
"lazysizes": "^5.3", "lazysizes": "^5.3",
"markdownlint-cli": "^0.28", "markdownlint-cli": "^0.28",
"mermaid": "^8.11", "mermaid": "^8.12",
"postcss": "^8.3", "postcss": "^8.3",
"postcss-cli": "^8.3", "postcss-cli": "^8.3",
"purgecss-whitelister": "^2.4", "purgecss-whitelister": "^2.4",
@ -60,6 +60,6 @@
"stylelint-config-standard": "^22.0" "stylelint-config-standard": "^22.0"
}, },
"otherDependencies": { "otherDependencies": {
"hugo": "0.87.0" "hugo": "0.88.0"
} }
} }