diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..aa1ec1e --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ +*.tgz diff --git a/package.json b/package.json index 7e9ad2c..1c761b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "p-estaticos", - "version": "0.88.0", + "version": "0.89.0", "description": "", "main": "./dist-back/index.js", "module": "./dist-front/index.mjs", @@ -14,13 +14,14 @@ }, "scripts": { "dev": "tsx ferramentas/rodar_servidor.tsx", - "build": "npm --no-git-tag-version version minor && pnpm run gerar && pnpm run check && tsup --config ./node_modules/p-comuns/tsup/tsup.config.ts", + "build": "npm --no-git-tag-version version minor && pnpm run gerar && pnpm run check && tsup --config ./node_modules/p-comuns/tsup/tsup.config.ts && pnpm run pacote", "nodev": "check-node-version --node '>= 20'", "kill": "npx kill-port -p 5020", "gerar": "dotenv -e .env tsx ferramentas/listar_arquivos.ts gerar", "biome": "npx @biomejs/biome check --write ./src && npx @biomejs/biome check --write ./ferramentas", "check": "pnpm run biome && tsc --noEmit", - "at": "pnpm up -r p-*" + "at": "pnpm up -r p-*", + "pacote": "npm pack && npm pack && mv $(npm pack --silent) pacote.tgz" }, "author": { "name": "AZTECA SOFTWARE LTDA", @@ -33,7 +34,7 @@ "@fastify/static": "^7.0.4", "dayjs": "1.11.13", "fastify": "^4.29.1", - "p-comuns": "git+https://git2.idz.one/publico/_comuns.git", + "p-comuns": "https://git2.idz.one/publico/_comuns/raw/branch/master/pacote.tgz", "react": "^18.3.1", "react-dom": "^18.3.1", "zod": "4.1.4" diff --git a/pacote.tgz b/pacote.tgz new file mode 100644 index 0000000..e3fecce Binary files /dev/null and b/pacote.tgz differ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 40893c1..4d1ab06 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: ^4.29.1 version: 4.29.1 p-comuns: - specifier: git+https://git2.idz.one/publico/_comuns.git - version: git+https://git2.idz.one/publico/_comuns.git#ccba36f828c9a998dc5420051c3918197e1c543e + specifier: https://git2.idz.one/publico/_comuns/raw/branch/master/pacote.tgz + version: https://git2.idz.one/publico/_comuns/raw/branch/master/pacote.tgz react: specifier: ^18.3.1 version: 18.3.1 @@ -565,8 +565,8 @@ packages: dayjs@1.11.13: resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==} - dayjs@1.11.15: - resolution: {integrity: sha512-MC+DfnSWiM9APs7fpiurHGCoeIx0Gdl6QZBy+5lu8MbYKN5FZEXqOgrundfibdfhGZ15o9hzmZ2xJjZnbvgKXQ==} + dayjs@1.11.18: + resolution: {integrity: sha512-zFBQ7WFRvVRhKcWoUh+ZA1g2HVgUbsZm9sbddh8EC5iv93sui8DVVz1Npvz+r6meo9VKfa8NyLWBsQK1VvIKPA==} debug@4.4.1: resolution: {integrity: sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==} @@ -830,9 +830,9 @@ packages: resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==} engines: {node: '>=14.0.0'} - p-comuns@git+https://git2.idz.one/publico/_comuns.git#ccba36f828c9a998dc5420051c3918197e1c543e: - resolution: {commit: ccba36f828c9a998dc5420051c3918197e1c543e, repo: https://git2.idz.one/publico/_comuns.git, type: git} - version: 0.220.0 + p-comuns@https://git2.idz.one/publico/_comuns/raw/branch/master/pacote.tgz: + resolution: {tarball: https://git2.idz.one/publico/_comuns/raw/branch/master/pacote.tgz} + version: 0.247.0 p-finally@1.0.0: resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} @@ -1526,7 +1526,7 @@ snapshots: dayjs@1.11.13: {} - dayjs@1.11.15: {} + dayjs@1.11.18: {} debug@4.4.1: dependencies: @@ -1812,10 +1812,10 @@ snapshots: on-exit-leak-free@2.1.2: {} - p-comuns@git+https://git2.idz.one/publico/_comuns.git#ccba36f828c9a998dc5420051c3918197e1c543e: + p-comuns@https://git2.idz.one/publico/_comuns/raw/branch/master/pacote.tgz: dependencies: cross-fetch: 4.1.0 - dayjs: 1.11.15 + dayjs: 1.11.18 uuid: 11.1.0 zod: 4.1.4 transitivePeerDependencies: