@devstroupe/devkit-cli 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist/boilerplates/angular-template/.dockerignore +4 -0
- package/dist/boilerplates/angular-template/.postcssrc.json +5 -0
- package/dist/boilerplates/angular-template/Dockerfile +14 -0
- package/dist/boilerplates/angular-template/angular.json +85 -0
- package/dist/boilerplates/angular-template/components.json +5 -0
- package/dist/boilerplates/angular-template/framework.code-workspace +7 -0
- package/dist/boilerplates/angular-template/nginx.conf +23 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/browserslist +21 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/jiti +21 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/lessc +21 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/ng +21 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/ng-xi18n +21 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/ngc +21 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/sass +21 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/terser +21 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/tsc +21 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/tsserver +21 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/vite +21 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/vitest +21 -0
- package/dist/boilerplates/angular-template/node_modules/.bin/yaml +21 -0
- package/dist/boilerplates/angular-template/package.json +47 -0
- package/dist/boilerplates/angular-template/postcss.config.js +5 -0
- package/dist/boilerplates/angular-template/proxy.conf.json +7 -0
- package/dist/boilerplates/angular-template/src/app/app.component.html +3 -0
- package/dist/boilerplates/angular-template/src/app/app.component.ts +12 -0
- package/dist/boilerplates/angular-template/src/app/app.config.ts +59 -0
- package/dist/boilerplates/angular-template/src/app/app.entity-routes.ts +4 -0
- package/dist/boilerplates/angular-template/src/app/app.routes.ts +25 -0
- package/dist/boilerplates/angular-template/src/app/core/guards/auth.guard.ts +16 -0
- package/dist/boilerplates/angular-template/src/app/core/services/auth.service.ts +98 -0
- package/dist/boilerplates/angular-template/src/app/modules/auth/login/login.component.html +51 -0
- package/dist/boilerplates/angular-template/src/app/modules/auth/login/login.component.ts +47 -0
- package/dist/boilerplates/angular-template/src/app/modules/auth/register/register.component.html +59 -0
- package/dist/boilerplates/angular-template/src/app/modules/auth/register/register.component.ts +47 -0
- package/dist/boilerplates/angular-template/src/app/modules/dashboard/dashboard.component.html +14 -0
- package/dist/boilerplates/angular-template/src/app/modules/dashboard/dashboard.component.ts +23 -0
- package/dist/boilerplates/angular-template/src/app/shared/interceptors/tenant.interceptor.ts +25 -0
- package/dist/boilerplates/angular-template/src/index.html +64 -0
- package/dist/boilerplates/angular-template/src/main.ts +6 -0
- package/dist/boilerplates/angular-template/src/styles.css +9 -0
- package/dist/boilerplates/angular-template/tsconfig.json +36 -0
- package/dist/boilerplates/nest-template/Dockerfile +16 -0
- package/dist/boilerplates/nest-template/node_modules/.bin/acorn +21 -0
- package/dist/boilerplates/nest-template/node_modules/.bin/nest +21 -0
- package/dist/boilerplates/nest-template/node_modules/.bin/prettier +21 -0
- package/dist/boilerplates/nest-template/node_modules/.bin/tsc +21 -0
- package/dist/boilerplates/nest-template/node_modules/.bin/tsserver +21 -0
- package/dist/boilerplates/nest-template/node_modules/.bin/typeorm +21 -0
- package/dist/boilerplates/nest-template/node_modules/.bin/typeorm-ts-node-commonjs +21 -0
- package/dist/boilerplates/nest-template/node_modules/.bin/typeorm-ts-node-esm +21 -0
- package/dist/boilerplates/nest-template/node_modules/.bin/webpack +21 -0
- package/dist/boilerplates/nest-template/package.json +43 -0
- package/dist/boilerplates/nest-template/src/app.module.ts +24 -0
- package/dist/boilerplates/nest-template/src/database/data-source.ts +16 -0
- package/dist/boilerplates/nest-template/src/database/migrations/1700000000000-create-users.ts +26 -0
- package/dist/boilerplates/nest-template/src/main.ts +46 -0
- package/dist/boilerplates/nest-template/src/modules/auth/auth.controller.ts +34 -0
- package/dist/boilerplates/nest-template/src/modules/auth/auth.module.ts +22 -0
- package/dist/boilerplates/nest-template/src/modules/auth/auth.service.ts +57 -0
- package/dist/boilerplates/nest-template/src/modules/auth/current-user.decorator.ts +8 -0
- package/dist/boilerplates/nest-template/src/modules/auth/jwt-auth.guard.ts +31 -0
- package/dist/boilerplates/nest-template/src/modules/auth/roles.decorator.ts +4 -0
- package/dist/boilerplates/nest-template/src/modules/auth/roles.guard.ts +24 -0
- package/dist/boilerplates/nest-template/src/modules/user/database-seed.service.ts +47 -0
- package/dist/boilerplates/nest-template/src/modules/user/domain/user.repository.ts +9 -0
- package/dist/boilerplates/nest-template/src/modules/user/domain/user.ts +9 -0
- package/dist/boilerplates/nest-template/src/modules/user/infra/database/user.orm-entity.ts +31 -0
- package/dist/boilerplates/nest-template/src/modules/user/infra/database/user.repository.adapter.ts +53 -0
- package/dist/boilerplates/nest-template/src/modules/user/service/user.service.ts +44 -0
- package/dist/boilerplates/nest-template/src/modules/user/user.module.ts +20 -0
- package/dist/boilerplates/nest-template/tsconfig.build.json +4 -0
- package/dist/boilerplates/nest-template/tsconfig.json +21 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1967 -0
- package/dist/migrations/sort-entities.d.ts +2 -0
- package/dist/migrations/sort-entities.js +30 -0
- package/dist/rules/linter-rules.d.ts +12 -0
- package/dist/rules/linter-rules.js +338 -0
- package/dist/rules/linter-rules.test.d.ts +1 -0
- package/dist/rules/linter-rules.test.js +214 -0
- package/dist/templates/angular/dialog-handler.template.d.ts +2 -0
- package/dist/templates/angular/dialog-handler.template.js +49 -0
- package/dist/templates/angular/form.template.d.ts +3 -0
- package/dist/templates/angular/form.template.js +453 -0
- package/dist/templates/angular/index.d.ts +4 -0
- package/dist/templates/angular/index.js +20 -0
- package/dist/templates/angular/list.template.d.ts +3 -0
- package/dist/templates/angular/list.template.js +213 -0
- package/dist/templates/angular/service.template.d.ts +1 -0
- package/dist/templates/angular/service.template.js +20 -0
- package/dist/templates/cli-templates.d.ts +2 -0
- package/dist/templates/cli-templates.js +18 -0
- package/dist/templates/nest/crud.templates.d.ts +9 -0
- package/dist/templates/nest/crud.templates.js +362 -0
- package/dist/templates/nest/index.d.ts +3 -0
- package/dist/templates/nest/index.js +19 -0
- package/dist/templates/nest/microservice.templates.d.ts +4 -0
- package/dist/templates/nest/microservice.templates.js +157 -0
- package/dist/templates/nest/migration.template.d.ts +3 -0
- package/dist/templates/nest/migration.template.js +127 -0
- package/dist/templates/relationship-templates.test.d.ts +1 -0
- package/dist/templates/relationship-templates.test.js +181 -0
- package/dist/templates/shared/names.d.ts +3 -0
- package/dist/templates/shared/names.js +14 -0
- package/dist/templates/shared/relationships.d.ts +27 -0
- package/dist/templates/shared/relationships.js +96 -0
- package/dist/templates/ui/components/avatar.template.d.ts +3 -0
- package/dist/templates/ui/components/avatar.template.js +66 -0
- package/dist/templates/ui/components/badge.template.d.ts +3 -0
- package/dist/templates/ui/components/badge.template.js +27 -0
- package/dist/templates/ui/components/button.template.d.ts +5 -0
- package/dist/templates/ui/components/button.template.js +64 -0
- package/dist/templates/ui/components/card-list.template.d.ts +5 -0
- package/dist/templates/ui/components/card-list.template.js +79 -0
- package/dist/templates/ui/components/dialog.template.d.ts +5 -0
- package/dist/templates/ui/components/dialog.template.js +51 -0
- package/dist/templates/ui/components/filter.template.d.ts +4 -0
- package/dist/templates/ui/components/filter.template.js +218 -0
- package/dist/templates/ui/components/index.d.ts +10 -0
- package/dist/templates/ui/components/index.js +26 -0
- package/dist/templates/ui/components/input.template.d.ts +4 -0
- package/dist/templates/ui/components/input.template.js +76 -0
- package/dist/templates/ui/components/select.template.d.ts +4 -0
- package/dist/templates/ui/components/select.template.js +176 -0
- package/dist/templates/ui/components/simple-list.template.d.ts +5 -0
- package/dist/templates/ui/components/simple-list.template.js +89 -0
- package/dist/templates/ui/components/table.template.d.ts +5 -0
- package/dist/templates/ui/components/table.template.js +112 -0
- package/dist/templates/ui/index.d.ts +9 -0
- package/dist/templates/ui/index.js +25 -0
- package/dist/templates/ui/layout/header.template.d.ts +5 -0
- package/dist/templates/ui/layout/header.template.js +236 -0
- package/dist/templates/ui/layout/index.d.ts +4 -0
- package/dist/templates/ui/layout/index.js +20 -0
- package/dist/templates/ui/layout/main-layout.template.d.ts +5 -0
- package/dist/templates/ui/layout/main-layout.template.js +126 -0
- package/dist/templates/ui/layout/shell.template.d.ts +5 -0
- package/dist/templates/ui/layout/shell.template.js +76 -0
- package/dist/templates/ui/layout/sidebar.template.d.ts +5 -0
- package/dist/templates/ui/layout/sidebar.template.js +412 -0
- package/dist/templates/ui/playground.template.d.ts +5 -0
- package/dist/templates/ui/playground.template.js +570 -0
- package/dist/templates/ui/readme.template.d.ts +1 -0
- package/dist/templates/ui/readme.template.js +23 -0
- package/dist/templates/ui/shared/colors.d.ts +1 -0
- package/dist/templates/ui/shared/colors.js +31 -0
- package/dist/templates/ui/shared/profile-component.template.d.ts +5 -0
- package/dist/templates/ui/shared/profile-component.template.js +403 -0
- package/dist/templates/ui/shared/profile-service.template.d.ts +1 -0
- package/dist/templates/ui/shared/profile-service.template.js +44 -0
- package/dist/templates/ui/shared/theme-service.template.d.ts +1 -0
- package/dist/templates/ui/shared/theme-service.template.js +47 -0
- package/dist/templates/ui/spartan/badge-directive.template.d.ts +3 -0
- package/dist/templates/ui/spartan/badge-directive.template.js +50 -0
- package/dist/templates/ui/spartan/button-directive.template.d.ts +3 -0
- package/dist/templates/ui/spartan/button-directive.template.js +82 -0
- package/dist/templates/ui/spartan/button-token.template.d.ts +3 -0
- package/dist/templates/ui/spartan/button-token.template.js +31 -0
- package/dist/templates/ui/spartan/hlm-core.template.d.ts +3 -0
- package/dist/templates/ui/spartan/hlm-core.template.js +322 -0
- package/dist/templates/ui/spartan/index.d.ts +5 -0
- package/dist/templates/ui/spartan/index.js +21 -0
- package/dist/templates/ui/spartan/input-directive.template.d.ts +3 -0
- package/dist/templates/ui/spartan/input-directive.template.js +31 -0
- package/dist/templates/ui/theme-css.template.d.ts +7 -0
- package/dist/templates/ui/theme-css.template.js +210 -0
- package/dist/templates/ui-templates.d.ts +1 -0
- package/dist/templates/ui-templates.js +17 -0
- package/package.json +50 -0
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# @devstroupe/devkit-cli
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@devstroupe/devkit-cli)
|
|
4
|
+
[](../../LICENSE)
|
|
5
|
+
|
|
6
|
+
CLI de scaffolding, geração de código e auditoria arquitetural do **DT-DevKit**.
|
|
7
|
+
|
|
8
|
+
## Instalação
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install -g @devstroupe/devkit-cli
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Comandos
|
|
15
|
+
|
|
16
|
+
| Comando | Descrição |
|
|
17
|
+
|---|---|
|
|
18
|
+
| `devstroupe new-project <nome>` | Cria projeto NestJS + Angular integrado com boilerplate DevKit |
|
|
19
|
+
| `devstroupe init` | Cria `devstroupe.config.ts` na raiz do projeto |
|
|
20
|
+
| `devstroupe init-ui [--style <style>]` | Injeta Design System Spartan NG, wrappers devkit-*, ThemeService e ProfileComponent |
|
|
21
|
+
| `devstroupe generate crud <entity>` | Gera CRUD completo (backend NestJS + frontend Angular) para a entidade |
|
|
22
|
+
| `devstroupe lint:rules` | Auditoria estática de governança arquitetural |
|
|
23
|
+
| `devstroupe ui:set-style <style>` | Troca o style Spartan e regenera `libs/ui/` |
|
|
24
|
+
|
|
25
|
+
## Design System (Spartan NG)
|
|
26
|
+
|
|
27
|
+
O `init-ui` requer que o projeto Angular tenha o `@spartan-ng/cli` instalado. O DevKit usa o Spartan como **gerador**, não como dependência de runtime. O código gerado em `libs/ui/` pertence ao seu app.
|
|
28
|
+
|
|
29
|
+
Styles disponíveis: `nova`, `vega`, `lyra`, `maia`, `mira`, `luma`.
|
|
30
|
+
|
|
31
|
+
## Pré-requisitos do `init-ui`
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# No diretório do frontend Angular
|
|
35
|
+
npm install @spartan-ng/cli @spartan-ng/brain @ng-icons/core @ng-icons/lucide
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Documentação completa
|
|
39
|
+
|
|
40
|
+
Veja o [README principal](../../README.md) e o [AGENTS.md](../../AGENTS.md) para guias detalhados.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Stage 1: Build
|
|
2
|
+
FROM node:20-alpine AS builder
|
|
3
|
+
WORKDIR /app
|
|
4
|
+
COPY package*.json ./
|
|
5
|
+
RUN npm install --legacy-peer-deps
|
|
6
|
+
COPY . .
|
|
7
|
+
RUN npm run build
|
|
8
|
+
|
|
9
|
+
# Stage 2: Run with Nginx
|
|
10
|
+
FROM nginx:alpine
|
|
11
|
+
COPY --from=builder /app/dist/app/browser /usr/share/nginx/html
|
|
12
|
+
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
13
|
+
EXPOSE 80
|
|
14
|
+
CMD ["nginx", "-g", "daemon off;"]
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"cli": {
|
|
5
|
+
"cache": {
|
|
6
|
+
"enabled": false
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"newProjectRoot": "projects",
|
|
10
|
+
"projects": {
|
|
11
|
+
"app": {
|
|
12
|
+
"projectType": "application",
|
|
13
|
+
"schematics": {
|
|
14
|
+
"@schematics/angular:component": {
|
|
15
|
+
"style": "scss",
|
|
16
|
+
"standalone": true
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"root": "",
|
|
20
|
+
"sourceRoot": "src",
|
|
21
|
+
"prefix": "app",
|
|
22
|
+
"architect": {
|
|
23
|
+
"build": {
|
|
24
|
+
"builder": "@angular/build:application",
|
|
25
|
+
"options": {
|
|
26
|
+
"outputPath": "dist/app",
|
|
27
|
+
"index": "src/index.html",
|
|
28
|
+
"browser": "src/main.ts",
|
|
29
|
+
"polyfills": [
|
|
30
|
+
"zone.js"
|
|
31
|
+
],
|
|
32
|
+
"tsConfig": "tsconfig.json",
|
|
33
|
+
"inlineStyleLanguage": "scss",
|
|
34
|
+
"assets": [
|
|
35
|
+
"src/favicon.ico"
|
|
36
|
+
],
|
|
37
|
+
"styles": [
|
|
38
|
+
"src/styles.css"
|
|
39
|
+
],
|
|
40
|
+
"scripts": []
|
|
41
|
+
},
|
|
42
|
+
"configurations": {
|
|
43
|
+
"production": {
|
|
44
|
+
"budgets": [
|
|
45
|
+
{
|
|
46
|
+
"type": "initial",
|
|
47
|
+
"maximumWarning": "500kb",
|
|
48
|
+
"maximumError": "1mb"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "anyComponentStyle",
|
|
52
|
+
"maximumWarning": "4kb",
|
|
53
|
+
"maximumError": "8kb"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"outputHashing": "all"
|
|
57
|
+
},
|
|
58
|
+
"development": {
|
|
59
|
+
"optimization": false,
|
|
60
|
+
"extractLicenses": false,
|
|
61
|
+
"sourceMap": true,
|
|
62
|
+
"namedChunks": true
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"defaultConfiguration": "production"
|
|
66
|
+
},
|
|
67
|
+
"serve": {
|
|
68
|
+
"builder": "@angular/build:dev-server",
|
|
69
|
+
"options": {
|
|
70
|
+
"proxyConfig": "proxy.conf.json"
|
|
71
|
+
},
|
|
72
|
+
"configurations": {
|
|
73
|
+
"production": {
|
|
74
|
+
"buildTarget": "app:build:production"
|
|
75
|
+
},
|
|
76
|
+
"development": {
|
|
77
|
+
"buildTarget": "app:build:development"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"defaultConfiguration": "development"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
server {
|
|
2
|
+
listen 80;
|
|
3
|
+
server_name localhost;
|
|
4
|
+
|
|
5
|
+
location / {
|
|
6
|
+
root /usr/share/nginx/html;
|
|
7
|
+
index index.html index.htm;
|
|
8
|
+
try_files $uri $uri/ /index.html;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
location /api/ {
|
|
12
|
+
proxy_pass http://backend:13000;
|
|
13
|
+
proxy_set_header Host $host;
|
|
14
|
+
proxy_set_header X-Real-IP $remote_addr;
|
|
15
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
16
|
+
proxy_set_header X-Forwarded-Proto $scheme;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
error_page 500 502 503 504 /50x.html;
|
|
20
|
+
location = /50x.html {
|
|
21
|
+
root /usr/share/nginx/html;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/browserslist@4.28.4/node_modules/browserslist/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/browserslist@4.28.4/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/browserslist@4.28.4/node_modules/browserslist/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/browserslist@4.28.4/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/browserslist@4.28.4/node_modules/browserslist/cli.js" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/browserslist@4.28.4/node_modules/browserslist/cli.js" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/jiti@2.7.0/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/jiti@2.7.0/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/jiti@2.7.0/node_modules/jiti/lib/jiti-cli.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/less@4.4.2/node_modules/less/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/less@4.4.2/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/less@4.4.2/node_modules/less/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/less@4.4.2/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/less@4.4.2/node_modules/less/bin/lessc" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/less@4.4.2/node_modules/less/bin/lessc" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/@angular+cli@21.0.6_@types+node@20.19.43_hono@4.12.27/node_modules/@angular/cli/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/@angular+cli@21.0.6_@types+node@20.19.43_hono@4.12.27/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/@angular+cli@21.0.6_@types+node@20.19.43_hono@4.12.27/node_modules/@angular/cli/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/@angular+cli@21.0.6_@types+node@20.19.43_hono@4.12.27/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../@angular/cli/bin/ng.js" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../@angular/cli/bin/ng.js" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/@angular+compiler-cli@21.2.17_@angular+compiler@21.2.17_typescript@5.9.3/node_modules/@angular/compiler-cli/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/@angular+compiler-cli@21.2.17_@angular+compiler@21.2.17_typescript@5.9.3/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/@angular+compiler-cli@21.2.17_@angular+compiler@21.2.17_typescript@5.9.3/node_modules/@angular/compiler-cli/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/@angular+compiler-cli@21.2.17_@angular+compiler@21.2.17_typescript@5.9.3/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../@angular/compiler-cli/bundles/src/bin/ng_xi18n.js" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../@angular/compiler-cli/bundles/src/bin/ng_xi18n.js" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/@angular+compiler-cli@21.2.17_@angular+compiler@21.2.17_typescript@5.9.3/node_modules/@angular/compiler-cli/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/@angular+compiler-cli@21.2.17_@angular+compiler@21.2.17_typescript@5.9.3/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/@angular+compiler-cli@21.2.17_@angular+compiler@21.2.17_typescript@5.9.3/node_modules/@angular/compiler-cli/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/@angular+compiler-cli@21.2.17_@angular+compiler@21.2.17_typescript@5.9.3/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../@angular/compiler-cli/bundles/src/bin/ngc.js" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../@angular/compiler-cli/bundles/src/bin/ngc.js" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/sass@1.97.3/node_modules/sass/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/sass@1.97.3/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/sass@1.97.3/node_modules/sass/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/sass@1.97.3/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/sass@1.97.3/node_modules/sass/sass.js" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/sass@1.97.3/node_modules/sass/sass.js" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/terser@5.46.0/node_modules/terser/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/terser@5.46.0/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/terser@5.46.0/node_modules/terser/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/terser@5.46.0/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/terser@5.46.0/node_modules/terser/bin/terser" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/terser@5.46.0/node_modules/terser/bin/terser" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../typescript/bin/tsc" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../typescript/bin/tsserver" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/vite@7.3.5_@types+node@20.19.43_jiti@2.7.0_less@4.4.2_lightningcss@1.32.0_sass-embedded_35e3be6e2ec5ed5742b6ca2bfcdede72/node_modules/vite/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/vite@7.3.5_@types+node@20.19.43_jiti@2.7.0_less@4.4.2_lightningcss@1.32.0_sass-embedded_35e3be6e2ec5ed5742b6ca2bfcdede72/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/vite@7.3.5_@types+node@20.19.43_jiti@2.7.0_less@4.4.2_lightningcss@1.32.0_sass-embedded_35e3be6e2ec5ed5742b6ca2bfcdede72/node_modules/vite/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/vite@7.3.5_@types+node@20.19.43_jiti@2.7.0_less@4.4.2_lightningcss@1.32.0_sass-embedded_35e3be6e2ec5ed5742b6ca2bfcdede72/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@7.3.5_@types+node@20.19.43_jiti@2.7.0_less@4.4.2_lightningcss@1.32.0_sass-embedded_35e3be6e2ec5ed5742b6ca2bfcdede72/node_modules/vite/bin/vite.js" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/vite@7.3.5_@types+node@20.19.43_jiti@2.7.0_less@4.4.2_lightningcss@1.32.0_sass-embedded_35e3be6e2ec5ed5742b6ca2bfcdede72/node_modules/vite/bin/vite.js" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/vitest@4.1.10_@types+node@20.19.43_jsdom@28.1.0_vite@7.3.5_@types+node@20.19.43_jiti@2._3511780e686389ac0db761b989650b75/node_modules/vitest/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/vitest@4.1.10_@types+node@20.19.43_jsdom@28.1.0_vite@7.3.5_@types+node@20.19.43_jiti@2._3511780e686389ac0db761b989650b75/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/vitest@4.1.10_@types+node@20.19.43_jsdom@28.1.0_vite@7.3.5_@types+node@20.19.43_jiti@2._3511780e686389ac0db761b989650b75/node_modules/vitest/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/vitest@4.1.10_@types+node@20.19.43_jsdom@28.1.0_vite@7.3.5_@types+node@20.19.43_jiti@2._3511780e686389ac0db761b989650b75/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vitest@4.1.10_@types+node@20.19.43_jsdom@28.1.0_vite@7.3.5_@types+node@20.19.43_jiti@2._3511780e686389ac0db761b989650b75/node_modules/vitest/vitest.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/vitest@4.1.10_@types+node@20.19.43_jsdom@28.1.0_vite@7.3.5_@types+node@20.19.43_jiti@2._3511780e686389ac0db761b989650b75/node_modules/vitest/vitest.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
+
|
|
4
|
+
case `uname` in
|
|
5
|
+
*CYGWIN*|*MINGW*|*MSYS*)
|
|
6
|
+
if command -v cygpath > /dev/null 2>&1; then
|
|
7
|
+
basedir=`cygpath -w "$basedir"`
|
|
8
|
+
fi
|
|
9
|
+
;;
|
|
10
|
+
esac
|
|
11
|
+
|
|
12
|
+
if [ -z "$NODE_PATH" ]; then
|
|
13
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/yaml@2.9.0/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules"
|
|
14
|
+
else
|
|
15
|
+
export NODE_PATH="/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/yaml@2.9.0/node_modules:/home/vitor/trabalho/devstroupe/framework/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
|
+
fi
|
|
17
|
+
if [ -x "$basedir/node" ]; then
|
|
18
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/bin.mjs" "$@"
|
|
19
|
+
else
|
|
20
|
+
exec node "$basedir/../../../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/bin.mjs" "$@"
|
|
21
|
+
fi
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "devkit-angular-boilerplate",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Boilerplate Angular integrado ao DT-DevKit",
|
|
5
|
+
"private": true,
|
|
6
|
+
"scripts": {
|
|
7
|
+
"ng": "ng",
|
|
8
|
+
"start": "ng serve",
|
|
9
|
+
"build": "ng build",
|
|
10
|
+
"watch": "ng build --watch --configuration development",
|
|
11
|
+
"test": "ng test"
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@angular/animations": "^21.0.0",
|
|
15
|
+
"@angular/common": "^21.0.0",
|
|
16
|
+
"@angular/compiler": "^21.0.0",
|
|
17
|
+
"@angular/core": "^21.0.0",
|
|
18
|
+
"@angular/forms": "^21.0.0",
|
|
19
|
+
"@angular/platform-browser": "^21.0.0",
|
|
20
|
+
"@angular/platform-browser-dynamic": "^21.0.0",
|
|
21
|
+
"@angular/router": "^21.0.0",
|
|
22
|
+
"rxjs": "~7.8.0",
|
|
23
|
+
"tslib": "^2.3.0",
|
|
24
|
+
"zone.js": "~0.16.0",
|
|
25
|
+
"@devstroupe/devkit-core": "workspace:*",
|
|
26
|
+
"@devstroupe/devkit-angular": "workspace:*",
|
|
27
|
+
"@ng-icons/core": "^33.4.0",
|
|
28
|
+
"@ng-icons/lucide": "^33.4.0",
|
|
29
|
+
"@spartan-ng/brain": "^1.0.4",
|
|
30
|
+
"class-variance-authority": "^0.7.0",
|
|
31
|
+
"@angular/cdk": "^21.0.0",
|
|
32
|
+
"clsx": "^2.1.1",
|
|
33
|
+
"tailwind-merge": "^3.5.0",
|
|
34
|
+
"tailwind-variants": "^0.2.1",
|
|
35
|
+
"@tailwindcss/postcss": "^4.3.2"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@angular/build": "^21.0.0",
|
|
39
|
+
"@angular/cli": "~21.0.0",
|
|
40
|
+
"@angular/compiler-cli": "^21.0.0",
|
|
41
|
+
"@spartan-ng/cli": "^1.0.4",
|
|
42
|
+
"typescript": "~5.9.0",
|
|
43
|
+
"tailwindcss": "^4.3.2",
|
|
44
|
+
"postcss": "^8.4.0",
|
|
45
|
+
"tw-animate-css": "^1.4.0"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { RouterOutlet } from '@angular/router';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'app-root',
|
|
6
|
+
standalone: true,
|
|
7
|
+
imports: [RouterOutlet],
|
|
8
|
+
templateUrl: './app.component.html'
|
|
9
|
+
})
|
|
10
|
+
export class AppComponent {
|
|
11
|
+
title = 'DevsTroupe App';
|
|
12
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
|
|
2
|
+
import { provideRouter } from '@angular/router';
|
|
3
|
+
import { provideHttpClient, withInterceptors } from '@angular/common/http';
|
|
4
|
+
import { provideSpartanHlm } from '@spartan-ng/helm/utils';
|
|
5
|
+
import { routes } from './app.routes';
|
|
6
|
+
import { tenantInterceptor } from './shared/interceptors/tenant.interceptor';
|
|
7
|
+
|
|
8
|
+
import { provideIcons } from '@ng-icons/core';
|
|
9
|
+
import {
|
|
10
|
+
lucideMenu,
|
|
11
|
+
lucideBell,
|
|
12
|
+
lucideChevronDown,
|
|
13
|
+
lucideChevronRight,
|
|
14
|
+
lucideSearch,
|
|
15
|
+
lucideLogOut,
|
|
16
|
+
lucideUser,
|
|
17
|
+
lucideSettings,
|
|
18
|
+
lucideChevronUp,
|
|
19
|
+
lucideTrash,
|
|
20
|
+
lucideEdit,
|
|
21
|
+
lucidePlus,
|
|
22
|
+
lucideSlidersHorizontal,
|
|
23
|
+
lucideRotateCcw,
|
|
24
|
+
lucideCheck,
|
|
25
|
+
lucideHome,
|
|
26
|
+
lucidePalette,
|
|
27
|
+
lucideTable
|
|
28
|
+
} from '@ng-icons/lucide';
|
|
29
|
+
|
|
30
|
+
export const appConfig: ApplicationConfig = {
|
|
31
|
+
providers: [
|
|
32
|
+
provideZoneChangeDetection({ eventCoalescing: true }),
|
|
33
|
+
provideSpartanHlm(),
|
|
34
|
+
provideRouter(routes),
|
|
35
|
+
provideHttpClient(
|
|
36
|
+
withInterceptors([tenantInterceptor])
|
|
37
|
+
),
|
|
38
|
+
provideIcons({
|
|
39
|
+
lucideMenu,
|
|
40
|
+
lucideBell,
|
|
41
|
+
lucideChevronDown,
|
|
42
|
+
lucideChevronRight,
|
|
43
|
+
lucideSearch,
|
|
44
|
+
lucideLogOut,
|
|
45
|
+
lucideUser,
|
|
46
|
+
lucideSettings,
|
|
47
|
+
lucideChevronUp,
|
|
48
|
+
lucideTrash,
|
|
49
|
+
lucideEdit,
|
|
50
|
+
lucidePlus,
|
|
51
|
+
lucideSlidersHorizontal,
|
|
52
|
+
lucideRotateCcw,
|
|
53
|
+
lucideCheck,
|
|
54
|
+
lucideHome,
|
|
55
|
+
lucidePalette,
|
|
56
|
+
lucideTable
|
|
57
|
+
})
|
|
58
|
+
]
|
|
59
|
+
};
|