UPdate packages
This commit is contained in:
parent
7395cb9bf4
commit
761039dcd0
@ -1,24 +0,0 @@
|
|||||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
||||||
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
|
|
||||||
{
|
|
||||||
"name": "ServiMain Dev Container",
|
|
||||||
"build": {
|
|
||||||
// Sets the run context to one level up instead of the .devcontainer folder.
|
|
||||||
"context": "..",
|
|
||||||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
|
|
||||||
"dockerfile": "../Dockerfile"
|
|
||||||
},
|
|
||||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
||||||
// "features": {},
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
||||||
"forwardPorts": [
|
|
||||||
3000,
|
|
||||||
3000
|
|
||||||
]
|
|
||||||
// Uncomment the next line to run commands after the container is created.
|
|
||||||
// "postCreateCommand": "cat /etc/os-release",
|
|
||||||
// Configure tool-specific properties.
|
|
||||||
// "customizations": {},
|
|
||||||
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
|
|
||||||
// "remoteUser": "devcontainer"
|
|
||||||
}
|
|
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -1,5 +1,6 @@
|
|||||||
|
/* groovylint-disable-next-line CompileStatic */
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
@ -21,4 +22,4 @@ pipeline {
|
|||||||
cleanWs()
|
cleanWs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
50
README.md
50
README.md
@ -1,29 +1,37 @@
|
|||||||
# Universal-React-Starter
|
# Universal-React-Starter
|
||||||
|
|
||||||
- [DaisyUI](https://daisyui.com/) - main styling
|
This starter pack for React projects includes a comprehensive set of libraries to enhance both development and user experience. Each library is chosen for its specific functionality, ensuring a robust and scalable application.
|
||||||
- [react-icons](https://react-icons.github.io/react-icons/) - big icon library
|
|
||||||
- [recharts](https://echarts.apache.org/) - charts library
|
|
||||||
- [wouter](https://github.com/molefrog/wouter) - router library
|
|
||||||
- [react-hook-form](https://github.com/react-hook-form/resolvers#zod) with [zod](https://zod.dev/) resolver - forms library
|
|
||||||
- [axios](https://axios-http.com/) - http request library
|
|
||||||
- [@tanstack/react-table](https://tanstack.com/table/v8/docs/adapters/react-table) - advanced table library
|
|
||||||
|
|
||||||
## Usage
|
## Key Libraries
|
||||||
|
|
||||||
1. Setup `.env` files
|
- **[DaisyUI](https://daisyui.com/):** A versatile styling library, providing a wide range of UI components and themes.
|
||||||
1. `.env` - for production and development
|
- **[react-icons](https://react-icons.github.io/react-icons/):** Offers an extensive library of icons, integrating popular icon sets.
|
||||||
2. `.env.development` - for development
|
- **[recharts](https://echarts.apache.org/):** A powerful library for creating interactive charts and visualizations.
|
||||||
3. `.env.production` - for production
|
- **[wouter](https://github.com/molefrog/wouter):** A minimalist router library, simplifying navigation within the app.
|
||||||
2. Build or run dev server
|
- **[react-hook-form](https://github.com/react-hook-form/resolvers#zod) with [zod](https://zod.dev/) resolver:** Streamlines form management, enhancing validation processes.
|
||||||
3. Enjoy 🎉
|
- **[axios](https://axios-http.com/):** A popular library for making HTTP requests, known for its ease of use.
|
||||||
|
- **[@tanstack/react-table](https://tanstack.com/table/v8/docs/adapters/react-table):** An advanced table library, facilitating the creation of complex and interactive tables.
|
||||||
|
|
||||||
### Contact
|
## Usage Guide
|
||||||
|
|
||||||
If you have any suggestions/opinions, please let me know in issues.
|
1. **Environment Setup:**
|
||||||
|
- `.env`: General configuration for both production and development.
|
||||||
|
- `.env.development`: Specific settings for development.
|
||||||
|
- `.env.production`: Dedicated configuration for production environments.
|
||||||
|
|
||||||
#### Dev notes
|
2. **Building and Running:**
|
||||||
|
- Compile for production or initiate the development server as needed.
|
||||||
|
- Experience the seamless functioning of your React application.
|
||||||
|
|
||||||
> UI inspirations:
|
3. **Enjoy 🎉:**
|
||||||
>
|
- Dive into a feature-rich, user-friendly development experience.
|
||||||
> - <https://demo.themesberg.com/windster-pro/#>
|
|
||||||
> - <https://tamagui.dev/>
|
### Feedback and Suggestions
|
||||||
|
|
||||||
|
- **Contact:** For any suggestions or feedback, feel free to open an issue in the project repository.
|
||||||
|
|
||||||
|
#### Developer Notes
|
||||||
|
|
||||||
|
- **UI Inspiration:**
|
||||||
|
- Themesberg's [Windster Pro](https://demo.themesberg.com/windster-pro/#)
|
||||||
|
- [Tamagui](https://tamagui.dev/)
|
||||||
|
@ -53,6 +53,6 @@
|
|||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "^3.4.1",
|
||||||
"ts-node": "latest",
|
"ts-node": "latest",
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.2.2",
|
||||||
"vite": "^4.5.0"
|
"vite": "latest"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user