From 2e571c3f35559945a2c8439605acc5e07c3e7743 Mon Sep 17 00:00:00 2001 From: Louis Bompart Date: Wed, 21 Sep 2022 09:33:26 -0400 Subject: [PATCH] refactor(ui): move all 'ui' packages into a subfolder (#939) To try to make the project structure clearer, I moved all the UI relative stuff in a folder name, well, ui --- .gitignore | 1 - .nxignore | 2 +- CODEOWNERS | 2 +- package-lock.json | 911 +++++++++--------- package.json | 3 +- packages/angular/.prettierrc.js | 5 - packages/angular/project.json | 6 - packages/cra-template/.prettierrc.js | 5 - packages/cra-template/project.json | 6 - packages/search-token-lambda/project.json | 6 - packages/search-token-server/project.json | 6 - packages/{ => ui}/angular/.eslintignore | 0 packages/{ => ui}/angular/.eslintrc | 2 +- packages/{ => ui}/angular/.gitignore | 0 packages/{ => ui}/angular/.npmignore | 0 packages/{ => ui}/angular/.prettierignore | 0 .../angular/.prettierrc.js} | 0 packages/{ => ui}/angular/CHANGELOG.md | 0 packages/{ => ui}/angular/LICENSE | 0 packages/{ => ui}/angular/README.md | 2 +- packages/{ => ui}/angular/index.js | 0 packages/{ => ui}/angular/jest.config.js | 0 packages/{ => ui}/angular/package.json | 2 +- packages/ui/angular/project.json | 6 + packages/{ => ui}/angular/scripts/clean.js | 0 packages/{ => ui}/angular/scripts/setup.js | 0 packages/{ => ui}/angular/src/collection.json | 0 .../angular/src/common-rules/dependencies.ts | 0 .../angular/src/common-rules/templates.ts | 0 .../files/src/app/app-routing.module.ts | 0 .../files/src/app/app.component.html | 0 .../files/src/app/app.component.scss | 0 .../files/src/app/coveo.components.module.ts | 0 .../files/src/app/engine.service.ts | 0 .../files/src/app/error/error.component.html | 0 .../files/src/app/error/error.component.scss | 0 .../files/src/app/error/error.component.ts | 0 .../app/facet-list/facet-list.component.html | 0 .../app/facet-list/facet-list.component.scss | 0 .../app/facet-list/facet-list.component.ts | 0 .../files/src/app/facet/facet.component.html | 0 .../files/src/app/facet/facet.component.scss | 0 .../files/src/app/facet/facet.component.ts | 0 .../files/src/app/hero/hero.component.html | 0 .../files/src/app/hero/hero.component.scss | 0 .../files/src/app/hero/hero.component.ts | 0 .../files/src/app/home/home.component.html | 0 .../files/src/app/home/home.component.scss | 0 .../files/src/app/home/home.component.ts | 0 .../files/src/app/init.service.ts | 0 .../files/src/app/pager/pager.component.html | 0 .../files/src/app/pager/pager.component.scss | 0 .../files/src/app/pager/pager.component.ts | 0 .../query-summary.component.html | 0 .../query-summary.component.scss | 0 .../query-summary/query-summary.component.ts | 0 .../result-link/result-link.component.html | 0 .../result-link/result-link.component.scss | 0 .../app/result-link/result-link.component.ts | 0 .../result-list/result-list.component.html | 0 .../result-list/result-list.component.scss | 0 .../app/result-list/result-list.component.ts | 0 .../app/search-box/search-box.component.html | 0 .../app/search-box/search-box.component.scss | 0 .../app/search-box/search-box.component.ts | 0 .../search-page/search-page.component.html | 0 .../search-page/search-page.component.scss | 0 .../app/search-page/search-page.component.ts | 0 .../files/src/app/sort/sort.component.html | 0 .../files/src/app/sort/sort.component.scss | 0 .../files/src/app/sort/sort.component.ts | 0 .../files/src/environments/environment.d.ts | 0 .../src/environments/environment.ts.template | 0 .../files/src/styles.scss | 0 .../src/ng-add-setup-project/index.spec.ts | 0 .../angular/src/ng-add-setup-project/index.ts | 0 .../rules/dependencies.ts | 0 .../ng-add-setup-project/rules/ng-module.ts | 0 .../src/ng-add-setup-project/rules/start.ts | 0 .../ng-add-setup-project/rules/tsconfig.ts | 0 packages/{ => ui}/angular/src/ng-add/index.ts | 0 packages/{ => ui}/angular/src/schema.json | 0 packages/{ => ui}/angular/src/schema.ts | 0 .../files/scripts/port-allocator.mjs | 0 .../files/scripts/start-server.js | 0 .../files/server/.env.template | 0 .../files/server/.gitignore.template | 0 .../src/search-token-server/index.spec.ts | 0 .../angular/src/search-token-server/index.ts | 0 .../search-token-server/rules/dependencies.ts | 0 .../search-token-server/rules/templates.ts | 0 packages/{ => ui}/angular/src/tsconfig.json | 2 +- packages/{ => ui}/angular/tsconfig.json | 2 +- .../{ => ui}/angular/tsconfig.schematic.json | 0 .../atomic/create-atomic/.eslintignore | 0 .../{ => ui}/atomic/create-atomic/.eslintrc | 2 +- .../{ => ui}/atomic/create-atomic/.gitignore | 0 .../atomic/create-atomic/.prettierignore | 0 .../ui/atomic/create-atomic/.prettierrc.cjs | 5 + .../atomic/create-atomic/CHANGELOG.md | 0 .../{ => ui}/atomic/create-atomic/README.md | 0 .../{ => ui}/atomic/create-atomic/index.mjs | 0 .../atomic/create-atomic/package.json | 2 +- .../atomic/create-atomic/project.json | 4 +- .../atomic/create-atomic/scripts/!.eslintrc | 0 .../scripts/packageTemplate.json | 0 .../scripts/preparePackageJsonTemplate.mjs | 0 .../atomic/create-atomic/src/client.ts | 0 .../src/default/default-layout.ts | 0 .../create-atomic/src/default/default-page.ts | 0 .../src/default/default-result-template.ts | 0 .../src/default/default-search-interface.ts | 0 .../atomic/create-atomic/src/fetch-page.ts | 0 .../atomic/create-atomic/src/list-pages.ts | 0 .../atomic/create-atomic/src/plopfile.ts | 0 .../atomic/create-atomic/src/utils.ts | 0 .../atomic/create-atomic/tsconfig.json | 2 +- .../{ => ui}/atomic/template/.env.example | 0 packages/{ => ui}/atomic/template/.env.hbs | 0 packages/{ => ui}/atomic/template/.eslintrc | 2 +- packages/{ => ui}/atomic/template/.gitignore | 0 .../{ => ui}/atomic/template/.gitignore.hbs | 0 .../{ => ui}/atomic/template/.prettierignore | 0 packages/ui/atomic/template/.prettierrc.cjs | 5 + packages/{ => ui}/atomic/template/README.md | 0 .../{ => ui}/atomic/template/netlify.toml | 0 .../{ => ui}/atomic/template/package.json | 2 +- .../{ => ui}/atomic/template/project.json | 4 +- .../atomic/template/scripts/clean-up.js | 0 .../atomic/template/scripts/setup-lambda.js | 0 .../{ => ui}/atomic/template/scripts/utils.js | 0 .../atomic/template/src/components.d.ts | 0 .../results-manager/results-manager.tsx.hbs | 0 .../sample-component/sample-component.css | 0 .../sample-component/sample-component.tsx | 0 .../sample-result-component.css | 0 .../sample-result-component.tsx | 0 .../{ => ui}/atomic/template/src/html.d.ts | 0 .../{ => ui}/atomic/template/src/index.ts | 0 .../atomic/template/src/pages/index.html.hbs | 0 .../atomic/template/src/style/index.css.hbs | 0 .../atomic/template/start-netlify.mjs | 0 .../atomic/template/stencil.config.ts | 0 .../atomic/template/tsconfig.donotcopy.json | 2 +- .../{ => ui}/atomic/template/tsconfig.json | 0 packages/{ => ui}/cra-template/.eslintrc | 4 +- packages/{ => ui}/cra-template/.gitignore | 0 packages/{ => ui}/cra-template/.npmignore | 0 .../{ => ui}/cra-template/.prettierignore | 0 .../cra-template/.prettierrc.js} | 0 packages/{ => ui}/cra-template/CHANGELOG.md | 0 packages/{ => ui}/cra-template/LICENSE | 0 packages/{ => ui}/cra-template/README.md | 0 packages/{ => ui}/cra-template/package.json | 4 +- packages/ui/cra-template/project.json | 6 + packages/{ => ui}/cra-template/template.json | 0 .../cra-template/template/.env.example | 0 .../{ => ui}/cra-template/template/README.md | 0 .../{ => ui}/cra-template/template/gitignore | 0 .../cra-template/template/public/favicon.ico | Bin .../cra-template/template/public/index.html | 0 .../template/public/manifest.json | 0 .../cra-template/template/scripts/clean-up.js | 0 .../template/scripts/port-allocator.mjs | 0 .../template/scripts/setup-env.js | 0 .../template/scripts/setup-server.js | 0 .../template/scripts/start-server.js | 0 .../cra-template/template/scripts/utils.js | 0 .../cra-template/template/src/App.css | 0 .../cra-template/template/src/App.test.tsx | 0 .../cra-template/template/src/App.tsx | 0 .../template/src/Components/Facet.css | 0 .../template/src/Components/Facet.tsx | 0 .../template/src/Components/FacetList.tsx | 0 .../template/src/Components/Hero.css | 0 .../template/src/Components/Hero.tsx | 0 .../template/src/Components/Pager.tsx | 0 .../template/src/Components/QuerySummary.tsx | 0 .../template/src/Components/ResultList.tsx | 0 .../src/Components/ResultsPerPage.tsx | 0 .../template/src/Components/SearchBox.tsx | 0 .../template/src/Components/SearchPage.tsx | 0 .../template/src/Components/Sort.tsx | 0 .../template/src/common/Engine.tsx | 0 .../template/src/common/engineContext.ts | 0 .../cra-template/template/src/coveologo.svg | 0 .../cra-template/template/src/index.css | 0 .../cra-template/template/src/index.tsx | 0 .../cra-template/template/src/logo.svg | 0 .../cra-template/template/src/setupTests.ts | 0 .../cra-template/template/src/theme.tsx | 0 .../{ => ui}/cra-template/template/svg.d.ts | 0 .../{ => ui}/search-token-lambda/.env.example | 0 .../search-token-lambda/.eslintrc.json | 0 .../{ => ui}/search-token-lambda/.gitignore | 0 .../{ => ui}/search-token-lambda/.npmignore | 0 .../search-token-lambda/.prettierignore | 0 .../{ => ui}/search-token-lambda/CHANGELOG.md | 0 packages/{ => ui}/search-token-lambda/LICENSE | 0 .../{ => ui}/search-token-lambda/README.md | 0 .../token/areEnvironmentVariablesSet.ts | 0 .../functions/token/generateToken.ts | 0 .../functions/token/token.spec.ts | 0 .../functions/token/token.ts | 0 .../search-token-lambda/jest.config.js | 0 .../{ => ui}/search-token-lambda/netlify.toml | 0 .../{ => ui}/search-token-lambda/package.json | 4 +- packages/ui/search-token-lambda/project.json | 6 + .../search-token-lambda/tsconfig.json | 0 .../{ => ui}/search-token-server/.env.example | 0 .../search-token-server/.eslintrc.json | 0 .../{ => ui}/search-token-server/.gitignore | 0 .../{ => ui}/search-token-server/.npmignore | 0 .../search-token-server/.prettierignore | 0 .../{ => ui}/search-token-server/CHANGELOG.md | 0 packages/{ => ui}/search-token-server/LICENSE | 0 .../{ => ui}/search-token-server/README.md | 0 packages/{ => ui}/search-token-server/app.ts | 0 .../search-token-server/jest.config.js | 0 .../middlewares/environmentCheck.ts | 0 .../middlewares/errorHandler.ts | 0 .../middlewares/searchToken.ts | 0 .../{ => ui}/search-token-server/package.json | 4 +- packages/ui/search-token-server/project.json | 6 + .../search-token-server/server.spec.ts | 0 .../{ => ui}/search-token-server/server.ts | 0 .../search-token-server/tsconfig.json | 0 .../vue-cli-plugin-typescript/.eslintignore | 0 .../vue-cli-plugin-typescript/.eslintrc | 2 +- .../vue-cli-plugin-typescript/.gitignore | 0 .../vue-cli-plugin-typescript/.npmignore | 0 .../vue-cli-plugin-typescript/.prettierignore | 0 .../vue-cli-plugin-typescript/.prettierrc.js | 5 + .../vue-cli-plugin-typescript/CHANGELOG.md | 0 .../vue-cli-plugin-typescript/LICENSE | 0 .../vue-cli-plugin-typescript/README.md | 0 .../generator/index.js | 0 .../generator/template/README.md | 0 .../generator/template/_env | 0 .../generator/template/_env.example | 0 .../generator/template/_eslintignore | 0 .../template/scripts/port-allocator.mjs | 0 .../template/scripts/setup-server.js | 0 .../template/scripts/start-server.js | 0 .../generator/template/scripts/utils.js | 0 .../generator/template/src/App.vue | 0 .../generator/template/src/EngineService.ts | 0 .../generator/template/src/assets/logo.png | Bin .../template/src/components/Facet.vue | 0 .../template/src/components/FacetValue.vue | 0 .../template/src/components/Facets.vue | 0 .../template/src/components/Hero.vue | 0 .../template/src/components/Pager.vue | 0 .../template/src/components/ResultLink.vue | 0 .../template/src/components/ResultList.vue | 0 .../template/src/components/SearchBox.vue | 0 .../template/src/components/SearchPage.vue | 0 .../template/src/components/Summary.vue | 0 .../generator/template/src/router/index.ts | 0 .../template/src/styles/__variables.scss | 0 .../generator/template/src/utils/envUtils.ts | 0 .../generator/template/src/views/Error.vue | 0 .../generator/template/src/views/Home.vue | 0 .../vue-cli-plugin-typescript/index.js | 0 .../vue-cli-plugin-typescript/logo.png | Bin .../vue-cli-plugin-typescript/package.json | 2 +- .../ui/vue-cli-plugin-typescript/project.json | 6 + .../tsconfig.components.json | 2 +- .../vue-cli-plugin-typescript/tsconfig.json | 2 +- .../typings/vue.d.ts | 0 .../vue-cli-plugin-typescript/.prettierrc.js | 5 - .../vue-cli-plugin-typescript/project.json | 6 - vetur.config.js | 2 +- 273 files changed, 533 insertions(+), 532 deletions(-) delete mode 100644 packages/angular/.prettierrc.js delete mode 100644 packages/angular/project.json delete mode 100644 packages/cra-template/.prettierrc.js delete mode 100644 packages/cra-template/project.json delete mode 100644 packages/search-token-lambda/project.json delete mode 100644 packages/search-token-server/project.json rename packages/{ => ui}/angular/.eslintignore (100%) rename packages/{ => ui}/angular/.eslintrc (79%) rename packages/{ => ui}/angular/.gitignore (100%) rename packages/{ => ui}/angular/.npmignore (100%) rename packages/{ => ui}/angular/.prettierignore (100%) rename packages/{atomic/create-atomic/.prettierrc.cjs => ui/angular/.prettierrc.js} (100%) rename packages/{ => ui}/angular/CHANGELOG.md (100%) rename packages/{ => ui}/angular/LICENSE (100%) rename packages/{ => ui}/angular/README.md (98%) rename packages/{ => ui}/angular/index.js (100%) rename packages/{ => ui}/angular/jest.config.js (100%) rename packages/{ => ui}/angular/package.json (95%) create mode 100644 packages/ui/angular/project.json rename packages/{ => ui}/angular/scripts/clean.js (100%) rename packages/{ => ui}/angular/scripts/setup.js (100%) rename packages/{ => ui}/angular/src/collection.json (100%) rename packages/{ => ui}/angular/src/common-rules/dependencies.ts (100%) rename packages/{ => ui}/angular/src/common-rules/templates.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/app-routing.module.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/app.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/app.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/coveo.components.module.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/engine.service.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/error/error.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/error/error.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/error/error.component.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/home/home.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/home/home.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/home/home.component.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/init.service.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.html (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/environments/environment.d.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/environments/environment.ts.template (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/files/src/styles.scss (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/index.spec.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/index.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/rules/dependencies.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/rules/ng-module.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/rules/start.ts (100%) rename packages/{ => ui}/angular/src/ng-add-setup-project/rules/tsconfig.ts (100%) rename packages/{ => ui}/angular/src/ng-add/index.ts (100%) rename packages/{ => ui}/angular/src/schema.json (100%) rename packages/{ => ui}/angular/src/schema.ts (100%) rename packages/{ => ui}/angular/src/search-token-server/files/scripts/port-allocator.mjs (100%) rename packages/{ => ui}/angular/src/search-token-server/files/scripts/start-server.js (100%) rename packages/{ => ui}/angular/src/search-token-server/files/server/.env.template (100%) rename packages/{ => ui}/angular/src/search-token-server/files/server/.gitignore.template (100%) rename packages/{ => ui}/angular/src/search-token-server/index.spec.ts (100%) rename packages/{ => ui}/angular/src/search-token-server/index.ts (100%) rename packages/{ => ui}/angular/src/search-token-server/rules/dependencies.ts (100%) rename packages/{ => ui}/angular/src/search-token-server/rules/templates.ts (100%) rename packages/{ => ui}/angular/src/tsconfig.json (87%) rename packages/{ => ui}/angular/tsconfig.json (87%) rename packages/{ => ui}/angular/tsconfig.schematic.json (100%) rename packages/{ => ui}/atomic/create-atomic/.eslintignore (100%) rename packages/{ => ui}/atomic/create-atomic/.eslintrc (69%) rename packages/{ => ui}/atomic/create-atomic/.gitignore (100%) rename packages/{ => ui}/atomic/create-atomic/.prettierignore (100%) create mode 100644 packages/ui/atomic/create-atomic/.prettierrc.cjs rename packages/{ => ui}/atomic/create-atomic/CHANGELOG.md (100%) rename packages/{ => ui}/atomic/create-atomic/README.md (100%) rename packages/{ => ui}/atomic/create-atomic/index.mjs (100%) mode change 100755 => 100644 rename packages/{ => ui}/atomic/create-atomic/package.json (94%) rename packages/{ => ui}/atomic/create-atomic/project.json (53%) rename packages/{ => ui}/atomic/create-atomic/scripts/!.eslintrc (100%) rename packages/{ => ui}/atomic/create-atomic/scripts/packageTemplate.json (100%) rename packages/{ => ui}/atomic/create-atomic/scripts/preparePackageJsonTemplate.mjs (100%) rename packages/{ => ui}/atomic/create-atomic/src/client.ts (100%) rename packages/{ => ui}/atomic/create-atomic/src/default/default-layout.ts (100%) rename packages/{ => ui}/atomic/create-atomic/src/default/default-page.ts (100%) rename packages/{ => ui}/atomic/create-atomic/src/default/default-result-template.ts (100%) rename packages/{ => ui}/atomic/create-atomic/src/default/default-search-interface.ts (100%) rename packages/{ => ui}/atomic/create-atomic/src/fetch-page.ts (100%) rename packages/{ => ui}/atomic/create-atomic/src/list-pages.ts (100%) rename packages/{ => ui}/atomic/create-atomic/src/plopfile.ts (100%) rename packages/{ => ui}/atomic/create-atomic/src/utils.ts (100%) rename packages/{ => ui}/atomic/create-atomic/tsconfig.json (80%) rename packages/{ => ui}/atomic/template/.env.example (100%) rename packages/{ => ui}/atomic/template/.env.hbs (100%) rename packages/{ => ui}/atomic/template/.eslintrc (83%) rename packages/{ => ui}/atomic/template/.gitignore (100%) rename packages/{ => ui}/atomic/template/.gitignore.hbs (100%) rename packages/{ => ui}/atomic/template/.prettierignore (100%) create mode 100644 packages/ui/atomic/template/.prettierrc.cjs rename packages/{ => ui}/atomic/template/README.md (100%) rename packages/{ => ui}/atomic/template/netlify.toml (100%) rename packages/{ => ui}/atomic/template/package.json (90%) rename packages/{ => ui}/atomic/template/project.json (69%) rename packages/{ => ui}/atomic/template/scripts/clean-up.js (100%) rename packages/{ => ui}/atomic/template/scripts/setup-lambda.js (100%) rename packages/{ => ui}/atomic/template/scripts/utils.js (100%) rename packages/{ => ui}/atomic/template/src/components.d.ts (100%) rename packages/{ => ui}/atomic/template/src/components/results-manager/results-manager.tsx.hbs (100%) rename packages/{ => ui}/atomic/template/src/components/sample-component/sample-component.css (100%) rename packages/{ => ui}/atomic/template/src/components/sample-component/sample-component.tsx (100%) rename packages/{ => ui}/atomic/template/src/components/sample-result-component/sample-result-component.css (100%) rename packages/{ => ui}/atomic/template/src/components/sample-result-component/sample-result-component.tsx (100%) rename packages/{ => ui}/atomic/template/src/html.d.ts (100%) rename packages/{ => ui}/atomic/template/src/index.ts (100%) rename packages/{ => ui}/atomic/template/src/pages/index.html.hbs (100%) rename packages/{ => ui}/atomic/template/src/style/index.css.hbs (100%) rename packages/{ => ui}/atomic/template/start-netlify.mjs (100%) rename packages/{ => ui}/atomic/template/stencil.config.ts (100%) rename packages/{ => ui}/atomic/template/tsconfig.donotcopy.json (88%) rename packages/{ => ui}/atomic/template/tsconfig.json (100%) rename packages/{ => ui}/cra-template/.eslintrc (51%) rename packages/{ => ui}/cra-template/.gitignore (100%) rename packages/{ => ui}/cra-template/.npmignore (100%) rename packages/{ => ui}/cra-template/.prettierignore (100%) rename packages/{atomic/template/.prettierrc.cjs => ui/cra-template/.prettierrc.js} (100%) rename packages/{ => ui}/cra-template/CHANGELOG.md (100%) rename packages/{ => ui}/cra-template/LICENSE (100%) rename packages/{ => ui}/cra-template/README.md (100%) rename packages/{ => ui}/cra-template/package.json (91%) create mode 100644 packages/ui/cra-template/project.json rename packages/{ => ui}/cra-template/template.json (100%) rename packages/{ => ui}/cra-template/template/.env.example (100%) rename packages/{ => ui}/cra-template/template/README.md (100%) rename packages/{ => ui}/cra-template/template/gitignore (100%) rename packages/{ => ui}/cra-template/template/public/favicon.ico (100%) rename packages/{ => ui}/cra-template/template/public/index.html (100%) rename packages/{ => ui}/cra-template/template/public/manifest.json (100%) rename packages/{ => ui}/cra-template/template/scripts/clean-up.js (100%) rename packages/{ => ui}/cra-template/template/scripts/port-allocator.mjs (100%) rename packages/{ => ui}/cra-template/template/scripts/setup-env.js (100%) rename packages/{ => ui}/cra-template/template/scripts/setup-server.js (100%) rename packages/{ => ui}/cra-template/template/scripts/start-server.js (100%) rename packages/{ => ui}/cra-template/template/scripts/utils.js (100%) rename packages/{ => ui}/cra-template/template/src/App.css (100%) rename packages/{ => ui}/cra-template/template/src/App.test.tsx (100%) rename packages/{ => ui}/cra-template/template/src/App.tsx (100%) rename packages/{ => ui}/cra-template/template/src/Components/Facet.css (100%) rename packages/{ => ui}/cra-template/template/src/Components/Facet.tsx (100%) rename packages/{ => ui}/cra-template/template/src/Components/FacetList.tsx (100%) rename packages/{ => ui}/cra-template/template/src/Components/Hero.css (100%) rename packages/{ => ui}/cra-template/template/src/Components/Hero.tsx (100%) rename packages/{ => ui}/cra-template/template/src/Components/Pager.tsx (100%) rename packages/{ => ui}/cra-template/template/src/Components/QuerySummary.tsx (100%) rename packages/{ => ui}/cra-template/template/src/Components/ResultList.tsx (100%) rename packages/{ => ui}/cra-template/template/src/Components/ResultsPerPage.tsx (100%) rename packages/{ => ui}/cra-template/template/src/Components/SearchBox.tsx (100%) rename packages/{ => ui}/cra-template/template/src/Components/SearchPage.tsx (100%) rename packages/{ => ui}/cra-template/template/src/Components/Sort.tsx (100%) rename packages/{ => ui}/cra-template/template/src/common/Engine.tsx (100%) rename packages/{ => ui}/cra-template/template/src/common/engineContext.ts (100%) rename packages/{ => ui}/cra-template/template/src/coveologo.svg (100%) rename packages/{ => ui}/cra-template/template/src/index.css (100%) rename packages/{ => ui}/cra-template/template/src/index.tsx (100%) rename packages/{ => ui}/cra-template/template/src/logo.svg (100%) rename packages/{ => ui}/cra-template/template/src/setupTests.ts (100%) rename packages/{ => ui}/cra-template/template/src/theme.tsx (100%) rename packages/{ => ui}/cra-template/template/svg.d.ts (100%) rename packages/{ => ui}/search-token-lambda/.env.example (100%) rename packages/{ => ui}/search-token-lambda/.eslintrc.json (100%) rename packages/{ => ui}/search-token-lambda/.gitignore (100%) rename packages/{ => ui}/search-token-lambda/.npmignore (100%) rename packages/{ => ui}/search-token-lambda/.prettierignore (100%) rename packages/{ => ui}/search-token-lambda/CHANGELOG.md (100%) rename packages/{ => ui}/search-token-lambda/LICENSE (100%) rename packages/{ => ui}/search-token-lambda/README.md (100%) rename packages/{ => ui}/search-token-lambda/functions/token/areEnvironmentVariablesSet.ts (100%) rename packages/{ => ui}/search-token-lambda/functions/token/generateToken.ts (100%) rename packages/{ => ui}/search-token-lambda/functions/token/token.spec.ts (100%) rename packages/{ => ui}/search-token-lambda/functions/token/token.ts (100%) rename packages/{ => ui}/search-token-lambda/jest.config.js (100%) rename packages/{ => ui}/search-token-lambda/netlify.toml (100%) rename packages/{ => ui}/search-token-lambda/package.json (88%) create mode 100644 packages/ui/search-token-lambda/project.json rename packages/{ => ui}/search-token-lambda/tsconfig.json (100%) rename packages/{ => ui}/search-token-server/.env.example (100%) rename packages/{ => ui}/search-token-server/.eslintrc.json (100%) rename packages/{ => ui}/search-token-server/.gitignore (100%) rename packages/{ => ui}/search-token-server/.npmignore (100%) rename packages/{ => ui}/search-token-server/.prettierignore (100%) rename packages/{ => ui}/search-token-server/CHANGELOG.md (100%) rename packages/{ => ui}/search-token-server/LICENSE (100%) rename packages/{ => ui}/search-token-server/README.md (100%) rename packages/{ => ui}/search-token-server/app.ts (100%) rename packages/{ => ui}/search-token-server/jest.config.js (100%) rename packages/{ => ui}/search-token-server/middlewares/environmentCheck.ts (100%) rename packages/{ => ui}/search-token-server/middlewares/errorHandler.ts (100%) rename packages/{ => ui}/search-token-server/middlewares/searchToken.ts (100%) rename packages/{ => ui}/search-token-server/package.json (91%) create mode 100644 packages/ui/search-token-server/project.json rename packages/{ => ui}/search-token-server/server.spec.ts (100%) rename packages/{ => ui}/search-token-server/server.ts (100%) rename packages/{ => ui}/search-token-server/tsconfig.json (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/.eslintignore (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/.eslintrc (75%) rename packages/{ => ui}/vue-cli-plugin-typescript/.gitignore (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/.npmignore (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/.prettierignore (100%) create mode 100644 packages/ui/vue-cli-plugin-typescript/.prettierrc.js rename packages/{ => ui}/vue-cli-plugin-typescript/CHANGELOG.md (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/LICENSE (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/README.md (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/index.js (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/README.md (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/_env (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/_env.example (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/_eslintignore (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/scripts/port-allocator.mjs (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/scripts/setup-server.js (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/scripts/start-server.js (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/scripts/utils.js (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/App.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/EngineService.ts (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/assets/logo.png (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/components/Facet.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/components/FacetValue.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/components/Facets.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/components/Hero.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/components/Pager.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/components/ResultLink.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/components/ResultList.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/components/SearchBox.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/components/SearchPage.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/components/Summary.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/router/index.ts (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/styles/__variables.scss (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/utils/envUtils.ts (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/views/Error.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/generator/template/src/views/Home.vue (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/index.js (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/logo.png (100%) rename packages/{ => ui}/vue-cli-plugin-typescript/package.json (91%) create mode 100644 packages/ui/vue-cli-plugin-typescript/project.json rename packages/{ => ui}/vue-cli-plugin-typescript/tsconfig.components.json (78%) rename packages/{ => ui}/vue-cli-plugin-typescript/tsconfig.json (78%) rename packages/{ => ui}/vue-cli-plugin-typescript/typings/vue.d.ts (100%) delete mode 100644 packages/vue-cli-plugin-typescript/.prettierrc.js delete mode 100644 packages/vue-cli-plugin-typescript/project.json diff --git a/.gitignore b/.gitignore index 5d062e36c3..ea043a051a 100644 --- a/.gitignore +++ b/.gitignore @@ -27,7 +27,6 @@ yarn.lock # Snyk artifacts .dccache sarifs -packages/create-atomic/template/package.json.hbs # Prevent secret leakage. .npmrc diff --git a/.nxignore b/.nxignore index dae6ead25d..a8a5762d42 100644 --- a/.nxignore +++ b/.nxignore @@ -1,3 +1,3 @@ packages/cli-e2e/npm-shim packages/cli-e2e/verdaccio -packages/atomic/create-atomic/template \ No newline at end of file +packages/ui/atomic/create-atomic/template \ No newline at end of file diff --git a/CODEOWNERS b/CODEOWNERS index 36b392d991..b3eac4b051 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1,2 +1,2 @@ * @olamothe @y-lakhdar @louis-bompart -packages/atomic @ThibodeauJF @olamothe @y-lakhdar @louis-bompart +packages/ui/atomic @ThibodeauJF @olamothe @y-lakhdar @louis-bompart diff --git a/package-lock.json b/package-lock.json index b33ee5fa32..09670d20b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,8 @@ "license": "Apache-2.0", "workspaces": [ "packages/*", - "packages/atomic/*", + "packages/ui/*", + "packages/ui/atomic/*", "packages/cli/*" ], "dependencies": { @@ -248,6 +249,44 @@ "node": ">=12" } }, + "node_modules/@angular/animations": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-14.2.2.tgz", + "integrity": "sha512-YPtwjfjGCtRlGIYyFK8JPq6kfR8Gz93kmkIF+fnUes42M5DAQvCccVRxi1OXU6dDLsFY9w7DvTl+HR/VocaFsg==", + "dev": true, + "peer": true, + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^14.15.0 || >=16.10.0" + }, + "peerDependencies": { + "@angular/core": "14.2.2" + } + }, + "node_modules/@angular/cdk": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-14.2.2.tgz", + "integrity": "sha512-PXEnhX+QDOsmHVVnqTuoGaK7Wn9hFd5kWAmHTTU7lZr3XVu/AtDcEU+LB19wOFU0fY+kSYHMgN+BYo1TiR8vbw==", + "dependencies": { + "tslib": "^2.3.0" + }, + "optionalDependencies": { + "parse5": "^5.0.0" + }, + "peerDependencies": { + "@angular/common": "^14.0.0 || ^15.0.0", + "@angular/core": "^14.0.0 || ^15.0.0", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@angular/cdk/node_modules/parse5": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", + "optional": true + }, "node_modules/@angular/cli": { "version": "14.2.2", "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-14.2.2.tgz", @@ -834,6 +873,113 @@ "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, + "node_modules/@angular/common": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-14.2.2.tgz", + "integrity": "sha512-9h8MwFLvIJ5kB5L03cd3Cyl4ySKVzL/E/YYugfLvcAzYZ8Rief63gJnkcKNjoS1A5DTxHhOBQL7pLZpj+YxDOw==", + "peer": true, + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^14.15.0 || >=16.10.0" + }, + "peerDependencies": { + "@angular/core": "14.2.2", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@angular/core": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-14.2.2.tgz", + "integrity": "sha512-kG30b4RqjgWvaH9y4g95JRCzoROV+9/xgFH4hSRejFa/IcapMfvCmONJtJzwTjdsEUQAbiFohF/z9bx3QA/Yvw==", + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^14.15.0 || >=16.10.0" + }, + "peerDependencies": { + "rxjs": "^6.5.3 || ^7.4.0", + "zone.js": "~0.11.4" + } + }, + "node_modules/@angular/forms": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-14.2.2.tgz", + "integrity": "sha512-lq6PpLMNfs0KcIhkQrUVfKuP4hZSeUQyKOErvoLrPhDiakvOWYoQZKh6XHsbQRcuhWKHy6IITldz6sg8pWVrTw==", + "dev": true, + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^14.15.0 || >=16.10.0" + }, + "peerDependencies": { + "@angular/common": "14.2.2", + "@angular/core": "14.2.2", + "@angular/platform-browser": "14.2.2", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@angular/material": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-14.2.2.tgz", + "integrity": "sha512-jVCaESSTTkLjRvMzSQj294s0Lz1YMVFkl0svrMtWgkUMXHEfx2Vjw6FXdrVrBXlxEIrpfhkTEXVN2DC1kkAkQw==", + "dev": true, + "dependencies": { + "tslib": "^2.3.0" + }, + "peerDependencies": { + "@angular/animations": "^14.0.0 || ^15.0.0", + "@angular/cdk": "14.2.2", + "@angular/common": "^14.0.0 || ^15.0.0", + "@angular/core": "^14.0.0 || ^15.0.0", + "@angular/forms": "^14.0.0 || ^15.0.0", + "@angular/platform-browser": "^14.0.0 || ^15.0.0", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, + "node_modules/@angular/platform-browser": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-14.2.2.tgz", + "integrity": "sha512-1NrtOIvevoDDT6DU+Fsm5TsNN/XJhIV/UhfInmU/rz97RERl8etcOQRsxWnjGwZjk9rjt+0lBbW5oVDFKOJa+w==", + "dev": true, + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^14.15.0 || >=16.10.0" + }, + "peerDependencies": { + "@angular/animations": "14.2.2", + "@angular/common": "14.2.2", + "@angular/core": "14.2.2" + }, + "peerDependenciesMeta": { + "@angular/animations": { + "optional": true + } + } + }, + "node_modules/@angular/router": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-14.2.2.tgz", + "integrity": "sha512-BRkXdAVK0rE/x6im91a/fdIcWhPILO6ZmwCVTEdvsRyI9arQSlXAnupPUeumdbSc6mG/FCXPcyJq/dU0Jl70Og==", + "dev": true, + "dependencies": { + "tslib": "^2.3.0" + }, + "engines": { + "node": "^14.15.0 || >=16.10.0" + }, + "peerDependencies": { + "@angular/common": "14.2.2", + "@angular/core": "14.2.2", + "@angular/platform-browser": "14.2.2", + "rxjs": "^6.5.3 || ^7.4.0" + } + }, "node_modules/@babel/code-frame": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", @@ -2720,7 +2866,7 @@ } }, "node_modules/@coveo/angular": { - "resolved": "packages/angular", + "resolved": "packages/ui/angular", "link": true }, "node_modules/@coveo/atomic": { @@ -2791,15 +2937,15 @@ "link": true }, "node_modules/@coveo/cra-template": { - "resolved": "packages/cra-template", + "resolved": "packages/ui/cra-template", "link": true }, "node_modules/@coveo/create-atomic": { - "resolved": "packages/atomic/create-atomic", + "resolved": "packages/ui/atomic/create-atomic", "link": true }, "node_modules/@coveo/create-atomic-template": { - "resolved": "packages/atomic/template", + "resolved": "packages/ui/atomic/template", "link": true }, "node_modules/@coveo/headless": { @@ -2847,11 +2993,11 @@ } }, "node_modules/@coveo/search-token-lambda": { - "resolved": "packages/search-token-lambda", + "resolved": "packages/ui/search-token-lambda", "link": true }, "node_modules/@coveo/search-token-server": { - "resolved": "packages/search-token-server", + "resolved": "packages/ui/search-token-server", "link": true }, "node_modules/@coveo/semantic-monorepo-tools": { @@ -2869,7 +3015,7 @@ } }, "node_modules/@coveo/vue-cli-plugin-typescript": { - "resolved": "packages/vue-cli-plugin-typescript", + "resolved": "packages/ui/vue-cli-plugin-typescript", "link": true }, "node_modules/@coveord/platform-client": { @@ -39963,362 +40109,6 @@ "tslib": "^2.3.0" } }, - "packages/angular": { - "name": "@coveo/angular", - "version": "1.35.12", - "license": "Apache-2.0", - "dependencies": { - "@angular-devkit/core": "^14.2.2", - "@angular-devkit/schematics": "^14.2.2", - "@angular/cdk": "^14.2.2", - "@angular/cli": "^14.2.2", - "@coveo/search-token-server": "1.35.12", - "@schematics/angular": "^14.2.2", - "jest-config": "^27.4.7", - "typescript": "4.8.3" - }, - "devDependencies": { - "@angular/core": "^14.2.2", - "@angular/forms": "^14.2.2", - "@angular/material": "^14.2.2", - "@angular/platform-browser": "^14.2.2", - "@angular/router": "^14.2.2", - "@coveo/headless": "latest", - "@types/fs-extra": "9.0.13", - "@types/jest": "27.5.2", - "@types/node": "16.11.59", - "fs-extra": "10.1.0", - "jest": "27.5.1", - "prettier": "2.7.1", - "ts-jest": "27.1.5" - } - }, - "packages/angular/node_modules/@angular/animations": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-14.2.2.tgz", - "integrity": "sha512-YPtwjfjGCtRlGIYyFK8JPq6kfR8Gz93kmkIF+fnUes42M5DAQvCccVRxi1OXU6dDLsFY9w7DvTl+HR/VocaFsg==", - "dev": true, - "peer": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^14.15.0 || >=16.10.0" - }, - "peerDependencies": { - "@angular/core": "14.2.2" - } - }, - "packages/angular/node_modules/@angular/cdk": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-14.2.2.tgz", - "integrity": "sha512-PXEnhX+QDOsmHVVnqTuoGaK7Wn9hFd5kWAmHTTU7lZr3XVu/AtDcEU+LB19wOFU0fY+kSYHMgN+BYo1TiR8vbw==", - "dependencies": { - "tslib": "^2.3.0" - }, - "optionalDependencies": { - "parse5": "^5.0.0" - }, - "peerDependencies": { - "@angular/common": "^14.0.0 || ^15.0.0", - "@angular/core": "^14.0.0 || ^15.0.0", - "rxjs": "^6.5.3 || ^7.4.0" - } - }, - "packages/angular/node_modules/@angular/common": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-14.2.2.tgz", - "integrity": "sha512-9h8MwFLvIJ5kB5L03cd3Cyl4ySKVzL/E/YYugfLvcAzYZ8Rief63gJnkcKNjoS1A5DTxHhOBQL7pLZpj+YxDOw==", - "peer": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^14.15.0 || >=16.10.0" - }, - "peerDependencies": { - "@angular/core": "14.2.2", - "rxjs": "^6.5.3 || ^7.4.0" - } - }, - "packages/angular/node_modules/@angular/core": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-14.2.2.tgz", - "integrity": "sha512-kG30b4RqjgWvaH9y4g95JRCzoROV+9/xgFH4hSRejFa/IcapMfvCmONJtJzwTjdsEUQAbiFohF/z9bx3QA/Yvw==", - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^14.15.0 || >=16.10.0" - }, - "peerDependencies": { - "rxjs": "^6.5.3 || ^7.4.0", - "zone.js": "~0.11.4" - } - }, - "packages/angular/node_modules/@angular/forms": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-14.2.2.tgz", - "integrity": "sha512-lq6PpLMNfs0KcIhkQrUVfKuP4hZSeUQyKOErvoLrPhDiakvOWYoQZKh6XHsbQRcuhWKHy6IITldz6sg8pWVrTw==", - "dev": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^14.15.0 || >=16.10.0" - }, - "peerDependencies": { - "@angular/common": "14.2.2", - "@angular/core": "14.2.2", - "@angular/platform-browser": "14.2.2", - "rxjs": "^6.5.3 || ^7.4.0" - } - }, - "packages/angular/node_modules/@angular/material": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/material/-/material-14.2.2.tgz", - "integrity": "sha512-jVCaESSTTkLjRvMzSQj294s0Lz1YMVFkl0svrMtWgkUMXHEfx2Vjw6FXdrVrBXlxEIrpfhkTEXVN2DC1kkAkQw==", - "dev": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "peerDependencies": { - "@angular/animations": "^14.0.0 || ^15.0.0", - "@angular/cdk": "14.2.2", - "@angular/common": "^14.0.0 || ^15.0.0", - "@angular/core": "^14.0.0 || ^15.0.0", - "@angular/forms": "^14.0.0 || ^15.0.0", - "@angular/platform-browser": "^14.0.0 || ^15.0.0", - "rxjs": "^6.5.3 || ^7.4.0" - } - }, - "packages/angular/node_modules/@angular/platform-browser": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-14.2.2.tgz", - "integrity": "sha512-1NrtOIvevoDDT6DU+Fsm5TsNN/XJhIV/UhfInmU/rz97RERl8etcOQRsxWnjGwZjk9rjt+0lBbW5oVDFKOJa+w==", - "dev": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^14.15.0 || >=16.10.0" - }, - "peerDependencies": { - "@angular/animations": "14.2.2", - "@angular/common": "14.2.2", - "@angular/core": "14.2.2" - }, - "peerDependenciesMeta": { - "@angular/animations": { - "optional": true - } - } - }, - "packages/angular/node_modules/@angular/router": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-14.2.2.tgz", - "integrity": "sha512-BRkXdAVK0rE/x6im91a/fdIcWhPILO6ZmwCVTEdvsRyI9arQSlXAnupPUeumdbSc6mG/FCXPcyJq/dU0Jl70Og==", - "dev": true, - "dependencies": { - "tslib": "^2.3.0" - }, - "engines": { - "node": "^14.15.0 || >=16.10.0" - }, - "peerDependencies": { - "@angular/common": "14.2.2", - "@angular/core": "14.2.2", - "@angular/platform-browser": "14.2.2", - "rxjs": "^6.5.3 || ^7.4.0" - } - }, - "packages/angular/node_modules/parse5": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", - "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", - "optional": true - }, - "packages/atomic/create-atomic": { - "name": "@coveo/create-atomic", - "version": "1.35.12", - "license": "Apache-2.0", - "dependencies": { - "@coveord/platform-client": "34.13.0", - "abortcontroller-polyfill": "1.7.3", - "detect-indent": "7.0.0", - "https-proxy-agent": "5.0.1", - "inquirer": "^8.2.0", - "isomorphic-fetch": "3.0.0", - "minimist": "1.2.6", - "node-plop": "^0.31.0", - "plop": "3.1.1", - "ts-node": "10.9.1", - "typescript": "4.8.3" - }, - "bin": { - "create-atomic": "index.mjs" - }, - "devDependencies": { - "fs-extra": "10.1.0" - } - }, - "packages/atomic/create-atomic/node_modules/detect-indent": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-7.0.0.tgz", - "integrity": "sha512-/6kJlmVv6RDFPqaHC/ZDcU8bblYcoph2dUQ3kB47QqhkUEqXe3VZPELK9BaEMrC73qu+wn0AQ7iSteceN+yuMw==", - "engines": { - "node": ">=12.20" - } - }, - "packages/atomic/template": { - "name": "@coveo/create-atomic-template", - "version": "1.35.12", - "dependencies": { - "@coveo/atomic": "1.110.1", - "@coveo/search-token-lambda": "1.35.12", - "@stencil/core": "2.18.0" - }, - "devDependencies": { - "@rollup/plugin-replace": "4.0.0", - "fkill": "8.0.1", - "get-port": "6.1.2", - "gts": "3.1.1", - "netlify-cli": "10.18.0", - "prettier": "2.7.1", - "rollup-plugin-dotenv": "0.4.0", - "rollup-plugin-html": "0.2.1" - } - }, - "packages/atomic/template/node_modules/aggregate-error": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", - "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", - "dev": true, - "dependencies": { - "clean-stack": "^4.0.0", - "indent-string": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/atomic/template/node_modules/arrify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-3.0.0.tgz", - "integrity": "sha512-tLkvA81vQG/XqE2mjDkGQHoOINtMHtysSnemrmoGe6PydDPMRbVugqyk4A6V/WDWEfm3l+0d8anA9r8cv/5Jaw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/atomic/template/node_modules/clean-stack": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", - "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", - "dev": true, - "dependencies": { - "escape-string-regexp": "5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/atomic/template/node_modules/escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/atomic/template/node_modules/fkill": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/fkill/-/fkill-8.0.1.tgz", - "integrity": "sha512-ZWAKbgy3pphXWCBfdNS03zXaS16SnTWaD1+n471XSUJ+K5kpFpzZsvRatfUqH8Jwt9wHzZIVIKS+o5Gblqo7PQ==", - "dev": true, - "dependencies": { - "aggregate-error": "^4.0.0", - "execa": "^5.1.1", - "pid-port": "^0.2.0", - "process-exists": "^4.1.0", - "ps-list": "^7.2.0", - "taskkill": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/atomic/template/node_modules/get-port": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-6.1.2.tgz", - "integrity": "sha512-BrGGraKm2uPqurfGVj/z97/zv8dPleC6x9JBNRTrDNtCkkRF4rPwrQXFgL7+I+q8QSdU4ntLQX2D7KIxSy8nGw==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/atomic/template/node_modules/indent-string": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/atomic/template/node_modules/pid-port": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/pid-port/-/pid-port-0.2.0.tgz", - "integrity": "sha512-xVU9H1FCRSeGrD9Oim5bLg2U7B2BgW0qzK2oahpV5BIf9hwzqQaWyOkOVC0Kgbsc90A9x6525beawx+QK+JduQ==", - "dev": true, - "dependencies": { - "execa": "^5.1.1" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/atomic/template/node_modules/taskkill": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/taskkill/-/taskkill-4.0.0.tgz", - "integrity": "sha512-h+BGQ8ExIUZ81h4iHRvatZY5eeBBl2WZk31MmMdFG9LBTc5eCH5u/bzZ7phaPH3bsiB7WhM7YTkOyB2dyFQfXg==", - "dev": true, - "dependencies": { - "arrify": "^3.0.0", - "execa": "^5.1.1" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "packages/cli-e2e": { "name": "@coveo/cli-e2e", "version": "1.25.0", @@ -40592,7 +40382,218 @@ "node": ">=6" } }, - "packages/cra-template": { + "packages/ui/angular": { + "name": "@coveo/angular", + "version": "1.35.12", + "license": "Apache-2.0", + "dependencies": { + "@angular-devkit/core": "^14.2.2", + "@angular-devkit/schematics": "^14.2.2", + "@angular/cdk": "^14.2.2", + "@angular/cli": "^14.2.2", + "@coveo/search-token-server": "1.35.12", + "@schematics/angular": "^14.2.2", + "jest-config": "^27.4.7", + "typescript": "4.8.3" + }, + "devDependencies": { + "@angular/core": "^14.2.2", + "@angular/forms": "^14.2.2", + "@angular/material": "^14.2.2", + "@angular/platform-browser": "^14.2.2", + "@angular/router": "^14.2.2", + "@coveo/headless": "latest", + "@types/fs-extra": "9.0.13", + "@types/jest": "27.5.2", + "@types/node": "16.11.59", + "fs-extra": "10.1.0", + "jest": "27.5.1", + "prettier": "2.7.1", + "ts-jest": "27.1.5" + } + }, + "packages/ui/atomic/create-atomic": { + "name": "@coveo/create-atomic", + "version": "1.35.12", + "license": "Apache-2.0", + "dependencies": { + "@coveord/platform-client": "34.13.0", + "abortcontroller-polyfill": "1.7.3", + "detect-indent": "7.0.0", + "https-proxy-agent": "5.0.1", + "inquirer": "^8.2.0", + "isomorphic-fetch": "3.0.0", + "minimist": "1.2.6", + "node-plop": "^0.31.0", + "plop": "3.1.1", + "ts-node": "10.9.1", + "typescript": "4.8.3" + }, + "bin": { + "create-atomic": "index.mjs" + }, + "devDependencies": { + "fs-extra": "10.1.0" + } + }, + "packages/ui/atomic/create-atomic/node_modules/detect-indent": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-7.0.0.tgz", + "integrity": "sha512-/6kJlmVv6RDFPqaHC/ZDcU8bblYcoph2dUQ3kB47QqhkUEqXe3VZPELK9BaEMrC73qu+wn0AQ7iSteceN+yuMw==", + "engines": { + "node": ">=12.20" + } + }, + "packages/ui/atomic/template": { + "name": "@coveo/create-atomic-template", + "version": "1.35.12", + "dependencies": { + "@coveo/atomic": "1.110.1", + "@coveo/search-token-lambda": "1.35.12", + "@stencil/core": "2.18.0" + }, + "devDependencies": { + "@rollup/plugin-replace": "4.0.0", + "fkill": "8.0.1", + "get-port": "6.1.2", + "gts": "3.1.1", + "netlify-cli": "10.18.0", + "prettier": "2.7.1", + "rollup-plugin-dotenv": "0.4.0", + "rollup-plugin-html": "0.2.1" + } + }, + "packages/ui/atomic/template/node_modules/aggregate-error": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", + "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", + "dev": true, + "dependencies": { + "clean-stack": "^4.0.0", + "indent-string": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/ui/atomic/template/node_modules/arrify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-3.0.0.tgz", + "integrity": "sha512-tLkvA81vQG/XqE2mjDkGQHoOINtMHtysSnemrmoGe6PydDPMRbVugqyk4A6V/WDWEfm3l+0d8anA9r8cv/5Jaw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/ui/atomic/template/node_modules/clean-stack": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", + "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", + "dev": true, + "dependencies": { + "escape-string-regexp": "5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/ui/atomic/template/node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/ui/atomic/template/node_modules/fkill": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/fkill/-/fkill-8.0.1.tgz", + "integrity": "sha512-ZWAKbgy3pphXWCBfdNS03zXaS16SnTWaD1+n471XSUJ+K5kpFpzZsvRatfUqH8Jwt9wHzZIVIKS+o5Gblqo7PQ==", + "dev": true, + "dependencies": { + "aggregate-error": "^4.0.0", + "execa": "^5.1.1", + "pid-port": "^0.2.0", + "process-exists": "^4.1.0", + "ps-list": "^7.2.0", + "taskkill": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/ui/atomic/template/node_modules/get-port": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-6.1.2.tgz", + "integrity": "sha512-BrGGraKm2uPqurfGVj/z97/zv8dPleC6x9JBNRTrDNtCkkRF4rPwrQXFgL7+I+q8QSdU4ntLQX2D7KIxSy8nGw==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/ui/atomic/template/node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/ui/atomic/template/node_modules/pid-port": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/pid-port/-/pid-port-0.2.0.tgz", + "integrity": "sha512-xVU9H1FCRSeGrD9Oim5bLg2U7B2BgW0qzK2oahpV5BIf9hwzqQaWyOkOVC0Kgbsc90A9x6525beawx+QK+JduQ==", + "dev": true, + "dependencies": { + "execa": "^5.1.1" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/ui/atomic/template/node_modules/taskkill": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/taskkill/-/taskkill-4.0.0.tgz", + "integrity": "sha512-h+BGQ8ExIUZ81h4iHRvatZY5eeBBl2WZk31MmMdFG9LBTc5eCH5u/bzZ7phaPH3bsiB7WhM7YTkOyB2dyFQfXg==", + "dev": true, + "dependencies": { + "arrify": "^3.0.0", + "execa": "^5.1.1" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/ui/cra-template": { "name": "@coveo/cra-template", "version": "1.35.12", "license": "Apache-2.0", @@ -40621,7 +40622,7 @@ "node": ">=14" } }, - "packages/search-token-lambda": { + "packages/ui/search-token-lambda": { "name": "@coveo/search-token-lambda", "version": "1.35.12", "license": "Apache-2.0", @@ -40642,7 +40643,7 @@ "typescript": "4.8.3" } }, - "packages/search-token-server": { + "packages/ui/search-token-server": { "name": "@coveo/search-token-server", "version": "1.35.12", "license": "Apache-2.0", @@ -40676,7 +40677,7 @@ "ts-jest": "27.1.5" } }, - "packages/vue-cli-plugin-typescript": { + "packages/ui/vue-cli-plugin-typescript": { "name": "@coveo/vue-cli-plugin-typescript", "version": "1.35.12", "license": "Apache-2.0", @@ -40833,6 +40834,33 @@ } } }, + "@angular/animations": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-14.2.2.tgz", + "integrity": "sha512-YPtwjfjGCtRlGIYyFK8JPq6kfR8Gz93kmkIF+fnUes42M5DAQvCccVRxi1OXU6dDLsFY9w7DvTl+HR/VocaFsg==", + "dev": true, + "peer": true, + "requires": { + "tslib": "^2.3.0" + } + }, + "@angular/cdk": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-14.2.2.tgz", + "integrity": "sha512-PXEnhX+QDOsmHVVnqTuoGaK7Wn9hFd5kWAmHTTU7lZr3XVu/AtDcEU+LB19wOFU0fY+kSYHMgN+BYo1TiR8vbw==", + "requires": { + "parse5": "^5.0.0", + "tslib": "^2.3.0" + }, + "dependencies": { + "parse5": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", + "optional": true + } + } + }, "@angular/cli": { "version": "14.2.2", "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-14.2.2.tgz", @@ -41285,6 +41313,59 @@ } } }, + "@angular/common": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-14.2.2.tgz", + "integrity": "sha512-9h8MwFLvIJ5kB5L03cd3Cyl4ySKVzL/E/YYugfLvcAzYZ8Rief63gJnkcKNjoS1A5DTxHhOBQL7pLZpj+YxDOw==", + "peer": true, + "requires": { + "tslib": "^2.3.0" + } + }, + "@angular/core": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-14.2.2.tgz", + "integrity": "sha512-kG30b4RqjgWvaH9y4g95JRCzoROV+9/xgFH4hSRejFa/IcapMfvCmONJtJzwTjdsEUQAbiFohF/z9bx3QA/Yvw==", + "requires": { + "tslib": "^2.3.0" + } + }, + "@angular/forms": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-14.2.2.tgz", + "integrity": "sha512-lq6PpLMNfs0KcIhkQrUVfKuP4hZSeUQyKOErvoLrPhDiakvOWYoQZKh6XHsbQRcuhWKHy6IITldz6sg8pWVrTw==", + "dev": true, + "requires": { + "tslib": "^2.3.0" + } + }, + "@angular/material": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-14.2.2.tgz", + "integrity": "sha512-jVCaESSTTkLjRvMzSQj294s0Lz1YMVFkl0svrMtWgkUMXHEfx2Vjw6FXdrVrBXlxEIrpfhkTEXVN2DC1kkAkQw==", + "dev": true, + "requires": { + "tslib": "^2.3.0" + } + }, + "@angular/platform-browser": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-14.2.2.tgz", + "integrity": "sha512-1NrtOIvevoDDT6DU+Fsm5TsNN/XJhIV/UhfInmU/rz97RERl8etcOQRsxWnjGwZjk9rjt+0lBbW5oVDFKOJa+w==", + "dev": true, + "requires": { + "tslib": "^2.3.0" + } + }, + "@angular/router": { + "version": "14.2.2", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-14.2.2.tgz", + "integrity": "sha512-BRkXdAVK0rE/x6im91a/fdIcWhPILO6ZmwCVTEdvsRyI9arQSlXAnupPUeumdbSc6mG/FCXPcyJq/dU0Jl70Og==", + "dev": true, + "requires": { + "tslib": "^2.3.0" + } + }, "@babel/code-frame": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", @@ -42597,7 +42678,7 @@ } }, "@coveo/angular": { - "version": "file:packages/angular", + "version": "file:packages/ui/angular", "requires": { "@angular-devkit/core": "^14.2.2", "@angular-devkit/schematics": "^14.2.2", @@ -42620,86 +42701,6 @@ "prettier": "2.7.1", "ts-jest": "27.1.5", "typescript": "4.8.3" - }, - "dependencies": { - "@angular/animations": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-14.2.2.tgz", - "integrity": "sha512-YPtwjfjGCtRlGIYyFK8JPq6kfR8Gz93kmkIF+fnUes42M5DAQvCccVRxi1OXU6dDLsFY9w7DvTl+HR/VocaFsg==", - "dev": true, - "peer": true, - "requires": { - "tslib": "^2.3.0" - } - }, - "@angular/cdk": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-14.2.2.tgz", - "integrity": "sha512-PXEnhX+QDOsmHVVnqTuoGaK7Wn9hFd5kWAmHTTU7lZr3XVu/AtDcEU+LB19wOFU0fY+kSYHMgN+BYo1TiR8vbw==", - "requires": { - "parse5": "^5.0.0", - "tslib": "^2.3.0" - } - }, - "@angular/common": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-14.2.2.tgz", - "integrity": "sha512-9h8MwFLvIJ5kB5L03cd3Cyl4ySKVzL/E/YYugfLvcAzYZ8Rief63gJnkcKNjoS1A5DTxHhOBQL7pLZpj+YxDOw==", - "peer": true, - "requires": { - "tslib": "^2.3.0" - } - }, - "@angular/core": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-14.2.2.tgz", - "integrity": "sha512-kG30b4RqjgWvaH9y4g95JRCzoROV+9/xgFH4hSRejFa/IcapMfvCmONJtJzwTjdsEUQAbiFohF/z9bx3QA/Yvw==", - "requires": { - "tslib": "^2.3.0" - } - }, - "@angular/forms": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-14.2.2.tgz", - "integrity": "sha512-lq6PpLMNfs0KcIhkQrUVfKuP4hZSeUQyKOErvoLrPhDiakvOWYoQZKh6XHsbQRcuhWKHy6IITldz6sg8pWVrTw==", - "dev": true, - "requires": { - "tslib": "^2.3.0" - } - }, - "@angular/material": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/material/-/material-14.2.2.tgz", - "integrity": "sha512-jVCaESSTTkLjRvMzSQj294s0Lz1YMVFkl0svrMtWgkUMXHEfx2Vjw6FXdrVrBXlxEIrpfhkTEXVN2DC1kkAkQw==", - "dev": true, - "requires": { - "tslib": "^2.3.0" - } - }, - "@angular/platform-browser": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-14.2.2.tgz", - "integrity": "sha512-1NrtOIvevoDDT6DU+Fsm5TsNN/XJhIV/UhfInmU/rz97RERl8etcOQRsxWnjGwZjk9rjt+0lBbW5oVDFKOJa+w==", - "dev": true, - "requires": { - "tslib": "^2.3.0" - } - }, - "@angular/router": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-14.2.2.tgz", - "integrity": "sha512-BRkXdAVK0rE/x6im91a/fdIcWhPILO6ZmwCVTEdvsRyI9arQSlXAnupPUeumdbSc6mG/FCXPcyJq/dU0Jl70Og==", - "dev": true, - "requires": { - "tslib": "^2.3.0" - } - }, - "parse5": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", - "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", - "optional": true - } } }, "@coveo/atomic": { @@ -42952,7 +42953,7 @@ } }, "@coveo/cra-template": { - "version": "file:packages/cra-template", + "version": "file:packages/ui/cra-template", "requires": { "@coveo/headless": "latest", "@coveo/search-token-server": "1.35.12", @@ -42974,7 +42975,7 @@ } }, "@coveo/create-atomic": { - "version": "file:packages/atomic/create-atomic", + "version": "file:packages/ui/atomic/create-atomic", "requires": { "@coveord/platform-client": "34.13.0", "abortcontroller-polyfill": "1.7.3", @@ -42998,7 +42999,7 @@ } }, "@coveo/create-atomic-template": { - "version": "file:packages/atomic/template", + "version": "file:packages/ui/atomic/template", "requires": { "@coveo/atomic": "1.110.1", "@coveo/search-token-lambda": "1.35.12", @@ -43129,7 +43130,7 @@ } }, "@coveo/search-token-lambda": { - "version": "file:packages/search-token-lambda", + "version": "file:packages/ui/search-token-lambda", "requires": { "@babel/core": "7.19.1", "@coveord/platform-client": "34.13.0", @@ -43146,7 +43147,7 @@ } }, "@coveo/search-token-server": { - "version": "file:packages/search-token-server", + "version": "file:packages/ui/search-token-server", "requires": { "@babel/core": "7.19.1", "@coveord/platform-client": "34.13.0", @@ -43190,7 +43191,7 @@ } }, "@coveo/vue-cli-plugin-typescript": { - "version": "file:packages/vue-cli-plugin-typescript", + "version": "file:packages/ui/vue-cli-plugin-typescript", "requires": { "@coveo/headless": "1.103.5", "@coveo/search-token-server": "1.35.12", diff --git a/package.json b/package.json index daeeb64a6d..294474945d 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,8 @@ }, "workspaces": [ "packages/*", - "packages/atomic/*", + "packages/ui/*", + "packages/ui/atomic/*", "packages/cli/*" ], "dependencies": { diff --git a/packages/angular/.prettierrc.js b/packages/angular/.prettierrc.js deleted file mode 100644 index 2dc64b24a2..0000000000 --- a/packages/angular/.prettierrc.js +++ /dev/null @@ -1,5 +0,0 @@ -const base = require('../../.prettierrc'); - -module.exports = { - ...base, -}; diff --git a/packages/angular/project.json b/packages/angular/project.json deleted file mode 100644 index aeaff1ef5b..0000000000 --- a/packages/angular/project.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "angular", - "root": "packages/angular", - "sourceRoot": "packages/angular/src", - "projectType": "application" -} diff --git a/packages/cra-template/.prettierrc.js b/packages/cra-template/.prettierrc.js deleted file mode 100644 index 2dc64b24a2..0000000000 --- a/packages/cra-template/.prettierrc.js +++ /dev/null @@ -1,5 +0,0 @@ -const base = require('../../.prettierrc'); - -module.exports = { - ...base, -}; diff --git a/packages/cra-template/project.json b/packages/cra-template/project.json deleted file mode 100644 index 2a4a5ca306..0000000000 --- a/packages/cra-template/project.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "cra-template", - "root": "packages/cra-template", - "sourceRoot": "packages/cra-template/template", - "projectType": "application" -} diff --git a/packages/search-token-lambda/project.json b/packages/search-token-lambda/project.json deleted file mode 100644 index d233561d5d..0000000000 --- a/packages/search-token-lambda/project.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "search-token-lambda", - "root": "packages/search-token-lambda", - "sourceRoot": "packages/search-token-lambda/functions", - "projectType": "library" -} diff --git a/packages/search-token-server/project.json b/packages/search-token-server/project.json deleted file mode 100644 index 50c55f8668..0000000000 --- a/packages/search-token-server/project.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "search-token-server", - "root": "packages/search-token-server", - "sourceRoot": "packages/search-token-server/", - "projectType": "library" -} diff --git a/packages/angular/.eslintignore b/packages/ui/angular/.eslintignore similarity index 100% rename from packages/angular/.eslintignore rename to packages/ui/angular/.eslintignore diff --git a/packages/angular/.eslintrc b/packages/ui/angular/.eslintrc similarity index 79% rename from packages/angular/.eslintrc rename to packages/ui/angular/.eslintrc index ff5178bdc6..a00d9e21bd 100644 --- a/packages/angular/.eslintrc +++ b/packages/ui/angular/.eslintrc @@ -1,5 +1,5 @@ { - "extends": "../../base.eslintrc", + "extends": "../../../base.eslintrc", "env": { "es6": true }, diff --git a/packages/angular/.gitignore b/packages/ui/angular/.gitignore similarity index 100% rename from packages/angular/.gitignore rename to packages/ui/angular/.gitignore diff --git a/packages/angular/.npmignore b/packages/ui/angular/.npmignore similarity index 100% rename from packages/angular/.npmignore rename to packages/ui/angular/.npmignore diff --git a/packages/angular/.prettierignore b/packages/ui/angular/.prettierignore similarity index 100% rename from packages/angular/.prettierignore rename to packages/ui/angular/.prettierignore diff --git a/packages/atomic/create-atomic/.prettierrc.cjs b/packages/ui/angular/.prettierrc.js similarity index 100% rename from packages/atomic/create-atomic/.prettierrc.cjs rename to packages/ui/angular/.prettierrc.js diff --git a/packages/angular/CHANGELOG.md b/packages/ui/angular/CHANGELOG.md similarity index 100% rename from packages/angular/CHANGELOG.md rename to packages/ui/angular/CHANGELOG.md diff --git a/packages/angular/LICENSE b/packages/ui/angular/LICENSE similarity index 100% rename from packages/angular/LICENSE rename to packages/ui/angular/LICENSE diff --git a/packages/angular/README.md b/packages/ui/angular/README.md similarity index 98% rename from packages/angular/README.md rename to packages/ui/angular/README.md index 5b01f1c07f..9ddc49a494 100644 --- a/packages/angular/README.md +++ b/packages/ui/angular/README.md @@ -45,7 +45,7 @@ Make sure to link your local schematic to the project you want to use it in. ``` cd my-test-app -npm link /path/to/coveo-cli/packages/angular +npm link /path/to/coveo-cli/packages/ui/angular ``` > You can also use `npm pack` in your schematics project, then `npm install /path/to/artifact.tar.gz` in your Angular project. diff --git a/packages/angular/index.js b/packages/ui/angular/index.js similarity index 100% rename from packages/angular/index.js rename to packages/ui/angular/index.js diff --git a/packages/angular/jest.config.js b/packages/ui/angular/jest.config.js similarity index 100% rename from packages/angular/jest.config.js rename to packages/ui/angular/jest.config.js diff --git a/packages/angular/package.json b/packages/ui/angular/package.json similarity index 95% rename from packages/angular/package.json rename to packages/ui/angular/package.json index b3ba960aea..4214c4c310 100644 --- a/packages/angular/package.json +++ b/packages/ui/angular/package.json @@ -9,7 +9,7 @@ "prebuild": "node ./scripts/clean.js", "postbuild": "node ./scripts/setup.js", "prepublishOnly": "npm run build", - "release:phase1": "node --experimental-specifier-resolution=node ../../scripts/releaseV2/phase1-bump-all-packages.mjs" + "release:phase1": "node --experimental-specifier-resolution=node ../../../scripts/releaseV2/phase1-bump-all-packages.mjs" }, "keywords": [ "schematics", diff --git a/packages/ui/angular/project.json b/packages/ui/angular/project.json new file mode 100644 index 0000000000..6e603db808 --- /dev/null +++ b/packages/ui/angular/project.json @@ -0,0 +1,6 @@ +{ + "name": "angular", + "root": "packages/ui/angular", + "sourceRoot": "packages/ui/angular/src", + "projectType": "application" +} diff --git a/packages/angular/scripts/clean.js b/packages/ui/angular/scripts/clean.js similarity index 100% rename from packages/angular/scripts/clean.js rename to packages/ui/angular/scripts/clean.js diff --git a/packages/angular/scripts/setup.js b/packages/ui/angular/scripts/setup.js similarity index 100% rename from packages/angular/scripts/setup.js rename to packages/ui/angular/scripts/setup.js diff --git a/packages/angular/src/collection.json b/packages/ui/angular/src/collection.json similarity index 100% rename from packages/angular/src/collection.json rename to packages/ui/angular/src/collection.json diff --git a/packages/angular/src/common-rules/dependencies.ts b/packages/ui/angular/src/common-rules/dependencies.ts similarity index 100% rename from packages/angular/src/common-rules/dependencies.ts rename to packages/ui/angular/src/common-rules/dependencies.ts diff --git a/packages/angular/src/common-rules/templates.ts b/packages/ui/angular/src/common-rules/templates.ts similarity index 100% rename from packages/angular/src/common-rules/templates.ts rename to packages/ui/angular/src/common-rules/templates.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/app-routing.module.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/app-routing.module.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/app-routing.module.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/app-routing.module.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/app.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/app.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/app.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/app.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/app.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/app.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/app.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/app.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/coveo.components.module.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/coveo.components.module.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/coveo.components.module.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/coveo.components.module.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/engine.service.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/engine.service.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/engine.service.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/engine.service.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/error/error.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/error/error.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/error/error.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/error/error.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/error/error.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/error/error.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/error/error.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/error/error.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/error/error.component.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/error/error.component.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/error/error.component.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/error/error.component.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/facet-list/facet-list.component.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/facet/facet.component.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/hero/hero.component.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/home/home.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/home/home.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/home/home.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/home/home.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/home/home.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/home/home.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/home/home.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/home/home.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/home/home.component.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/home/home.component.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/home/home.component.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/home/home.component.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/init.service.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/init.service.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/init.service.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/init.service.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/pager/pager.component.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/query-summary/query-summary.component.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/result-link/result-link.component.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/result-list/result-list.component.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/search-box/search-box.component.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/search-page/search-page.component.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.html b/packages/ui/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.html similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.html rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.html diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.scss diff --git a/packages/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/app/sort/sort.component.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/environments/environment.d.ts b/packages/ui/angular/src/ng-add-setup-project/files/src/environments/environment.d.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/environments/environment.d.ts rename to packages/ui/angular/src/ng-add-setup-project/files/src/environments/environment.d.ts diff --git a/packages/angular/src/ng-add-setup-project/files/src/environments/environment.ts.template b/packages/ui/angular/src/ng-add-setup-project/files/src/environments/environment.ts.template similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/environments/environment.ts.template rename to packages/ui/angular/src/ng-add-setup-project/files/src/environments/environment.ts.template diff --git a/packages/angular/src/ng-add-setup-project/files/src/styles.scss b/packages/ui/angular/src/ng-add-setup-project/files/src/styles.scss similarity index 100% rename from packages/angular/src/ng-add-setup-project/files/src/styles.scss rename to packages/ui/angular/src/ng-add-setup-project/files/src/styles.scss diff --git a/packages/angular/src/ng-add-setup-project/index.spec.ts b/packages/ui/angular/src/ng-add-setup-project/index.spec.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/index.spec.ts rename to packages/ui/angular/src/ng-add-setup-project/index.spec.ts diff --git a/packages/angular/src/ng-add-setup-project/index.ts b/packages/ui/angular/src/ng-add-setup-project/index.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/index.ts rename to packages/ui/angular/src/ng-add-setup-project/index.ts diff --git a/packages/angular/src/ng-add-setup-project/rules/dependencies.ts b/packages/ui/angular/src/ng-add-setup-project/rules/dependencies.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/rules/dependencies.ts rename to packages/ui/angular/src/ng-add-setup-project/rules/dependencies.ts diff --git a/packages/angular/src/ng-add-setup-project/rules/ng-module.ts b/packages/ui/angular/src/ng-add-setup-project/rules/ng-module.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/rules/ng-module.ts rename to packages/ui/angular/src/ng-add-setup-project/rules/ng-module.ts diff --git a/packages/angular/src/ng-add-setup-project/rules/start.ts b/packages/ui/angular/src/ng-add-setup-project/rules/start.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/rules/start.ts rename to packages/ui/angular/src/ng-add-setup-project/rules/start.ts diff --git a/packages/angular/src/ng-add-setup-project/rules/tsconfig.ts b/packages/ui/angular/src/ng-add-setup-project/rules/tsconfig.ts similarity index 100% rename from packages/angular/src/ng-add-setup-project/rules/tsconfig.ts rename to packages/ui/angular/src/ng-add-setup-project/rules/tsconfig.ts diff --git a/packages/angular/src/ng-add/index.ts b/packages/ui/angular/src/ng-add/index.ts similarity index 100% rename from packages/angular/src/ng-add/index.ts rename to packages/ui/angular/src/ng-add/index.ts diff --git a/packages/angular/src/schema.json b/packages/ui/angular/src/schema.json similarity index 100% rename from packages/angular/src/schema.json rename to packages/ui/angular/src/schema.json diff --git a/packages/angular/src/schema.ts b/packages/ui/angular/src/schema.ts similarity index 100% rename from packages/angular/src/schema.ts rename to packages/ui/angular/src/schema.ts diff --git a/packages/angular/src/search-token-server/files/scripts/port-allocator.mjs b/packages/ui/angular/src/search-token-server/files/scripts/port-allocator.mjs similarity index 100% rename from packages/angular/src/search-token-server/files/scripts/port-allocator.mjs rename to packages/ui/angular/src/search-token-server/files/scripts/port-allocator.mjs diff --git a/packages/angular/src/search-token-server/files/scripts/start-server.js b/packages/ui/angular/src/search-token-server/files/scripts/start-server.js similarity index 100% rename from packages/angular/src/search-token-server/files/scripts/start-server.js rename to packages/ui/angular/src/search-token-server/files/scripts/start-server.js diff --git a/packages/angular/src/search-token-server/files/server/.env.template b/packages/ui/angular/src/search-token-server/files/server/.env.template similarity index 100% rename from packages/angular/src/search-token-server/files/server/.env.template rename to packages/ui/angular/src/search-token-server/files/server/.env.template diff --git a/packages/angular/src/search-token-server/files/server/.gitignore.template b/packages/ui/angular/src/search-token-server/files/server/.gitignore.template similarity index 100% rename from packages/angular/src/search-token-server/files/server/.gitignore.template rename to packages/ui/angular/src/search-token-server/files/server/.gitignore.template diff --git a/packages/angular/src/search-token-server/index.spec.ts b/packages/ui/angular/src/search-token-server/index.spec.ts similarity index 100% rename from packages/angular/src/search-token-server/index.spec.ts rename to packages/ui/angular/src/search-token-server/index.spec.ts diff --git a/packages/angular/src/search-token-server/index.ts b/packages/ui/angular/src/search-token-server/index.ts similarity index 100% rename from packages/angular/src/search-token-server/index.ts rename to packages/ui/angular/src/search-token-server/index.ts diff --git a/packages/angular/src/search-token-server/rules/dependencies.ts b/packages/ui/angular/src/search-token-server/rules/dependencies.ts similarity index 100% rename from packages/angular/src/search-token-server/rules/dependencies.ts rename to packages/ui/angular/src/search-token-server/rules/dependencies.ts diff --git a/packages/angular/src/search-token-server/rules/templates.ts b/packages/ui/angular/src/search-token-server/rules/templates.ts similarity index 100% rename from packages/angular/src/search-token-server/rules/templates.ts rename to packages/ui/angular/src/search-token-server/rules/templates.ts diff --git a/packages/angular/src/tsconfig.json b/packages/ui/angular/src/tsconfig.json similarity index 87% rename from packages/angular/src/tsconfig.json rename to packages/ui/angular/src/tsconfig.json index b8a6c3a800..fdafc4cbd0 100644 --- a/packages/angular/src/tsconfig.json +++ b/packages/ui/angular/src/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { "experimentalDecorators": true, "baseUrl": "./", diff --git a/packages/angular/tsconfig.json b/packages/ui/angular/tsconfig.json similarity index 87% rename from packages/angular/tsconfig.json rename to packages/ui/angular/tsconfig.json index 498a8dae85..51700b9e32 100644 --- a/packages/angular/tsconfig.json +++ b/packages/ui/angular/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../tsconfig.base.json", "compilerOptions": { "baseUrl": "./", "lib": ["es2018", "dom"], diff --git a/packages/angular/tsconfig.schematic.json b/packages/ui/angular/tsconfig.schematic.json similarity index 100% rename from packages/angular/tsconfig.schematic.json rename to packages/ui/angular/tsconfig.schematic.json diff --git a/packages/atomic/create-atomic/.eslintignore b/packages/ui/atomic/create-atomic/.eslintignore similarity index 100% rename from packages/atomic/create-atomic/.eslintignore rename to packages/ui/atomic/create-atomic/.eslintignore diff --git a/packages/atomic/create-atomic/.eslintrc b/packages/ui/atomic/create-atomic/.eslintrc similarity index 69% rename from packages/atomic/create-atomic/.eslintrc rename to packages/ui/atomic/create-atomic/.eslintrc index a057889957..877c16efe6 100644 --- a/packages/atomic/create-atomic/.eslintrc +++ b/packages/ui/atomic/create-atomic/.eslintrc @@ -1,5 +1,5 @@ { - "extends": "../../../base.eslintrc", + "extends": "../../../../base.eslintrc", "env": { "browser": true }, diff --git a/packages/atomic/create-atomic/.gitignore b/packages/ui/atomic/create-atomic/.gitignore similarity index 100% rename from packages/atomic/create-atomic/.gitignore rename to packages/ui/atomic/create-atomic/.gitignore diff --git a/packages/atomic/create-atomic/.prettierignore b/packages/ui/atomic/create-atomic/.prettierignore similarity index 100% rename from packages/atomic/create-atomic/.prettierignore rename to packages/ui/atomic/create-atomic/.prettierignore diff --git a/packages/ui/atomic/create-atomic/.prettierrc.cjs b/packages/ui/atomic/create-atomic/.prettierrc.cjs new file mode 100644 index 0000000000..85362b4ad6 --- /dev/null +++ b/packages/ui/atomic/create-atomic/.prettierrc.cjs @@ -0,0 +1,5 @@ +const base = require('../../../../.prettierrc'); + +module.exports = { + ...base, +}; diff --git a/packages/atomic/create-atomic/CHANGELOG.md b/packages/ui/atomic/create-atomic/CHANGELOG.md similarity index 100% rename from packages/atomic/create-atomic/CHANGELOG.md rename to packages/ui/atomic/create-atomic/CHANGELOG.md diff --git a/packages/atomic/create-atomic/README.md b/packages/ui/atomic/create-atomic/README.md similarity index 100% rename from packages/atomic/create-atomic/README.md rename to packages/ui/atomic/create-atomic/README.md diff --git a/packages/atomic/create-atomic/index.mjs b/packages/ui/atomic/create-atomic/index.mjs old mode 100755 new mode 100644 similarity index 100% rename from packages/atomic/create-atomic/index.mjs rename to packages/ui/atomic/create-atomic/index.mjs diff --git a/packages/atomic/create-atomic/package.json b/packages/ui/atomic/create-atomic/package.json similarity index 94% rename from packages/atomic/create-atomic/package.json rename to packages/ui/atomic/create-atomic/package.json index eb91190138..7c0300b334 100644 --- a/packages/atomic/create-atomic/package.json +++ b/packages/ui/atomic/create-atomic/package.json @@ -15,7 +15,7 @@ "build": "tsc -p tsconfig.json", "prepublishOnly": "rimraf template && npm run build && node ./scripts/preparePackageJsonTemplate.mjs", "lint": "prettier --check . && eslint .", - "release:phase1": "node --experimental-specifier-resolution=node ../../../scripts/releaseV2/phase1-bump-all-packages.mjs" + "release:phase1": "node --experimental-specifier-resolution=node ../../../../scripts/releaseV2/phase1-bump-all-packages.mjs" }, "keywords": [ "coveo", diff --git a/packages/atomic/create-atomic/project.json b/packages/ui/atomic/create-atomic/project.json similarity index 53% rename from packages/atomic/create-atomic/project.json rename to packages/ui/atomic/create-atomic/project.json index 222d1b23bd..1dbbc99b95 100644 --- a/packages/atomic/create-atomic/project.json +++ b/packages/ui/atomic/create-atomic/project.json @@ -1,7 +1,7 @@ { "name": "create-atomic", - "root": "packages/atomic/create-atomic", - "sourceRoot": "packages/atomic/create-atomic/src", + "root": "packages/ui/atomic/create-atomic", + "sourceRoot": "packages/ui/atomic/create-atomic/src", "projectType": "application", "implicitDependencies": ["create-atomic-template"] } diff --git a/packages/atomic/create-atomic/scripts/!.eslintrc b/packages/ui/atomic/create-atomic/scripts/!.eslintrc similarity index 100% rename from packages/atomic/create-atomic/scripts/!.eslintrc rename to packages/ui/atomic/create-atomic/scripts/!.eslintrc diff --git a/packages/atomic/create-atomic/scripts/packageTemplate.json b/packages/ui/atomic/create-atomic/scripts/packageTemplate.json similarity index 100% rename from packages/atomic/create-atomic/scripts/packageTemplate.json rename to packages/ui/atomic/create-atomic/scripts/packageTemplate.json diff --git a/packages/atomic/create-atomic/scripts/preparePackageJsonTemplate.mjs b/packages/ui/atomic/create-atomic/scripts/preparePackageJsonTemplate.mjs similarity index 100% rename from packages/atomic/create-atomic/scripts/preparePackageJsonTemplate.mjs rename to packages/ui/atomic/create-atomic/scripts/preparePackageJsonTemplate.mjs diff --git a/packages/atomic/create-atomic/src/client.ts b/packages/ui/atomic/create-atomic/src/client.ts similarity index 100% rename from packages/atomic/create-atomic/src/client.ts rename to packages/ui/atomic/create-atomic/src/client.ts diff --git a/packages/atomic/create-atomic/src/default/default-layout.ts b/packages/ui/atomic/create-atomic/src/default/default-layout.ts similarity index 100% rename from packages/atomic/create-atomic/src/default/default-layout.ts rename to packages/ui/atomic/create-atomic/src/default/default-layout.ts diff --git a/packages/atomic/create-atomic/src/default/default-page.ts b/packages/ui/atomic/create-atomic/src/default/default-page.ts similarity index 100% rename from packages/atomic/create-atomic/src/default/default-page.ts rename to packages/ui/atomic/create-atomic/src/default/default-page.ts diff --git a/packages/atomic/create-atomic/src/default/default-result-template.ts b/packages/ui/atomic/create-atomic/src/default/default-result-template.ts similarity index 100% rename from packages/atomic/create-atomic/src/default/default-result-template.ts rename to packages/ui/atomic/create-atomic/src/default/default-result-template.ts diff --git a/packages/atomic/create-atomic/src/default/default-search-interface.ts b/packages/ui/atomic/create-atomic/src/default/default-search-interface.ts similarity index 100% rename from packages/atomic/create-atomic/src/default/default-search-interface.ts rename to packages/ui/atomic/create-atomic/src/default/default-search-interface.ts diff --git a/packages/atomic/create-atomic/src/fetch-page.ts b/packages/ui/atomic/create-atomic/src/fetch-page.ts similarity index 100% rename from packages/atomic/create-atomic/src/fetch-page.ts rename to packages/ui/atomic/create-atomic/src/fetch-page.ts diff --git a/packages/atomic/create-atomic/src/list-pages.ts b/packages/ui/atomic/create-atomic/src/list-pages.ts similarity index 100% rename from packages/atomic/create-atomic/src/list-pages.ts rename to packages/ui/atomic/create-atomic/src/list-pages.ts diff --git a/packages/atomic/create-atomic/src/plopfile.ts b/packages/ui/atomic/create-atomic/src/plopfile.ts similarity index 100% rename from packages/atomic/create-atomic/src/plopfile.ts rename to packages/ui/atomic/create-atomic/src/plopfile.ts diff --git a/packages/atomic/create-atomic/src/utils.ts b/packages/ui/atomic/create-atomic/src/utils.ts similarity index 100% rename from packages/atomic/create-atomic/src/utils.ts rename to packages/ui/atomic/create-atomic/src/utils.ts diff --git a/packages/atomic/create-atomic/tsconfig.json b/packages/ui/atomic/create-atomic/tsconfig.json similarity index 80% rename from packages/atomic/create-atomic/tsconfig.json rename to packages/ui/atomic/create-atomic/tsconfig.json index 40b3154e7c..baf9e6b594 100644 --- a/packages/atomic/create-atomic/tsconfig.json +++ b/packages/ui/atomic/create-atomic/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { "module": "ES2020", "esModuleInterop": true, diff --git a/packages/atomic/template/.env.example b/packages/ui/atomic/template/.env.example similarity index 100% rename from packages/atomic/template/.env.example rename to packages/ui/atomic/template/.env.example diff --git a/packages/atomic/template/.env.hbs b/packages/ui/atomic/template/.env.hbs similarity index 100% rename from packages/atomic/template/.env.hbs rename to packages/ui/atomic/template/.env.hbs diff --git a/packages/atomic/template/.eslintrc b/packages/ui/atomic/template/.eslintrc similarity index 83% rename from packages/atomic/template/.eslintrc rename to packages/ui/atomic/template/.eslintrc index b04b1a64b0..66f7f49412 100644 --- a/packages/atomic/template/.eslintrc +++ b/packages/ui/atomic/template/.eslintrc @@ -1,5 +1,5 @@ { - "extends": "../../../base.eslintrc", + "extends": "../../../../base.eslintrc", "overrides": [ { "files": "stencil.config.ts", diff --git a/packages/atomic/template/.gitignore b/packages/ui/atomic/template/.gitignore similarity index 100% rename from packages/atomic/template/.gitignore rename to packages/ui/atomic/template/.gitignore diff --git a/packages/atomic/template/.gitignore.hbs b/packages/ui/atomic/template/.gitignore.hbs similarity index 100% rename from packages/atomic/template/.gitignore.hbs rename to packages/ui/atomic/template/.gitignore.hbs diff --git a/packages/atomic/template/.prettierignore b/packages/ui/atomic/template/.prettierignore similarity index 100% rename from packages/atomic/template/.prettierignore rename to packages/ui/atomic/template/.prettierignore diff --git a/packages/ui/atomic/template/.prettierrc.cjs b/packages/ui/atomic/template/.prettierrc.cjs new file mode 100644 index 0000000000..85362b4ad6 --- /dev/null +++ b/packages/ui/atomic/template/.prettierrc.cjs @@ -0,0 +1,5 @@ +const base = require('../../../../.prettierrc'); + +module.exports = { + ...base, +}; diff --git a/packages/atomic/template/README.md b/packages/ui/atomic/template/README.md similarity index 100% rename from packages/atomic/template/README.md rename to packages/ui/atomic/template/README.md diff --git a/packages/atomic/template/netlify.toml b/packages/ui/atomic/template/netlify.toml similarity index 100% rename from packages/atomic/template/netlify.toml rename to packages/ui/atomic/template/netlify.toml diff --git a/packages/atomic/template/package.json b/packages/ui/atomic/template/package.json similarity index 90% rename from packages/atomic/template/package.json rename to packages/ui/atomic/template/package.json index bb18eec321..e41af7f78f 100644 --- a/packages/atomic/template/package.json +++ b/packages/ui/atomic/template/package.json @@ -4,7 +4,7 @@ "version": "1.35.12", "private": true, "scripts": { - "release:phase1": "node --experimental-specifier-resolution=node ../../../scripts/releaseV2/phase1-bump-all-packages.mjs", + "release:phase1": "node --experimental-specifier-resolution=node ../../../../scripts/releaseV2/phase1-bump-all-packages.mjs", "lint": "prettier --check . && eslint ." }, "dependencies": { diff --git a/packages/atomic/template/project.json b/packages/ui/atomic/template/project.json similarity index 69% rename from packages/atomic/template/project.json rename to packages/ui/atomic/template/project.json index 25b914e388..23558b2641 100644 --- a/packages/atomic/template/project.json +++ b/packages/ui/atomic/template/project.json @@ -1,7 +1,7 @@ { "name": "create-atomic-template", - "root": "packages/atomic/template", - "sourceRoot": "packages/atomic/template/src", + "root": "packages/ui/atomic/template", + "sourceRoot": "packages/ui/atomic/template/src", "projectType": "library", "targets": { "build": { diff --git a/packages/atomic/template/scripts/clean-up.js b/packages/ui/atomic/template/scripts/clean-up.js similarity index 100% rename from packages/atomic/template/scripts/clean-up.js rename to packages/ui/atomic/template/scripts/clean-up.js diff --git a/packages/atomic/template/scripts/setup-lambda.js b/packages/ui/atomic/template/scripts/setup-lambda.js similarity index 100% rename from packages/atomic/template/scripts/setup-lambda.js rename to packages/ui/atomic/template/scripts/setup-lambda.js diff --git a/packages/atomic/template/scripts/utils.js b/packages/ui/atomic/template/scripts/utils.js similarity index 100% rename from packages/atomic/template/scripts/utils.js rename to packages/ui/atomic/template/scripts/utils.js diff --git a/packages/atomic/template/src/components.d.ts b/packages/ui/atomic/template/src/components.d.ts similarity index 100% rename from packages/atomic/template/src/components.d.ts rename to packages/ui/atomic/template/src/components.d.ts diff --git a/packages/atomic/template/src/components/results-manager/results-manager.tsx.hbs b/packages/ui/atomic/template/src/components/results-manager/results-manager.tsx.hbs similarity index 100% rename from packages/atomic/template/src/components/results-manager/results-manager.tsx.hbs rename to packages/ui/atomic/template/src/components/results-manager/results-manager.tsx.hbs diff --git a/packages/atomic/template/src/components/sample-component/sample-component.css b/packages/ui/atomic/template/src/components/sample-component/sample-component.css similarity index 100% rename from packages/atomic/template/src/components/sample-component/sample-component.css rename to packages/ui/atomic/template/src/components/sample-component/sample-component.css diff --git a/packages/atomic/template/src/components/sample-component/sample-component.tsx b/packages/ui/atomic/template/src/components/sample-component/sample-component.tsx similarity index 100% rename from packages/atomic/template/src/components/sample-component/sample-component.tsx rename to packages/ui/atomic/template/src/components/sample-component/sample-component.tsx diff --git a/packages/atomic/template/src/components/sample-result-component/sample-result-component.css b/packages/ui/atomic/template/src/components/sample-result-component/sample-result-component.css similarity index 100% rename from packages/atomic/template/src/components/sample-result-component/sample-result-component.css rename to packages/ui/atomic/template/src/components/sample-result-component/sample-result-component.css diff --git a/packages/atomic/template/src/components/sample-result-component/sample-result-component.tsx b/packages/ui/atomic/template/src/components/sample-result-component/sample-result-component.tsx similarity index 100% rename from packages/atomic/template/src/components/sample-result-component/sample-result-component.tsx rename to packages/ui/atomic/template/src/components/sample-result-component/sample-result-component.tsx diff --git a/packages/atomic/template/src/html.d.ts b/packages/ui/atomic/template/src/html.d.ts similarity index 100% rename from packages/atomic/template/src/html.d.ts rename to packages/ui/atomic/template/src/html.d.ts diff --git a/packages/atomic/template/src/index.ts b/packages/ui/atomic/template/src/index.ts similarity index 100% rename from packages/atomic/template/src/index.ts rename to packages/ui/atomic/template/src/index.ts diff --git a/packages/atomic/template/src/pages/index.html.hbs b/packages/ui/atomic/template/src/pages/index.html.hbs similarity index 100% rename from packages/atomic/template/src/pages/index.html.hbs rename to packages/ui/atomic/template/src/pages/index.html.hbs diff --git a/packages/atomic/template/src/style/index.css.hbs b/packages/ui/atomic/template/src/style/index.css.hbs similarity index 100% rename from packages/atomic/template/src/style/index.css.hbs rename to packages/ui/atomic/template/src/style/index.css.hbs diff --git a/packages/atomic/template/start-netlify.mjs b/packages/ui/atomic/template/start-netlify.mjs similarity index 100% rename from packages/atomic/template/start-netlify.mjs rename to packages/ui/atomic/template/start-netlify.mjs diff --git a/packages/atomic/template/stencil.config.ts b/packages/ui/atomic/template/stencil.config.ts similarity index 100% rename from packages/atomic/template/stencil.config.ts rename to packages/ui/atomic/template/stencil.config.ts diff --git a/packages/atomic/template/tsconfig.donotcopy.json b/packages/ui/atomic/template/tsconfig.donotcopy.json similarity index 88% rename from packages/atomic/template/tsconfig.donotcopy.json rename to packages/ui/atomic/template/tsconfig.donotcopy.json index 06e52cda4a..181e0afcbf 100644 --- a/packages/atomic/template/tsconfig.donotcopy.json +++ b/packages/ui/atomic/template/tsconfig.donotcopy.json @@ -1,5 +1,5 @@ { - "extends": "../../../node_modules/gts/tsconfig-google.json", + "extends": "../../../../node_modules/gts/tsconfig-google.json", "compilerOptions": { "allowSyntheticDefaultImports": true, "declaration": false, diff --git a/packages/atomic/template/tsconfig.json b/packages/ui/atomic/template/tsconfig.json similarity index 100% rename from packages/atomic/template/tsconfig.json rename to packages/ui/atomic/template/tsconfig.json diff --git a/packages/cra-template/.eslintrc b/packages/ui/cra-template/.eslintrc similarity index 51% rename from packages/cra-template/.eslintrc rename to packages/ui/cra-template/.eslintrc index d57741709a..3ebee9eea7 100644 --- a/packages/cra-template/.eslintrc +++ b/packages/ui/cra-template/.eslintrc @@ -1,9 +1,9 @@ { - "extends": "../../base.eslintrc", + "extends": "../../../base.eslintrc", "rules": { "node/no-unpublished-import": ["off"] }, "parserOptions": { - "project": "../../tsconfig.base.json" + "project": "../../../tsconfig.base.json" } } diff --git a/packages/cra-template/.gitignore b/packages/ui/cra-template/.gitignore similarity index 100% rename from packages/cra-template/.gitignore rename to packages/ui/cra-template/.gitignore diff --git a/packages/cra-template/.npmignore b/packages/ui/cra-template/.npmignore similarity index 100% rename from packages/cra-template/.npmignore rename to packages/ui/cra-template/.npmignore diff --git a/packages/cra-template/.prettierignore b/packages/ui/cra-template/.prettierignore similarity index 100% rename from packages/cra-template/.prettierignore rename to packages/ui/cra-template/.prettierignore diff --git a/packages/atomic/template/.prettierrc.cjs b/packages/ui/cra-template/.prettierrc.js similarity index 100% rename from packages/atomic/template/.prettierrc.cjs rename to packages/ui/cra-template/.prettierrc.js diff --git a/packages/cra-template/CHANGELOG.md b/packages/ui/cra-template/CHANGELOG.md similarity index 100% rename from packages/cra-template/CHANGELOG.md rename to packages/ui/cra-template/CHANGELOG.md diff --git a/packages/cra-template/LICENSE b/packages/ui/cra-template/LICENSE similarity index 100% rename from packages/cra-template/LICENSE rename to packages/ui/cra-template/LICENSE diff --git a/packages/cra-template/README.md b/packages/ui/cra-template/README.md similarity index 100% rename from packages/cra-template/README.md rename to packages/ui/cra-template/README.md diff --git a/packages/cra-template/package.json b/packages/ui/cra-template/package.json similarity index 91% rename from packages/cra-template/package.json rename to packages/ui/cra-template/package.json index 0fc8ae7430..77d470cb7a 100644 --- a/packages/cra-template/package.json +++ b/packages/ui/cra-template/package.json @@ -3,7 +3,7 @@ "version": "1.35.12", "scripts": { "lint": "prettier --check . && eslint .", - "release:phase1": "node --experimental-specifier-resolution=node ../../scripts/releaseV2/phase1-bump-all-packages.mjs" + "release:phase1": "node --experimental-specifier-resolution=node ../../../scripts/releaseV2/phase1-bump-all-packages.mjs" }, "keywords": [ "react", @@ -15,7 +15,7 @@ "repository": { "type": "git", "url": "git@github.com:coveo/cli.git", - "directory": "packages/cra-template" + "directory": "packages/ui/cra-template" }, "license": "Apache-2.0", "engines": { diff --git a/packages/ui/cra-template/project.json b/packages/ui/cra-template/project.json new file mode 100644 index 0000000000..2dd75632ba --- /dev/null +++ b/packages/ui/cra-template/project.json @@ -0,0 +1,6 @@ +{ + "name": "cra-template", + "root": "packages/ui/cra-template", + "sourceRoot": "packages/ui/cra-template/template", + "projectType": "application" +} diff --git a/packages/cra-template/template.json b/packages/ui/cra-template/template.json similarity index 100% rename from packages/cra-template/template.json rename to packages/ui/cra-template/template.json diff --git a/packages/cra-template/template/.env.example b/packages/ui/cra-template/template/.env.example similarity index 100% rename from packages/cra-template/template/.env.example rename to packages/ui/cra-template/template/.env.example diff --git a/packages/cra-template/template/README.md b/packages/ui/cra-template/template/README.md similarity index 100% rename from packages/cra-template/template/README.md rename to packages/ui/cra-template/template/README.md diff --git a/packages/cra-template/template/gitignore b/packages/ui/cra-template/template/gitignore similarity index 100% rename from packages/cra-template/template/gitignore rename to packages/ui/cra-template/template/gitignore diff --git a/packages/cra-template/template/public/favicon.ico b/packages/ui/cra-template/template/public/favicon.ico similarity index 100% rename from packages/cra-template/template/public/favicon.ico rename to packages/ui/cra-template/template/public/favicon.ico diff --git a/packages/cra-template/template/public/index.html b/packages/ui/cra-template/template/public/index.html similarity index 100% rename from packages/cra-template/template/public/index.html rename to packages/ui/cra-template/template/public/index.html diff --git a/packages/cra-template/template/public/manifest.json b/packages/ui/cra-template/template/public/manifest.json similarity index 100% rename from packages/cra-template/template/public/manifest.json rename to packages/ui/cra-template/template/public/manifest.json diff --git a/packages/cra-template/template/scripts/clean-up.js b/packages/ui/cra-template/template/scripts/clean-up.js similarity index 100% rename from packages/cra-template/template/scripts/clean-up.js rename to packages/ui/cra-template/template/scripts/clean-up.js diff --git a/packages/cra-template/template/scripts/port-allocator.mjs b/packages/ui/cra-template/template/scripts/port-allocator.mjs similarity index 100% rename from packages/cra-template/template/scripts/port-allocator.mjs rename to packages/ui/cra-template/template/scripts/port-allocator.mjs diff --git a/packages/cra-template/template/scripts/setup-env.js b/packages/ui/cra-template/template/scripts/setup-env.js similarity index 100% rename from packages/cra-template/template/scripts/setup-env.js rename to packages/ui/cra-template/template/scripts/setup-env.js diff --git a/packages/cra-template/template/scripts/setup-server.js b/packages/ui/cra-template/template/scripts/setup-server.js similarity index 100% rename from packages/cra-template/template/scripts/setup-server.js rename to packages/ui/cra-template/template/scripts/setup-server.js diff --git a/packages/cra-template/template/scripts/start-server.js b/packages/ui/cra-template/template/scripts/start-server.js similarity index 100% rename from packages/cra-template/template/scripts/start-server.js rename to packages/ui/cra-template/template/scripts/start-server.js diff --git a/packages/cra-template/template/scripts/utils.js b/packages/ui/cra-template/template/scripts/utils.js similarity index 100% rename from packages/cra-template/template/scripts/utils.js rename to packages/ui/cra-template/template/scripts/utils.js diff --git a/packages/cra-template/template/src/App.css b/packages/ui/cra-template/template/src/App.css similarity index 100% rename from packages/cra-template/template/src/App.css rename to packages/ui/cra-template/template/src/App.css diff --git a/packages/cra-template/template/src/App.test.tsx b/packages/ui/cra-template/template/src/App.test.tsx similarity index 100% rename from packages/cra-template/template/src/App.test.tsx rename to packages/ui/cra-template/template/src/App.test.tsx diff --git a/packages/cra-template/template/src/App.tsx b/packages/ui/cra-template/template/src/App.tsx similarity index 100% rename from packages/cra-template/template/src/App.tsx rename to packages/ui/cra-template/template/src/App.tsx diff --git a/packages/cra-template/template/src/Components/Facet.css b/packages/ui/cra-template/template/src/Components/Facet.css similarity index 100% rename from packages/cra-template/template/src/Components/Facet.css rename to packages/ui/cra-template/template/src/Components/Facet.css diff --git a/packages/cra-template/template/src/Components/Facet.tsx b/packages/ui/cra-template/template/src/Components/Facet.tsx similarity index 100% rename from packages/cra-template/template/src/Components/Facet.tsx rename to packages/ui/cra-template/template/src/Components/Facet.tsx diff --git a/packages/cra-template/template/src/Components/FacetList.tsx b/packages/ui/cra-template/template/src/Components/FacetList.tsx similarity index 100% rename from packages/cra-template/template/src/Components/FacetList.tsx rename to packages/ui/cra-template/template/src/Components/FacetList.tsx diff --git a/packages/cra-template/template/src/Components/Hero.css b/packages/ui/cra-template/template/src/Components/Hero.css similarity index 100% rename from packages/cra-template/template/src/Components/Hero.css rename to packages/ui/cra-template/template/src/Components/Hero.css diff --git a/packages/cra-template/template/src/Components/Hero.tsx b/packages/ui/cra-template/template/src/Components/Hero.tsx similarity index 100% rename from packages/cra-template/template/src/Components/Hero.tsx rename to packages/ui/cra-template/template/src/Components/Hero.tsx diff --git a/packages/cra-template/template/src/Components/Pager.tsx b/packages/ui/cra-template/template/src/Components/Pager.tsx similarity index 100% rename from packages/cra-template/template/src/Components/Pager.tsx rename to packages/ui/cra-template/template/src/Components/Pager.tsx diff --git a/packages/cra-template/template/src/Components/QuerySummary.tsx b/packages/ui/cra-template/template/src/Components/QuerySummary.tsx similarity index 100% rename from packages/cra-template/template/src/Components/QuerySummary.tsx rename to packages/ui/cra-template/template/src/Components/QuerySummary.tsx diff --git a/packages/cra-template/template/src/Components/ResultList.tsx b/packages/ui/cra-template/template/src/Components/ResultList.tsx similarity index 100% rename from packages/cra-template/template/src/Components/ResultList.tsx rename to packages/ui/cra-template/template/src/Components/ResultList.tsx diff --git a/packages/cra-template/template/src/Components/ResultsPerPage.tsx b/packages/ui/cra-template/template/src/Components/ResultsPerPage.tsx similarity index 100% rename from packages/cra-template/template/src/Components/ResultsPerPage.tsx rename to packages/ui/cra-template/template/src/Components/ResultsPerPage.tsx diff --git a/packages/cra-template/template/src/Components/SearchBox.tsx b/packages/ui/cra-template/template/src/Components/SearchBox.tsx similarity index 100% rename from packages/cra-template/template/src/Components/SearchBox.tsx rename to packages/ui/cra-template/template/src/Components/SearchBox.tsx diff --git a/packages/cra-template/template/src/Components/SearchPage.tsx b/packages/ui/cra-template/template/src/Components/SearchPage.tsx similarity index 100% rename from packages/cra-template/template/src/Components/SearchPage.tsx rename to packages/ui/cra-template/template/src/Components/SearchPage.tsx diff --git a/packages/cra-template/template/src/Components/Sort.tsx b/packages/ui/cra-template/template/src/Components/Sort.tsx similarity index 100% rename from packages/cra-template/template/src/Components/Sort.tsx rename to packages/ui/cra-template/template/src/Components/Sort.tsx diff --git a/packages/cra-template/template/src/common/Engine.tsx b/packages/ui/cra-template/template/src/common/Engine.tsx similarity index 100% rename from packages/cra-template/template/src/common/Engine.tsx rename to packages/ui/cra-template/template/src/common/Engine.tsx diff --git a/packages/cra-template/template/src/common/engineContext.ts b/packages/ui/cra-template/template/src/common/engineContext.ts similarity index 100% rename from packages/cra-template/template/src/common/engineContext.ts rename to packages/ui/cra-template/template/src/common/engineContext.ts diff --git a/packages/cra-template/template/src/coveologo.svg b/packages/ui/cra-template/template/src/coveologo.svg similarity index 100% rename from packages/cra-template/template/src/coveologo.svg rename to packages/ui/cra-template/template/src/coveologo.svg diff --git a/packages/cra-template/template/src/index.css b/packages/ui/cra-template/template/src/index.css similarity index 100% rename from packages/cra-template/template/src/index.css rename to packages/ui/cra-template/template/src/index.css diff --git a/packages/cra-template/template/src/index.tsx b/packages/ui/cra-template/template/src/index.tsx similarity index 100% rename from packages/cra-template/template/src/index.tsx rename to packages/ui/cra-template/template/src/index.tsx diff --git a/packages/cra-template/template/src/logo.svg b/packages/ui/cra-template/template/src/logo.svg similarity index 100% rename from packages/cra-template/template/src/logo.svg rename to packages/ui/cra-template/template/src/logo.svg diff --git a/packages/cra-template/template/src/setupTests.ts b/packages/ui/cra-template/template/src/setupTests.ts similarity index 100% rename from packages/cra-template/template/src/setupTests.ts rename to packages/ui/cra-template/template/src/setupTests.ts diff --git a/packages/cra-template/template/src/theme.tsx b/packages/ui/cra-template/template/src/theme.tsx similarity index 100% rename from packages/cra-template/template/src/theme.tsx rename to packages/ui/cra-template/template/src/theme.tsx diff --git a/packages/cra-template/template/svg.d.ts b/packages/ui/cra-template/template/svg.d.ts similarity index 100% rename from packages/cra-template/template/svg.d.ts rename to packages/ui/cra-template/template/svg.d.ts diff --git a/packages/search-token-lambda/.env.example b/packages/ui/search-token-lambda/.env.example similarity index 100% rename from packages/search-token-lambda/.env.example rename to packages/ui/search-token-lambda/.env.example diff --git a/packages/search-token-lambda/.eslintrc.json b/packages/ui/search-token-lambda/.eslintrc.json similarity index 100% rename from packages/search-token-lambda/.eslintrc.json rename to packages/ui/search-token-lambda/.eslintrc.json diff --git a/packages/search-token-lambda/.gitignore b/packages/ui/search-token-lambda/.gitignore similarity index 100% rename from packages/search-token-lambda/.gitignore rename to packages/ui/search-token-lambda/.gitignore diff --git a/packages/search-token-lambda/.npmignore b/packages/ui/search-token-lambda/.npmignore similarity index 100% rename from packages/search-token-lambda/.npmignore rename to packages/ui/search-token-lambda/.npmignore diff --git a/packages/search-token-lambda/.prettierignore b/packages/ui/search-token-lambda/.prettierignore similarity index 100% rename from packages/search-token-lambda/.prettierignore rename to packages/ui/search-token-lambda/.prettierignore diff --git a/packages/search-token-lambda/CHANGELOG.md b/packages/ui/search-token-lambda/CHANGELOG.md similarity index 100% rename from packages/search-token-lambda/CHANGELOG.md rename to packages/ui/search-token-lambda/CHANGELOG.md diff --git a/packages/search-token-lambda/LICENSE b/packages/ui/search-token-lambda/LICENSE similarity index 100% rename from packages/search-token-lambda/LICENSE rename to packages/ui/search-token-lambda/LICENSE diff --git a/packages/search-token-lambda/README.md b/packages/ui/search-token-lambda/README.md similarity index 100% rename from packages/search-token-lambda/README.md rename to packages/ui/search-token-lambda/README.md diff --git a/packages/search-token-lambda/functions/token/areEnvironmentVariablesSet.ts b/packages/ui/search-token-lambda/functions/token/areEnvironmentVariablesSet.ts similarity index 100% rename from packages/search-token-lambda/functions/token/areEnvironmentVariablesSet.ts rename to packages/ui/search-token-lambda/functions/token/areEnvironmentVariablesSet.ts diff --git a/packages/search-token-lambda/functions/token/generateToken.ts b/packages/ui/search-token-lambda/functions/token/generateToken.ts similarity index 100% rename from packages/search-token-lambda/functions/token/generateToken.ts rename to packages/ui/search-token-lambda/functions/token/generateToken.ts diff --git a/packages/search-token-lambda/functions/token/token.spec.ts b/packages/ui/search-token-lambda/functions/token/token.spec.ts similarity index 100% rename from packages/search-token-lambda/functions/token/token.spec.ts rename to packages/ui/search-token-lambda/functions/token/token.spec.ts diff --git a/packages/search-token-lambda/functions/token/token.ts b/packages/ui/search-token-lambda/functions/token/token.ts similarity index 100% rename from packages/search-token-lambda/functions/token/token.ts rename to packages/ui/search-token-lambda/functions/token/token.ts diff --git a/packages/search-token-lambda/jest.config.js b/packages/ui/search-token-lambda/jest.config.js similarity index 100% rename from packages/search-token-lambda/jest.config.js rename to packages/ui/search-token-lambda/jest.config.js diff --git a/packages/search-token-lambda/netlify.toml b/packages/ui/search-token-lambda/netlify.toml similarity index 100% rename from packages/search-token-lambda/netlify.toml rename to packages/ui/search-token-lambda/netlify.toml diff --git a/packages/search-token-lambda/package.json b/packages/ui/search-token-lambda/package.json similarity index 88% rename from packages/search-token-lambda/package.json rename to packages/ui/search-token-lambda/package.json index dc0de86e8a..eee832406d 100644 --- a/packages/search-token-lambda/package.json +++ b/packages/ui/search-token-lambda/package.json @@ -6,13 +6,13 @@ "repository": { "type": "git", "url": "git@github.com:coveo/cli.git", - "directory": "packages/search-token-lambda" + "directory": "packages/ui/search-token-lambda" }, "scripts": { "start": "netlify functions:serve", "test": "jest", "test:watch": "jest --watch", - "release:phase1": "node --experimental-specifier-resolution=node ../../scripts/releaseV2/phase1-bump-all-packages.mjs" + "release:phase1": "node --experimental-specifier-resolution=node ../../../scripts/releaseV2/phase1-bump-all-packages.mjs" }, "dependencies": { "@coveord/platform-client": "34.13.0", diff --git a/packages/ui/search-token-lambda/project.json b/packages/ui/search-token-lambda/project.json new file mode 100644 index 0000000000..09e0c31344 --- /dev/null +++ b/packages/ui/search-token-lambda/project.json @@ -0,0 +1,6 @@ +{ + "name": "search-token-lambda", + "root": "packages/ui/search-token-lambda", + "sourceRoot": "packages/ui/search-token-lambda/functions", + "projectType": "library" +} diff --git a/packages/search-token-lambda/tsconfig.json b/packages/ui/search-token-lambda/tsconfig.json similarity index 100% rename from packages/search-token-lambda/tsconfig.json rename to packages/ui/search-token-lambda/tsconfig.json diff --git a/packages/search-token-server/.env.example b/packages/ui/search-token-server/.env.example similarity index 100% rename from packages/search-token-server/.env.example rename to packages/ui/search-token-server/.env.example diff --git a/packages/search-token-server/.eslintrc.json b/packages/ui/search-token-server/.eslintrc.json similarity index 100% rename from packages/search-token-server/.eslintrc.json rename to packages/ui/search-token-server/.eslintrc.json diff --git a/packages/search-token-server/.gitignore b/packages/ui/search-token-server/.gitignore similarity index 100% rename from packages/search-token-server/.gitignore rename to packages/ui/search-token-server/.gitignore diff --git a/packages/search-token-server/.npmignore b/packages/ui/search-token-server/.npmignore similarity index 100% rename from packages/search-token-server/.npmignore rename to packages/ui/search-token-server/.npmignore diff --git a/packages/search-token-server/.prettierignore b/packages/ui/search-token-server/.prettierignore similarity index 100% rename from packages/search-token-server/.prettierignore rename to packages/ui/search-token-server/.prettierignore diff --git a/packages/search-token-server/CHANGELOG.md b/packages/ui/search-token-server/CHANGELOG.md similarity index 100% rename from packages/search-token-server/CHANGELOG.md rename to packages/ui/search-token-server/CHANGELOG.md diff --git a/packages/search-token-server/LICENSE b/packages/ui/search-token-server/LICENSE similarity index 100% rename from packages/search-token-server/LICENSE rename to packages/ui/search-token-server/LICENSE diff --git a/packages/search-token-server/README.md b/packages/ui/search-token-server/README.md similarity index 100% rename from packages/search-token-server/README.md rename to packages/ui/search-token-server/README.md diff --git a/packages/search-token-server/app.ts b/packages/ui/search-token-server/app.ts similarity index 100% rename from packages/search-token-server/app.ts rename to packages/ui/search-token-server/app.ts diff --git a/packages/search-token-server/jest.config.js b/packages/ui/search-token-server/jest.config.js similarity index 100% rename from packages/search-token-server/jest.config.js rename to packages/ui/search-token-server/jest.config.js diff --git a/packages/search-token-server/middlewares/environmentCheck.ts b/packages/ui/search-token-server/middlewares/environmentCheck.ts similarity index 100% rename from packages/search-token-server/middlewares/environmentCheck.ts rename to packages/ui/search-token-server/middlewares/environmentCheck.ts diff --git a/packages/search-token-server/middlewares/errorHandler.ts b/packages/ui/search-token-server/middlewares/errorHandler.ts similarity index 100% rename from packages/search-token-server/middlewares/errorHandler.ts rename to packages/ui/search-token-server/middlewares/errorHandler.ts diff --git a/packages/search-token-server/middlewares/searchToken.ts b/packages/ui/search-token-server/middlewares/searchToken.ts similarity index 100% rename from packages/search-token-server/middlewares/searchToken.ts rename to packages/ui/search-token-server/middlewares/searchToken.ts diff --git a/packages/search-token-server/package.json b/packages/ui/search-token-server/package.json similarity index 91% rename from packages/search-token-server/package.json rename to packages/ui/search-token-server/package.json index 4a9a2e752c..0ff193ef53 100644 --- a/packages/search-token-server/package.json +++ b/packages/ui/search-token-server/package.json @@ -6,7 +6,7 @@ "repository": { "type": "git", "url": "git@github.com:coveo/cli.git", - "directory": "packages/search-token-server" + "directory": "packages/ui/search-token-server" }, "dependencies": { "@coveord/platform-client": "34.13.0", @@ -25,7 +25,7 @@ "scripts": { "start": "ts-node server.ts", "test": "jest", - "release:phase1": "node --experimental-specifier-resolution=node ../../scripts/releaseV2/phase1-bump-all-packages.mjs" + "release:phase1": "node --experimental-specifier-resolution=node ../../../scripts/releaseV2/phase1-bump-all-packages.mjs" }, "devDependencies": { "@babel/core": "7.19.1", diff --git a/packages/ui/search-token-server/project.json b/packages/ui/search-token-server/project.json new file mode 100644 index 0000000000..6eae4e207b --- /dev/null +++ b/packages/ui/search-token-server/project.json @@ -0,0 +1,6 @@ +{ + "name": "search-token-server", + "root": "packages/ui/search-token-server", + "sourceRoot": "packages/ui/search-token-server/", + "projectType": "library" +} diff --git a/packages/search-token-server/server.spec.ts b/packages/ui/search-token-server/server.spec.ts similarity index 100% rename from packages/search-token-server/server.spec.ts rename to packages/ui/search-token-server/server.spec.ts diff --git a/packages/search-token-server/server.ts b/packages/ui/search-token-server/server.ts similarity index 100% rename from packages/search-token-server/server.ts rename to packages/ui/search-token-server/server.ts diff --git a/packages/search-token-server/tsconfig.json b/packages/ui/search-token-server/tsconfig.json similarity index 100% rename from packages/search-token-server/tsconfig.json rename to packages/ui/search-token-server/tsconfig.json diff --git a/packages/vue-cli-plugin-typescript/.eslintignore b/packages/ui/vue-cli-plugin-typescript/.eslintignore similarity index 100% rename from packages/vue-cli-plugin-typescript/.eslintignore rename to packages/ui/vue-cli-plugin-typescript/.eslintignore diff --git a/packages/vue-cli-plugin-typescript/.eslintrc b/packages/ui/vue-cli-plugin-typescript/.eslintrc similarity index 75% rename from packages/vue-cli-plugin-typescript/.eslintrc rename to packages/ui/vue-cli-plugin-typescript/.eslintrc index e107648084..996e115157 100644 --- a/packages/vue-cli-plugin-typescript/.eslintrc +++ b/packages/ui/vue-cli-plugin-typescript/.eslintrc @@ -1,5 +1,5 @@ { - "extends": "../../base.eslintrc", + "extends": "../../../base.eslintrc", "rules": { "node/no-unpublished-import": ["off"] }, diff --git a/packages/vue-cli-plugin-typescript/.gitignore b/packages/ui/vue-cli-plugin-typescript/.gitignore similarity index 100% rename from packages/vue-cli-plugin-typescript/.gitignore rename to packages/ui/vue-cli-plugin-typescript/.gitignore diff --git a/packages/vue-cli-plugin-typescript/.npmignore b/packages/ui/vue-cli-plugin-typescript/.npmignore similarity index 100% rename from packages/vue-cli-plugin-typescript/.npmignore rename to packages/ui/vue-cli-plugin-typescript/.npmignore diff --git a/packages/vue-cli-plugin-typescript/.prettierignore b/packages/ui/vue-cli-plugin-typescript/.prettierignore similarity index 100% rename from packages/vue-cli-plugin-typescript/.prettierignore rename to packages/ui/vue-cli-plugin-typescript/.prettierignore diff --git a/packages/ui/vue-cli-plugin-typescript/.prettierrc.js b/packages/ui/vue-cli-plugin-typescript/.prettierrc.js new file mode 100644 index 0000000000..9812b49c01 --- /dev/null +++ b/packages/ui/vue-cli-plugin-typescript/.prettierrc.js @@ -0,0 +1,5 @@ +const base = require('../../../.prettierrc'); + +module.exports = { + ...base, +}; diff --git a/packages/vue-cli-plugin-typescript/CHANGELOG.md b/packages/ui/vue-cli-plugin-typescript/CHANGELOG.md similarity index 100% rename from packages/vue-cli-plugin-typescript/CHANGELOG.md rename to packages/ui/vue-cli-plugin-typescript/CHANGELOG.md diff --git a/packages/vue-cli-plugin-typescript/LICENSE b/packages/ui/vue-cli-plugin-typescript/LICENSE similarity index 100% rename from packages/vue-cli-plugin-typescript/LICENSE rename to packages/ui/vue-cli-plugin-typescript/LICENSE diff --git a/packages/vue-cli-plugin-typescript/README.md b/packages/ui/vue-cli-plugin-typescript/README.md similarity index 100% rename from packages/vue-cli-plugin-typescript/README.md rename to packages/ui/vue-cli-plugin-typescript/README.md diff --git a/packages/vue-cli-plugin-typescript/generator/index.js b/packages/ui/vue-cli-plugin-typescript/generator/index.js similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/index.js rename to packages/ui/vue-cli-plugin-typescript/generator/index.js diff --git a/packages/vue-cli-plugin-typescript/generator/template/README.md b/packages/ui/vue-cli-plugin-typescript/generator/template/README.md similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/README.md rename to packages/ui/vue-cli-plugin-typescript/generator/template/README.md diff --git a/packages/vue-cli-plugin-typescript/generator/template/_env b/packages/ui/vue-cli-plugin-typescript/generator/template/_env similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/_env rename to packages/ui/vue-cli-plugin-typescript/generator/template/_env diff --git a/packages/vue-cli-plugin-typescript/generator/template/_env.example b/packages/ui/vue-cli-plugin-typescript/generator/template/_env.example similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/_env.example rename to packages/ui/vue-cli-plugin-typescript/generator/template/_env.example diff --git a/packages/vue-cli-plugin-typescript/generator/template/_eslintignore b/packages/ui/vue-cli-plugin-typescript/generator/template/_eslintignore similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/_eslintignore rename to packages/ui/vue-cli-plugin-typescript/generator/template/_eslintignore diff --git a/packages/vue-cli-plugin-typescript/generator/template/scripts/port-allocator.mjs b/packages/ui/vue-cli-plugin-typescript/generator/template/scripts/port-allocator.mjs similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/scripts/port-allocator.mjs rename to packages/ui/vue-cli-plugin-typescript/generator/template/scripts/port-allocator.mjs diff --git a/packages/vue-cli-plugin-typescript/generator/template/scripts/setup-server.js b/packages/ui/vue-cli-plugin-typescript/generator/template/scripts/setup-server.js similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/scripts/setup-server.js rename to packages/ui/vue-cli-plugin-typescript/generator/template/scripts/setup-server.js diff --git a/packages/vue-cli-plugin-typescript/generator/template/scripts/start-server.js b/packages/ui/vue-cli-plugin-typescript/generator/template/scripts/start-server.js similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/scripts/start-server.js rename to packages/ui/vue-cli-plugin-typescript/generator/template/scripts/start-server.js diff --git a/packages/vue-cli-plugin-typescript/generator/template/scripts/utils.js b/packages/ui/vue-cli-plugin-typescript/generator/template/scripts/utils.js similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/scripts/utils.js rename to packages/ui/vue-cli-plugin-typescript/generator/template/scripts/utils.js diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/App.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/App.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/App.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/App.vue diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/EngineService.ts b/packages/ui/vue-cli-plugin-typescript/generator/template/src/EngineService.ts similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/EngineService.ts rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/EngineService.ts diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/assets/logo.png b/packages/ui/vue-cli-plugin-typescript/generator/template/src/assets/logo.png similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/assets/logo.png rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/assets/logo.png diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/components/Facet.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/components/Facet.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/components/Facet.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/components/Facet.vue diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/components/FacetValue.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/components/FacetValue.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/components/FacetValue.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/components/FacetValue.vue diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/components/Facets.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/components/Facets.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/components/Facets.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/components/Facets.vue diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/components/Hero.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/components/Hero.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/components/Hero.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/components/Hero.vue diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/components/Pager.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/components/Pager.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/components/Pager.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/components/Pager.vue diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/components/ResultLink.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/components/ResultLink.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/components/ResultLink.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/components/ResultLink.vue diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/components/ResultList.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/components/ResultList.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/components/ResultList.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/components/ResultList.vue diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/components/SearchBox.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/components/SearchBox.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/components/SearchBox.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/components/SearchBox.vue diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/components/SearchPage.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/components/SearchPage.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/components/SearchPage.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/components/SearchPage.vue diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/components/Summary.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/components/Summary.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/components/Summary.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/components/Summary.vue diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/router/index.ts b/packages/ui/vue-cli-plugin-typescript/generator/template/src/router/index.ts similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/router/index.ts rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/router/index.ts diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/styles/__variables.scss b/packages/ui/vue-cli-plugin-typescript/generator/template/src/styles/__variables.scss similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/styles/__variables.scss rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/styles/__variables.scss diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/utils/envUtils.ts b/packages/ui/vue-cli-plugin-typescript/generator/template/src/utils/envUtils.ts similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/utils/envUtils.ts rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/utils/envUtils.ts diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/views/Error.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/views/Error.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/views/Error.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/views/Error.vue diff --git a/packages/vue-cli-plugin-typescript/generator/template/src/views/Home.vue b/packages/ui/vue-cli-plugin-typescript/generator/template/src/views/Home.vue similarity index 100% rename from packages/vue-cli-plugin-typescript/generator/template/src/views/Home.vue rename to packages/ui/vue-cli-plugin-typescript/generator/template/src/views/Home.vue diff --git a/packages/vue-cli-plugin-typescript/index.js b/packages/ui/vue-cli-plugin-typescript/index.js similarity index 100% rename from packages/vue-cli-plugin-typescript/index.js rename to packages/ui/vue-cli-plugin-typescript/index.js diff --git a/packages/vue-cli-plugin-typescript/logo.png b/packages/ui/vue-cli-plugin-typescript/logo.png similarity index 100% rename from packages/vue-cli-plugin-typescript/logo.png rename to packages/ui/vue-cli-plugin-typescript/logo.png diff --git a/packages/vue-cli-plugin-typescript/package.json b/packages/ui/vue-cli-plugin-typescript/package.json similarity index 91% rename from packages/vue-cli-plugin-typescript/package.json rename to packages/ui/vue-cli-plugin-typescript/package.json index c67ba5c8df..f79bfa4760 100644 --- a/packages/vue-cli-plugin-typescript/package.json +++ b/packages/ui/vue-cli-plugin-typescript/package.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "scripts": { "lint": "prettier --check . && eslint .", - "release:phase1": "node --experimental-specifier-resolution=node ../../scripts/releaseV2/phase1-bump-all-packages.mjs" + "release:phase1": "node --experimental-specifier-resolution=node ../../../scripts/releaseV2/phase1-bump-all-packages.mjs" }, "devDependencies": { "@coveo/headless": "1.103.5", diff --git a/packages/ui/vue-cli-plugin-typescript/project.json b/packages/ui/vue-cli-plugin-typescript/project.json new file mode 100644 index 0000000000..ab421db69b --- /dev/null +++ b/packages/ui/vue-cli-plugin-typescript/project.json @@ -0,0 +1,6 @@ +{ + "name": "vue-cli-plugin-typescript", + "root": "packages/ui/vue-cli-plugin-typescript", + "sourceRoot": "packages/ui/vue-cli-plugin-typescript", + "projectType": "application" +} diff --git a/packages/vue-cli-plugin-typescript/tsconfig.components.json b/packages/ui/vue-cli-plugin-typescript/tsconfig.components.json similarity index 78% rename from packages/vue-cli-plugin-typescript/tsconfig.components.json rename to packages/ui/vue-cli-plugin-typescript/tsconfig.components.json index 4fa2594f27..ef8e6ea5a5 100644 --- a/packages/vue-cli-plugin-typescript/tsconfig.components.json +++ b/packages/ui/vue-cli-plugin-typescript/tsconfig.components.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../tsconfig.base.json", "compilerOptions": { "lib": ["DOM"], "typeRoots": ["./node_modules/@types"], diff --git a/packages/vue-cli-plugin-typescript/tsconfig.json b/packages/ui/vue-cli-plugin-typescript/tsconfig.json similarity index 78% rename from packages/vue-cli-plugin-typescript/tsconfig.json rename to packages/ui/vue-cli-plugin-typescript/tsconfig.json index 4fa2594f27..ef8e6ea5a5 100644 --- a/packages/vue-cli-plugin-typescript/tsconfig.json +++ b/packages/ui/vue-cli-plugin-typescript/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../tsconfig.base.json", "compilerOptions": { "lib": ["DOM"], "typeRoots": ["./node_modules/@types"], diff --git a/packages/vue-cli-plugin-typescript/typings/vue.d.ts b/packages/ui/vue-cli-plugin-typescript/typings/vue.d.ts similarity index 100% rename from packages/vue-cli-plugin-typescript/typings/vue.d.ts rename to packages/ui/vue-cli-plugin-typescript/typings/vue.d.ts diff --git a/packages/vue-cli-plugin-typescript/.prettierrc.js b/packages/vue-cli-plugin-typescript/.prettierrc.js deleted file mode 100644 index 2dc64b24a2..0000000000 --- a/packages/vue-cli-plugin-typescript/.prettierrc.js +++ /dev/null @@ -1,5 +0,0 @@ -const base = require('../../.prettierrc'); - -module.exports = { - ...base, -}; diff --git a/packages/vue-cli-plugin-typescript/project.json b/packages/vue-cli-plugin-typescript/project.json deleted file mode 100644 index b433cae245..0000000000 --- a/packages/vue-cli-plugin-typescript/project.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "vue-cli-plugin-typescript", - "root": "packages/vue-cli-plugin-typescript", - "sourceRoot": "packages/vue-cli-plugin-typescript", - "projectType": "application" -} diff --git a/vetur.config.js b/vetur.config.js index 4e0c3921fe..0dba83260b 100644 --- a/vetur.config.js +++ b/vetur.config.js @@ -11,7 +11,7 @@ module.exports = { }, projects: [ { - root: './packages/vue-cli-plugin-typescript', + root: './packages/ui/vue-cli-plugin-typescript', package: './package.json', tsconfig: './tsconfig.json', },