Skip to content

Commit

Permalink
fix(cjs): missing default exports
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Oct 2, 2022
1 parent 2ce2c0d commit 4d2d9fc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}
},
"scripts": {
"build": "mkbuild",
"build": "toggle-pkg-type && mkbuild; toggle-pkg-type",
"check:ci": "yarn dedupe --check && yarn check:format && yarn check:lint && yarn check:spelling && yarn check:types && yarn check:types:build && NODE_ENV=production yarn pack -o %s-%v.tgz && yarn clean:pack && yarn test:cov",
"check:format": "prettier --check .",
"check:lint": "eslint --exit-on-fatal-error --ext cjs,cts,gql,json,jsonc,md,mjs,ts,yml --max-warnings 0 .",
Expand Down Expand Up @@ -110,6 +110,7 @@
"@commitlint/types": "17.0.0",
"@faker-js/faker": "7.5.0",
"@flex-development/mkbuild": "1.0.0-alpha.6",
"@flex-development/toggle-pkg-type": "1.0.0",
"@graphql-eslint/eslint-plugin": "3.11.2",
"@types/chai": "4.3.3",
"@types/conventional-changelog": "3.1.1",
Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,15 @@ __metadata:
languageName: node
linkType: hard

"@flex-development/toggle-pkg-type@npm:1.0.0":
version: 1.0.0
resolution: "@flex-development/toggle-pkg-type@npm:1.0.0::__archiveUrl=https%3A%2F%2Fnpm.pkg.github.com%2Fdownload%2F%40flex-development%2Ftoggle-pkg-type%2F1.0.0%2F2b551bd2ad2bc88ae1adb80afdecfc29a0705902"
bin:
toggle-pkg-type: dist/cli.mjs
checksum: 5060b7a49b1100d9281fdd1e99a6308b48657d7cfc0f029048b0613ec497787952ad3a175807290bdf4afaf00f6ff2e8c655aa50794b1003e212974a9ea7f8c9
languageName: node
linkType: hard

"@flex-development/tutils@npm:5.0.1, @flex-development/tutils@workspace:.":
version: 0.0.0-use.local
resolution: "@flex-development/tutils@workspace:."
Expand All @@ -827,6 +836,7 @@ __metadata:
"@commitlint/types": "npm:17.0.0"
"@faker-js/faker": "npm:7.5.0"
"@flex-development/mkbuild": "npm:1.0.0-alpha.6"
"@flex-development/toggle-pkg-type": "npm:1.0.0"
"@graphql-eslint/eslint-plugin": "npm:3.11.2"
"@types/chai": "npm:4.3.3"
"@types/conventional-changelog": "npm:3.1.1"
Expand Down

0 comments on commit 4d2d9fc

Please sign in to comment.