Jaydenseric Barebones Versions Save

A barebones boilerplate for getting started on a bespoke front end.

v9.0.0

7 years ago

v8.3.0

7 years ago
  • Added and documented a new init script that removes Barebones examples and references.
  • Better documented editor requirements in the readme.
  • Updated dependencies.
  • Now using a blue version badge in the readme in place of green, as per shields.io convention for stable versions.

v8.2.0

7 years ago
  • Updated dependencies. This fixes recent linting related peer dependency warnings and several PostCSS issues.
  • Improvements to project structure, example components, page meta and documentation:
    • Created the /content directory, moved relevant assets out of /components and explicitly documented this best practice of separation of UI and content in the readme under "Structure".
    • More real-world, better structured and nicer looking example components.
    • Updated meta tags to support Twitter Cards.
    • Better getting started documentation. In particular, added a copy-paste bash script for deleting the example assets.
  • Readme additions:
    • In the intro, made it clear that components should be templated.
    • Explained separation of UI and content when naming things under “Tips”.
    • Added a new “Helpful projects” section.

v8.1.1

7 years ago
  • Reverted recent postcss-loader update to v1.0.0. The major update contained breaking changes, causing our watch script to not respond to changes within imported CSS files. We must wait on postcss-import to update.
  • Fixed CSS source map.
    • Apparently css-loader needs ?sourceMap. Not sure when that became necessary.
    • Removed the # from the webpack devtool: '#source-map' config as it defaults to # anyway.

v8.1.0

7 years ago
  • Removed a redundant setup instruction to edit package.json.
  • Using the full name for the JavaScript Standard Style project in the readme.
  • Using data attributes to select components. There are a number of benefits to using data-component attributes over simple class names:
    • It prevents conflicts when components are nested and one component has internal class names that happen to match the class names of other components. This can happen easily if you give your components generic names such as button or menu.
    • It is much easier to work out the component structure of a page using the inspector.
    • The component structure can be traversed with JS.
  • Counter demo component improvements:
    • Tidier constructor parameters.
    • Initialization start time now comes from the HTML.
    • Better technique for toggling icon.
    • Changed heading from level 1 to 2.
  • Removed the http-equiv meta tag. Microsoft deprecated document modes in IE11. With a HTML5 doctype, IE11 renders in standards mode by default.
  • Updated dependencies.

v8.0.0

7 years ago
  • Removed unnecessary Barebones config from package.json.
    • Because Barebones is not an NPM package, a lot of the package.json config such as name and version was unnecessary and confusing. A package called barebones already exists on NPM.
    • It is now easier to setup a Barebones project; deleting the Barebones related package.json config was a step often skipped in the wild.
  • Replaced query with querySelector everywhere in example JS. It is better not to use query and queryAll where possible as they have been removed from the DOM standard and may never return. See: http://stackoverflow.com/a/38245620/1596978.
  • No longer suggesting Atom users install the standard-formatter package. We have an ESLint fix script that better respects project ESLint config.
  • Readme corrections regarding JS polyfills.
    • Corrected mention of babel-polyfill.
    • Better explained what DOM4 polyfills.
  • ESLint config now shared from a new eslint-config-barebones repo.
    • Less dependencies and config in package.json.
    • It is easier to upgrade Barebones projects with ESLint config managed as a versioned NPM package.
    • Easier to add Barebones ESLint config to non-Barebones projects.
  • stylelint config now shared from a new stylelint-config-barebones repo.
    • Less dependencies and config in package.json.
    • It is easier to upgrade Barebones projects with stylelint config managed as a versioned NPM package.
    • Easier to add Barebones stylelint config to non-Barebones projects.

v7.1.0

7 years ago
  • Dependency updates.
  • Using cacheDirectory option to speed up babel-loader by as much as 2x. See: https://github.com/babel/babel-loader#babel-loader-is-slow.
  • Using babel-runtime in place of babel-polyfill. Instead of always bundling a heap of polyfills, Babel will now only polyfill the features that it comes across. It will also consolidate repetitive helpers. This significantly reduces the size of the JS bundle. See: https://babeljs.io/docs/plugins/transform-runtime.
  • Better example component JS:
    • Always using an options object for constructors. Seperate parameters should be avoided; an object is much easier to understand and modify.
    • JSDoc parameter type capitalization fixes.
    • Demonstrating the :: operator for binding this within the counter component constructor. See: https://babeljs.io/docs/plugins/transform-function-bind.
    • Misc. refactors and comment tweaks.

v7.0.0

7 years ago
  • Now using ignore files for all linting:
    • With .gitignore, .eslintignore and .styleintignore setup consistently configuration is much more intuitive. Unlike some of the previously configured globs in package.json, the new ignore file rules work (mostly) like .gitignore.
    • Moving ESLint ignore rules from CLI script flags to config means that in theory, linting tools that do not run via the package script (i.e. editor plugins) now know what to ignore.
  • Now linting JS use of console. Use of anything other than warn or error will result in an error.
  • Clean script now uses rimraf for Windows support.
  • Updated dependencies.

v6.0.0

7 years ago
  • Minor webpack config output path simplification.
  • More reliable PostCSS processing of CSS imports.
  • Updated and reorganized NPM dependencies.
    • Rearranged dependencies and devDependencies to follow a more common pattern. Previously dependencies included everything needed to produce a production build. Now it only includes modules imported within the actual application.
  • Improved JS linting.
    • NPM script ESLint errors no longer suppressed. This is uglier to look at but makes the lint script more useful for automated builds and allows arguments to be appended.
    • New ESLint fix script.
    • Documented new fix script in the readme.
    • New ESLint config rule to prevent unnecessary arrow function parenthesis.
  • Improved CSS linting.
  • Updated meta and readme.
    • Package description consistent with readme intro.
    • Mentioned ESLint auto fix in the readme overview.

v5.1.1

7 years ago
  • NPM dependency updates.