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 4c585cb
Show file tree
Hide file tree
Showing 5 changed files with 554 additions and 1,720 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: ⎔ Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 9.5.0
version: 9.12.3

- name: Set .homepage in package.json
uses: jossef/action-set-json-field@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: ⎔ Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 9.5.0
version: 9.12.3

- name: 📥 Download deps
run: |
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- name: ⎔ Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 9.5.0
version: 9.12.3

- name: 📥 Download deps
run: pnpm install && pnpm run build
Expand Down
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"
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dev": "turbo run watch --parallel",
"demo": "turbo run start --filter @crystallize/demo-app"
},
"packageManager": "pnpm@9.5.0",
"packageManager": "pnpm@9.12.3",
"volta": {
"node": "20.15.0"
}
Expand Down
Loading

0 comments on commit 4c585cb

Please sign in to comment.