File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,8 +242,8 @@ Run tests and verify in Storybook:
242242# Run tests
243243npm run test
244244
245- # Build project
246- npm run build
245+ # Check that the project will transpile
246+ npm run check-types
247247
248248# Start Storybook
249249npm run storybook
Original file line number Diff line number Diff line change @@ -372,13 +372,13 @@ export { default as Igc[ComponentName]Component } from './components/[component-
372372export { default as IgcProgressBarComponent } from ' ./components/progress-bar/progress-bar.js' ;
373373```
374374
375- ### 10. Build and Test
375+ ### 10. Type-Check and Test
376376
377- Run the full build and test suite:
377+ Run type-checking and test suite:
378378
379379``` bash
380- # Build the project
381- npm run build
380+ # Check that the project will transpile
381+ npm run check-types
382382
383383# Run tests
384384npm run test
@@ -401,7 +401,7 @@ Verify all of the following:
401401- [ ] Test file with accessibility tests
402402- [ ] Storybook story file
403403- [ ] Exported from ` src/index.ts ` alphabetically
404- - [ ] TypeScript compiles (` npm run build ` )
404+ - [ ] TypeScript compiles (` npm run check-types ` )
405405- [ ] Tests pass (` npm run test ` )
406406- [ ] Component appears in Storybook
407407- [ ] All theme variants render correctly
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ describe('Component', () => {
369369
370370### 13. Build & Compilation
371371
372- - [ ] ** TypeScript compiles** without errors: ` npm run build `
372+ - [ ] ** TypeScript compiles** without errors: ` npm run check-types `
373373- [ ] ** No linting errors** : Check biome/eslint output
374374- [ ] ** SCSS transpiled** to ` .css.js ` files
375375- [ ] ** All tests pass** : ` npm run test `
You can’t perform that action at this time.
0 commit comments