Skip to content

Commit

Permalink
- Added missing postcss dependency for SPFx
Browse files Browse the repository at this point in the history
- removed unecessary SPFx project under packages (moved to apps)
  • Loading branch information
Franck Cornu committed Nov 12, 2024
1 parent 6ea65a1 commit b573dca
Show file tree
Hide file tree
Showing 173 changed files with 47 additions and 12,888 deletions.
1 change: 1 addition & 0 deletions apps/spfx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"gulp-rename": "2.0.0",
"gulp-replace": "1.1.4",
"autoprefixer": "10.4.16",
"postcss": "8.4.31",
"tailwindcss": "3.2.4",
"@tailwindcss/forms": "0.5.3",
"@tailwindcss/line-clamp": "0.4.4",
Expand Down
2 changes: 1 addition & 1 deletion apps/spfx/src/webparts/searchBox/components/SearchBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ISearchBoxProps } from './ISearchBoxProps';
import { wrapWc } from 'wc-react';
import { SearchInputComponent } from '@pnp/modern-search-core';

const SearchInputWebComponent = wrapWc<SearchInputComponent>('pnp-search-input');
const SearchInputWebComponent = wrapWc<Partial<SearchInputComponent>>('pnp-search-input');

export class SearchBox extends React.Component<ISearchBoxProps, {}> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import parse from 'html-react-parser';
import { SlotType } from '../../../models/common/ILayoutSlot';
import { EventConstants } from '@pnp/modern-search-core/dist/es6/common/Constants';

const SearchResultsWebComponent = wrapWc<SearchResultsComponent>('pnp-search-results');
const SearchResultsWebComponent = wrapWc<Partial<SearchResultsComponent>>('pnp-search-results');

export default class SearchResults extends React.Component<ISearchResultsProps, ISearchResultsState> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import parse, { } from 'html-react-parser';
import { isEqual } from '@microsoft/sp-lodash-subset';
import { Guid } from '@microsoft/sp-core-library';

const SearchVerticalsWebComponent = wrapWc<SearchVerticalsComponent>('pnp-search-verticals');
const SearchVerticalsWebComponent = wrapWc<Partial<SearchVerticalsComponent>>('pnp-search-verticals');

export default class SearchVerticals extends React.Component<ISearchVerticalsProps, {}> {

Expand Down
352 changes: 0 additions & 352 deletions packages/spfx/.eslintrc.js

This file was deleted.

35 changes: 0 additions & 35 deletions packages/spfx/.gitignore

This file was deleted.

16 changes: 0 additions & 16 deletions packages/spfx/.npmignore

This file was deleted.

23 changes: 0 additions & 23 deletions packages/spfx/.vscode/launch.json

This file was deleted.

13 changes: 0 additions & 13 deletions packages/spfx/.vscode/settings.json

This file was deleted.

21 changes: 0 additions & 21 deletions packages/spfx/.yo-rc.json

This file was deleted.

9 changes: 0 additions & 9 deletions packages/spfx/README.md

This file was deleted.

12 changes: 0 additions & 12 deletions packages/spfx/babel.config.json

This file was deleted.

49 changes: 0 additions & 49 deletions packages/spfx/config/config.json

This file was deleted.

7 changes: 0 additions & 7 deletions packages/spfx/config/deploy-azure-storage.json

This file was deleted.

98 changes: 0 additions & 98 deletions packages/spfx/config/package-solution.json

This file was deleted.

3 changes: 0 additions & 3 deletions packages/spfx/config/sass.json

This file was deleted.

6 changes: 0 additions & 6 deletions packages/spfx/config/serve.json

This file was deleted.

4 changes: 0 additions & 4 deletions packages/spfx/config/write-manifests.json

This file was deleted.

12 changes: 0 additions & 12 deletions packages/spfx/fast-serve/babel.config.json

This file was deleted.

6 changes: 0 additions & 6 deletions packages/spfx/fast-serve/config.json

This file was deleted.

Loading

0 comments on commit b573dca

Please sign in to comment.