Skip to content

Commit

Permalink
chore(release): 14.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl committed Nov 15, 2024
1 parent cf0e2f4 commit 3023caa
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ commitlint.config.js

# Internal jest config
jest.config.js
jest*.config.ts

# Tsconfig
tsconfig.build.json
tsconfig.eslint.json
tsconfig.json
tsconfig.spec.json
tsconfig*.json

# Others
*.tgz
Expand Down
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
## [14.3.0](https://github.com/thymikee/jest-preset-angular/compare/v14.2.4...v14.3.0) (2024-11-15)


### Features

* feat: add new setup test env functions ([21c0238](https://github.com/thymikee/jest-preset-angular/commit/21c0238)), closes [#354](https://github.com/thymikee/jest-preset-angular/issues/354) [#2755](https://github.com/thymikee/jest-preset-angular/issues/2755)
* feat: build package with type definitions ([a269daa](https://github.com/thymikee/jest-preset-angular/commit/a269daa))
* feat: deprecate `setup-jest.js` and `setup-jest.mjs` ([a304036](https://github.com/thymikee/jest-preset-angular/commit/a304036))


### Code Refactoring

* test: switch example app test config files to ts ([e61f1ff](https://github.com/thymikee/jest-preset-angular/commit/e61f1ff))


## DEPRECATIONS

Importing `setup-jest.js`/`setup-jest.mjs` directly is deprecated. The files will be removed in the future.

Please use "setupZoneTestEnv" function instead. Example:

For CJS
```
// setup-jest.ts
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env';
setupZoneTestEnv();
```

For ESM
```
// setup-jest.ts
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/index.mjs';
setupZoneTestEnv();
```



## [14.2.4](https://github.com/thymikee/jest-preset-angular/compare/v14.2.3...v14.2.4) (2024-09-12)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jest-preset-angular",
"version": "14.2.4",
"version": "14.3.0",
"description": "Jest preset configuration for Angular projects",
"license": "MIT",
"engines": {
Expand Down

0 comments on commit 3023caa

Please sign in to comment.