Skip to content

Commit

Permalink
feat: redirects to content client
Browse files Browse the repository at this point in the history
  • Loading branch information
alinarublea committed Sep 16, 2024
2 parents 391f612 + 0362ba4 commit 492806d
Show file tree
Hide file tree
Showing 26 changed files with 2,563 additions and 2,245 deletions.
4,627 changes: 2,427 additions & 2,200 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/npm": "12.0.1",
"@typescript-eslint/eslint-plugin": "8.4.0",
"@typescript-eslint/parser": "8.4.0",
"@typescript-eslint/eslint-plugin": "8.5.0",
"@typescript-eslint/parser": "8.5.0",
"ajv": "8.17.1",
"c8": "10.1.2",
"eslint": "8.57.0",
"husky": "9.1.5",
"jsdoc-to-markdown": "9.0.0",
"husky": "9.1.6",
"jsdoc-to-markdown": "9.0.1",
"lint-staged": "15.2.10",
"mocha": "10.7.3",
"mocha-multi-reporters": "1.5.1",
"nock": "13.5.5",
"semantic-release": "24.1.0",
"semantic-release": "24.1.1",
"semantic-release-monorepo": "8.0.2",
"typescript": "5.5.4"
"typescript": "5.6.2"
},
"lint-staged": {
"*.js": "eslint"
Expand Down
7 changes: 7 additions & 0 deletions packages/spacecat-shared-ahrefs-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [@adobe/spacecat-shared-ahrefs-client-v1.5.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-ahrefs-client-v1.5.2...@adobe/spacecat-shared-ahrefs-client-v1.5.3) (2024-09-14)


### Bug Fixes

* **deps:** update external fixes ([#369](https://github.com/adobe/spacecat-shared/issues/369)) ([5412d7b](https://github.com/adobe/spacecat-shared/commit/5412d7be554b9940d43b39b18f2913146e866846))

# [@adobe/spacecat-shared-ahrefs-client-v1.5.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-ahrefs-client-v1.5.1...@adobe/spacecat-shared-ahrefs-client-v1.5.2) (2024-09-04)


Expand Down
6 changes: 3 additions & 3 deletions packages/spacecat-shared-ahrefs-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/spacecat-shared-ahrefs-client",
"version": "1.5.2",
"version": "1.5.3",
"description": "Shared modules of the Spacecat Services - Ahrefs Client",
"type": "module",
"engines": {
Expand Down Expand Up @@ -42,8 +42,8 @@
"chai": "5.1.1",
"chai-as-promised": "8.0.0",
"nock": "13.5.5",
"sinon": "18.0.0",
"sinon": "18.0.1",
"sinon-chai": "4.0.0",
"typescript": "5.5.4"
"typescript": "5.6.2"
}
}
14 changes: 14 additions & 0 deletions packages/spacecat-shared-content-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# [@adobe/spacecat-shared-content-client-v1.0.7](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-content-client-v1.0.6...@adobe/spacecat-shared-content-client-v1.0.7) (2024-09-14)


### Bug Fixes

* **deps:** update external fixes ([#369](https://github.com/adobe/spacecat-shared/issues/369)) ([5412d7b](https://github.com/adobe/spacecat-shared/commit/5412d7be554b9940d43b39b18f2913146e866846))

# [@adobe/spacecat-shared-content-client-v1.0.6](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-content-client-v1.0.5...@adobe/spacecat-shared-content-client-v1.0.6) (2024-09-13)


### Bug Fixes

* **deps:** update dependency @adobe/spacecat-helix-content-sdk to v1.1.8 ([#367](https://github.com/adobe/spacecat-shared/issues/367)) ([9e162f3](https://github.com/adobe/spacecat-shared/commit/9e162f3df0a7a26731e0ddb5cac4fb44846e99b5))

# [@adobe/spacecat-shared-content-client-v1.0.5](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-content-client-v1.0.4...@adobe/spacecat-shared-content-client-v1.0.5) (2024-09-10)


Expand Down
6 changes: 3 additions & 3 deletions packages/spacecat-shared-content-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/spacecat-shared-content-client",
"version": "1.0.5",
"version": "1.0.7",
"description": "Shared modules of the Spacecat Services - Content Client",
"type": "module",
"engines": {
Expand Down Expand Up @@ -44,8 +44,8 @@
"chai-as-promised": "8.0.0",
"esmock": "2.6.7",
"nock": "13.5.4",
"sinon": "18.0.0",
"sinon": "18.0.1",
"sinon-chai": "4.0.0",
"typescript": "5.5.4"
"typescript": "5.6.2"
}
}
14 changes: 14 additions & 0 deletions packages/spacecat-shared-data-access/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# [@adobe/spacecat-shared-data-access-v1.44.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.44.1...@adobe/spacecat-shared-data-access-v1.44.2) (2024-09-16)


### Bug Fixes

* **audits:** extend expiry date for audits from 1 to 6 months ([#363](https://github.com/adobe/spacecat-shared/issues/363)) ([1327a5b](https://github.com/adobe/spacecat-shared/commit/1327a5bcc60fdb7dab0284e9d10d3001ad7fa403))

# [@adobe/spacecat-shared-data-access-v1.44.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.44.0...@adobe/spacecat-shared-data-access-v1.44.1) (2024-09-14)


### Bug Fixes

* **deps:** update external fixes ([#369](https://github.com/adobe/spacecat-shared/issues/369)) ([5412d7b](https://github.com/adobe/spacecat-shared/commit/5412d7be554b9940d43b39b18f2913146e866846))

# [@adobe/spacecat-shared-data-access-v1.44.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-data-access-v1.43.4...@adobe/spacecat-shared-data-access-v1.44.0) (2024-09-11)


Expand Down
8 changes: 4 additions & 4 deletions packages/spacecat-shared-data-access/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/spacecat-shared-data-access",
"version": "1.44.0",
"version": "1.44.2",
"description": "Shared modules of the Spacecat Services - Data Access",
"type": "module",
"engines": {
Expand Down Expand Up @@ -35,8 +35,8 @@
"dependencies": {
"@adobe/spacecat-shared-dynamo": "1.2.5",
"@adobe/spacecat-shared-utils": "1.2.0",
"@aws-sdk/client-dynamodb": "3.645.0",
"@aws-sdk/lib-dynamodb": "3.645.0",
"@aws-sdk/client-dynamodb": "3.651.1",
"@aws-sdk/lib-dynamodb": "3.651.1",
"@types/joi": "17.2.3",
"joi": "17.13.3",
"uuid": "10.0.0"
Expand All @@ -45,7 +45,7 @@
"chai": "5.1.1",
"chai-as-promised": "8.0.0",
"dynamo-db-local": "9.2.1",
"sinon": "18.0.0",
"sinon": "18.0.1",
"sinon-chai": "4.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/spacecat-shared-data-access/src/models/audit.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const AUDIT_TYPE_LHS_MOBILE = 'lhs-mobile';
export const AUDIT_TYPE_EXPERIMENTATION_ESS_MONTHLY = 'experimentation-ess-monthly';
export const AUDIT_TYPE_EXPERIMENTATION_ESS_DAILY = 'experimentation-ess-daily';

const EXPIRES_IN_DAYS = 30;
const EXPIRES_IN_DAYS = 30 * 6;

const AUDIT_TYPE_PROPERTIES = {
[AUDIT_TYPE_LHS_DESKTOP]: ['performance', 'seo', 'accessibility', 'best-practices'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ describe('Audit Model Tests', () => {
const audit = createAudit(validData);
expect(audit.getExpiresAt()).to.be.a('Date');
const expectedDate = new Date(validData.auditedAt);
expectedDate.setDate(expectedDate.getDate() + 30);
expectedDate.setDate(expectedDate.getDate() + 30 * 6);
expect(audit.getExpiresAt().toDateString()).to.equal(expectedDate.toDateString());
});
});
Expand Down
7 changes: 7 additions & 0 deletions packages/spacecat-shared-dynamo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [@adobe/spacecat-shared-dynamo-v1.3.36](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-dynamo-v1.3.35...@adobe/spacecat-shared-dynamo-v1.3.36) (2024-09-14)


### Bug Fixes

* **deps:** update external fixes ([#369](https://github.com/adobe/spacecat-shared/issues/369)) ([5412d7b](https://github.com/adobe/spacecat-shared/commit/5412d7be554b9940d43b39b18f2913146e866846))

# [@adobe/spacecat-shared-dynamo-v1.3.35](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-dynamo-v1.3.34...@adobe/spacecat-shared-dynamo-v1.3.35) (2024-09-07)


Expand Down
6 changes: 3 additions & 3 deletions packages/spacecat-shared-dynamo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/spacecat-shared-dynamo",
"version": "1.3.35",
"version": "1.3.36",
"description": "Shared modules of the Spacecat Services - DynamoDB client",
"type": "module",
"engines": {
Expand Down Expand Up @@ -33,8 +33,8 @@
"access": "public"
},
"dependencies": {
"@aws-sdk/client-dynamodb": "3.645.0",
"@aws-sdk/lib-dynamodb": "3.645.0",
"@aws-sdk/client-dynamodb": "3.651.1",
"@aws-sdk/lib-dynamodb": "3.651.1",
"@adobe/spacecat-shared-utils": "1.1.0"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/spacecat-shared-google-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [@adobe/spacecat-shared-google-client-v1.2.5](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-google-client-v1.2.4...@adobe/spacecat-shared-google-client-v1.2.5) (2024-09-14)


### Bug Fixes

* **deps:** update external fixes ([#369](https://github.com/adobe/spacecat-shared/issues/369)) ([5412d7b](https://github.com/adobe/spacecat-shared/commit/5412d7be554b9940d43b39b18f2913146e866846))

# [@adobe/spacecat-shared-google-client-v1.2.4](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-google-client-v1.2.3...@adobe/spacecat-shared-google-client-v1.2.4) (2024-09-07)


Expand Down
8 changes: 4 additions & 4 deletions packages/spacecat-shared-google-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/spacecat-shared-google-client",
"version": "1.2.4",
"version": "1.2.5",
"description": "Shared modules of the Spacecat Services - Google Client",
"type": "module",
"engines": {
Expand Down Expand Up @@ -38,16 +38,16 @@
"@adobe/helix-universal": "5.0.5",
"@adobe/spacecat-shared-http-utils": "1.1.4",
"@adobe/spacecat-shared-utils": "1.15.1",
"@aws-sdk/client-secrets-manager": "3.645.0",
"@aws-sdk/client-secrets-manager": "3.651.1",
"google-auth-library": "9.14.1",
"googleapis": "144.0.0"
},
"devDependencies": {
"chai": "5.1.1",
"chai-as-promised": "8.0.0",
"nock": "13.5.5",
"sinon": "18.0.0",
"sinon": "18.0.1",
"sinon-chai": "4.0.0",
"typescript": "5.5.4"
"typescript": "5.6.2"
}
}
7 changes: 7 additions & 0 deletions packages/spacecat-shared-gpt-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [@adobe/spacecat-shared-gpt-client-v1.2.13](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-gpt-client-v1.2.12...@adobe/spacecat-shared-gpt-client-v1.2.13) (2024-09-14)


### Bug Fixes

* **deps:** update external fixes ([#369](https://github.com/adobe/spacecat-shared/issues/369)) ([5412d7b](https://github.com/adobe/spacecat-shared/commit/5412d7be554b9940d43b39b18f2913146e866846))

# [@adobe/spacecat-shared-gpt-client-v1.2.12](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-gpt-client-v1.2.11...@adobe/spacecat-shared-gpt-client-v1.2.12) (2024-08-24)


Expand Down
6 changes: 3 additions & 3 deletions packages/spacecat-shared-gpt-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/spacecat-shared-gpt-client",
"version": "1.2.12",
"version": "1.2.13",
"description": "Shared modules of the Spacecat Services - GPT Client",
"type": "module",
"engines": {
Expand Down Expand Up @@ -43,8 +43,8 @@
"chai": "5.1.1",
"chai-as-promised": "8.0.0",
"nock": "13.5.5",
"sinon": "18.0.0",
"sinon": "18.0.1",
"sinon-chai": "4.0.0",
"typescript": "5.5.4"
"typescript": "5.6.2"
}
}
7 changes: 7 additions & 0 deletions packages/spacecat-shared-http-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [@adobe/spacecat-shared-http-utils-v1.6.9](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.6.8...@adobe/spacecat-shared-http-utils-v1.6.9) (2024-09-14)


### Bug Fixes

* **deps:** update external fixes ([#369](https://github.com/adobe/spacecat-shared/issues/369)) ([5412d7b](https://github.com/adobe/spacecat-shared/commit/5412d7be554b9940d43b39b18f2913146e866846))

# [@adobe/spacecat-shared-http-utils-v1.6.8](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.6.7...@adobe/spacecat-shared-http-utils-v1.6.8) (2024-08-22)


Expand Down
6 changes: 3 additions & 3 deletions packages/spacecat-shared-http-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/spacecat-shared-http-utils",
"version": "1.6.8",
"version": "1.6.9",
"description": "Shared modules of the Spacecat Services - HTTP Utils",
"type": "module",
"engines": {
Expand Down Expand Up @@ -36,12 +36,12 @@
"@adobe/fetch": "4.1.8",
"@adobe/spacecat-shared-utils": "1.19.1",
"@adobe/spacecat-shared-data-access": "1.41.3",
"jose": "5.8.0"
"jose": "5.9.2"
},
"devDependencies": {
"@adobe/helix-shared-wrap": "2.0.2",
"chai": "5.1.1",
"chai-as-promised": "8.0.0",
"sinon": "18.0.0"
"sinon": "18.0.1"
}
}
7 changes: 7 additions & 0 deletions packages/spacecat-shared-ims-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [@adobe/spacecat-shared-ims-client-v1.3.14](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-ims-client-v1.3.13...@adobe/spacecat-shared-ims-client-v1.3.14) (2024-09-14)


### Bug Fixes

* **deps:** update external fixes ([#369](https://github.com/adobe/spacecat-shared/issues/369)) ([5412d7b](https://github.com/adobe/spacecat-shared/commit/5412d7be554b9940d43b39b18f2913146e866846))

# [@adobe/spacecat-shared-ims-client-v1.3.13](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-ims-client-v1.3.12...@adobe/spacecat-shared-ims-client-v1.3.13) (2024-08-24)


Expand Down
6 changes: 3 additions & 3 deletions packages/spacecat-shared-ims-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/spacecat-shared-ims-client",
"version": "1.3.13",
"version": "1.3.14",
"description": "Shared modules of the Spacecat Services - IMS Client",
"type": "module",
"engines": {
Expand Down Expand Up @@ -42,8 +42,8 @@
"chai": "5.1.1",
"chai-as-promised": "8.0.0",
"nock": "13.5.5",
"sinon": "18.0.0",
"sinon": "18.0.1",
"sinon-chai": "4.0.0",
"typescript": "5.5.4"
"typescript": "5.6.2"
}
}
7 changes: 7 additions & 0 deletions packages/spacecat-shared-rum-api-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [@adobe/spacecat-shared-rum-api-client-v2.9.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.9.0...@adobe/spacecat-shared-rum-api-client-v2.9.1) (2024-09-14)


### Bug Fixes

* **deps:** update external fixes ([#369](https://github.com/adobe/spacecat-shared/issues/369)) ([5412d7b](https://github.com/adobe/spacecat-shared/commit/5412d7be554b9940d43b39b18f2913146e866846))

# [@adobe/spacecat-shared-rum-api-client-v2.9.0](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-rum-api-client-v2.8.0...@adobe/spacecat-shared-rum-api-client-v2.9.0) (2024-09-03)


Expand Down
6 changes: 3 additions & 3 deletions packages/spacecat-shared-rum-api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/spacecat-shared-rum-api-client",
"version": "2.9.0",
"version": "2.9.1",
"description": "Shared modules of the Spacecat Services - Rum API client",
"type": "module",
"engines": {
Expand Down Expand Up @@ -47,8 +47,8 @@
"chai": "5.1.1",
"chai-as-promised": "8.0.0",
"nock": "13.5.5",
"sinon": "18.0.0",
"sinon": "18.0.1",
"sinon-chai": "4.0.0",
"typescript": "5.5.4"
"typescript": "5.6.2"
}
}
7 changes: 7 additions & 0 deletions packages/spacecat-shared-slack-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [@adobe/spacecat-shared-slack-client-v1.3.15](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-slack-client-v1.3.14...@adobe/spacecat-shared-slack-client-v1.3.15) (2024-09-14)


### Bug Fixes

* **deps:** update external fixes ([#369](https://github.com/adobe/spacecat-shared/issues/369)) ([5412d7b](https://github.com/adobe/spacecat-shared/commit/5412d7be554b9940d43b39b18f2913146e866846))

# [@adobe/spacecat-shared-slack-client-v1.3.14](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-slack-client-v1.3.13...@adobe/spacecat-shared-slack-client-v1.3.14) (2024-09-07)


Expand Down
6 changes: 3 additions & 3 deletions packages/spacecat-shared-slack-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/spacecat-shared-slack-client",
"version": "1.3.14",
"version": "1.3.15",
"description": "Shared modules of the Spacecat Services - Slack Client",
"type": "module",
"engines": {
Expand Down Expand Up @@ -41,9 +41,9 @@
"chai": "5.1.1",
"chai-as-promised": "8.0.0",
"nock": "13.5.5",
"sinon": "18.0.0",
"sinon": "18.0.1",
"sinon-chai": "4.0.0",
"slack-block-builder": "2.8.0",
"typescript": "5.5.4"
"typescript": "5.6.2"
}
}
7 changes: 7 additions & 0 deletions packages/spacecat-shared-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [@adobe/spacecat-shared-utils-v1.19.8](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.19.7...@adobe/spacecat-shared-utils-v1.19.8) (2024-09-14)


### Bug Fixes

* **deps:** update external fixes ([#369](https://github.com/adobe/spacecat-shared/issues/369)) ([5412d7b](https://github.com/adobe/spacecat-shared/commit/5412d7be554b9940d43b39b18f2913146e866846))

# [@adobe/spacecat-shared-utils-v1.19.7](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.19.6...@adobe/spacecat-shared-utils-v1.19.7) (2024-09-07)


Expand Down
Loading

0 comments on commit 492806d

Please sign in to comment.