This commit is contained in:
MarcioJRGodoi 2026-01-06 15:40:45 -03:00
parent 0bd043990d
commit 00f0892796
7 changed files with 357 additions and 350 deletions

View file

@ -23,7 +23,7 @@ module.exports = __toCommonJS(estaticos_exports);
const Prefixos = { const Prefixos = {
relativo: "/estaticos", relativo: "/estaticos",
"link-local": "http://localhost:5020/estaticos", "link-local": "http://localhost:5020/estaticos",
"link-servidor": "https://carro-de-boi-idz-one.b-cdn.net/estaticos", "link-servidor": "https://paiol.idz.one/estaticos",
node_modules: "node_modules/p-estaticos/estaticos" node_modules: "node_modules/p-estaticos/estaticos"
}; };
const estaticos = (caminho) => { const estaticos = (caminho) => {

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
import fs from "node:fs" import fs from "node:fs"
import path from "node:path" import path from "node:path"
import { globSync } from "glob" import { globSync } from "glob"
import { cdn_carro_de_boi } from "p-comuns" import { link_paiol } from "p-comuns"
import { mapearPasta } from "../src/mapear_pasta" import { mapearPasta } from "../src/mapear_pasta"
const pasta_estaticos = path.resolve(process.cwd(), "estaticos") const pasta_estaticos = path.resolve(process.cwd(), "estaticos")
@ -16,7 +16,7 @@ export const gerar = (async () => {
prefixos: { prefixos: {
relativo: "/estaticos", relativo: "/estaticos",
"link-local": "http://localhost:5020/estaticos", "link-local": "http://localhost:5020/estaticos",
"link-servidor": `${cdn_carro_de_boi}/estaticos`, "link-servidor": `${link_paiol}/estaticos`,
node_modules: "node_modules/p-estaticos/estaticos", node_modules: "node_modules/p-estaticos/estaticos",
}, },
arquivoDestino: path.resolve(pasta_src, "estaticos.ts"), arquivoDestino: path.resolve(pasta_src, "estaticos.ts"),

View file

@ -1,6 +1,6 @@
{ {
"name": "p-estaticos", "name": "p-estaticos",
"version": "0.95.0", "version": "0.97.0",
"description": "", "description": "",
"main": "./dist-back/index.js", "main": "./dist-back/index.js",
"module": "./dist-front/index.mjs", "module": "./dist-front/index.mjs",
@ -41,15 +41,15 @@
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "2.0.6", "@biomejs/biome": "2.0.6",
"@types/node": "^20.19.11", "@types/node": "^20.19.27",
"@types/react": "^18.3.24", "@types/react": "^18.3.27",
"@types/react-dom": "^18.3.7", "@types/react-dom": "^18.3.7",
"dotenv": "^16.6.1", "dotenv": "^16.6.1",
"dotenv-cli": "^7.4.4", "dotenv-cli": "^7.4.4",
"glob": "10.4.5", "glob": "10.4.5",
"kill-port-process": "^3.2.1", "kill-port-process": "^3.2.1",
"tsup": "^8.5.0", "tsup": "^8.5.1",
"typescript": "~5.9.2" "typescript": "~5.9.3"
}, },
"pnpm": { "pnpm": {
"onlyBuiltDependencies": [ "onlyBuiltDependencies": [

Binary file not shown.

687
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
const Prefixos = { const Prefixos = {
relativo: "/estaticos", relativo: "/estaticos",
"link-local": "http://localhost:5020/estaticos", "link-local": "http://localhost:5020/estaticos",
"link-servidor": "https://carro-de-boi-idz-one.b-cdn.net/estaticos", "link-servidor": "https://paiol.idz.one/estaticos",
node_modules: "node_modules/p-estaticos/estaticos", node_modules: "node_modules/p-estaticos/estaticos",
} }