From a0d6ca841cc1c4f94447b259321330d3d06ba0b4 Mon Sep 17 00:00:00 2001 From: Ldoppea Date: Wed, 6 Nov 2024 18:09:21 +0100 Subject: [PATCH] fix: Rename cozy-dataproxy to cozy-dataproxy-lib We found that https://www.npmjs.com/package/cozy-data-proxy exists from an old project and NPM refuses the `cozy-dataproxy` name as it is too similar --- packages/{cozy-dataproxy => cozy-dataproxy-lib}/.babelrc | 0 packages/{cozy-dataproxy => cozy-dataproxy-lib}/.gitignore | 0 packages/{cozy-dataproxy => cozy-dataproxy-lib}/.npmignore | 0 packages/{cozy-dataproxy => cozy-dataproxy-lib}/CHANGELOG.md | 0 packages/{cozy-dataproxy => cozy-dataproxy-lib}/README.md | 0 packages/{cozy-dataproxy => cozy-dataproxy-lib}/package.json | 0 packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/index.ts | 0 .../src/search/@types/cozy-client.d.ts | 0 .../src/search/@types/cozy-realtime.d.ts | 0 .../src/search/SearchEngine.spec.js | 0 .../src/search/SearchEngine.ts | 0 .../{cozy-dataproxy => cozy-dataproxy-lib}/src/search/consts.ts | 0 .../src/search/helpers/client.spec.ts | 0 .../src/search/helpers/client.ts | 0 .../src/search/helpers/getSearchEncoder.ts | 0 .../src/search/helpers/normalizeFile.spec.ts | 0 .../src/search/helpers/normalizeFile.ts | 0 .../src/search/helpers/normalizeSearchResult.spec.ts | 0 .../src/search/helpers/normalizeSearchResult.ts | 0 .../src/search/queries/index.ts | 0 .../{cozy-dataproxy => cozy-dataproxy-lib}/src/search/types.ts | 0 packages/{cozy-dataproxy => cozy-dataproxy-lib}/tests/index.ts | 0 .../{cozy-dataproxy => cozy-dataproxy-lib}/tests/jest.config.js | 0 .../{cozy-dataproxy => cozy-dataproxy-lib}/tests/jest.setup.ts | 0 .../{cozy-dataproxy => cozy-dataproxy-lib}/tsconfig-build.json | 0 packages/{cozy-dataproxy => cozy-dataproxy-lib}/tsconfig.json | 0 26 files changed, 0 insertions(+), 0 deletions(-) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/.babelrc (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/.gitignore (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/.npmignore (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/CHANGELOG.md (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/README.md (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/package.json (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/index.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/@types/cozy-client.d.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/@types/cozy-realtime.d.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/SearchEngine.spec.js (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/SearchEngine.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/consts.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/helpers/client.spec.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/helpers/client.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/helpers/getSearchEncoder.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/helpers/normalizeFile.spec.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/helpers/normalizeFile.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/helpers/normalizeSearchResult.spec.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/helpers/normalizeSearchResult.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/queries/index.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/src/search/types.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/tests/index.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/tests/jest.config.js (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/tests/jest.setup.ts (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/tsconfig-build.json (100%) rename packages/{cozy-dataproxy => cozy-dataproxy-lib}/tsconfig.json (100%) diff --git a/packages/cozy-dataproxy/.babelrc b/packages/cozy-dataproxy-lib/.babelrc similarity index 100% rename from packages/cozy-dataproxy/.babelrc rename to packages/cozy-dataproxy-lib/.babelrc diff --git a/packages/cozy-dataproxy/.gitignore b/packages/cozy-dataproxy-lib/.gitignore similarity index 100% rename from packages/cozy-dataproxy/.gitignore rename to packages/cozy-dataproxy-lib/.gitignore diff --git a/packages/cozy-dataproxy/.npmignore b/packages/cozy-dataproxy-lib/.npmignore similarity index 100% rename from packages/cozy-dataproxy/.npmignore rename to packages/cozy-dataproxy-lib/.npmignore diff --git a/packages/cozy-dataproxy/CHANGELOG.md b/packages/cozy-dataproxy-lib/CHANGELOG.md similarity index 100% rename from packages/cozy-dataproxy/CHANGELOG.md rename to packages/cozy-dataproxy-lib/CHANGELOG.md diff --git a/packages/cozy-dataproxy/README.md b/packages/cozy-dataproxy-lib/README.md similarity index 100% rename from packages/cozy-dataproxy/README.md rename to packages/cozy-dataproxy-lib/README.md diff --git a/packages/cozy-dataproxy/package.json b/packages/cozy-dataproxy-lib/package.json similarity index 100% rename from packages/cozy-dataproxy/package.json rename to packages/cozy-dataproxy-lib/package.json diff --git a/packages/cozy-dataproxy/src/index.ts b/packages/cozy-dataproxy-lib/src/index.ts similarity index 100% rename from packages/cozy-dataproxy/src/index.ts rename to packages/cozy-dataproxy-lib/src/index.ts diff --git a/packages/cozy-dataproxy/src/search/@types/cozy-client.d.ts b/packages/cozy-dataproxy-lib/src/search/@types/cozy-client.d.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/@types/cozy-client.d.ts rename to packages/cozy-dataproxy-lib/src/search/@types/cozy-client.d.ts diff --git a/packages/cozy-dataproxy/src/search/@types/cozy-realtime.d.ts b/packages/cozy-dataproxy-lib/src/search/@types/cozy-realtime.d.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/@types/cozy-realtime.d.ts rename to packages/cozy-dataproxy-lib/src/search/@types/cozy-realtime.d.ts diff --git a/packages/cozy-dataproxy/src/search/SearchEngine.spec.js b/packages/cozy-dataproxy-lib/src/search/SearchEngine.spec.js similarity index 100% rename from packages/cozy-dataproxy/src/search/SearchEngine.spec.js rename to packages/cozy-dataproxy-lib/src/search/SearchEngine.spec.js diff --git a/packages/cozy-dataproxy/src/search/SearchEngine.ts b/packages/cozy-dataproxy-lib/src/search/SearchEngine.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/SearchEngine.ts rename to packages/cozy-dataproxy-lib/src/search/SearchEngine.ts diff --git a/packages/cozy-dataproxy/src/search/consts.ts b/packages/cozy-dataproxy-lib/src/search/consts.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/consts.ts rename to packages/cozy-dataproxy-lib/src/search/consts.ts diff --git a/packages/cozy-dataproxy/src/search/helpers/client.spec.ts b/packages/cozy-dataproxy-lib/src/search/helpers/client.spec.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/helpers/client.spec.ts rename to packages/cozy-dataproxy-lib/src/search/helpers/client.spec.ts diff --git a/packages/cozy-dataproxy/src/search/helpers/client.ts b/packages/cozy-dataproxy-lib/src/search/helpers/client.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/helpers/client.ts rename to packages/cozy-dataproxy-lib/src/search/helpers/client.ts diff --git a/packages/cozy-dataproxy/src/search/helpers/getSearchEncoder.ts b/packages/cozy-dataproxy-lib/src/search/helpers/getSearchEncoder.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/helpers/getSearchEncoder.ts rename to packages/cozy-dataproxy-lib/src/search/helpers/getSearchEncoder.ts diff --git a/packages/cozy-dataproxy/src/search/helpers/normalizeFile.spec.ts b/packages/cozy-dataproxy-lib/src/search/helpers/normalizeFile.spec.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/helpers/normalizeFile.spec.ts rename to packages/cozy-dataproxy-lib/src/search/helpers/normalizeFile.spec.ts diff --git a/packages/cozy-dataproxy/src/search/helpers/normalizeFile.ts b/packages/cozy-dataproxy-lib/src/search/helpers/normalizeFile.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/helpers/normalizeFile.ts rename to packages/cozy-dataproxy-lib/src/search/helpers/normalizeFile.ts diff --git a/packages/cozy-dataproxy/src/search/helpers/normalizeSearchResult.spec.ts b/packages/cozy-dataproxy-lib/src/search/helpers/normalizeSearchResult.spec.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/helpers/normalizeSearchResult.spec.ts rename to packages/cozy-dataproxy-lib/src/search/helpers/normalizeSearchResult.spec.ts diff --git a/packages/cozy-dataproxy/src/search/helpers/normalizeSearchResult.ts b/packages/cozy-dataproxy-lib/src/search/helpers/normalizeSearchResult.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/helpers/normalizeSearchResult.ts rename to packages/cozy-dataproxy-lib/src/search/helpers/normalizeSearchResult.ts diff --git a/packages/cozy-dataproxy/src/search/queries/index.ts b/packages/cozy-dataproxy-lib/src/search/queries/index.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/queries/index.ts rename to packages/cozy-dataproxy-lib/src/search/queries/index.ts diff --git a/packages/cozy-dataproxy/src/search/types.ts b/packages/cozy-dataproxy-lib/src/search/types.ts similarity index 100% rename from packages/cozy-dataproxy/src/search/types.ts rename to packages/cozy-dataproxy-lib/src/search/types.ts diff --git a/packages/cozy-dataproxy/tests/index.ts b/packages/cozy-dataproxy-lib/tests/index.ts similarity index 100% rename from packages/cozy-dataproxy/tests/index.ts rename to packages/cozy-dataproxy-lib/tests/index.ts diff --git a/packages/cozy-dataproxy/tests/jest.config.js b/packages/cozy-dataproxy-lib/tests/jest.config.js similarity index 100% rename from packages/cozy-dataproxy/tests/jest.config.js rename to packages/cozy-dataproxy-lib/tests/jest.config.js diff --git a/packages/cozy-dataproxy/tests/jest.setup.ts b/packages/cozy-dataproxy-lib/tests/jest.setup.ts similarity index 100% rename from packages/cozy-dataproxy/tests/jest.setup.ts rename to packages/cozy-dataproxy-lib/tests/jest.setup.ts diff --git a/packages/cozy-dataproxy/tsconfig-build.json b/packages/cozy-dataproxy-lib/tsconfig-build.json similarity index 100% rename from packages/cozy-dataproxy/tsconfig-build.json rename to packages/cozy-dataproxy-lib/tsconfig-build.json diff --git a/packages/cozy-dataproxy/tsconfig.json b/packages/cozy-dataproxy-lib/tsconfig.json similarity index 100% rename from packages/cozy-dataproxy/tsconfig.json rename to packages/cozy-dataproxy-lib/tsconfig.json