Skip to content

Commit

Permalink
fix: Explictly set packages "type": "module"
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Jun 21, 2022
1 parent c6fbdcc commit dcaffce
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "cloudcommerce",
"type": "module",
"version": "0.0.7",
"description": "Open fair-code headless commerce platform: API-first, microservices based, event driven and cloud native",
"main": "src/index.js",
Expand Down
3 changes: 2 additions & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@cloudcommerce/api",
"type": "module",
"version": "0.0.7",
"description": "E-Com Plus Cloud Commerce APIs client/adapter",
"main": "lib/index.js",
Expand All @@ -19,4 +20,4 @@
"build": "sh scripts/build.sh",
"test": "tsc -p ../../tsconfig.test.json && vitest run"
}
}
}
3 changes: 2 additions & 1 deletion packages/apps/discounts/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@cloudcommerce/app-discounts",
"type": "module",
"version": "0.0.7",
"description": "E-Com Plus Cloud Commerce app for complex discount rules",
"main": "functions/dist/index.js",
Expand All @@ -20,4 +21,4 @@
"dependencies": {
"@cloudcommerce/api": "workspace:*"
}
}
}
3 changes: 2 additions & 1 deletion packages/storefront/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@cloudcommerce/storefront",
"type": "module",
"version": "0.0.7",
"description": "E-Com Plus Cloud Commerce storefront with Astro",
"main": "src/index.js",
Expand All @@ -21,4 +22,4 @@
"@cloudcommerce/api": "workspace:*",
"astro": "1.0.0-beta.46"
}
}
}

0 comments on commit dcaffce

Please sign in to comment.