Skip to content

Commit d5fc71b

Browse files
committed
deploying v2022.2.2
1 parent 68fd088 commit d5fc71b

12 files changed

+293
-80
lines changed

deploy.sh

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
#node ./increment-version.js
4+
5+
VERSION_TAG=v$(cat package.json| jq -r .version)
6+
7+
8+
npm run build
9+
git add -A
10+
11+
git commit -am "deploying $VERSION_TAG"
12+
git tag $VERSION_TAG
13+
git push
14+
15+
echo "Deployed $VERSION_TAG"

docs/build/bundle.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/build/bundle.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

increment-version.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const calver = require("calver")
2+
const pkg = require("./package.json")
3+
const fs = require("fs")
4+
5+
const format = "yyyy.mm.minor"
6+
const nextVersion = calver.inc(format,pkg.version,"minor")
7+
8+
pkg.version = nextVersion
9+
10+
fs.writeFileSync("./package.json", JSON.stringify(pkg,null,2))
11+

package copy.json

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"name": "little.webby.press",
3+
"version": "2022.2.1",
4+
"scripts": {
5+
"watch:tailwind": "postcss css/style.css -o docs/style.css -w",
6+
"build:tailwind": "cross-env NODE_ENV=production postcss css/style.css -o docs/style.css",
7+
"build": "concurrently \"npm run build:tailwind\" \"rollup -c\"",
8+
"start": "sirv docs",
9+
"dev": "concurrently \"rollup -c -w\" \"npm run watch:tailwind\"",
10+
"copy:font-awesome-css": "copyfiles -E -u 4 node_modules/@fortawesome/fontawesome-free/css/* docs/css",
11+
"copy:font-awesome-fonts": "copyfiles -E -u 3 node_modules/@fortawesome/fontawesome-free/webfonts/* docs/"
12+
},
13+
"devDependencies": {
14+
"@fortawesome/fontawesome-free": "^5.15.3",
15+
"@rollup/plugin-alias": "^3.1.2",
16+
"@rollup/plugin-commonjs": "^12.0.0",
17+
"@rollup/plugin-inject": "^4.0.2",
18+
"@rollup/plugin-json": "^4.1.0",
19+
"@rollup/plugin-node-resolve": "^8.0.0",
20+
"@tailwindcss/typography": "^0.4.1",
21+
"asciidoctor": "^2.2.4",
22+
"autoprefixer": "^10.0.2",
23+
"browserfs": "^2.0.0",
24+
"calver": "^21.11.3",
25+
"concurrently": "^5.3.0",
26+
"copyfiles": "^2.4.1",
27+
"cross-env": "^7.0.2",
28+
"datatransfer-files-promise": "^1.3.1",
29+
"eslint": "^7.11.0",
30+
"eslint-plugin-svelte3": "^2.7.3",
31+
"file-saver": "^2.0.2",
32+
"handlebars": ">=4.7.7",
33+
"image-blob-reduce": "^3.0.1",
34+
"js-yaml": "^3.14.0",
35+
"jszip": "^3.6.0",
36+
"lodash": ">=4.17.21",
37+
"markdown-it": "^12.0.2",
38+
"markdown-it-anchor": "^6.0.0",
39+
"markdown-it-attrs": "^4.0.0",
40+
"markdown-it-bracketed-spans": "^1.0.1",
41+
"markdown-it-center-text": "^1.0.4",
42+
"markdown-it-emoji": "^2.0.0",
43+
"markdown-it-footnote": "^3.0.2",
44+
"markdown-it-implicit-figures": "^0.10.0",
45+
"marked": "^1.1.0",
46+
"mime": "^2.4.6",
47+
"postcss": ">=8.1.10",
48+
"postcss-cli": "^8.0.0",
49+
"rollup": "^2.3.4",
50+
"rollup-plugin-livereload": "^1.0.0",
51+
"rollup-plugin-node-polyfills": "^0.2.1",
52+
"rollup-plugin-svelte": "^5.0.3",
53+
"rollup-plugin-terser": "^7.0.2",
54+
"sirv-cli": "^0.4.4",
55+
"slugify": "^1.4.6",
56+
"svelte": "^3.0.0",
57+
"svelte-i18n": "^3.2.5",
58+
"tailwindcss": "^2.0.1",
59+
"textile-js": "^2.1.1",
60+
"toml": "^3.0.0"
61+
}
62+
}

package-lock.json

+98-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)