Skip to content

Commit

Permalink
Revert to CommonJS version on patch release → Major Ver update for ESM (
Browse files Browse the repository at this point in the history
#50)

* remove mocha reference

* fix audit

* Update .gitignore

* Update CHANGELOG.md

* revert

* 3.0.0
  • Loading branch information
philcockfield authored Jul 16, 2024
1 parent d505959 commit e21e070
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 540 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
lib
node_modules
npm-debug.log
/.tmp
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased] - YYYY-MM-DD


## [next] - YYYY-MM-DD
#### Added
#### Changed
#### Deprecated
Expand All @@ -12,11 +14,25 @@ This project adheres to [Semantic Versioning](http://semver.org/).



## [next] - YYYY-MM-DD
## [3.0.0] - 2024-07-16
#### Changed
- converted to ESM (thanks to @ndelangen on PR#47)



## [2.4.7] - 2024-07-16
#### Fixed
- revert to bundle that supports `require('file-system-cache')` on patch-release
version number prior to re-releasing the ESM build on the next major version (see 3.0).



## [2.4.5] - 2024-07-16
#### Added
#### Changed
- switched testing framework from `mocha` to `vitest`
- switched `ts-node` to `tsx`
- converted to ESM (thanks to @ndelangen on PR#47)
#### Deprecated
#### Removed
#### Fixed
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "file-system-cache",
"version": "2.4.5",
"version": "3.0.0",
"description": "A super-fast, promise-based cache that reads and writes to the file-system.",
"keywords": [
"cache",
Expand Down Expand Up @@ -42,17 +42,19 @@
"@types/chai": "^4.3.16",
"@types/expect": "^24.3.0",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.7",
"@types/ramda": "^0.30.1",
"chai": "^5.1.1",
"fs-extra": "^11.2.0",
"mocha": "^10.6.0",
"prettier": "^3.3.3",
"ramda": "^0.30.1",
"tsup": "^8.1.0",
"tsx": "^4.16.2",
"typescript": "^5.5.3",
"vitest": "^2.0.3"
},
"resolutions": {
"braces": ">=3.0.3",
"vite": ">=5.3.3"
},
"packageManager": "[email protected]+sha512.ff4579ab459bb25aa7c0ff75b62acebe576f6084b36aa842971cf250a5d8c6cd3bc9420b22ce63c7f93a0857bc6ef29291db39c3e7a23aab5adfd5a4dd6c5d71"
}
Loading

0 comments on commit e21e070

Please sign in to comment.