From 015771a653b953ec03319947be454fd0304d3452 Mon Sep 17 00:00:00 2001 From: "Julio L. Muller" Date: Fri, 8 Aug 2025 14:22:25 -0300 Subject: [PATCH 1/2] Add cnpj-utils w/ npm auto-update --- packages/c/cnpj-utils.json | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 packages/c/cnpj-utils.json diff --git a/packages/c/cnpj-utils.json b/packages/c/cnpj-utils.json new file mode 100644 index 000000000..ceb8bc55f --- /dev/null +++ b/packages/c/cnpj-utils.json @@ -0,0 +1,43 @@ +{ + "name": "cnpj-utils", + "filename": "cnpj-utils.min.js", + "homepage": "https://cnpj-utils.vercel.app/", + "description": "Utility functions to deal with CNPJ data (Brazilian company ID), like generation fake ones, validating and formatting", + "license": "MIT", + "authors": [ + { + "name": "Julio L. Muller" + } + ], + "keywords": [ + "cnpj", + "validar", + "validador", + "validate", + "validation", + "formatar", + "format", + "gerar", + "gerador", + "generate", + "generator", + "pt-br", + "br" + ], + "repository": { + "type": "git", + "url": "https://github.com/juliolmuller/cnpj-utils-js" + }, + "autoupdate": { + "source": "npm", + "target": "cnpj-utils", + "fileMap": [ + { + "basePath": "dist", + "files": [ + "**/*" + ] + } + ] + } +} From 06cff401f4d36ac2c64284d39f1d941b6fbfb5b2 Mon Sep 17 00:00:00 2001 From: "Julio L. Muller" Date: Fri, 8 Aug 2025 22:04:58 -0300 Subject: [PATCH 2/2] Adjust code as per review at https://github.com/cdnjs/packages/pull/2042#discussion_r2263840845 Co-authored-by: Matt Cowley --- packages/c/cnpj-utils.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/c/cnpj-utils.json b/packages/c/cnpj-utils.json index ceb8bc55f..1dc1638c9 100644 --- a/packages/c/cnpj-utils.json +++ b/packages/c/cnpj-utils.json @@ -35,7 +35,7 @@ { "basePath": "dist", "files": [ - "**/*" + "*.js" ] } ]