Update package.json with main and module entry points
Changed the "main" attribute from "index.js" to "lib.js" and added "module" and "exports" fields for compatibility with both import and require statements. Also incremented the version from 1.0.3 to 1.0.4.
This commit is contained in:
11
package.json
11
package.json
@@ -1,9 +1,16 @@
|
||||
{
|
||||
"name": "workflow-function-manifold",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"type": "module",
|
||||
"description": "for building dynamic, LLM-driven workflows using a region-based execution model",
|
||||
"main": "index.js",
|
||||
"main": "lib.js",
|
||||
"module": "lib.js",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./lib.js",
|
||||
"require": "./lib.js"
|
||||
}
|
||||
},
|
||||
"bin": {
|
||||
"workflow-function-manifold": "./bin.js"
|
||||
},
|
||||
|
Reference in New Issue
Block a user