Skip to content

Commit 82dfaa9

Browse files
authored
fix: remove deprecated cra templates (#5387)
1 parent ef32375 commit 82dfaa9

File tree

120 files changed

+1
-4408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+1
-4408
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ packages/cypress-commands/dist
1818

1919
scripts
2020
shared
21-
packages/cra-template
2221
CodeGen.tsx
2322
examples
2423

.github/workflows/cra-templates.yml

Lines changed: 0 additions & 70 deletions
This file was deleted.

.reuse/dep5

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ Files: packages/base/src/hooks/useIsomorphicLayoutEffect.ts
1616
Copyright: 2019 Tanner Linsley
1717
License: MIT
1818

19-
Files: packages/cra-template-seed/template/src/hooks/useLocalStorageState.js
20-
Copyright: Kent C. Dodds
21-
License: MIT
22-
2319
Files: packages/base/src/utils/debounce.ts
2420
Copyright: 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
2521
License: MIT

docs/ProjectTemplates.mdx

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Meta } from '@storybook/blocks';
33
import { Label } from '@ui5/webcomponents-react';
44
import NextLogo from '@sb/images/logo-nextjs.svg';
55
import ViteLogo from '@sb/images/logo-vitejs.svg';
6-
import CraLogo from '@sb/images/logo-cra.svg';
76

87
<Meta title="Project Templates" />
98

@@ -67,49 +66,6 @@ A curated list of project templates to get started using UI5 Web Components for
6766
</ul>
6867
</ProjectTemplate>
6968

70-
<ProjectTemplate
71-
title={'Create React App'}
72-
subtitle={'Basic Template'}
73-
logo={CraLogo}
74-
logoAttribution={
75-
'Create React App Logo. Original Source: https://github.com/facebook/create-react-app/blob/main/docusaurus/website/static/img/logo.svg'
76-
}
77-
href={'https://github.com/SAP/ui5-webcomponents-react/tree/main/packages/cra-template'}
78-
deprecationNotice={'We no longer recommend creating apps using Create React App.'}
79-
>
80-
<ul>
81-
<li>
82-
<Label>Cypress Component Test setup</Label>
83-
</li>
84-
</ul>
85-
</ProjectTemplate>
86-
87-
<ProjectTemplate
88-
title={'Create React App'}
89-
subtitle={'Advanced Template'}
90-
logo={CraLogo}
91-
logoAttribution={
92-
'Create React App Logo. Original Source: https://github.com/facebook/create-react-app/blob/main/docusaurus/website/static/img/logo.svg '
93-
}
94-
href={'https://github.com/SAP/ui5-webcomponents-react/tree/main/packages/cra-template-seed'}
95-
deprecationNotice={'We no longer recommend creating apps using Create React App.'}
96-
>
97-
<ul>
98-
<li>
99-
<Label> Routing using</Label>
100-
<code>react-router-dom</code>
101-
</li>
102-
<li>
103-
<Label>Data Fetching via</Label>
104-
<code>react-query</code>
105-
<Label>, Forms with </Label>
106-
<code>formik</code>
107-
<Label>support</Label>
108-
</li>
109-
110-
</ul>
111-
</ProjectTemplate>
112-
11369
## Community Templates
11470

11571
You can find templates created by our community in the [ui5-web-components-templates](https://github.com/ui5-web-components-templates) organization.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
"lint": "eslint packages --ext .ts,.tsx",
2525
"lerna:version-dryrun": "lerna version --conventional-graduate --no-git-tag-version --no-push",
2626
"create-webcomponents-wrapper": "node --experimental-json-modules ./packages/main/scripts/create-web-components-wrapper.mjs && node --experimental-json-modules ./scripts/generate-theming-parameters.js",
27-
"examples:recreate-seed": "rimraf examples/seed-test && npx create-react-app examples/seed-test --template file:./packages/cra-template-seed",
28-
"examples:start-seed": "cd examples/seed-test && SKIP_PREFLIGHT_CHECK=true yarn start",
2927
"chromatic": "cross-env STORYBOOK_ENV=chromatic npx chromatic --build-script-name build:storybook",
3028
"postinstall": "husky install && yarn prepare",
3129
"create-cypress-commands-docs": "typedoc && rimraf temp/typedoc"

packages/cra-template-seed/.eslintrc.cjs

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)