Skip to content

Commit

Permalink
task: save vite template
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 committed Feb 2, 2025
1 parent c69bfa3 commit 9f5c42d
Show file tree
Hide file tree
Showing 142 changed files with 2,513 additions and 24,216 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
USER_UID=1000
USER_UID=115091
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
"workspaceFolder": "/workspace",
"onCreateCommand": "bash .devcontainer/onCreateCommand.sh",
"postCreateCommand": "bash .devcontainer/postCreateCommand.sh",
"postStartCommand": "bash .devcontainer/postStartCommand.sh",
"forwardPorts": [
8080
8080,
5173
],
"customizations": {
"jetbrains": {
Expand Down
2 changes: 2 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
volumes:
cargo-cache:
npm-cache:

services:
xhandler-rust:
Expand All @@ -16,3 +17,4 @@ services:
volumes:
- ..:/workspace:cached
- cargo-cache:/home/vscode/.cargo
- npm-cache:/home/vscode/.npm
6 changes: 6 additions & 0 deletions .devcontainer/onCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ sudo dnf install -y @development-tools
sudo dnf install -y @c-development
sudo dnf install -y libxml2-devel openssl-devel gcc gcc-c++ cmake perl

## Install Rust
sudo dnf install -y rustup

## Install NVM
curl -s https://raw.githubusercontent.com/devcontainers/features/refs/heads/main/src/node/install.sh | sudo VERSION=22 bash

## Configure Rust
rustup-init -y
. "$HOME/.cargo/env"
rustup update
3 changes: 1 addition & 2 deletions .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Git autocomplete
echo "source /usr/share/bash-completion/completions/git" >> ~/.bashrc
cd /workspace/server/ui && npm ci --ignore-scripts
2 changes: 2 additions & 0 deletions .devcontainer/postStartCommand.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Git autocomplete
echo "source /usr/share/bash-completion/completions/git" >> ~/.bashrc
35 changes: 13 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,19 @@

[![Project Chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg?style=for-the-badge&logo=zulip)](https://projectopenubl.zulipchat.com/)

# XBuilder y XSender

- Crea XML basados en SUNAT y UBL
- Envia los XMLs a la SUNAT usando SOAP y REST

### Create Pull Requests

Create all Pull Requests using the prefixes of the following table:

| Category | Prefix |
|---------------|-----------|
| Features | feat: |
| Fixes | fix: |
| Changes | perf: |
| Changes | refactor: |
| Changes | revert: |
| Changes | style: |
| Tasks | chore: |
| Build | test: |
| Build | build: |
| Build | ci: |
| Documentation | docs: |
## Libraries

XMLs basados en UBL y SUNAT

- [x] Crear
- [x] Firmar
- [x] Enviar

## Server

```shell
cargo run --bin server
```

## License

Expand Down
11 changes: 0 additions & 11 deletions server/README.md

This file was deleted.

4 changes: 3 additions & 1 deletion server/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name = "openubl-cli"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "server"
path = "src/main.rs"

[dependencies]
openubl-server = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions server/ui/.dockerignore

This file was deleted.

13 changes: 0 additions & 13 deletions server/ui/.editorconfig

This file was deleted.

94 changes: 0 additions & 94 deletions server/ui/.eslintrc.cjs

This file was deleted.

46 changes: 20 additions & 26 deletions server/ui/.gitignore
Original file line number Diff line number Diff line change
@@ -1,30 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules/
/.pnp
.pnp.js

# testing
coverage/

# production
dist/
/qa/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

.eslintcache
node_modules
dist
dist-ssr
*.local

# VSCode
# Editor directories and files
.vscode/*

# Intellij IDEA
.idea/
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
1 change: 0 additions & 1 deletion server/ui/.npmrc

This file was deleted.

12 changes: 0 additions & 12 deletions server/ui/.prettierignore

This file was deleted.

14 changes: 0 additions & 14 deletions server/ui/.prettierrc.mjs

This file was deleted.

38 changes: 0 additions & 38 deletions server/ui/Dockerfile

This file was deleted.

Loading

0 comments on commit 9f5c42d

Please sign in to comment.