Skip to content

Commit

Permalink
core: PR template and files headers (#10)
Browse files Browse the repository at this point in the history
* core: change all components-lib to @inventures/react-lib

* feat: initial PR template

* core: more type of change option
  • Loading branch information
gsulloa authored Aug 14, 2020
1 parent 7658d60 commit 4b10fb9
Show file tree
Hide file tree
Showing 30 changed files with 121 additions and 34 deletions.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* File: .babelrc
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Thursday, 9th July 2020 8:35:11 am
* Author: Gabriel Ulloa ([email protected])
* -----
* Last Modified: Friday, 31st July 2020 3:21:00 pm
* Last Modified: Friday, 14th August 2020 2:13:31 pm
* Modified By: Gabriel Ulloa ([email protected])
* -----
* Copyright 2019 - 2020 Incrementa Ventures SpA. ALL RIGHTS RESERVED
Expand Down
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* File: .eslintrc.js
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Monday, 20th July 2020 2:46:10 pm
* Author: Gabriel Ulloa ([email protected])
* -----
* Last Modified: Tuesday, 4th August 2020 5:39:16 pm
* Last Modified: Friday, 14th August 2020 2:12:51 pm
* Modified By: Gabriel Ulloa ([email protected])
* -----
* Copyright 2019 - 2020 Incrementa Ventures SpA. ALL RIGHTS RESERVED
Expand Down
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: yarn
directory: '/'
schedule:
interval: weekly
time: '09:00'
open-pull-requests-limit: 10
reviewers:
- gsulloa
32 changes: 32 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Description

Please include a description of the changes and relevant information. List any dependencies that are required for this change.

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New component (non-breaking change which adds component)
- [ ] New hook (non-breaking change which adds hook)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Maintenance (repo config)
- [ ] Documentation

## How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

- [ ] Storybook
- [ ] Unit testing

### Screenshots (Only if need)

## Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] My changes generate no new warnings
- [ ] The target of this commit is 'dev'
- [ ] Any dependent changes have been merged and published in downstream modules
4 changes: 2 additions & 2 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* File: .prettierrc.js
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Monday, 20th July 2020 2:45:52 pm
* Author: Gabriel Ulloa ([email protected])
* -----
* Last Modified: Monday, 20th July 2020 3:05:06 pm
* Last Modified: Friday, 14th August 2020 2:12:51 pm
* Modified By: Gabriel Ulloa ([email protected])
* -----
* Copyright 2019 - 2020 Incrementa Ventures SpA. ALL RIGHTS RESERVED
Expand Down
4 changes: 2 additions & 2 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!--
File: preview-head.html
Project: components-lib
Project: @inventures/react-lib
File Created: Wednesday, 22nd July 2020 10:20:22 am
Author: Gabriel Ulloa ([email protected])
-----
Last Modified: Wednesday, 22nd July 2020 10:21:56 am
Last Modified: Friday, 14th August 2020 2:12:53 pm
Modified By: Gabriel Ulloa ([email protected])
-----
Copyright 2019 - 2020 Incrementa Ventures SpA. ALL RIGHTS RESERVED
Expand Down
2 changes: 1 addition & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: preview.js
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Thursday, 9th July 2020 12:56:32 am
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion scripts/copyTS.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: copyTS.js
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Friday, 31st July 2020 3:18:41 pm
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProductCardA.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: ProductCard.tsx
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Thursday, 16th July 2020 9:27:33 am
* Author: Mario Merino ([email protected])
* -----
Expand Down
4 changes: 2 additions & 2 deletions src/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* File: index.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Friday, 31st July 2020 3:20:09 pm
* Author: Gabriel Ulloa ([email protected])
* -----
* Last Modified: Friday, 31st July 2020 3:20:19 pm
* Last Modified: Friday, 14th August 2020 2:12:53 pm
* Modified By: Gabriel Ulloa ([email protected])
* -----
* Copyright 2019 - 2020 Incrementa Ventures SpA. ALL RIGHTS RESERVED
Expand Down
6 changes: 3 additions & 3 deletions src/components/input.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* File: input.tsx
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Wednesday, 8th July 2020 11:34:57 am
* Author: Gabriel Ulloa ([email protected])
* -----
* Last Modified: Tuesday, 21st July 2020 10:41:17 pm
* Modified By: Mario Merino (mario@inventures.cl)
* Last Modified: Friday, 14th August 2020 2:12:53 pm
* Modified By: Gabriel Ulloa (gabriel@inventures.cl)
* -----
* Copyright 2019 - 2020 Incrementa Ventures SpA. ALL RIGHTS RESERVED
* Terms and conditions defined in license.txt
Expand Down
2 changes: 1 addition & 1 deletion src/config/storybook/muiTheme/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: index.tsx
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Thursday, 9th July 2020 8:52:10 am
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/config/storybook/muiTheme/register.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: register.js
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Thursday, 9th July 2020 8:39:57 am
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/config/themes/dercocenterx.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: dercocenterx.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Thursday, 9th July 2020 8:05:14 am
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/config/themes/meki.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: meki.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Thursday, 9th July 2020 8:05:19 am
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/config/themes/themeGenerator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: themeGenerator.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Friday, 10th July 2020 12:05:20 pm
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: index.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Friday, 31st July 2020 3:19:47 pm
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useInput.hooks.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: useInputnput.hooks.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Wednesday, 8th July 2020 11:51:01 am
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/validators/EmailValidator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: EmailValidator.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Friday, 24th July 2020 3:51:36 pm
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/validators/RegexValidator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: RegexValidator.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Friday, 24th July 2020 3:54:54 pm
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/validators/RequiredValidator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: RequiredValidator.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Friday, 24th July 2020 3:46:35 pm
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/validators/RutFormatValidator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: RutFormatValidator.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Friday, 24th July 2020 3:54:21 pm
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/validators/RutValidator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: RutValidator.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Friday, 24th July 2020 4:06:33 pm
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/validators/Validator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: Validator.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Friday, 24th July 2020 3:45:21 pm
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/validators/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* File: index.ts
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Friday, 24th July 2020 3:45:07 pm
* Author: Gabriel Ulloa ([email protected])
* -----
Expand Down
15 changes: 15 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
/*
* File: index.tsx
* Project: @inventures/react-lib
* File Created: Tuesday, 4th August 2020 5:47:50 pm
* Author: Gabriel Ulloa ([email protected])
* -----
* Last Modified: Friday, 14th August 2020 2:11:52 pm
* Modified By: Gabriel Ulloa ([email protected])
* -----
* Copyright 2019 - 2020 Incrementa Ventures SpA. ALL RIGHTS RESERVED
* Terms and conditions defined in license.txt
* -----
* Inventures - www.inventures.cl
*/

export * from './components';
export * from './hooks';
15 changes: 15 additions & 0 deletions src/setupTests.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* File: setupTests.ts
* Project: @inventures/react-lib
* File Created: Wednesday, 8th July 2020 1:35:11 am
* Author: Gabriel Ulloa ([email protected])
* -----
* Last Modified: Friday, 14th August 2020 2:11:59 pm
* Modified By: Gabriel Ulloa ([email protected])
* -----
* Copyright 2019 - 2020 Incrementa Ventures SpA. ALL RIGHTS RESERVED
* Terms and conditions defined in license.txt
* -----
* Inventures - www.inventures.cl
*/

// jest-dom adds custom jest matchers for asserting on DOM nodes.
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
Expand Down
4 changes: 2 additions & 2 deletions src/stories/1-Input.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* File: 2-TextField.stories.tsx
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Wednesday, 8th July 2020 1:55:18 am
* Author: Gabriel Ulloa ([email protected])
* -----
* Last Modified: Thursday, 13th August 2020 11:19:25 am
* Last Modified: Friday, 14th August 2020 2:12:51 pm
* Modified By: Gabriel Ulloa ([email protected])
* -----
* Copyright 2019 - 2020 Incrementa Ventures SpA. ALL RIGHTS RESERVED
Expand Down
15 changes: 15 additions & 0 deletions src/stories/2-card.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
* File: 2-card.stories.tsx
* Project: @inventures/react-lib
* File Created: Tuesday, 4th August 2020 5:47:50 pm
* Author: Gabriel Ulloa ([email protected])
* -----
* Last Modified: Friday, 14th August 2020 2:11:47 pm
* Modified By: Gabriel Ulloa ([email protected])
* -----
* Copyright 2019 - 2020 Incrementa Ventures SpA. ALL RIGHTS RESERVED
* Terms and conditions defined in license.txt
* -----
* Inventures - www.inventures.cl
*/

import React from 'react';
import ProductCardA from '../components/ProductCardA';
import { text, boolean, number } from '@storybook/addon-knobs';
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.gen-dts.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* File: tsconfig.gen-dts.json
* Project: components-lib
* Project: @inventures/react-lib
* File Created: Friday, 31st July 2020 3:21:30 pm
* Author: Gabriel Ulloa ([email protected])
* -----
* Last Modified: Tuesday, 4th August 2020 4:06:16 pm
* Last Modified: Friday, 14th August 2020 2:13:31 pm
* Modified By: Gabriel Ulloa ([email protected])
* -----
* Copyright 2019 - 2020 Incrementa Ventures SpA. ALL RIGHTS RESERVED
Expand Down

0 comments on commit 4b10fb9

Please sign in to comment.