Permalink
Browse files

Fixed interdependency with link-list

Signed-off-by: Dominik Wilkowski <Hi@Dominik-Wilkowski.com>
  • Loading branch information...
dominikwilkowski committed Jul 31, 2017
1 parent e933002 commit ae38be8976c86c679806f46278398dc84f5b4a0d
Showing with 16 additions and 4 deletions.
  1. +6 βˆ’0 packages/breadcrumbs/CHANGELOG.md
  2. +1 βˆ’0 packages/breadcrumbs/README.md
  3. +1 βˆ’1 packages/breadcrumbs/package.json
  4. +2 βˆ’1 packages/breadcrumbs/src/js/react.js
  5. +5 βˆ’1 scripts/helper.js
  6. +1 βˆ’1 uikit.json
@@ -15,6 +15,7 @@
## Versions
* [v0.3.1 - Fixed interdependency with link-list](v031)
* [v0.3.0 - Added pancake-react plugin, ES5 main file, background repeat](v030)
* [v0.2.0 - Added react component](v020)
* [v0.1.0 - πŸ’₯ Initial version](v010)
@@ -25,6 +26,11 @@
## Release History
### v0.3.1
- Fixed interdependency with link-list
### v0.3.0
- Added pancake-react plugin
@@ -134,6 +134,7 @@ The visual test: http://uikit.apps.staging.digital.gov.au/packages/breadcrumbs/t
## Release History
* v0.3.1 - Fixed interdependency with link-list
* v0.3.0 - Fixed react pipeline, background repeat
* v0.2.0 - Added react component
* v0.1.0 - πŸ’₯ Initial version
@@ -1,6 +1,6 @@
{
"name": "@gov.au/breadcrumbs",
"version": "0.3.0",
"version": "0.3.1",
"description": "Breadcrumbs help users understand where they are in the service and how they got there.",
"keywords": [
"uikit",
@@ -10,7 +10,8 @@
import React from 'react';
import PropTypes from 'prop-types';
import LinkList from './link-list.js';
// ES5 dependency: import LinkList from '@gov.au/link-list';
// ES6 dependency: import LinkList from './link-list';
// The following line will be replaced automatically with generic imports for the ES5 pipeline.
View
@@ -357,6 +357,7 @@ HELPER.precompile = (() => {
const searches = {
'[replace-name]': HELPER.NAME,
'[replace-version]': HELPER.VERSION,
'// ES6 dependency: ': '',
};
if( _hasJS ) {
@@ -415,11 +416,14 @@ HELPER.precompile = (() => {
};
const searches = {
'[replace-name]': HELPER.NAME,
'[replace-version]': HELPER.VERSION,
'// ES5 dependency: ': '',
'// [replace-imports]': `import '../css/styles.css';`,
};
// 1. Copy files
CopyFile('./lib/js/react.js', './lib/js/react.es5.js');
CopyFile('./src/js/react.js', './lib/js/react.es5.js');
// 2. Replace the comment with an import statement
ReplaceFileContent( searches, `${ process.cwd() }/lib/js/react.es5.js` );
View
@@ -1 +1 @@
{"@gov.au/core":{"name":"@gov.au/core","version":"0.1.2","peerDependencies":{}},"@gov.au/accordion":{"name":"@gov.au/accordion","version":"0.3.0","peerDependencies":{"@gov.au/animate":"^0.1.3","@gov.au/core":"^0.1.0"}},"@gov.au/animate":{"name":"@gov.au/animate","version":"0.1.3","peerDependencies":{}},"@gov.au/body":{"name":"@gov.au/body","version":"0.1.1","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/breadcrumbs":{"name":"@gov.au/breadcrumbs","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0","@gov.au/link-list":"^0.3.0"}},"@gov.au/buttons":{"name":"@gov.au/buttons","version":"0.5.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/callout":{"name":"@gov.au/callout","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/control-input":{"name":"@gov.au/control-input","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/cta-link":{"name":"@gov.au/cta-link","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/direction-links":{"name":"@gov.au/direction-links","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0","@gov.au/body":"^0.1.0"}},"@gov.au/footer":{"name":"@gov.au/footer","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/grid-12":{"name":"@gov.au/grid-12","version":"0.1.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/header":{"name":"@gov.au/header","version":"1.2.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/headings":{"name":"@gov.au/headings","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/inpage-nav":{"name":"@gov.au/inpage-nav","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0","@gov.au/link-list":"^0.3.0"}},"@gov.au/keyword-list":{"name":"@gov.au/keyword-list","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0","@gov.au/link-list":"^0.3.0"}},"@gov.au/link-list":{"name":"@gov.au/link-list","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0","@gov.au/body":"^0.1.0"}},"@gov.au/page-alerts":{"name":"@gov.au/page-alerts","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/progress-indicator":{"name":"@gov.au/progress-indicator","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/responsive-media":{"name":"@gov.au/responsive-media","version":"0.1.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/select":{"name":"@gov.au/select","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/skip-link":{"name":"@gov.au/skip-link","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/tags":{"name":"@gov.au/tags","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/text-inputs":{"name":"@gov.au/text-inputs","version":"0.1.1","peerDependencies":{"@gov.au/core":"^0.1.0"}}}
{"@gov.au/core":{"name":"@gov.au/core","version":"0.1.2","peerDependencies":{}},"@gov.au/accordion":{"name":"@gov.au/accordion","version":"0.3.0","peerDependencies":{"@gov.au/animate":"^0.1.3","@gov.au/core":"^0.1.0"}},"@gov.au/animate":{"name":"@gov.au/animate","version":"0.1.3","peerDependencies":{}},"@gov.au/body":{"name":"@gov.au/body","version":"0.1.1","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/breadcrumbs":{"name":"@gov.au/breadcrumbs","version":"0.3.1","peerDependencies":{"@gov.au/core":"^0.1.0","@gov.au/link-list":"^0.3.0"}},"@gov.au/buttons":{"name":"@gov.au/buttons","version":"0.5.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/callout":{"name":"@gov.au/callout","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/control-input":{"name":"@gov.au/control-input","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/cta-link":{"name":"@gov.au/cta-link","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/direction-links":{"name":"@gov.au/direction-links","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0","@gov.au/body":"^0.1.0"}},"@gov.au/footer":{"name":"@gov.au/footer","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/grid-12":{"name":"@gov.au/grid-12","version":"0.1.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/header":{"name":"@gov.au/header","version":"1.2.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/headings":{"name":"@gov.au/headings","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/inpage-nav":{"name":"@gov.au/inpage-nav","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0","@gov.au/link-list":"^0.3.0"}},"@gov.au/keyword-list":{"name":"@gov.au/keyword-list","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0","@gov.au/link-list":"^0.3.0"}},"@gov.au/link-list":{"name":"@gov.au/link-list","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0","@gov.au/body":"^0.1.0"}},"@gov.au/page-alerts":{"name":"@gov.au/page-alerts","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/progress-indicator":{"name":"@gov.au/progress-indicator","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/responsive-media":{"name":"@gov.au/responsive-media","version":"0.1.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/select":{"name":"@gov.au/select","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/skip-link":{"name":"@gov.au/skip-link","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/tags":{"name":"@gov.au/tags","version":"0.3.0","peerDependencies":{"@gov.au/core":"^0.1.0"}},"@gov.au/text-inputs":{"name":"@gov.au/text-inputs","version":"0.1.1","peerDependencies":{"@gov.au/core":"^0.1.0"}}}

0 comments on commit ae38be8

Please sign in to comment.