Skip to content

Commit

Permalink
fix(components): prevent generated files to be commited && clean unus…
Browse files Browse the repository at this point in the history
…ed files
  • Loading branch information
dpellier committed Jan 16, 2024
1 parent 723d08b commit e4fdb6c
Show file tree
Hide file tree
Showing 206 changed files with 504 additions and 1,074 deletions.
22 changes: 12 additions & 10 deletions packages/components/src/accordion/.gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
#--- Project related ---#
.stencil/
coverage/
dist/
custom-elements/
custom-elements-bundle/
docs-api/
screenshot/
www/
loader/
docs-api
src/components.d.ts

# Local Stencil command generates external ods component build at the root of the project
# Excluding them is a temporary solution to avoid pushing generated files
# But the issue may cause main build (ods-component package) to fails, as it detects multiples occurences
# of the same component and thus you have to delete all those generated dir manually
*/src/

#--- Misc ---#
*~
*.sw[mnpcod]
*.log
Expand All @@ -15,19 +23,13 @@ src/components.d.ts
log.txt
*.sublime-project
*.sublime-workspace

.stencil/
screenshot/
.idea/
.vscode/
.sass-cache/
.versions/
node_modules/
$RECYCLE.BIN/

.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
.env

src/**/readme.md
4 changes: 0 additions & 4 deletions packages/components/src/accordion/.npmignore

This file was deleted.

1 change: 0 additions & 1 deletion packages/components/src/accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"doc:accordion": "typedoc src/components/osds-accordion/public-api.ts --out ./docs-api/accordion --json ./docs-api/accordion/typedoc.json",
"doc:accordion-group": "typedoc src/components/osds-accordion-group/public-api.ts --out ./docs-api/accordion-group --json ./docs-api/accordion-group/typedoc.json",
"doc:api": "typedoc",
"generate:licence": "npx generate-license-file --input package.json --output THIRD-PARTY-LICENCES --overwrite",
"lint:scss": "stylelint 'src/components/**/*.scss'",
"FIXME_lint:ts": "eslint 'src/**/*.{js,ts,tsx}'",
"start": "stencil build --dev --watch --serve",
Expand Down
6 changes: 0 additions & 6 deletions packages/components/src/accordion/tsconfig.prod.json

This file was deleted.

22 changes: 12 additions & 10 deletions packages/components/src/breadcrumb/.gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
#--- Project related ---#
.stencil/
coverage/
dist/
custom-elements/
custom-elements-bundle/
docs-api/
screenshot/
www/
loader/
docs-api
src/components.d.ts

# Local Stencil command generates external ods component build at the root of the project
# Excluding them is a temporary solution to avoid pushing generated files
# But the issue may cause main build (ods-component package) to fails, as it detects multiples occurences
# of the same component and thus you have to delete all those generated dir manually
*/src/

#--- Misc ---#
*~
*.sw[mnpcod]
*.log
Expand All @@ -15,19 +23,13 @@ src/components.d.ts
log.txt
*.sublime-project
*.sublime-workspace

.stencil/
screenshot/
.idea/
.vscode/
.sass-cache/
.versions/
node_modules/
$RECYCLE.BIN/

.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
.env

src/**/readme.md
4 changes: 0 additions & 4 deletions packages/components/src/breadcrumb/.npmignore

This file was deleted.

5 changes: 0 additions & 5 deletions packages/components/src/breadcrumb/THIRD-PARTY-LICENCES

This file was deleted.

1 change: 0 additions & 1 deletion packages/components/src/breadcrumb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"clean": "rimraf .stencil coverage custom-elements custom-elements-bundle dist docs-api loader screenshot www",
"doc": "typedoc --json ./docs-api/typedoc.json --pretty && node ../../../../scripts/generate-typedoc-md.js",
"doc:api": "typedoc",
"generate:licence": "npx generate-license-file --input package.json --output THIRD-PARTY-LICENCES --overwrite",
"lint:scss": "stylelint 'src/components/**/*.scss'",
"FIXME_lint:ts": "eslint 'src/**/*.{js,ts,tsx}'",
"start": "stencil build --dev --watch --serve",
Expand Down
6 changes: 0 additions & 6 deletions packages/components/src/breadcrumb/tsconfig.prod.json

This file was deleted.

22 changes: 12 additions & 10 deletions packages/components/src/button/.gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
#--- Project related ---#
.stencil/
coverage/
dist/
custom-elements/
custom-elements-bundle/
docs-api/
screenshot/
www/
loader/
docs-api
src/components.d.ts

# Local Stencil command generates external ods component build at the root of the project
# Excluding them is a temporary solution to avoid pushing generated files
# But the issue may cause main build (ods-component package) to fails, as it detects multiples occurences
# of the same component and thus you have to delete all those generated dir manually
*/src/

#--- Misc ---#
*~
*.sw[mnpcod]
*.log
Expand All @@ -15,19 +23,13 @@ src/components.d.ts
log.txt
*.sublime-project
*.sublime-workspace

.stencil/
screenshot/
.idea/
.vscode/
.sass-cache/
.versions/
node_modules/
$RECYCLE.BIN/

.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
.env

src/**/readme.md
4 changes: 0 additions & 4 deletions packages/components/src/button/.npmignore

This file was deleted.

5 changes: 0 additions & 5 deletions packages/components/src/button/THIRD-PARTY-LICENCES

This file was deleted.

1 change: 0 additions & 1 deletion packages/components/src/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"clean": "rimraf .stencil coverage custom-elements custom-elements-bundle dist docs-api loader screenshot www",
"doc": "typedoc --json ./docs-api/typedoc.json --pretty && node ../../../../scripts/generate-typedoc-md.js",
"doc:api": "typedoc",
"generate:licence": "npx generate-license-file --input package.json --output THIRD-PARTY-LICENCES --overwrite",
"lint:scss": "stylelint 'src/components/**/*.scss'",
"FIXME_lint:ts": "eslint 'src/**/*.{js,ts,tsx}'",
"start": "stencil build --dev --watch --serve",
Expand Down
6 changes: 0 additions & 6 deletions packages/components/src/button/tsconfig.prod.json

This file was deleted.

22 changes: 12 additions & 10 deletions packages/components/src/cart/.gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
#--- Project related ---#
.stencil/
coverage/
dist/
custom-elements/
custom-elements-bundle/
www/
loader/
docs-api/
screenshot/
www/
src/components.d.ts

# Local Stencil command generates external ods component build at the root of the project
# Excluding them is a temporary solution to avoid pushing generated files
# But the issue may cause main build (ods-component package) to fails, as it detects multiples occurences
# of the same component and thus you have to delete all those generated dir manually
*/src/

#--- Misc ---#
*~
*.sw[mnpcod]
*.log
Expand All @@ -15,19 +23,13 @@ src/components.d.ts
log.txt
*.sublime-project
*.sublime-workspace

.stencil/
screenshot/
.idea/
.vscode/
.sass-cache/
.versions/
node_modules/
$RECYCLE.BIN/

.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
.env

src/**/readme.md
4 changes: 0 additions & 4 deletions packages/components/src/cart/.npmignore

This file was deleted.

5 changes: 0 additions & 5 deletions packages/components/src/cart/THIRD-PARTY-LICENCES

This file was deleted.

1 change: 0 additions & 1 deletion packages/components/src/cart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"clean": "rimraf .stencil coverage custom-elements custom-elements-bundle dist docs-api loader screenshot www",
"doc": "typedoc --json ./docs-api/typedoc.json --pretty && node ../../../../scripts/generate-typedoc-md.js",
"doc:api": "typedoc",
"generate:licence": "npx generate-license-file --input package.json --output THIRD-PARTY-LICENCES --overwrite",
"lint:scss": "stylelint 'src/components/**/*.scss'",
"FIXME_lint:ts": "eslint 'src/**/*.{js,ts,tsx}'",
"start": "stencil build --dev --watch --serve",
Expand Down
6 changes: 0 additions & 6 deletions packages/components/src/cart/tsconfig.prod.json

This file was deleted.

22 changes: 12 additions & 10 deletions packages/components/src/checkbox-button/.gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
custom-elements/
custom-elements-bundle/
#--- Project related ---#
.stencil/
coverage/
dist/
docs-api/
screenshot/
www/
loader/
docs-api
src/components.d.ts

# Local Stencil command generates external ods component build at the root of the project
# Excluding them is a temporary solution to avoid pushing generated files
# But the issue may cause main build (ods-component package) to fails, as it detects multiples occurences
# of the same component and thus you have to delete all those generated dir manually
*/src/

#--- Misc ---#
*~
*.sw[mnpcod]
*.log
Expand All @@ -15,19 +23,13 @@ src/components.d.ts
log.txt
*.sublime-project
*.sublime-workspace

.stencil/
screenshot/
.idea/
.vscode/
.sass-cache/
.versions/
node_modules/
$RECYCLE.BIN/

.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
.env

src/**/readme.md
4 changes: 0 additions & 4 deletions packages/components/src/checkbox-button/.npmignore

This file was deleted.

5 changes: 0 additions & 5 deletions packages/components/src/checkbox-button/THIRD-PARTY-LICENCES

This file was deleted.

1 change: 0 additions & 1 deletion packages/components/src/checkbox-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"clean": "rimraf .stencil coverage custom-elements custom-elements-bundle dist docs-api loader screenshot www",
"doc": "typedoc --json ./docs-api/typedoc.json --pretty && node ../../../../scripts/generate-typedoc-md.js",
"doc:api": "typedoc",
"generate:licence": "npx generate-license-file --input package.json --output THIRD-PARTY-LICENCES --overwrite",
"lint:scss": "stylelint 'src/components/**/*.scss'",
"FIXME_lint:ts": "eslint 'src/**/*.{js,ts,tsx}'",
"start": "stencil build --dev --watch --serve",
Expand Down
6 changes: 0 additions & 6 deletions packages/components/src/checkbox-button/tsconfig.prod.json

This file was deleted.

24 changes: 12 additions & 12 deletions packages/components/src/checkbox/.gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
#--- Project related ---#
.stencil/
coverage/
dist/
custom-elements/
custom-elements-bundle/
docs-api/
screenshot/
www/
loader/
docs-api
src/components.d.ts
!src/dependencies.d.ts
!src/interface.d.ts

# Local Stencil command generates external ods component build at the root of the project
# Excluding them is a temporary solution to avoid pushing generated files
# But the issue may cause main build (ods-component package) to fails, as it detects multiples occurences
# of the same component and thus you have to delete all those generated dir manually
*/src/

#--- Misc ---#
*~
*.sw[mnpcod]
*.log
Expand All @@ -17,19 +23,13 @@ src/components.d.ts
log.txt
*.sublime-project
*.sublime-workspace

.stencil/
screenshot/
.idea/
.vscode/
.sass-cache/
.versions/
node_modules/
$RECYCLE.BIN/

.DS_Store
Thumbs.db
UserInterfaceState.xcuserstate
.env

src/**/readme.md
4 changes: 0 additions & 4 deletions packages/components/src/checkbox/.npmignore

This file was deleted.

Loading

0 comments on commit e4fdb6c

Please sign in to comment.