Overview
The purpose of this issue is to remove git information from ComponentProfile because issue #6 will add a separate git info which is more detailed and useful in analyzing components. Therefore, we should remove git info from ComponentProfile to ensure better maintainability.
These are 3 places we need to remove vue-scanner.ts
Initial property detail
|
dataLastModified: "", |
|
lastModified: "", |
|
created: "", |
|
createdBy: "", |
|
updatedBy: "", |
Interface file property
|
created: string; |
|
createdBy: string; |
|
updatedBy: string; |
|
lastModified: string; |
|
dataLastModified: string; |
Initial property component
|
dataLastModified: "", |
|
lastModified: "", |
|
created: "", |
|
createdBy: "", |
|
updatedBy: "", |
There are 2 places to remove from analyze-component-files.spec.ts unit test
|
dataLastModified: "Fri Apr 28 2023", |
|
lastModified: "Fri Apr 28 2023", |
|
created: "2023-04-17T04:04:04.000Z", |
|
createdBy: "system", |
|
updatedBy: "system", |
|
dataLastModified: "Fri Apr 28 2023", |
|
lastModified: "Fri Apr 28 2023", |
|
created: "2023-04-17T04:04:04.000Z", |
|
createdBy: "system", |
|
updatedBy: "system", |
Expected Behavior
- Remove all of them
- Scan to check that there is no error in exporting
components.json
- Check in
components.json that git info is no longer in this JSON file
Overview
The purpose of this issue is to remove git information from
ComponentProfilebecause issue #6 will add a separate git info which is more detailed and useful in analyzing components. Therefore, we should remove git info fromComponentProfileto ensure better maintainability.These are 3 places we need to remove
vue-scanner.tsInitial property detail
berryjam/src/vue-scanner.ts
Lines 693 to 697 in 07dc984
Interface file property
berryjam/src/types.ts
Lines 61 to 65 in 07dc984
Initial property component
berryjam/src/vue-scanner.ts
Lines 516 to 520 in 07dc984
There are 2 places to remove from
analyze-component-files.spec.tsunit testberryjam/tests/analyze-component-files.spec.ts
Lines 215 to 219 in 07dc984
berryjam/tests/analyze-component-files.spec.ts
Lines 236 to 240 in 07dc984
Expected Behavior
components.jsoncomponents.jsonthat git info is no longer in this JSON file