-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support cjs and esm both by tshy (#54)
BREAKING CHANGE: drop Node.js < 18.19.0 support part of eggjs/egg#3644 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced comprehensive support for TypeScript in project configurations. - Added new cookie management functionalities, including setting, encryption, and validation. - Added support for `Keygrip` class for cryptographic operations. - **Documentation** - Updated package name in README files from `egg-cookies` to `@eggjs/cookies`. - Adjusted code snippets and URLs in documentation to reflect the new package name. - **Tests** - Enhanced test suite with additional test cases for cookie encryption, caching, and error handling. - Added new test files for `Keygrip` and cookie functionalities. - **Chores** - Updated `.gitignore` to include new patterns for ignoring files. - Improved CI workflow with updated Node.js versions and Codecov token integration. - Updated dependencies and scripts in `package.json` to align with the new package structure and TypeScript support. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
Showing
27 changed files
with
708 additions
and
851 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"extends": "eslint-config-egg", | ||
"parserOptions": { | ||
"ecmaVersion": 2017 | ||
} | ||
"extends": [ | ||
"eslint-config-egg/typescript", | ||
"eslint-config-egg/lib/rules/enforce-node-prefix" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ node_modules | |
coverage | ||
test/ts/report | ||
package-lock.json | ||
.tshy* | ||
.eslintcache | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.