Skip to content

Commit db223be

Browse files
Upgraded packages & newly setup (#7)
Upgraded packages and other changes
1 parent fa9212a commit db223be

255 files changed

Lines changed: 69074 additions & 35413 deletions

File tree

Some content is hidden

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

.github/workflows/prod.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Node - SSH deploy
2+
3+
# Controls when the action will run.
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the master branch
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
types:
11+
- closed
12+
branches:
13+
- master
14+
15+
jobs:
16+
if_merged:
17+
if: github.event.pull_request.merged == true
18+
name: 🎉 Deploy
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: 🚚 Get latest code
23+
uses: actions/checkout@v2
24+
25+
- name: Use Node.js 14
26+
uses: actions/setup-node@v2-beta
27+
with:
28+
node-version: "14"
29+
30+
- name: 🔨 Build Project
31+
run: |
32+
cd template
33+
yarn
34+
yarn build
35+
36+
- name: 📂 Deploy to Server
37+
uses: easingthemes/ssh-deploy@v2.1.5
38+
env:
39+
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
40+
# ARGS: "-rltgoDzvO --delete"
41+
SOURCE: "full-version/build/"
42+
REMOTE_HOST: 192.34.62.123
43+
REMOTE_USER: cicd-user
44+
TARGET: public_html/demos/admin-templates/datta-able/react/free
45+
EXCLUDE: "/full-version/dist/, /full-version/node_modules/"

template/.prettierignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

template/.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bracketSpacing": true,
3+
"printWidth": 140,
4+
"singleQuote": true,
5+
"trailingComma": "none",
6+
"tabWidth": 2,
7+
"useTabs": false
8+
}

template/README.md

Lines changed: 16 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,26 @@
1-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
1+
# Introduction
22

3-
## Available Scripts
3+
TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.
44

5-
In the project directory, you can run:
5+
# Getting Started
66

7-
### `npm start`
7+
TODO: Guide users through getting your code up and running on their own system. In this section you can talk about:
88

9-
Runs the app in the development mode.<br>
10-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
9+
1. Installation process
10+
2. Software dependencies
11+
3. Latest releases
12+
4. API references
1113

12-
The page will reload if you make edits.<br>
13-
You will also see any lint errors in the console.
14+
# Build and Test
1415

15-
### `npm test`
16+
TODO: Describe and show how to build your code and run the tests.
1617

17-
Launches the test runner in the interactive watch mode.<br>
18-
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
18+
# Contribute
1919

20-
### `npm run build`
20+
TODO: Explain how other users and developers can contribute to make your code better.
2121

22-
Builds the app for production to the `build` folder.<br>
23-
It correctly bundles React in production mode and optimizes the build for the best performance.
22+
If you want to learn more about creating good readme files then refer the following [guidelines](https://docs.microsoft.com/en-us/azure/devops/repos/git/create-a-readme?view=azure-devops). You can also seek inspiration from the below readme files:
2423

25-
The build is minified and the filenames include the hashes.<br>
26-
Your app is ready to be deployed!
27-
28-
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
29-
30-
### `npm run eject`
31-
32-
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
33-
34-
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.
35-
36-
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.
37-
38-
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.
39-
40-
## Learn More
41-
42-
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
43-
44-
To learn React, check out the [React documentation](https://reactjs.org/).
45-
46-
### Code Splitting
47-
48-
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
49-
50-
### Analyzing the Bundle Size
51-
52-
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
53-
54-
### Making a Progressive Web App
55-
56-
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
57-
58-
### Advanced Configuration
59-
60-
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
61-
62-
### Deployment
63-
64-
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
65-
66-
### `npm run build` fails to minify
67-
68-
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
24+
- [ASP.NET Core](https://github.com/aspnet/Home)
25+
- [Visual Studio Code](https://github.com/Microsoft/vscode)
26+
- [Chakra Core](https://github.com/Microsoft/ChakraCore)

0 commit comments

Comments
 (0)