intuit / intuit/design-systems-cli

Not reading the latest version of component template repo

Open
#714 0 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
419
Forks
89
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

**To Reproduce**

Intro:
Git repo ICOM-componets is DS based repo: https://github.intuit.com/gotomarket-expdelactiv/icom-components
This repo using [template-component-mds](https://github.intuit.com/marketing-platform/template-component-mds) as component template.
Create component script is from [here](https://github.intuit.com/gotomarket-expdelactiv/icom-components/blob/master/package.json#L30)

Steps to reproduce:
1. git clone [ICOM-components](https://github.intuit.com/gotomarket-expdelactiv/icom-components)
2. run `yarn install`
3. run `yarn create`
4. check the template file format , for example, I created a component named MyTestComp. The index.tsx is like below screenshot.
5. Check the latest version of component template index.tsx file, [here](https://github.intuit.com/marketing-platform/template-component-mds/blob/master/src/index.tsx)

Two files are not matching, it is not fetching the latest version of master branch from [template-component-mds](https://github.intuit.com/marketing-platform/template-component-mds)

![Screenshot 2023-03-28 at 2 49 01 PM](https://user-images.githubusercontent.com/129228947/228375058-b315ec89-1b11-441f-b122-1d95c05efca0.png)

![Screenshot 2023-03-28 at 2 50 11 PM](https://user-images.githubusercontent.com/129228947/228375117-44441cfd-a10b-454e-af54-a1d7de034a43.png)

**Expected behavior**

**Screenshots**

**Desktop (please complete the following information):**

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.