Doks 1.3

January 17, 2024 by Henk Verlinde Henk Verlinde1 minute

Doks 1.3

Doks 1.3 — our first release of the new year — is here! This release includes restructured dependencies, deduplicated Bootstrap variables, and more.

To upgrade an existing project, see the Upgrade Doks guide.

Highlights

Restructured dependencies

Doks main dependencies are now specified in Doks’ package.json — in stead of in @hyas/doks-core’s package.json — so you can easily update for example Hugo, Thulite Images, and Thulite SEO yourself.

{
  "scripts": {
    "postinstall": "hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugo"
  },
  "dependencies": {
    "@hyas/doks-core": "^1.3.0",
    "@hyas/images": "^2.0.3",
    "@hyas/inline-svg": "^1.0.5",
    "@hyas/seo": "^2.1.0",
    "@tabler/icons": "^2.40.0",
    "exec-bin": "^1.0.0",
    "gethyas": "^2.2.2",
    "hugo-installer": "^4.0.1"
  },
  "devDependencies": {
    "shx": "^0.3.4"
  },
  "otherDependencies": {
    "hugo": "0.121.1"
  }
}

Thulite Images for example is updated like any @hyas/* integration (or theme):

Deduplicated Bootstrap variables

Doks now only specifies customized Bootstrap SCSS variables in _variables-overrides.scss — instead of overriding all Bootstrap SCSS variables — making customizations easier and more robust.

Add your customizations in assets/scss/common/:

_variables-custom.scss
/* Put your custom SCSS variables here */
_custom.scss
/* Put your custom SCSS code here */

Bug Fixes

Additional bug fixes are included in this release. Check out the release notes to learn more.