Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d45e21fa4b | |||
| 27500fcbc0 |
16 changed files with 112 additions and 1170 deletions
|
|
@ -1,12 +0,0 @@
|
||||||
import { defineBuildConfig } from 'unbuild'
|
|
||||||
|
|
||||||
// pnpm exec unbuild
|
|
||||||
|
|
||||||
export default defineBuildConfig({
|
|
||||||
entries: ['src/index'],
|
|
||||||
clean: true,
|
|
||||||
declaration: true,
|
|
||||||
rollup: {
|
|
||||||
emitCJS: true,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
@ -43,7 +43,6 @@ var operadores = /* @__PURE__ */ ((operadores2) => {
|
||||||
operadores2["<="] = "<=";
|
operadores2["<="] = "<=";
|
||||||
operadores2["like"] = "like";
|
operadores2["like"] = "like";
|
||||||
operadores2["in"] = "in";
|
operadores2["in"] = "in";
|
||||||
operadores2["isNull"] = "isNull";
|
|
||||||
return operadores2;
|
return operadores2;
|
||||||
})(operadores || {});
|
})(operadores || {});
|
||||||
const zOperadores = import_zod.default.enum([
|
const zOperadores = import_zod.default.enum([
|
||||||
|
|
@ -54,8 +53,7 @@ const zOperadores = import_zod.default.enum([
|
||||||
"<",
|
"<",
|
||||||
"<=",
|
"<=",
|
||||||
"like",
|
"like",
|
||||||
"in",
|
"in"
|
||||||
"isNull"
|
|
||||||
]);
|
]);
|
||||||
const zFiltro = import_zod.default.object({
|
const zFiltro = import_zod.default.object({
|
||||||
coluna: import_zod.default.string(),
|
coluna: import_zod.default.string(),
|
||||||
|
|
|
||||||
|
|
@ -28,20 +28,19 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
||||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||||
var dayjs_exports = {};
|
var dayjs_exports = {};
|
||||||
__export(dayjs_exports, {
|
__export(dayjs_exports, {
|
||||||
dayjsbr: () => dayjsbr
|
dayjsbr: () => import_dayjs.default
|
||||||
});
|
});
|
||||||
module.exports = __toCommonJS(dayjs_exports);
|
module.exports = __toCommonJS(dayjs_exports);
|
||||||
var import_dayjs = __toESM(require("dayjs"));
|
var import_dayjs = __toESM(require("dayjs"));
|
||||||
var import_duration = __toESM(require("dayjs/plugin/duration.js"));
|
var import_pt_br = require("dayjs/locale/pt-br");
|
||||||
var import_isSameOrAfter = __toESM(require("dayjs/plugin/isSameOrAfter.js"));
|
var import_duration = __toESM(require("dayjs/plugin/duration"));
|
||||||
var import_isSameOrBefore = __toESM(require("dayjs/plugin/isSameOrBefore.js"));
|
var import_isSameOrAfter = __toESM(require("dayjs/plugin/isSameOrAfter"));
|
||||||
var import_minMax = __toESM(require("dayjs/plugin/minMax.js"));
|
var import_isSameOrBefore = __toESM(require("dayjs/plugin/isSameOrBefore"));
|
||||||
var import_relativeTime = __toESM(require("dayjs/plugin/relativeTime.js"));
|
var import_minMax = __toESM(require("dayjs/plugin/minMax"));
|
||||||
var import_timezone = __toESM(require("dayjs/plugin/timezone.js"));
|
var import_relativeTime = __toESM(require("dayjs/plugin/relativeTime"));
|
||||||
var import_utc = __toESM(require("dayjs/plugin/utc.js"));
|
var import_timezone = __toESM(require("dayjs/plugin/timezone"));
|
||||||
var import_weekOfYear = __toESM(require("dayjs/plugin/weekOfYear.js"));
|
var import_utc = __toESM(require("dayjs/plugin/utc"));
|
||||||
var import_pt_br = require("dayjs/locale/pt-br.js");
|
var import_weekOfYear = __toESM(require("dayjs/plugin/weekOfYear"));
|
||||||
import_dayjs.default.locale("pt-br");
|
|
||||||
import_dayjs.default.extend(import_utc.default);
|
import_dayjs.default.extend(import_utc.default);
|
||||||
import_dayjs.default.extend(import_timezone.default);
|
import_dayjs.default.extend(import_timezone.default);
|
||||||
import_dayjs.default.extend(import_weekOfYear.default);
|
import_dayjs.default.extend(import_weekOfYear.default);
|
||||||
|
|
@ -50,7 +49,7 @@ import_dayjs.default.extend(import_isSameOrAfter.default);
|
||||||
import_dayjs.default.extend(import_minMax.default);
|
import_dayjs.default.extend(import_minMax.default);
|
||||||
import_dayjs.default.extend(import_relativeTime.default);
|
import_dayjs.default.extend(import_relativeTime.default);
|
||||||
import_dayjs.default.extend(import_duration.default);
|
import_dayjs.default.extend(import_duration.default);
|
||||||
const dayjsbr = import_dayjs.default;
|
import_dayjs.default.locale("pt-br");
|
||||||
// Annotate the CommonJS export names for ESM import in node:
|
// Annotate the CommonJS export names for ESM import in node:
|
||||||
0 && (module.exports = {
|
0 && (module.exports = {
|
||||||
dayjsbr
|
dayjsbr
|
||||||
|
|
|
||||||
|
|
@ -16,17 +16,22 @@ var __copyProps = (to, from, except, desc) => {
|
||||||
return to;
|
return to;
|
||||||
};
|
};
|
||||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||||
var produtos_exports = {};
|
var graficosPilao_exports = {};
|
||||||
__export(produtos_exports, {
|
__export(graficosPilao_exports, {
|
||||||
Produtos: () => Produtos
|
graficos_pilao: () => graficos_pilao
|
||||||
});
|
});
|
||||||
module.exports = __toCommonJS(produtos_exports);
|
module.exports = __toCommonJS(graficosPilao_exports);
|
||||||
var Produtos = /* @__PURE__ */ ((Produtos2) => {
|
const graficos_pilao = {
|
||||||
Produtos2["e-licencie"] = "e-licencie";
|
Condicionantes: {
|
||||||
Produtos2["gov.e-licencie"] = "gov.e-licencie";
|
grafico: "condicionantes-criadas",
|
||||||
return Produtos2;
|
titulo: "Condicionantes Criadas"
|
||||||
})(Produtos || {});
|
},
|
||||||
|
Licen\u00E7as: {
|
||||||
|
grafico: "licencas-criadas",
|
||||||
|
titulo: "Licen\xE7as Criadas"
|
||||||
|
}
|
||||||
|
};
|
||||||
// Annotate the CommonJS export names for ESM import in node:
|
// Annotate the CommonJS export names for ESM import in node:
|
||||||
0 && (module.exports = {
|
0 && (module.exports = {
|
||||||
Produtos
|
graficos_pilao
|
||||||
});
|
});
|
||||||
|
|
@ -22,16 +22,13 @@ __reExport(index_exports, require("./consulta"), module.exports);
|
||||||
__reExport(index_exports, require("./dayjs"), module.exports);
|
__reExport(index_exports, require("./dayjs"), module.exports);
|
||||||
__reExport(index_exports, require("./ecosistema"), module.exports);
|
__reExport(index_exports, require("./ecosistema"), module.exports);
|
||||||
__reExport(index_exports, require("./extensoes"), module.exports);
|
__reExport(index_exports, require("./extensoes"), module.exports);
|
||||||
__reExport(index_exports, require("./extensoes"), module.exports);
|
__reExport(index_exports, require("./graficosPilao"), module.exports);
|
||||||
__reExport(index_exports, require("./local"), module.exports);
|
__reExport(index_exports, require("./local"), module.exports);
|
||||||
__reExport(index_exports, require("./logger"), module.exports);
|
__reExport(index_exports, require("./logger"), module.exports);
|
||||||
__reExport(index_exports, require("./logger"), module.exports);
|
|
||||||
__reExport(index_exports, require("./postgres"), module.exports);
|
__reExport(index_exports, require("./postgres"), module.exports);
|
||||||
__reExport(index_exports, require("./produtos"), module.exports);
|
|
||||||
__reExport(index_exports, require("./testes-de-variaveis"), module.exports);
|
__reExport(index_exports, require("./testes-de-variaveis"), module.exports);
|
||||||
__reExport(index_exports, require("./texto_busca"), module.exports);
|
__reExport(index_exports, require("./texto_busca"), module.exports);
|
||||||
__reExport(index_exports, require("./tipagemRotas"), module.exports);
|
__reExport(index_exports, require("./tipagemRotas"), module.exports);
|
||||||
__reExport(index_exports, require("./tipagemRotas"), module.exports);
|
|
||||||
__reExport(index_exports, require("./unidades_medida"), module.exports);
|
__reExport(index_exports, require("./unidades_medida"), module.exports);
|
||||||
__reExport(index_exports, require("./uuid"), module.exports);
|
__reExport(index_exports, require("./uuid"), module.exports);
|
||||||
__reExport(index_exports, require("./variaveisComuns"), module.exports);
|
__reExport(index_exports, require("./variaveisComuns"), module.exports);
|
||||||
|
|
@ -44,16 +41,13 @@ __reExport(index_exports, require("./variaveisComuns"), module.exports);
|
||||||
...require("./dayjs"),
|
...require("./dayjs"),
|
||||||
...require("./ecosistema"),
|
...require("./ecosistema"),
|
||||||
...require("./extensoes"),
|
...require("./extensoes"),
|
||||||
...require("./extensoes"),
|
...require("./graficosPilao"),
|
||||||
...require("./local"),
|
...require("./local"),
|
||||||
...require("./logger"),
|
...require("./logger"),
|
||||||
...require("./logger"),
|
|
||||||
...require("./postgres"),
|
...require("./postgres"),
|
||||||
...require("./produtos"),
|
|
||||||
...require("./testes-de-variaveis"),
|
...require("./testes-de-variaveis"),
|
||||||
...require("./texto_busca"),
|
...require("./texto_busca"),
|
||||||
...require("./tipagemRotas"),
|
...require("./tipagemRotas"),
|
||||||
...require("./tipagemRotas"),
|
|
||||||
...require("./unidades_medida"),
|
...require("./unidades_medida"),
|
||||||
...require("./uuid"),
|
...require("./uuid"),
|
||||||
...require("./variaveisComuns")
|
...require("./variaveisComuns")
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
import z from 'zod';
|
import z from 'zod';
|
||||||
import dayjs from 'dayjs';
|
export { ManipulateType, default as dayjsbr } from 'dayjs';
|
||||||
export { Dayjs, ManipulateType } from 'dayjs';
|
|
||||||
import { v4 } from 'uuid';
|
import { v4 } from 'uuid';
|
||||||
|
|
||||||
declare const aleatorio: (tamanho?: number) => string;
|
declare const aleatorio: (tamanho?: number) => string;
|
||||||
|
|
@ -46,8 +45,7 @@ declare enum operadores {
|
||||||
"<" = "<",
|
"<" = "<",
|
||||||
"<=" = "<=",
|
"<=" = "<=",
|
||||||
like = "like",
|
like = "like",
|
||||||
in = "in",
|
in = "in"
|
||||||
isNull = "isNull"
|
|
||||||
}
|
}
|
||||||
type tipoFiltro = {
|
type tipoFiltro = {
|
||||||
coluna: string;
|
coluna: string;
|
||||||
|
|
@ -74,7 +72,6 @@ declare const zOperadores: z.ZodEnum<{
|
||||||
"<=": "<=";
|
"<=": "<=";
|
||||||
like: "like";
|
like: "like";
|
||||||
in: "in";
|
in: "in";
|
||||||
isNull: "isNull";
|
|
||||||
}>;
|
}>;
|
||||||
declare const zFiltro: z.ZodObject<{
|
declare const zFiltro: z.ZodObject<{
|
||||||
coluna: z.ZodString;
|
coluna: z.ZodString;
|
||||||
|
|
@ -88,13 +85,10 @@ declare const zFiltro: z.ZodObject<{
|
||||||
"<=": "<=";
|
"<=": "<=";
|
||||||
like: "like";
|
like: "like";
|
||||||
in: "in";
|
in: "in";
|
||||||
isNull: "isNull";
|
|
||||||
}>;
|
}>;
|
||||||
ou: z.ZodOptional<z.ZodBoolean>;
|
ou: z.ZodOptional<z.ZodBoolean>;
|
||||||
}, z.core.$strip>;
|
}, z.core.$strip>;
|
||||||
|
|
||||||
declare const dayjsbr: typeof dayjs;
|
|
||||||
|
|
||||||
declare const cdn_carro_de_boi = "https://carro-de-boi-idz-one.b-cdn.net";
|
declare const cdn_carro_de_boi = "https://carro-de-boi-idz-one.b-cdn.net";
|
||||||
|
|
||||||
type tiposArquivo = "imagem" | "documento" | "vídeo" | "outros";
|
type tiposArquivo = "imagem" | "documento" | "vídeo" | "outros";
|
||||||
|
|
@ -110,6 +104,13 @@ declare const extensoes: {
|
||||||
*/
|
*/
|
||||||
declare const tipoArquivo: (nomeArquivo: string | null | undefined) => tiposArquivo;
|
declare const tipoArquivo: (nomeArquivo: string | null | undefined) => tiposArquivo;
|
||||||
|
|
||||||
|
declare const graficos_pilao: {
|
||||||
|
[k: string]: {
|
||||||
|
grafico: string;
|
||||||
|
titulo: string;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* LocalStorage Tipado
|
* LocalStorage Tipado
|
||||||
* Lê ou grava um valor no localStorage, mantendo o tipo genérico <T>.
|
* Lê ou grava um valor no localStorage, mantendo o tipo genérico <T>.
|
||||||
|
|
@ -177,11 +178,6 @@ declare const objetoPg: (entrada: {
|
||||||
[k: string]: string | boolean | null | undefined | number;
|
[k: string]: string | boolean | null | undefined | number;
|
||||||
};
|
};
|
||||||
|
|
||||||
declare enum Produtos {
|
|
||||||
"e-licencie" = "e-licencie",
|
|
||||||
"gov.e-licencie" = "gov.e-licencie"
|
|
||||||
}
|
|
||||||
|
|
||||||
declare const umaFuncao: () => string;
|
declare const umaFuncao: () => string;
|
||||||
|
|
||||||
declare const umaVariavel = "Ol\u00E1 Mundo! (vari\u00E1vel)";
|
declare const umaVariavel = "Ol\u00E1 Mundo! (vari\u00E1vel)";
|
||||||
|
|
@ -312,4 +308,4 @@ declare const nomeVariavel: (v: {
|
||||||
[key: string]: any;
|
[key: string]: any;
|
||||||
}) => string;
|
}) => string;
|
||||||
|
|
||||||
export { Produtos, TipagemRotas, type TipoLoggerSessao, aleatorio, cacheM, cacheMFixo, cacheMemoria, camposComuns, cdn_carro_de_boi, dayjsbr, defineCwd, erUuid, esperar, extensoes, type interfaceConsulta, localValor, logger, nomeVariavel, objetoPg, operadores, paraObjetoRegistroPg, pgObjeto, postLogger, siglas_unidades_medida, texto_busca, tipoArquivo, type tipoFiltro, type tipoLogger, type tipoLoggerLog, type tipoLokiObjeto, tipoUsuarioResiduos, tx, umaFuncao, umaVariavel, unidades_medida, uuid, uuidV3, uuidV4, uuid_null, validarUuid, verCacheM, zFiltro, zOperadores };
|
export { TipagemRotas, type TipoLoggerSessao, aleatorio, cacheM, cacheMFixo, cacheMemoria, camposComuns, cdn_carro_de_boi, defineCwd, erUuid, esperar, extensoes, graficos_pilao, type interfaceConsulta, localValor, logger, nomeVariavel, objetoPg, operadores, paraObjetoRegistroPg, pgObjeto, postLogger, siglas_unidades_medida, texto_busca, tipoArquivo, type tipoFiltro, type tipoLogger, type tipoLoggerLog, type tipoLokiObjeto, tipoUsuarioResiduos, tx, umaFuncao, umaVariavel, unidades_medida, uuid, uuidV3, uuidV4, uuid_null, validarUuid, verCacheM, zFiltro, zOperadores };
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
13
package.json
13
package.json
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"name": "p-comuns",
|
"name": "p-comuns",
|
||||||
"version": "0.296.0",
|
"version": "0.268.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "./dist-front/index.mjs",
|
"main": "./dist-back/index.js",
|
||||||
"module": "./dist-front/index.mjs",
|
"module": "./dist-front/index.mjs",
|
||||||
"types": "./dist-front/index.d.mts",
|
"types": "./dist-front/index.d.mts",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"biome": "pnpm exec biome check --write",
|
"biome": "pnpm exec biome check --write",
|
||||||
"check": "pnpm run biome && npx tsc --noEmit",
|
"check": "pnpm run biome && npx tsc --noEmit",
|
||||||
"build": "npm --no-git-tag-version version minor && pnpm run biome && tsup --config ./tsup/tsup.config.ts && pnpm run pacote",
|
"build": "npm --no-git-tag-version version minor && pnpm run biome && tsup --config ./tsup/tsup.config.interno.ts && pnpm run pacote",
|
||||||
"teste": "npx vitest run src/testes/TipagemRotas.test.ts",
|
"teste": "npx vitest run src/testes/TipagemRotas.test.ts",
|
||||||
"pacote": "npm pack && npm pack && mv $(npm pack --silent) pacote.tgz"
|
"pacote": "npm pack && npm pack && mv $(npm pack --silent) pacote.tgz"
|
||||||
},
|
},
|
||||||
|
|
@ -36,13 +36,6 @@
|
||||||
"@types/node": "^20.19.22",
|
"@types/node": "^20.19.22",
|
||||||
"tsup": "8.5.0",
|
"tsup": "8.5.0",
|
||||||
"typescript": "~5.9.3",
|
"typescript": "~5.9.3",
|
||||||
"unbuild": "^3.6.1",
|
|
||||||
"vitest": "^3.2.4"
|
"vitest": "^3.2.4"
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"cross-fetch": "4.1.0",
|
|
||||||
"dayjs": "^1.11.18",
|
|
||||||
"uuid": "^11.1.0",
|
|
||||||
"zod": "4.1.4"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
pacote.tgz
BIN
pacote.tgz
Binary file not shown.
1079
pnpm-lock.yaml
generated
1079
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -9,7 +9,6 @@ export enum operadores {
|
||||||
"<=" = "<=",
|
"<=" = "<=",
|
||||||
like = "like",
|
like = "like",
|
||||||
in = "in",
|
in = "in",
|
||||||
isNull = "isNull",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type tipoFiltro = {
|
export type tipoFiltro = {
|
||||||
|
|
@ -39,7 +38,6 @@ export const zOperadores = z.enum([
|
||||||
"<=",
|
"<=",
|
||||||
"like",
|
"like",
|
||||||
"in",
|
"in",
|
||||||
"isNull",
|
|
||||||
])
|
])
|
||||||
|
|
||||||
export const zFiltro = z.object({
|
export const zFiltro = z.object({
|
||||||
|
|
|
||||||
43
src/dayjs.ts
43
src/dayjs.ts
|
|
@ -1,27 +1,24 @@
|
||||||
import dayjs, { type Dayjs } from "dayjs"
|
import dayjsbr from "dayjs"
|
||||||
|
|
||||||
export type { ManipulateType } from "dayjs"
|
export type { ManipulateType } from "dayjs"
|
||||||
|
import "dayjs/locale/pt-br"
|
||||||
|
import duration from "dayjs/plugin/duration"
|
||||||
|
import isSameOrAfter from "dayjs/plugin/isSameOrAfter"
|
||||||
|
import isSameOrBefore from "dayjs/plugin/isSameOrBefore"
|
||||||
|
import minMax from "dayjs/plugin/minMax"
|
||||||
|
import relativeTime from "dayjs/plugin/relativeTime"
|
||||||
|
import timezone from "dayjs/plugin/timezone"
|
||||||
|
import utc from "dayjs/plugin/utc"
|
||||||
|
import weekOfYear from "dayjs/plugin/weekOfYear"
|
||||||
|
|
||||||
import duration from "dayjs/plugin/duration.js"
|
dayjsbr.extend(utc)
|
||||||
import isSameOrAfter from "dayjs/plugin/isSameOrAfter.js"
|
dayjsbr.extend(timezone)
|
||||||
import isSameOrBefore from "dayjs/plugin/isSameOrBefore.js"
|
dayjsbr.extend(weekOfYear)
|
||||||
import minMax from "dayjs/plugin/minMax.js"
|
dayjsbr.extend(isSameOrBefore)
|
||||||
import relativeTime from "dayjs/plugin/relativeTime.js"
|
dayjsbr.extend(isSameOrAfter)
|
||||||
import timezone from "dayjs/plugin/timezone.js"
|
dayjsbr.extend(minMax)
|
||||||
import utc from "dayjs/plugin/utc.js"
|
dayjsbr.extend(relativeTime)
|
||||||
import weekOfYear from "dayjs/plugin/weekOfYear.js"
|
dayjsbr.extend(duration)
|
||||||
import "dayjs/locale/pt-br.js"
|
dayjsbr.locale("pt-br")
|
||||||
dayjs.locale("pt-br")
|
|
||||||
|
|
||||||
dayjs.extend(utc)
|
export { dayjsbr }
|
||||||
dayjs.extend(timezone)
|
|
||||||
dayjs.extend(weekOfYear)
|
|
||||||
dayjs.extend(isSameOrBefore)
|
|
||||||
dayjs.extend(isSameOrAfter)
|
|
||||||
dayjs.extend(minMax)
|
|
||||||
dayjs.extend(relativeTime)
|
|
||||||
dayjs.extend(duration)
|
|
||||||
|
|
||||||
export const dayjsbr = dayjs
|
|
||||||
|
|
||||||
export type { Dayjs }
|
|
||||||
|
|
|
||||||
12
src/graficosPilao.ts
Normal file
12
src/graficosPilao.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
export const graficos_pilao: {
|
||||||
|
[k: string]: { grafico: string; titulo: string }
|
||||||
|
} = {
|
||||||
|
Condicionantes: {
|
||||||
|
grafico: "condicionantes-criadas",
|
||||||
|
titulo: "Condicionantes Criadas",
|
||||||
|
},
|
||||||
|
Licenças: {
|
||||||
|
grafico: "licencas-criadas",
|
||||||
|
titulo: "Licenças Criadas",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -5,16 +5,13 @@ export * from "./consulta"
|
||||||
export * from "./dayjs"
|
export * from "./dayjs"
|
||||||
export * from "./ecosistema"
|
export * from "./ecosistema"
|
||||||
export * from "./extensoes"
|
export * from "./extensoes"
|
||||||
export * from "./extensoes"
|
export * from "./graficosPilao"
|
||||||
export * from "./local"
|
export * from "./local"
|
||||||
export * from "./logger"
|
export * from "./logger"
|
||||||
export * from "./logger"
|
|
||||||
export * from "./postgres"
|
export * from "./postgres"
|
||||||
export * from "./produtos"
|
|
||||||
export * from "./testes-de-variaveis"
|
export * from "./testes-de-variaveis"
|
||||||
export * from "./texto_busca"
|
export * from "./texto_busca"
|
||||||
export * from "./tipagemRotas"
|
export * from "./tipagemRotas"
|
||||||
export * from "./tipagemRotas"
|
|
||||||
export * from "./unidades_medida"
|
export * from "./unidades_medida"
|
||||||
export * from "./uuid"
|
export * from "./uuid"
|
||||||
export * from "./variaveisComuns"
|
export * from "./variaveisComuns"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
export enum Produtos {
|
|
||||||
"e-licencie" = "e-licencie",
|
|
||||||
"gov.e-licencie" = "gov.e-licencie",
|
|
||||||
}
|
|
||||||
|
|
@ -16,9 +16,8 @@ export const tsup_config_front: Options = {
|
||||||
sourcemap: false,
|
sourcemap: false,
|
||||||
minify: true, // Recomendado para builds de produção
|
minify: true, // Recomendado para builds de produção
|
||||||
platform: "browser",
|
platform: "browser",
|
||||||
external: ['dayjs'],
|
external: ["fs", "path", "os", "stream", "module", "util"],
|
||||||
outExtension: () => ({ js: ".mjs" }),
|
outExtension: () => ({ js: ".mjs" }),
|
||||||
shims: false,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Exporta a configuração padrão usando defineConfig
|
// Exporta a configuração padrão usando defineConfig
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue