Skip to content

Commit

Permalink
feat(core): migrate prettier to v2.3.1 (#5623)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillip9587 committed Jun 17, 2021
1 parent 3c833e4 commit fe97444
Show file tree
Hide file tree
Showing 105 changed files with 4,885 additions and 9,350 deletions.
6 changes: 2 additions & 4 deletions .cz-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ module.exports = {
{ value: 'docs', name: 'docs: Documentation only changes' },
{
value: 'cleanup',
name:
'cleanup: A code change that neither fixes a bug nor adds a feature',
name: 'cleanup: A code change that neither fixes a bug nor adds a feature',
},
{
value: 'chore',
Expand Down Expand Up @@ -64,8 +63,7 @@ module.exports = {
customScope: 'Denote the SCOPE of this change:',
subject:
'Write a SHORT, IMPERATIVE (lowercase) description of the change:\n',
body:
'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
breaking: 'List any BREAKING CHANGES (optional):\n',
footer:
'List any ISSUES CLOSED by this change (optional). E.g.: #31, #34:\n',
Expand Down
5 changes: 2 additions & 3 deletions dep-graph/dep-graph/src/app/ui-sidebar/project-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ export class ProjectList {

setCheckedProjects(selectedProjects: string[]) {
Object.keys(this.checkboxes).forEach((projectName) => {
this.checkboxes[projectName].checked = selectedProjects.includes(
projectName
);
this.checkboxes[projectName].checked =
selectedProjects.includes(projectName);
});
}

Expand Down
10 changes: 4 additions & 6 deletions dep-graph/dep-graph/src/app/ui-sidebar/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,14 @@ export class SidebarComponent {
);
this.displayOptionsPanel.render(displayOptionsPanelContainer);

const focusedProjectPanelContainer = document.getElementById(
'focused-project'
);
const focusedProjectPanelContainer =
document.getElementById('focused-project');
this.focusedProjectPanel = new FocusedProjectPanel(
focusedProjectPanelContainer
);

const textFilterPanelContainer = document.getElementById(
'text-filter-panel'
);
const textFilterPanelContainer =
document.getElementById('text-filter-panel');
this.textFilterPanel = new TextFilterPanel(textFilterPanelContainer);

const projectListContainer = document.getElementById('project-lists');
Expand Down
78 changes: 26 additions & 52 deletions dep-graph/dep-graph/src/graphs/nx-examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,38 +85,32 @@ export const nxExamplesGraph: ProjectGraphCache = {
ext: '.ts',
},
{
file:
'libs/products/product-detail-page/src/lib/product-detail-page/product-detail-page.component.html',
file: 'libs/products/product-detail-page/src/lib/product-detail-page/product-detail-page.component.html',
hash: 'fd5fa276dc13f789ae5d7a37703a296753aec8be',
ext: '.html',
},
{
file:
'libs/products/product-detail-page/src/lib/product-detail-page/product-detail-page.component.scss',
file: 'libs/products/product-detail-page/src/lib/product-detail-page/product-detail-page.component.scss',
hash: '98fbca8900da6d5c5f6373558f5bd69efe190780',
ext: '.scss',
},
{
file:
'libs/products/product-detail-page/src/lib/product-detail-page/product-detail-page.component.spec.ts',
file: 'libs/products/product-detail-page/src/lib/product-detail-page/product-detail-page.component.spec.ts',
hash: 'e8390b7218d2dca9eb4be8d2b1cc08e1b1c0de1b',
ext: '.ts',
},
{
file:
'libs/products/product-detail-page/src/lib/product-detail-page/product-detail-page.component.ts',
file: 'libs/products/product-detail-page/src/lib/product-detail-page/product-detail-page.component.ts',
hash: 'c20bd27b12494827624a3835b1ec6475efaf0913',
ext: '.ts',
},
{
file:
'libs/products/product-detail-page/src/lib/products-product-detail-page.module.spec.ts',
file: 'libs/products/product-detail-page/src/lib/products-product-detail-page.module.spec.ts',
hash: '01541f218a3a1b95b056fd9d2d1b578e5a2e3d9a',
ext: '.ts',
},
{
file:
'libs/products/product-detail-page/src/lib/products-product-detail-page.module.ts',
file: 'libs/products/product-detail-page/src/lib/products-product-detail-page.module.ts',
hash: '5c06b527e7ffe870f1960a74a845106beca79b6b',
ext: '.ts',
},
Expand Down Expand Up @@ -262,44 +256,37 @@ export const nxExamplesGraph: ProjectGraphCache = {
ext: '.ts',
},
{
file:
'libs/shared/product/state/src/lib/+state/products.actions.ts',
file: 'libs/shared/product/state/src/lib/+state/products.actions.ts',
hash: '4c0efeeec1adfcecd34b20bda87fce5f24a64675',
ext: '.ts',
},
{
file:
'libs/shared/product/state/src/lib/+state/products.reducer.spec.ts',
file: 'libs/shared/product/state/src/lib/+state/products.reducer.spec.ts',
hash: 'b2821f72394868ca503eb637f2891564851583eb',
ext: '.ts',
},
{
file:
'libs/shared/product/state/src/lib/+state/products.reducer.ts',
file: 'libs/shared/product/state/src/lib/+state/products.reducer.ts',
hash: '9168586d19b76b0dd462dafbb5b6998c4da5ba53',
ext: '.ts',
},
{
file:
'libs/shared/product/state/src/lib/+state/products.selectors.spec.ts',
file: 'libs/shared/product/state/src/lib/+state/products.selectors.spec.ts',
hash: '25cd673e1ff8b591f92f734944cd20adf965b612',
ext: '.ts',
},
{
file:
'libs/shared/product/state/src/lib/+state/products.selectors.ts',
file: 'libs/shared/product/state/src/lib/+state/products.selectors.ts',
hash: '74fd5c163037dd51d33316cb2ce1c816728edea1',
ext: '.ts',
},
{
file:
'libs/shared/product/state/src/lib/shared-product-state.module.spec.ts',
file: 'libs/shared/product/state/src/lib/shared-product-state.module.spec.ts',
hash: '713543b7a36b2027985904f9a74124f79406108c',
ext: '.ts',
},
{
file:
'libs/shared/product/state/src/lib/shared-product-state.module.ts',
file: 'libs/shared/product/state/src/lib/shared-product-state.module.ts',
hash: '144207d2b4609204b8ceab1ae81d1079d61b3949',
ext: '.ts',
},
Expand Down Expand Up @@ -450,38 +437,32 @@ export const nxExamplesGraph: ProjectGraphCache = {
ext: '.ts',
},
{
file:
'libs/products/home-page/src/lib/home-page/home-page.component.html',
file: 'libs/products/home-page/src/lib/home-page/home-page.component.html',
hash: '8bd27770e5974269e766d95762fef74b5bd89841',
ext: '.html',
},
{
file:
'libs/products/home-page/src/lib/home-page/home-page.component.scss',
file: 'libs/products/home-page/src/lib/home-page/home-page.component.scss',
hash: 'ba4f1655a2c0791670384de48367caded0d6e601',
ext: '.scss',
},
{
file:
'libs/products/home-page/src/lib/home-page/home-page.component.spec.ts',
file: 'libs/products/home-page/src/lib/home-page/home-page.component.spec.ts',
hash: '66eb455b3e71b30c0bd16a4769cc34b81133b667',
ext: '.ts',
},
{
file:
'libs/products/home-page/src/lib/home-page/home-page.component.ts',
file: 'libs/products/home-page/src/lib/home-page/home-page.component.ts',
hash: 'bd081eedbf10a2cd04c95609379d131e5e8d60a1',
ext: '.ts',
},
{
file:
'libs/products/home-page/src/lib/products-home-page.module.spec.ts',
file: 'libs/products/home-page/src/lib/products-home-page.module.spec.ts',
hash: '1d9cf1c8c46ebe69275def67ccf6f04c0f967856',
ext: '.ts',
},
{
file:
'libs/products/home-page/src/lib/products-home-page.module.ts',
file: 'libs/products/home-page/src/lib/products-home-page.module.ts',
hash: 'db6a06b6d0063c4a1fff6c7953be09a680592184',
ext: '.ts',
},
Expand Down Expand Up @@ -563,14 +544,12 @@ export const nxExamplesGraph: ProjectGraphCache = {
ext: '.ts',
},
{
file:
'libs/shared/product/ui/src/lib/product-price/product-price.element.spec.ts',
file: 'libs/shared/product/ui/src/lib/product-price/product-price.element.spec.ts',
hash: '34be17f44c09cfa01a9fd4dc7ada68c7bafded6e',
ext: '.ts',
},
{
file:
'libs/shared/product/ui/src/lib/product-price/product-price.element.ts',
file: 'libs/shared/product/ui/src/lib/product-price/product-price.element.ts',
hash: '8c626d1213b1b47bc2bdf221554fb38bb9f9bfae',
ext: '.ts',
},
Expand Down Expand Up @@ -672,8 +651,7 @@ export const nxExamplesGraph: ProjectGraphCache = {
ext: '.ts',
},
{
file:
'libs/shared/cart/state/src/lib/+state/cart.selectors.spec.ts',
file: 'libs/shared/cart/state/src/lib/+state/cart.selectors.spec.ts',
hash: 'dc5a869677b1db84446492fc6a1045cd33c0d661',
ext: '.ts',
},
Expand All @@ -683,8 +661,7 @@ export const nxExamplesGraph: ProjectGraphCache = {
ext: '.ts',
},
{
file:
'libs/shared/cart/state/src/lib/shared-cart-state.module.spec.ts',
file: 'libs/shared/cart/state/src/lib/shared-cart-state.module.spec.ts',
hash: 'caef812f0d76e3f3ca6849d53dc0d011cd2e902a',
ext: '.ts',
},
Expand Down Expand Up @@ -825,14 +802,12 @@ export const nxExamplesGraph: ProjectGraphCache = {
ext: '.ts',
},
{
file:
'libs/cart/cart-page/src/lib/cart-cart-page/cart-cart-page.spec.tsx',
file: 'libs/cart/cart-page/src/lib/cart-cart-page/cart-cart-page.spec.tsx',
hash: 'ccef1ef28fac14fdaa45c523108862d70d28825b',
ext: '.tsx',
},
{
file:
'libs/cart/cart-page/src/lib/cart-cart-page/cart-cart-page.tsx',
file: 'libs/cart/cart-page/src/lib/cart-cart-page/cart-cart-page.tsx',
hash: '83a824d0bafcc3d4edf94490664351fe99cdef3f',
ext: '.tsx',
},
Expand Down Expand Up @@ -945,8 +920,7 @@ export const nxExamplesGraph: ProjectGraphCache = {
ext: '.jpg',
},
{
file:
'libs/shared/assets/src/assets/images/a-dance-with-dragons.jpg',
file: 'libs/shared/assets/src/assets/images/a-dance-with-dragons.jpg',
hash: 'ea6706f36b4e3a579bd97b8e506fbc7345ef8635',
ext: '.jpg',
},
Expand Down
Loading

0 comments on commit fe97444

Please sign in to comment.