Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storybook restored #4375

Merged
merged 3 commits into from
Sep 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
worky
louis-bompart committed Sep 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 5620da300fa80199304c9c73edd4d15a7de0a17c
53 changes: 34 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/atomic-react/package.json
Original file line number Diff line number Diff line change
@@ -13,8 +13,7 @@
"clean": "rimraf -rf dist",
"build:bundles:esm": "tsc -p tsconfig.esm.json",
"build:bundles:cjs": "tsc -p tsconfig.cjs.json",
"build:bundles:iife": "rollup --config rollup.config.mjs",
"build:bundles": "concurrently \"npm run build:bundles:esm\" \"npm run build:bundles:cjs\" \"npm run build:bundles:iife\"",
"build:bundles": "concurrently \"npm run build:bundles:esm\" \"npm run build:bundles:cjs\"",
"publish:npm": "npm run-script -w=@coveo/release npm-publish",
"publish:bump": "npm run-script -w=@coveo/release bump",
"promote:npm:latest": "node ../../scripts/deploy/update-npm-tag.mjs latest",
94 changes: 0 additions & 94 deletions packages/atomic-react/rollup.config.mjs

This file was deleted.

8 changes: 0 additions & 8 deletions packages/atomic-react/tsconfig.iife.json

This file was deleted.

31 changes: 31 additions & 0 deletions patches/coveo.analytics+2.30.26.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
diff --git a/node_modules/coveo.analytics/dist/browser.mjs b/node_modules/coveo.analytics/dist/browser.mjs
index 3de0ed7..b7d2c0e 100644
--- a/node_modules/coveo.analytics/dist/browser.mjs
+++ b/node_modules/coveo.analytics/dist/browser.mjs
@@ -1093,8 +1093,6 @@ class NoopAnalyticsClient {
}
}

-const fetch$1 = window.fetch;
-
class AnalyticsFetchClient {
constructor(opts) {
this.opts = opts;
@@ -1114,7 +1112,7 @@ class AnalyticsFetchClient {
const _a = Object.assign(Object.assign({}, defaultOptions), (preprocessRequest ? yield preprocessRequest(defaultOptions, 'analyticsFetch') : {})), { url } = _a, fetchData = __rest(_a, ["url"]);
let response;
try {
- response = yield fetch$1(url, fetchData);
+ response = yield fetch(url, fetchData);
}
catch (error) {
console.error('An error has occured when sending the event.', error);
@@ -1142,7 +1140,7 @@ class AnalyticsFetchClient {
return __awaiter(this, void 0, void 0, function* () {
const { baseUrl } = this.opts;
const url = `${baseUrl}/analytics/visit`;
- yield fetch$1(url, { headers: this.getHeaders(), method: 'DELETE' });
+ yield fetch(url, { headers: this.getHeaders(), method: 'DELETE' });
});
}
shouldAppendVisitorId(eventType) {