Skip to content

Commit

Permalink
Merge pull request #4 from CatalaLang/switch-to-es6
Browse files Browse the repository at this point in the history
Build: switch to es6 output + upgrade to [email protected]
  • Loading branch information
EmileRolley authored Oct 12, 2023
2 parents 6e94730 + 36c5981 commit f6c94f9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
16 changes: 10 additions & 6 deletions bsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@
"subdirs": true
}
],
"package-specs": {
"module": "commonjs",
"in-source": true
},
"bs-dev-dependencies": ["rescript-nodejs"],
"suffix": ".bs.js"
"package-specs": [
{
"module": "es6",
"in-source": true
}
],
"suffix": ".bs.js",
"refmt": 3,
"jsx": { "version": 4, "mode": "classic" },
"bs-dev-dependencies": ["rescript-nodejs"]
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"version": "0.1.4",
"scripts": {
"clean": "rescript clean",
"build": "rescript build",
"watch": "rescript build -w"
"build": "rescript build -with-deps",
"watch": "rescript build -w -with-deps"
},
"keywords": [
"rescript",
Expand All @@ -15,12 +15,12 @@
],
"author": "Emile Rolley <[email protected]>",
"license": "MIT",
"dependencies": {
"docx": "^8.2.3"
},
"devDependencies": {
"file-saver": "^2.0.5",
"rescript": "^10.1.4",
"rescript-nodejs": "^15.0.0"
},
"dependencies": {
"docx": "^8.2.2"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ core-util-is@~1.0.0:
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85"
integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==

docx@^8.2.2:
version "8.2.2"
resolved "https://registry.yarnpkg.com/docx/-/docx-8.2.2.tgz#9d280920a657493521df2fb8def9f7cfd8a05de4"
integrity sha512-dWI5WfD/fDCLdjIA7CcDzV/1uyBD+mmr7jDLTUN997hcbPz56E701Kf1EEWdibdH9kk+0tFSmE+C0jTlkRZ7kQ==
docx@^8.2.3:
version "8.2.3"
resolved "https://registry.yarnpkg.com/docx/-/docx-8.2.3.tgz#9389a7db582afcf27dba68a8e8e54eb692769c15"
integrity sha512-Rlr/wPTDh+xQpFew3m4zYQ5OWEZO36HItyPCUbGdicB+ar4zIgseeJdqfcZIY0uQtMSrhGRpSFOTjii7h9cpHw==
dependencies:
"@types/node" "^20.3.1"
jszip "^3.10.1"
Expand Down

0 comments on commit f6c94f9

Please sign in to comment.