Skip to content

Commit

Permalink
deploying v2022.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
soapdog committed Feb 11, 2022
1 parent 68fd088 commit d5fc71b
Show file tree
Hide file tree
Showing 12 changed files with 293 additions and 80 deletions.
15 changes: 15 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

#node ./increment-version.js

VERSION_TAG=v$(cat package.json| jq -r .version)


npm run build
git add -A

git commit -am "deploying $VERSION_TAG"
git tag $VERSION_TAG
git push

echo "Deployed $VERSION_TAG"
6 changes: 3 additions & 3 deletions docs/build/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/build/bundle.js.map

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions increment-version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const calver = require("calver")
const pkg = require("./package.json")
const fs = require("fs")

const format = "yyyy.mm.minor"
const nextVersion = calver.inc(format,pkg.version,"minor")

pkg.version = nextVersion

fs.writeFileSync("./package.json", JSON.stringify(pkg,null,2))

62 changes: 62 additions & 0 deletions package copy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"name": "little.webby.press",
"version": "2022.2.1",
"scripts": {
"watch:tailwind": "postcss css/style.css -o docs/style.css -w",
"build:tailwind": "cross-env NODE_ENV=production postcss css/style.css -o docs/style.css",
"build": "concurrently \"npm run build:tailwind\" \"rollup -c\"",
"start": "sirv docs",
"dev": "concurrently \"rollup -c -w\" \"npm run watch:tailwind\"",
"copy:font-awesome-css": "copyfiles -E -u 4 node_modules/@fortawesome/fontawesome-free/css/* docs/css",
"copy:font-awesome-fonts": "copyfiles -E -u 3 node_modules/@fortawesome/fontawesome-free/webfonts/* docs/"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.15.3",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-inject": "^4.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@tailwindcss/typography": "^0.4.1",
"asciidoctor": "^2.2.4",
"autoprefixer": "^10.0.2",
"browserfs": "^2.0.0",
"calver": "^21.11.3",
"concurrently": "^5.3.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.2",
"datatransfer-files-promise": "^1.3.1",
"eslint": "^7.11.0",
"eslint-plugin-svelte3": "^2.7.3",
"file-saver": "^2.0.2",
"handlebars": ">=4.7.7",
"image-blob-reduce": "^3.0.1",
"js-yaml": "^3.14.0",
"jszip": "^3.6.0",
"lodash": ">=4.17.21",
"markdown-it": "^12.0.2",
"markdown-it-anchor": "^6.0.0",
"markdown-it-attrs": "^4.0.0",
"markdown-it-bracketed-spans": "^1.0.1",
"markdown-it-center-text": "^1.0.4",
"markdown-it-emoji": "^2.0.0",
"markdown-it-footnote": "^3.0.2",
"markdown-it-implicit-figures": "^0.10.0",
"marked": "^1.1.0",
"mime": "^2.4.6",
"postcss": ">=8.1.10",
"postcss-cli": "^8.0.0",
"rollup": "^2.3.4",
"rollup-plugin-livereload": "^1.0.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-svelte": "^5.0.3",
"rollup-plugin-terser": "^7.0.2",
"sirv-cli": "^0.4.4",
"slugify": "^1.4.6",
"svelte": "^3.0.0",
"svelte-i18n": "^3.2.5",
"tailwindcss": "^2.0.1",
"textile-js": "^2.1.1",
"toml": "^3.0.0"
}
}
103 changes: 98 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d5fc71b

Please sign in to comment.