mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2024-11-15 02:45:15 +01:00
build(dev-deps): bump themes dev-deps + anchor-js (#475)
This commit is contained in:
parent
8da2df29b0
commit
4b65a376a3
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
public/
|
public/
|
||||||
|
.idea/
|
||||||
|
1
.node-version
Normal file
1
.node-version
Normal file
@ -0,0 +1 @@
|
|||||||
|
19.0.0
|
@ -1,8 +1,7 @@
|
|||||||
FROM node:alpine
|
FROM node:19.0.0-alpine
|
||||||
WORKDIR /src/
|
WORKDIR /src/
|
||||||
COPY ./themes/conventional-commits /src/
|
COPY ./themes/conventional-commits /src/
|
||||||
RUN apk add python make g++
|
RUN apk add make
|
||||||
RUN npm rebuild node-sass
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
FROM jguyomard/hugo-builder:latest
|
FROM jguyomard/hugo-builder:latest
|
||||||
FROM node:latest
|
FROM node:19.0.0-alpine
|
||||||
WORKDIR /src/
|
WORKDIR /src/
|
||||||
COPY --from=0 /usr/local/bin/hugo /usr/local/bin/hugo
|
COPY --from=0 /usr/local/bin/hugo /usr/local/bin/hugo
|
||||||
COPY ./ /src/
|
COPY ./ /src/
|
||||||
|
RUN apk add make
|
||||||
ENTRYPOINT make all-dev
|
ENTRYPOINT make all-dev
|
||||||
EXPOSE 1313
|
EXPOSE 1313
|
7
Makefile
7
Makefile
@ -1,5 +1,5 @@
|
|||||||
all: compile-assets compile-site
|
all: compile-assets compile-site
|
||||||
all-dev: rebuild-node-sass compile-assets-dev serve-site-dev
|
all-dev: compile-assets-dev serve-site-dev
|
||||||
|
|
||||||
compile-site:
|
compile-site:
|
||||||
echo "Generating static website"
|
echo "Generating static website"
|
||||||
@ -19,8 +19,3 @@ compile-assets-dev:
|
|||||||
echo "Compiling assets"
|
echo "Compiling assets"
|
||||||
cd themes/conventional-commits && npm install && npm run start &
|
cd themes/conventional-commits && npm install && npm run start &
|
||||||
|
|
||||||
rebuild-node-sass:
|
|
||||||
echo "Rebuilding node sass"
|
|
||||||
cd themes/conventional-commits && npm rebuild node-sass
|
|
||||||
echo "node sass rebuilt"
|
|
||||||
|
|
||||||
|
1
themes/conventional-commits/.gitignore
vendored
1
themes/conventional-commits/.gitignore
vendored
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
static/css/index.css
|
static/css/index.css
|
||||||
static/css/style.css
|
static/css/style.css
|
||||||
|
static/css/style.css.map
|
||||||
static/css/style.min.css
|
static/css/style.min.css
|
||||||
static/js/bundle.js
|
static/js/bundle.js
|
||||||
|
|
||||||
|
11758
themes/conventional-commits/package-lock.json
generated
11758
themes/conventional-commits/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,29 +5,30 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npm run css & npm run css:watch & npm run js:watch",
|
"start": "npm run css & npm run css:watch & npm run js:watch",
|
||||||
"css": "node-sass ./static/css/scss/style.scss -o ./static/css",
|
"css": "sass ./static/css/scss/style.scss ./static/css/style.css",
|
||||||
"css:watch": "npm run css -- -w",
|
"css:watch": "npm run css -- -w",
|
||||||
"css:autoprefixer": "postcss --no-map --use autoprefixer -o ./static/css/style.css ./static/css/style.css",
|
"css:autoprefixer": "postcss --no-map --use autoprefixer -o ./static/css/style.css ./static/css/style.css",
|
||||||
"css:nano": "postcss --no-map --use cssnano -o ./static/css/style.css ./static/css/style.css",
|
"css:nano": "postcss --no-map --use cssnano -o ./static/css/style.css ./static/css/style.css",
|
||||||
"css:build": "npm run css && npm run css:autoprefixer && npm run css:nano",
|
"css:build": "npm run css && npm run css:autoprefixer && npm run css:nano",
|
||||||
"js": "webpack --mode=development ./static/js/index.js -o ./static/js/bundle.js",
|
"js": "npm run js:bundle -- --mode=development",
|
||||||
"js:watch": "npm run js -- --watch",
|
"js:watch": "npm run js -- --watch",
|
||||||
"js:build": "webpack --mode=production ./static/js/index.js -o ./static/js/bundle.js",
|
"js:bundle": "webpack ./static/js/index.js -o ./static/js --output-filename bundle.js",
|
||||||
|
"js:build": "npm run js:bundle -- --mode=production",
|
||||||
"build": "npm run css:build && npm run js:build"
|
"build": "npm run css:build && npm run js:build"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"anchor-js": "^4.1.1",
|
"anchor-js": "4.3.1",
|
||||||
"github-markdown-css": "^2.10.0"
|
"github-markdown-css": "2.10.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "^9.1.3",
|
"autoprefixer": "10.4.12",
|
||||||
"cssnano": "^4.1.10",
|
"cssnano": "5.1.13",
|
||||||
"node-sass": "^4.13.1",
|
"sass": "1.55.0",
|
||||||
"postcss": "^8.2.10",
|
"postcss": "8.4.18",
|
||||||
"postcss-cli": "^6.1.2",
|
"postcss-cli": "10.0.0",
|
||||||
"webpack": "^4.42.1",
|
"webpack": "5.74.0",
|
||||||
"webpack-cli": "^3.1.0"
|
"webpack-cli": "4.10.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
@use "sass:math";
|
||||||
@import "./../abstracts/index";
|
@import "./../abstracts/index";
|
||||||
|
|
||||||
@keyframes show {
|
@keyframes show {
|
||||||
@ -62,7 +63,7 @@
|
|||||||
border-radius: $dropdown-border-radius;
|
border-radius: $dropdown-border-radius;
|
||||||
box-shadow: $shadow-soft;
|
box-shadow: $shadow-soft;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
animation: hide $dropdown-animation-timing/2 ease forwards;
|
animation: hide math.div($dropdown-animation-timing, 2) ease forwards;
|
||||||
&:before {
|
&:before {
|
||||||
content: '';
|
content: '';
|
||||||
width: 0;
|
width: 0;
|
||||||
@ -71,7 +72,7 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 $dropdown-arrow-size ($dropdown-arrow-size/2) $dropdown-arrow-size;
|
border-width: 0 $dropdown-arrow-size math.div($dropdown-arrow-size, 2) $dropdown-arrow-size;
|
||||||
border-color: transparent transparent $dropdown-options-background-color transparent;
|
border-color: transparent transparent $dropdown-options-background-color transparent;
|
||||||
transform: translate(-50%, -100%);
|
transform: translate(-50%, -100%);
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
@use "sass:math";
|
||||||
@import "./../abstracts/index";
|
@import "./../abstracts/index";
|
||||||
|
|
||||||
.welcome {
|
.welcome {
|
||||||
@ -52,7 +53,7 @@
|
|||||||
|
|
||||||
&__actions {
|
&__actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: ($gap-lg * 3)/2;
|
margin-top: math.div($gap-lg * 3, 2);
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user