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

Build: switch to es6 output + upgrade to [email protected] #4

Merged
merged 2 commits into from
Oct 12, 2023
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
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