Skip to content
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
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,11 @@ lib/bs
lib/ocaml
simple-paragraph.docx

.DS_Store
.DS_Store

.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
934 changes: 934 additions & 0 deletions .yarn/releases/yarn-4.6.0.cjs

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

npmScopes:
greenfinity:
npmPublishRegistry: "https://registry.npmjs.org/"

yarnPath: .yarn/releases/yarn-4.6.0.cjs
34 changes: 27 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,19 @@
"description": "ReScript bindings for the docx.js lib",
"version": "0.1.5",
"scripts": {
"clean": "rescript clean",
"build": "rescript build -with-deps",
"watch": "rescript build -w -with-deps"
"changelog": "yarn auto-changelog -p && git add HISTORY.md",
"build": "yarn rescript:build",
"rescript:clean": "yarn rescript clean",
"rescript:build": "yarn rescript build -with-deps",
"rescript:dev": "yarn rescript build -with-deps -w",
"test": "yarn vitest --run --coverage --allow-only",
"test:dev": "yarn vitest",
"yalc:dev": "yarn rescript:dev & yarn nodemon -x \"yalc push\"",
"yalc:push": "yarn nodemon -e res -x \"yalc push\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/greenfinity/rescript-docx.git"
},
"keywords": [
"rescript",
Expand All @@ -15,12 +25,22 @@
],
"author": "Emile Rolley <emile.rolley@tuta.io>",
"license": "MIT",
"dependencies": {
"docx": "^8.2.3"
"bugs": {
"url": "https://github.com/greenfinity/rescript-docx/issues"
},
"homepage": "https://github.com/greenfinity/rescript-docx#readme",
"devDependencies": {
"auto-changelog": "^2.5.0",
"file-saver": "^2.0.5",
"rescript": "^10.1.4",
"nodemon": "^3.1.7",
"rescript": "^11.1.0",
"rescript-nodejs": "^15.0.0"
}
},
"dependencies": {
"@vitest/coverage-v8": "^2.1.8",
"docx": "^8.2.3",
"jsdom": "^25.0.1",
"vitest": "^2.1.8"
},
"packageManager": "yarn@4.6.0"
}
Loading
Loading