Skip to content

Commit

Permalink
chore: Update npm and python publishing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed Jul 9, 2024
1 parent d8b93fc commit 156db0c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ on:
- "packages/python/pyproject.toml"

workflow_dispatch:

release:
types: [published]

permissions:
contents: read
Expand Down
13 changes: 7 additions & 6 deletions packages/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"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",
"scripts": {
"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",
Expand All @@ -35,7 +35,7 @@
"validador de cpf e cnpj",
"front-end",
"back-end",
"node"
"node"
],
"author": "Gabriel Logan",
"license": "MIT",
Expand All @@ -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": {}
}
8 changes: 4 additions & 4 deletions packages/typescript/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2589,10 +2589,10 @@ [email protected]:
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"
Expand Down

0 comments on commit 156db0c

Please sign in to comment.