From 156db0ccf317af1dc91759409755cda3dfaa52b4 Mon Sep 17 00:00:00 2001 From: gabriel-logan Date: Tue, 9 Jul 2024 16:51:58 -0300 Subject: [PATCH] chore: Update npm and python publishing workflows --- .github/workflows/npm-publish.yml | 3 --- .github/workflows/python-publish.yml | 3 --- packages/typescript/package.json | 13 +++++++------ packages/typescript/yarn.lock | 8 ++++---- 4 files changed, 11 insertions(+), 16 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 05fade8..24d8436 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -13,9 +13,6 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - release: - types: [created] - jobs: publish-npm: runs-on: ubuntu-latest diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index c911b66..939da97 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -15,9 +15,6 @@ on: - "packages/python/pyproject.toml" workflow_dispatch: - - release: - types: [published] permissions: contents: read diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 26d7f04..7d7b2dd 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "cpf_and_cnpj-generator", - "version": "1.1.4", + "version": "1.1.5", "description": "This repository contains a JavaScript code that generates a valid Brazilian CPF (Cadastro de Pessoas FĂ­sicas). CPF is a unique identification number assigned to individuals in Brazil. The code ensures that the generated CPF numbers follow the required validation rules and algorithms.", "main": "dist/index.js", "types": "types/index.d.ts", @@ -8,8 +8,8 @@ "test": "jest --coverage", "build:dist": "tsc", "build:types": "tsc -p tsconfig.types.json", - "build:browser": "webpack", - "build": "yarn build:types && yarn build:dist && yarn build:browser" + "build:browser": "webpack", + "build": "yarn build:types && yarn build:dist && yarn build:browser" }, "repository": { "type": "git", @@ -35,7 +35,7 @@ "validador de cpf e cnpj", "front-end", "back-end", - "node" + "node" ], "author": "Gabriel Logan", "license": "MIT", @@ -51,12 +51,13 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "jest": "^29.7.0", - "multiform-validator": "^1.0.40", + "multiform-validator": "^2.1.0", "prettier": "^3.2.5", "ts-jest": "^29.1.2", "ts-loader": "^9.5.1", "typescript": "^5.4.2", "webpack": "^5.91.0", "webpack-cli": "^5.1.4" - } + }, + "dependencies": {} } diff --git a/packages/typescript/yarn.lock b/packages/typescript/yarn.lock index 08ed8c8..e2d940e 100644 --- a/packages/typescript/yarn.lock +++ b/packages/typescript/yarn.lock @@ -2589,10 +2589,10 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -multiform-validator@^1.0.40: - version "1.0.40" - resolved "https://registry.yarnpkg.com/multiform-validator/-/multiform-validator-1.0.40.tgz#1ec7b5b73a5fe13cea850a613dc3d583ebcc2cba" - integrity sha512-hUUu/c9lvoZXUBzO/euzk7zD2wTPbnCGhvSekY5SuuyPAGsv4ExlUALAdQl5dyAWpBDmsTg7UTG3zpijUbd2mw== +multiform-validator@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/multiform-validator/-/multiform-validator-2.1.0.tgz#28eadf0e3ae442eed5a3c8f93eb59e1710eefe15" + integrity sha512-4V1PbaJaEcmcovfPGHoaMmVAulRir+SlmGB0l39ZeDt9HRWmO0S4UO6TGZ1qiqPJ1ERZdT/+wo2GAkWoOT+2sg== natural-compare@^1.4.0: version "1.4.0"