diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 466df71..2be9c43 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0" + ".": "0.2.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..6c06e61 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,97 @@ +# Changelog + +## [0.2.0](https://github.com/onebeyond/agnostic-cms-harmonizer/compare/v0.1.0...v0.2.0) (2024-03-14) + + +### 🆕 Features + +* add basic TS configuration ([a25489d](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/a25489d5af123e2007751822e0b3d54d7b7fc66c)) +* add commitllint ([396bfa6](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/396bfa60b8509d7bd83ee0044287b8fdec5125dd)) +* add contentful mapper to harmonize output ([18fd836](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/18fd836783bab4243b9ca0b42b3a4c08e6dbf260)) +* add eslint fot TS ([b5fa54d](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/b5fa54d891b143f2fd937234e9ea0ae86b24192b)) +* add husky hooks ([e3eec74](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/e3eec7459e35837cc645eab3b8863598ffc7cfd7)) +* add include as customizable query param for contentful ([2c772a3](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/2c772a309ae6727d4f41de39cd89046ac20eed28)) +* add inferred types and generics to Contentful client ([#13](https://github.com/onebeyond/agnostic-cms-harmonizer/issues/13)) ([24482d4](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/24482d4afbae4dce8dc9a3c9a012119332e3c73c)) +* add prettier ([a913080](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/a913080d41b0ebd9395efa25b57e6f079c37a690)) +* define HarmonizedOutput type ([4150197](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/4150197d2ff0a06e0e39efdba906a3ebd9a5a768)) +* return id of link items ([7c1bb78](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/7c1bb78d679764a4bd6e3745f35e9051f0ec2913)) + + +### 🐛 Bug Fixes + +* remove contentful-cli from "dependencies" section ([1cf9820](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/1cf98204789803c5ab30122345925d6db8b4c900)) +* remove redundant bool cast and add object cast ([#24](https://github.com/onebeyond/agnostic-cms-harmonizer/issues/24)) ([38e5626](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/38e562615fe28a1e4580456fe0d5d37f10d700df)) +* return undefinded if asset url is not defined ([#23](https://github.com/onebeyond/agnostic-cms-harmonizer/issues/23)) ([68d96cd](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/68d96cd994c7e694f004b1892d11ed57d13924b0)) +* typedocs high CPU usage watch mode ([be6cf0d](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/be6cf0d461373680d534c10ca58fc57b8b0fb03a)) +* typo ([d66de65](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/d66de6549df75e5a24ffb03be7ffcc210ca07323)) + + +### 🔧 Others + +* add .nvmrc ([e933bb3](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/e933bb31b1f650fc53d1721dc0c1072f40610603)) +* add experimentalTernaries to prettier ([b6b36b2](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/b6b36b2f18e2e6ae8f59bcea6d8db637d16a9338)) +* add new contents to contentful test data ([89b619d](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/89b619d2fe380e629448bddfb209ab278852329e)) +* add script to format code ([98df01d](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/98df01d4561479821c42902896ae3214deb50a7a)) +* add script to update dependencies ([7f76dea](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/7f76deacc4a0d91a8a51c45bc228677eaa5ff210)) +* apply linter rules ([ee84118](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/ee841182d78e9e4edc78a8589db147a0f1d885c3)) +* apply prettier format ([bdd3c01](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/bdd3c017b2e2eda044e69345590911ecd0ec8e80)) +* contentful e2e space exports ([e0e572c](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/e0e572c6b913b12596e870e7807a64db2370834d)) +* **deps:** bump actions/setup-node from 4.0.1 to 4.0.2 ([1bcb62e](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/1bcb62e2529021cdf404aa4b6b07af72444a49dc)) +* exclude tests from the build ([cbb5f23](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/cbb5f23d13f7b97d6d7d0db6a03e0ec8dd047372)) +* get space entry contentful without parser ([cbedfc1](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/cbedfc10dd600dc70fb89096166fc97d48b72275)) +* improve contentful export config file ([a7ce1da](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/a7ce1dadc7824621503c688dd66fac26dbdaa749)) +* init npm project ([5a2529a](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/5a2529a234582fb734cd557d4ce5a67b1bf0f27a)) +* instance prototype ([99b64e5](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/99b64e59e6852f87edef31ef263d8c88f5e5cb1c)) +* merge main branch ([b3c4c26](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/b3c4c264c00ede03728109721d7f7dfe8e92489b)) +* minor changes in the exported contentful data ([ea1e25f](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/ea1e25fdd2aed384e0138b09c7e3be20033f7599)) +* update .prettierignore file ([3036376](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/3036376cf33e56a9ed26e8bb63591e74a885c967)) +* update content to be able to test localization and nested content ([a8becdd](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/a8becdda3dd3edd567218c53d77b12e6d0d95ff8)) + + +### 📝 Docs + +* add Bounteous17 as a contributor for review ([#27](https://github.com/onebeyond/agnostic-cms-harmonizer/issues/27)) ([14bdd20](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/14bdd20c18262b066a07daf1f514dac31a06c925)) +* add docs to protected methods and abstracts ([#45](https://github.com/onebeyond/agnostic-cms-harmonizer/issues/45)) ([cdd2dec](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/cdd2dec3ad640d5a8cfccaa9f90e4a9edb988407)) +* add matyasjay as a contributor for code, doc, and test ([#26](https://github.com/onebeyond/agnostic-cms-harmonizer/issues/26)) ([35129b6](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/35129b69bf524b491bcbcc5769645f54f2606b55)) +* autogenerate docs using typedoc ([7f3adf7](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/7f3adf7488967b019f4872bfa89616e51853f11a)) +* create .all-contributorsrc [skip ci] ([a54ba99](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/a54ba996b8f4691aca0855c168b788cb10532395)) +* improve documentation ([1e43791](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/1e4379107631d5015be3d077f529775ca9330ec8)) +* improve documentation ([2a17f57](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/2a17f571db9ad9c14bf63e7ea4c8d4eeca8d9b92)) +* improve documentation ([c2066cc](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/c2066ccf805e76330c451a2d5af9709bf9c44176)) +* improve readme ([4b05d3a](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/4b05d3ae90ce7af85cc95b28a181ca6b67d368f0)) +* improve typedoc configuration ([499d498](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/499d49822482a5e280e97c20eeba28ce3e8ae772)) +* update .all-contributorsrc [skip ci] ([dec6ee6](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/dec6ee6051f6b11b59963263d0e483342b21ad1c)) +* update .all-contributorsrc [skip ci] ([a2b4608](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/a2b46081bbe7ec68352d832e64da6b1878c69fb8)) +* update .all-contributorsrc [skip ci] ([fcf5bd5](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/fcf5bd50700bd627cd93fc2ac5ac778c469a232f)) +* update .all-contributorsrc [skip ci] ([04fc4fc](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/04fc4fcd1c50d5b8a678db892c44e398b2c58b20)) +* update README.md [skip ci] ([eb4241b](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/eb4241be14783f0a8875d8a0cded388848a3085a)) +* update README.md [skip ci] ([515ac01](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/515ac0186103e5edb7cf11d7696c3a1e100c26a8)) +* update README.md [skip ci] ([d982708](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/d982708d40b28d0a7c5913ddd134c5012e701461)) +* update README.md [skip ci] ([e75da21](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/e75da214af629d147c261c4d336338f279f74466)) +* update README.md [skip ci] ([bf492e8](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/bf492e8dc435345114437e8408460753357a7d10)) + + +### 🔄 Code Refactoring + +* enhance non agnostic cms class extensions ([c2bf4a8](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/c2bf4a89f7188767874ec81e154cc8b01ca3105b)) +* implement agnostic client abstract methods instead of redefine ([c17f4e6](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/c17f4e6ef635362c11e85e9529e1bf9beaa19d23)) +* query params for contentful getEntry ([db9e59e](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/db9e59ef2a2ead84e35a42fcc5d3dcdac0dac445)) +* replace enum by object ([b1c6e95](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/b1c6e95dc3e22b869a9163a88ce126937201f775)) +* some agnostic instance class methods protected ([2bd00e4](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/2bd00e42750479dc9a64840e0469b57fc7821583)) + + +### 🔬 Tests + +* add test to fetch content in a different locale ([8b7adc6](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/8b7adc6c55c331851cfd1227c163223ce2227477)) +* e2e update export parsed output data ([2d05398](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/2d05398438a037dd1b028337a4f2064a2e81d9da)) +* fix failing tests ([#46](https://github.com/onebeyond/agnostic-cms-harmonizer/issues/46)) ([312decc](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/312decc688a52dfa7be3b0b23a9348aee11d8097)) +* jest e2e setup ([d9974df](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/d9974df3bb6572b0cf8a103273c7fb39150313fc)) +* update snapshot ([eff9ee7](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/eff9ee767fae6a6f438ac9cf131538636d5d7856)) + + +### ☁️ CI + +* add gh action to deploy documentation to gh pages ([17a642d](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/17a642d090d44c6ac569edfcff4beb8757f2a90a)) +* main application file ([74cccd2](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/74cccd2edfca7fdb0813ba5dc379c49923e83517)) +* running tests action ([2c0aad1](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/2c0aad101f4cbb71233fa2109d4a8e0ff09cf191)) +* running tests action ([#28](https://github.com/onebeyond/agnostic-cms-harmonizer/issues/28)) ([e697f1d](https://github.com/onebeyond/agnostic-cms-harmonizer/commit/e697f1d3de7b45b823bc976f3b0ec09c26e1ee04)) diff --git a/package-lock.json b/package-lock.json index 146a665..69c4955 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@onebeyond/agnostic-cms-harmonizer", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@onebeyond/agnostic-cms-harmonizer", - "version": "0.1.0", + "version": "0.2.0", "license": "MIT", "dependencies": { "contentful": "^10.6.21", diff --git a/package.json b/package.json index 46d5569..6cc1717 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onebeyond/agnostic-cms-harmonizer", - "version": "0.1.0", + "version": "0.2.0", "description": "Library to manage the communication with any CMS agnostic to the user", "repository": { "type": "git",