Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make packages commonjs #323

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/mighty-seals-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'stocked': patch
'pxth': patch
'@reactive-forms/dom': patch
'@reactive-forms/x': patch
---

Make packages commonjs by default
1 change: 1 addition & 0 deletions packages/dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@reactive-forms/dom",
"description": "> TODO: description",
"version": "0.12.0",
"type": "commonjs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bugs": "https://github.com/fracht/reactive-forms/issues",
Expand Down
14 changes: 7 additions & 7 deletions packages/pxth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
"name": "pxth",
"version": "0.9.0",
"description": "Tiny utility library for object property path handling",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"type": "commonjs",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
"types": "./dist/index.d.ts",
"require": "./dist/index.js"
}
},
"keywords": [
Expand Down
14 changes: 7 additions & 7 deletions packages/stocked/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
"name": "stocked",
"description": "Tiny state management library for react.",
"version": "1.1.0",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"type": "commonjs",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
"types": "./dist/index.d.ts",
"require": "./dist/index.js"
}
},
"repository": {
Expand Down
1 change: 1 addition & 0 deletions packages/x/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"access": "public",
"directory": "prepared-package"
},
"type": "commonjs",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
Loading