Skip to content

Commit 31c2c6a

Browse files
authored
Merge pull request #4 from get-react-components/develop
Develop
2 parents f719eef + dc89cab commit 31c2c6a

File tree

7 files changed

+5
-16
lines changed

7 files changed

+5
-16
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grc-scaffolding",
3-
"version": "0.0.1",
3+
"version": "1.0.0",
44
"description": "A walk-through scaffolding of component to create new component",
55
"main": "./src/index.js",
66
"scripts": {

src/base-component.js renamed to src/BaseComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/**
77
* Import styles
88
*/
9-
import './components.scss';
9+
import './BaseComponent.scss';
1010

1111
/**
1212
* Import modules
File renamed without changes.

src/__tests__/component.spec.js renamed to src/__tests__/BaseComponent.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import renderer from 'react-test-renderer';
3-
import BaseComponent from '../base-component';
3+
import BaseComponent from '../BaseComponent';
44

55
test('Rendered BaseComponent', () => {
66
const component = renderer.create(

src/__tests__/__snapshots__/component.spec.js.snap

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @file component export entry point
33
*/
4-
import BaseComponent from './base-component';
4+
import BaseComponent from './BaseComponent';
55

66
module.exports = {
77
BaseComponent

0 commit comments

Comments
 (0)