Releases: bstaruk/starbase
3.3.0
This is a maintenance release that includes the following:
- Sass structure has been improved (follows 7-1 pattern)
npm run prettify
can now be used to apply prettier js formatting via CLI- All dependencies updated --
webpack-dev-server
received a major upgrade which required a small tweak to a webpack config, so I marked this release as a minor one (would have been incremental otherwise).
3.2.1
3.2.0
This is a maintenance & improvement release:
- replacing deprecated
eslint-loader
w/eslint-webpack-plugin
&babel-eslint
w/@babel/eslint-parser
- babel config file removed, config moved into webpack configs (too small for it's own file)
- readme simplified & updated
- sass linting has been improved
- sass boilerplate tidied-up
- all dependencies updated
Special thank you to @LockeAG for tipping me off about the antiquated eslint depedencies.
3.1.0
Maintenance & cleanup release:
/src/templates
removed --index.html
was placed in the root of/src
and the images placed in/src/assets
- Sass file name and directory structure cleaned up
- No longer hashing font assets
- Readme & comment updates
- All dependencies updated
3.0.0
This is a major upgrade which features an upgrade to webpack 5, switching from PostCSS to Sass, and lots of general cleanup.
- All dependencies updated, including webpack 4 -> 5.
- Offline functionality (service workers) has been removed for many reasons, the biggest of which being that none of the major plugins have been updated for webpack 5, even though it's been out for months now. I may bring it back sometime in the future, but I've always been on the fence about adding/keeping it because the majority of people using this boilerplate probably don't need service workers -- and if they do, they probably know how to add them.
- PostCSS has been replaced with Sass. PostCSS has been the biggest pain point in maintaining this repo because of the number of plugins it relies on just to be viable. I've accepted that there's no reason to keep subjecting myself to this when Sass offers everything I want/need out of the box. This change reduced the number of dependencies and the amount of boilerplate in our webpack configs.
2.5.0
This is a minor release that focused on cleaning up the boilerplate HTML/CSS/JS, as well as the webpack configs.
- webpack aliases have been removed completely, as they are no longer needed. all paths that are not relative will start from
/src
. Soimport 'css/test.css'
would resolve to/src/css/test.css
. No need for@css
anymore. - cross-env has been added to the project so that we can access
process.env
reliably in our JS. We're using this to only run OfflinePlugin on production builds, but it could be used for so much more (omitting analytics from dev, etc). - The boilerplate has been updated to make a simple fetch for repo details, to provide a demo JS component and to give us something to import fetch/promise polyfills for. I've always wanted these to be opt-in instead of opt-out but there was no solid reason to before now.
- All dependencies updated.. naturally!
2.4.0
This is a minor release that includes a couple new toys and the usual dependency updates:
- Prettier is here! I love using the "Format Code" tool in VS Code and Prettier is amazing for that.
- Comma dangles are no longer disallowed in eslint -- we now just go with the defaults (all).
npm run dev
is nownpm run start
-- arbitrary, I know, but this seems to be the standard these days..***rc
files have been updated to***rc.js
when possible, this allows prettier to get into them and do it's thing.- Added a couple new lines to the
.gitignore
files.
2.3.2
2.3.1
2.3.1
is a maintenance release that addresses the following:
-
2.3.0
moved CSS imports into JS files, which I thought was cleaner, but ended up resulting in a horribly broken & bloated compiled-stylesheet. Because of this, I've moved the imports back into a common CSS file, namedapp.css
, which lives right besideapp.js
in the root of the source folder. -
All dependencies updated.
2.3.0
@css
,@lib
&@src
aliases are now available for.js
files. This will make referencing stylesheets and vendor files easier -- something likeimport '../../css/Heading'
becomesimport '@css/Heading'
.- PostCSS imports now see
/src/
as the base path. This means we can use@import "css/_variables";
instead of@import "../../../css/_variables";
. - All dependencies have been updated.