implementado typescript 7
This commit is contained in:
parent
cd4ea4d36b
commit
e9a323f18c
80 changed files with 5711 additions and 2455 deletions
19
package.json
19
package.json
|
|
@ -1,23 +1,22 @@
|
|||
{
|
||||
"name": "p-comuns",
|
||||
"version": "0.351.0",
|
||||
"version": "0.357.0",
|
||||
"description": "",
|
||||
"main": "./dist-front/index.mjs",
|
||||
"module": "./dist-front/index.mjs",
|
||||
"types": "./dist-front/index.d.mts",
|
||||
"main": "./dist-front/index.js",
|
||||
"module": "./dist-front/index.js",
|
||||
"types": "./src/index.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist-front/index.d.mts",
|
||||
"import": "./dist-front/index.mjs",
|
||||
"types": "./src/index.ts",
|
||||
"import": "./dist-front/index.js",
|
||||
"require": "./dist-back/index.js"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"biome": "pnpm exec biome check --write",
|
||||
"check": "pnpm run biome && npx tsc --noEmit",
|
||||
"build": "npm --no-git-tag-version version minor && pnpm run biome && tsup --config ./tsup/tsup.config.ts && pnpm run pacote",
|
||||
"build": "npm --no-git-tag-version version minor && pnpm run biome && tsc -p tsconfig-back.json && tsc -p tsconfig-front.json",
|
||||
"teste": "npx vitest run src/testes/TipagemRotas.test.ts",
|
||||
"pacote": "npm pack && npm pack && mv $(npm pack --silent) pacote.tgz",
|
||||
"postinstall": "node ./scripts/atualizar-biome.js"
|
||||
},
|
||||
"author": {
|
||||
|
|
@ -33,9 +32,7 @@
|
|||
"dayjs": "^1.11.18",
|
||||
"@biomejs/biome": "2.4.12",
|
||||
"@types/node": "^22",
|
||||
"tsup": "8.5.1",
|
||||
"typescript": "^6",
|
||||
"unbuild": "^3.6.1",
|
||||
"typescript": "^7",
|
||||
"vitest": "^3.2.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue