Skip to content

Commit 81b3a0a

Browse files
Merge pull request #1826 from telerik/react-coffee-warehouse
chore: add react-coffee-warehouse app
2 parents 171d9e7 + 6dce3bf commit 81b3a0a

Some content is hidden

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

65 files changed

+46273
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 0 * * *"
7+
push:
8+
branches-ignore:
9+
- master
10+
- develop
11+
- release-*
12+
13+
jobs:
14+
build:
15+
strategy:
16+
matrix:
17+
version: [16, 18, 20]
18+
19+
runs-on: ubuntu-latest
20+
21+
concurrency:
22+
group: ${{ github.ref }}-build-${{ matrix.version }}
23+
cancel-in-progress: true
24+
25+
steps:
26+
- name: Setup NodeJS
27+
uses: actions/setup-node@v3
28+
with:
29+
node-version: ${{ matrix.version }}
30+
31+
- name: Check out repository
32+
uses: actions/checkout@v3
33+
34+
- name: Install Modules
35+
run: npm ci
36+
37+
- name: Build
38+
run: npm run build
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
**/kendo-ui-license**
21+
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
25+
26+
# License
27+
kendo-ui-license.txt
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
This project has been released under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html), the text of which is included below. This license applies ONLY to the source of this repository and does not extend to any other Kendo UI distribution or variant, or any other 3rd party libraries used in a repository. For licensing information about KendoReact, see the [License Agreements page](https://www.telerik.com/purchase/license-agreement/progress-kendoreact) at [KendoReact.com](http://www.kendoreact.com).
2+
3+
> Copyright © 2024 Progress Software Corporation and/or its subsidiaries or affiliates.
4+
5+
> Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
> [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
10+
11+
> Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
2+
3+
## Prerequisites
4+
5+
Make sure that your current Node.js version is compatible with version `9.0.0` of node-sass. More information on version compatibility can be found here: https://github.com/sass/node-sass#node-version-support-policy
6+
7+
If you do not have python installed along with all the node-gyp dependencies, first download python 2.7: https://www.python.org/download/releases/2.7/
8+
9+
Then open Powershell or Git Bash with administrator privileges and execute:
10+
11+
1. npm install --global --production windows-build-tools
12+
13+
2. npm install --global node-gyp
14+
15+
3. set the python environment variable using npm config set python "path-to-python". For example: npm config set python "%USERPROFILE%\.windows-build-tools\python27\python.exe"
16+
17+
18+
## Available Scripts
19+
20+
In the project directory, you can run:
21+
22+
### `npm start`
23+
24+
Runs the app in the development mode.<br />
25+
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
26+
27+
The page will reload if you make edits.<br />
28+
You will also see any lint errors in the console.
29+
30+
### `npm test`
31+
32+
Launches the test runner in the interactive watch mode.<br />
33+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
34+
35+
### `npm run build`
36+
37+
Builds the app for production to the `build` folder.<br />
38+
It correctly bundles React in production mode and optimizes the build for the best performance.
39+
40+
The build is minified and the filenames include the hashes.<br />
41+
Your app is ready to be deployed!
42+
43+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
44+
45+
### `npm run eject`
46+
47+
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
48+
49+
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
50+
51+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
52+
53+
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
54+
55+
## Learn More
56+
57+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
58+
59+
To learn React, check out the [React documentation](https://reactjs.org/).
60+
61+
### Code Splitting
62+
63+
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
64+
65+
### Analyzing the Bundle Size
66+
67+
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
68+
69+
### Making a Progressive Web App
70+
71+
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
72+
73+
### Advanced Configuration
74+
75+
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
76+
77+
### Deployment
78+
79+
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
80+
81+
### `npm run build` fails to minify
82+
83+
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

0 commit comments

Comments
 (0)