Skip to content

Commit 2772342

Browse files
author
Adam Butterworth
committed
2 parents cebd00b + c201be7 commit 2772342

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
frontend-build
22
==============
33

4-
|Build Status| |Codecov| |license|
4+
|Build Status| |npm_version| |Codecov| |license|
55

66
The purpose of this package is to
77
provide a common sense foundation and setup for frontend projects including:
@@ -108,3 +108,4 @@ you will need to run it every time you make changes to this project.
108108
:target: https://codecov.io/gh/edx/frontend-base
109109
.. |license| image:: https://img.shields.io/npm/l/@edx/frontend-base.svg
110110
:target: https://github.com/edx/frontend-base/blob/master/LICENSE
111+
.. |npm_version| image:: https://img.shields.io/npm/v/@edx/frontend-component-header.svg

lib/getProjectConfigFile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const { PROJECT_ROOT } = require('./paths');
77
module.exports = (commandName) => {
88
const {
99
globSearchPattern,
10-
suggestedName,
1110
configFile,
1211
} = presets[commandName];
1312
const globOptions = {

lib/presets.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,22 @@ const getConfigFilepath = filename =>
77
module.exports = {
88
eslint: {
99
globSearchPattern: '.eslintrc*',
10-
suggestedName: '.eslintrc.js',
1110
configFile: getConfigFilepath('.eslintrc.js'),
1211
},
1312
jest: {
1413
globSearchPattern: 'jest.config.js',
15-
suggestedName: 'jest.config.js',
1614
configFile: getConfigFilepath('jest.config.js'),
1715
},
1816
babel: {
1917
globSearchPattern: 'babel.config.js',
20-
suggestedName: 'babel.config.js',
2118
configFile: getConfigFilepath('babel.config.js'),
2219
},
2320
'webpack-prod': {
2421
globSearchPattern: 'webpack.prod.config.js',
25-
suggestedName: 'webpack.prod.config.js',
2622
configFile: getConfigFilepath('webpack.prod.config.js'),
2723
},
2824
'webpack-dev': {
2925
globSearchPattern: 'webpack.dev.config.js',
30-
suggestedName: 'webpack.dev.config.js',
3126
configFile: getConfigFilepath('webpack.dev.config.js'),
3227
},
3328
};

0 commit comments

Comments
 (0)