Skip to content

Commit

Permalink
fix(schema): package.json type must be third despite the warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Plopix committed Nov 20, 2024
1 parent b788fc5 commit 41d514f
Show file tree
Hide file tree
Showing 2 changed files with 1,434 additions and 8,212 deletions.
16 changes: 11 additions & 5 deletions components/schema/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@crystallize/schema",
"version": "1.2.0",
"version": "1.2.1",
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"scripts": {
"build": "rm -rf dist && tsup src/index.ts --format esm,cjs --dts",
Expand All @@ -27,5 +27,11 @@
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"vitest": "^2.1.5"
}
},
"files": [
"package.json",
"dist",
"README.md",
"LICENSE"
]
}
Loading

0 comments on commit 41d514f

Please sign in to comment.