Skip to content

Commit

Permalink
build(misc): See full message for details
Browse files Browse the repository at this point in the history
- Update .eslintignore to ignore tokens src
- Update .gitignore to ignore tokens debug output
- Remove `build:icons` script from mineral-ui
- Add mineral-ui-tokens alias for use within website

Co-authored-by: Victoria Vasys <victoria.vasys@gmail.com>
  • Loading branch information
2 people authored and kylegach committed May 1, 2018
1 parent 31c8949 commit 29168a2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .babelrc.js
Expand Up @@ -40,7 +40,8 @@ module.exports = {
['module-resolver', {
alias: {
'mineral-ui': './src/library', // Used inside mineral-ui-icons components
'mineral-ui-icons': './packages/mineral-ui-icons/src' // Used inside mineral-ui website
'mineral-ui-icons': './packages/mineral-ui-icons/src', // Used inside mineral-ui website,
'mineral-ui-tokens': './packages/mineral-ui-tokens/src' // Used inside mineral-ui website
}
}]
);
Expand Down
2 changes: 2 additions & 0 deletions .eslintignore
Expand Up @@ -4,4 +4,6 @@ flow-typed/
lib/
node_modules/

/packages/mineral-ui-tokens/src/

*.template.js
1 change: 1 addition & 0 deletions .flowconfig
Expand Up @@ -19,5 +19,6 @@ suppress_type=$FlowTODO
module.name_mapper='.*react-docgen-loader.*' -> '<PROJECT_ROOT>/utils/emptyObject'
module.name_mapper='.*.\(:?md\|svg\)$' -> '<PROJECT_ROOT>/utils/emptyString'
module.name_mapper='^mineral-ui-icons\/?\(.*\)$' -> '<PROJECT_ROOT>/packages/mineral-ui-icons/src/\1'
module.name_mapper='^mineral-ui-tokens\/?\(.*\)$' -> '<PROJECT_ROOT>/packages/mineral-ui-tokens/src/\1'
module.name_mapper='^mineral-ui\/?\(.*\)$' -> '<PROJECT_ROOT>/src/library/\1'
module.ignore_non_literal_requires=true
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,6 +2,7 @@
.env
*.tgz

allTokens-debug.log*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -18,7 +18,6 @@
"scripts": {
"build": "npm run clean && npm run build:library && npm run build:website",
"build:analyze": "ANALYZE=true npm start",
"build:icons": "npm i --prefix ./packages/mineral-ui-icons && npm run build:icons --prefix ./packages/mineral-ui-icons",
"build:library": "./scripts/build-library.js",
"build:package": "./scripts/build-package.js",
"build:website": "./scripts/build-website.js",
Expand Down

0 comments on commit 29168a2

Please sign in to comment.