starbase

⭐ Production-ready static website boilerplate featuring Webpack 5, TypeScript, PostCSS & Tailwind CSS.

MIT License

Downloads
98
Stars
76
starbase - 3.6.3 (v4 coming soon) Latest Release

Published by bstaruk 7 months ago

This is the final maintenance release of Starbase v3. All dependencies have been updated, and I am going to be working on a v4 release over the next couple weekends.

The main features of v4 will be:

  • Installation via npx starbase@latest (no more manual copy & pasting)
  • TypeScript
  • PostCSS & Tailwind CSS
  • Much less boilerplate (HTML & CSS) to enable faster startup

If anyone is interested in watching v4 come together, you can check out the v4 branch.

starbase - 3.6.2

Published by bstaruk 9 months ago

happy new year! this is a maintenance release, made in preparation for an upcoming project that i'll be using starbase on.

all dependencies have been updated, except the stylelint related ones, due to this issue with the stylelint-webpack-plugin dependency. that one'll just need to wait for the next release.

i've also updated some docs because it's not 2023 anymore. cheers!

starbase - 3.6.1

Published by bstaruk about 1 year ago

This is a bug fix release that fixes a breaking issue with the lint-staged hooks.

starbase - 3.6.0

Published by bstaruk about 1 year ago

3.6.0 is a maintenance releases that sees all dependencies updated, and a couple small adjustments:

  1. Lint-staged rules have been moved out of package.json, into .lintstagedrc.js.
  2. .nvmrc now calls for the latest LTS (v18).

I'm thinking of dusting this project off and upgrading to TypeScript for v4. Feel free to comment with thoughts on this, or other ideas for v4.

starbase - 3.5.3

Published by bstaruk about 2 years ago

i keep expecting breaking changes whenever i hit npm outdated and install the latest updates... but it ain't 2019 no more.

this is an incremental update which sees all dependencies updated, a small tweak to a boilerplate sass file to appease the newly-updated stylelint gods, and the creation of an .nvmrc file to allow the use of nvm install for my fellow node version managers.

starbase - 3.5.2

Published by bstaruk over 2 years ago

This is a maintenance release which updates all dependencies. No changes were required to the boilerplate to accommodate the updates, so this is an incremental update.

starbase - 3.5.1

Published by bstaruk over 2 years ago

  • various tweaks to the boilerplate html/sass (what you see on starbase.dev)
  • http://localhost:8080 now opens when start script is executed
  • all dependencies updated
starbase - 3.5.0

Published by bstaruk over 2 years ago

This is a mostly-maintenance update which includes the following changes:

  • Husky & lint-staged have been added to the project, to run our linting & formatting libraries in a pre-commit hook. Project readme has been updated to reflect these changes.
  • All dependencies updated -- including replacing node-sass with sass. Both libraries share the same API so no changes (in the boilerplate code, nor in your project sass) should be required to accommodate the replacement.

Note: If you're upgrading an existing installation of starbase, you'll need to run npm run prepare to initialize the new pre-commit hook. If you're using starbase on a new project, you can disregard this note because the prepare script is automatically run on first install.

starbase - 3.4.0

Published by bstaruk almost 3 years ago

Maintenance release which updates all dependencies, improves the boilerplate code (sass & js) and resolves an issue with how environment variables were being set in the scripts.

  • Boilerplate (css & js) improvements
  • No longer defining NODE_ENV in package.json, as it was breaking the app for Windows users
  • Fetch & promise polyfills have been removed from the project because IE11 support is not a concern for most developers in 2021
  • All dependencies updated
starbase - 3.3.0

Published by bstaruk about 3 years ago

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).
starbase - 3.2.1

Published by bstaruk about 3 years ago

This incremental release updates the boilerplate html/css, which is what you see on starbase.dev.

There were no functional changes to the boilerplate or dev/build processes.

starbase - 3.2.0

Published by bstaruk about 3 years ago

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.

starbase - 3.1.0

Published by bstaruk about 3 years ago

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
starbase - 3.0.0

Published by bstaruk about 3 years ago

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.
starbase - 2.5.0

Published by bstaruk about 4 years ago

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. So import '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!
starbase - 2.4.0

Published by bstaruk about 4 years ago

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 now npm 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.
starbase - 2.3.2

Published by bstaruk over 4 years ago

This is a quick maintenance release which bumps all project dependencies to their latest versions, and has been tested to ensure that there are no breaking changes.

starbase - 2.3.1

Published by bstaruk almost 5 years ago

2.3.1 is a maintenance release that addresses the following:

  1. 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, named app.css, which lives right beside app.js in the root of the source folder.

  2. All dependencies updated.

starbase - 2.3.0

Published by bstaruk almost 5 years ago

  • @css, @lib & @src aliases are now available for .js files. This will make referencing stylesheets and vendor files easier -- something like import '../../css/Heading' becomes import '@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.
starbase - 2.2.0

Published by bstaruk about 5 years ago

2.2.0 is a maintenance release:

  • All dependencies have been updated.
  • eslint-config-airbnb has been replaced with eslint-config-airbnb-base. The former covers linting for JS and React, while the latter only offers linting for JS, and saves us a couple peer dependencies. Because this is an ES6(+)-focused boilerplate, and a React variant exists (starbase-react), this seemed like a no-brainer. The linting provided by these two plugins are identical for vanilla JS.
    • note: because this change also required a tweak to the .eslintrc file, I made this a minor release, instead of an incremental one.
  • All instances of staruk.me have been replaced with staruk.net. I was finally able to snag the domain from those no-good squatters, after all these years :)
Package Rankings
Top 16.85% on Npmjs.org
Related Projects