From ca2c8620b5589a29c2162785bc510713e67514ad Mon Sep 17 00:00:00 2001 From: Ryan Pope Date: Tue, 25 Jun 2024 14:53:28 -0400 Subject: [PATCH] remove some log files --- packages/chat-core/.turbo/turbo-build.log | 55 ------ packages/chat-core/.turbo/turbo-test.log | 230 ---------------------- 2 files changed, 285 deletions(-) delete mode 100644 packages/chat-core/.turbo/turbo-build.log delete mode 100644 packages/chat-core/.turbo/turbo-test.log diff --git a/packages/chat-core/.turbo/turbo-build.log b/packages/chat-core/.turbo/turbo-build.log deleted file mode 100644 index 0d85e25..0000000 --- a/packages/chat-core/.turbo/turbo-build.log +++ /dev/null @@ -1,55 +0,0 @@ - -> @yext/chat-core@0.8.0 build -> rm -rf dist/** && npm run build:js && npm run generate-docs && npm run generate-notices - - -> @yext/chat-core@0.8.0 build:js -> rollup --config ../../rollup.config.mjs - - -src/index.ts → ./dist/esm, ./dist/commonjs... -(!) Unresolved dependencies -https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency -cross-fetch (imported by "src/http/utils.ts") -created ./dist/esm, ./dist/commonjs in 664ms - -> @yext/chat-core@0.8.0 generate-docs -> api-extractor run --local --verbose && api-documenter markdown --input-folder temp --output-folder docs && rm -rf temp - - -api-extractor 7.34.8  - https://api-extractor.com/ - -Using configuration from ./api-extractor.json -Analysis will use the bundled TypeScript version 4.8.4 -*** The target project appears to use TypeScript 5.0.4 which is newer than the bundled compiler engine; consider upgrading API Extractor. -Writing: /Users/rpope/chat-core/packages/chat-core/temp/chat-core.api.json -The API report is up to date: temp/chat-core.api.md -Writing package typings: /Users/rpope/chat-core/packages/chat-core/dist/bundle.d.ts - -API Extractor completed successfully - -api-documenter 7.22.4  - https://api-extractor.com/ - -Reading chat-core.api.json - -Deleting old output from docs -Writing @yext/chat-core package - -> @yext/chat-core@0.8.0 generate-notices -> ../../generate-notices.sh - -copying package /Users/rpope/chat-core/packages/chat-core to /Users/rpope/chat-core/temp -[?25l(#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠏ idealTree: timing idealTree Completed in 191ms (#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠹ reify:chalk: sill audit bulk request { (#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠹ reify:chalk: sill audit bulk request { (#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠹ reify:chalk: sill audit bulk request { (#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠹ reify:chalk: sill audit bulk request { (#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠹ reify:chalk: sill audit bulk request { (#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠹ reify:chalk: sill audit bulk request { (#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠹ reify:chalk: sill audit bulk request { (#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠹ reify:chalk: sill audit bulk request { (#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠴ reify:natural-compare-lite: timing reifyNode:node_modules/natural-compare Completed in 1109ms [?25hnpm WARN deprecated readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs -[?25l(#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠋ reify:merge2: timing reifyNode:node_modules/merge-stream Completed in 1164ms (##########⠂⠂⠂⠂⠂⠂⠂⠂) ⠇ reify:path-type: timing reifyNode:node_modules/pkg-dir Completed in 1219ms (############⠂⠂⠂⠂⠂⠂) ⠴ reify:which: timing reifyNode:node_modules/@microsoft/api-extractor/node_modules/yallist Completed in 1260ms (##############⠂⠂⠂⠂) ⠸ reify:supports-preserve-symlinks-flag: timing reifyNode:node_modules/symbol-tree Completed in 1333ms (###############⠂⠂⠂) ⠦ reify:has-tostringtag: timing reifyNode:node_modules/istanbul-lib-instrument Completed in 1372ms (################⠂⠂) ⠹ reify:jest-cli: timing reifyNode:node_modules/jest-diff Completed in 1424ms (#################⠂) ⠏ reify:babel-plugin-polyfill-corejs3: timing reifyNode:node_modules/commander Completed in 1462ms (#################⠂) ⠏ reify:inquirer: timing reifyNode:node_modules/external-editor/node_modules/iconv-lite Completed in 1517ms (#################⠂) ⠸ reify:@sinonjs/commons: timing reifyNode:node_modules/license-checker Completed in 1573ms (#################⠂) ⠸ reify:fast-glob: timing reifyNode:node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml Completed in 1605ms (#################⠂) ⠋ reify:istanbul-reports: timing reifyNode:node_modules/language-subtag-registry Completed in 1671ms (##################) ⠇ reify:jsx-ast-utils: timing reifyNode:node_modules/eslint-plugin-jest Completed in 1710ms (##################) ⠦ reify:parse5: timing reifyNode:node_modules/z-schema Completed in 1741ms (##################) ⠇ reify:rollup: timing reifyNode:node_modules/@microsoft/tsdoc-config/node_modules/resolve Completed in 1799ms (##################) ⠇ reify:@rushstack/node-core-library: timing reifyNode:node_modules/@microsoft/tsdoc-config Completed in 1843ms (##################) ⠋ reify:@microsoft/api-extractor-model: timing reifyNode:node_modules/validator Completed in 1906ms (##################) ⠏ reify:@microsoft/api-extractor: timing reifyNode:node_modules/js-sdsl Completed in 1938ms (##################) ⠙ reify:@babel/types: timing reifyNode:node_modules/@types/node Completed in 1967ms (##################) ⠹ reify:regenerate-unicode-properties: timing reifyNode:node_modules/@babel/types Completed in 1972ms (##################) ⠦ reify:regenerate-unicode-properties: timing reifyNode:node_modules/@babel/types Completed in 1972ms (##################) ⠧ reify:regenerate-unicode-properties: timing reifyNode:node_modules/@babel/types Completed in 1972ms (##################) ⠧ reify:@typescript-eslint/scope-manager: timing metavuln:calculate:security-advisory:license-checker:YpN6YES21bdtFcj77J4gyDAcoFtVQs6y6pK52a0QXHM6ITX (##################) ⠋ reify:@typescript-eslint/eslint-plugin: timing reifyNode:node_modules/prettier Completed in 2312ms (##################) ⠦ reify:caniuse-lite: timing reifyNode:node_modules/jsdom Completed in 2326ms (##################) ⠸ reify:lodash: timing metavuln:calculate:security-advisory:@babel/core:kLhLQnP21N6OFzGJSANM8eC6hFCcopzyUhm8uDZ99RfD0Dl9JFpk3UCfW65llArwKKLEaJa4kjbB6 (##################) ⠹ reify:es-abstract: timing reifyNode:node_modules/lodash Completed in 2388ms (##################) ⠹ reify:es-abstract: timing reifyNode:node_modules/lodash Completed in 2388ms (##################) ⠋ reify:es-abstract: timing reifyNode:node_modules/lodash Completed in 2388ms (##################) ⠙ reify:typescript: timing metavuln:calculate:security-advisory:istanbul-lib-instrument:kLhLQnP21N6OFzGJSANM8eC6hFCcopzyUhm8uDZ99RfD0Dl9JFpk3UCfW65ll (##################) ⠸ reify:rxjs: timing reifyNode:node_modules/typescript Completed in 2578ms (##################) ⠦ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠧ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠧ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠏ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠏ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠏ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠸ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠸ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠸ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠸ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠸ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠸ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠸ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠸ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i (##################) ⠧ reify:typescript: timing metavuln:cache:get:security-advisory:micromatch:RoARH2X7RHPoHBWE7/6WeCy3B8g2NLWBJLumV3gHV2EMtIHOkkrq6KDxLR5piJOh7ezJtre33i [?25h -added 781 packages, changed 5 packages, and audited 794 packages in 4s - -129 packages are looking for funding - run `npm fund` for details - -9 vulnerabilities (7 moderate, 2 high) - -To address all issues, run: - npm audit fix - -Run `npm audit` for details. -[?25l▐⠂ ▌ Resolving licenses...▐⠈ ▌ Resolving licenses...▐ ⠂ ▌ Resolving licenses...▐ ⠠ ▌ Resolving licenses...[?25h[?25h diff --git a/packages/chat-core/.turbo/turbo-test.log b/packages/chat-core/.turbo/turbo-test.log deleted file mode 100644 index e218146..0000000 --- a/packages/chat-core/.turbo/turbo-test.log +++ /dev/null @@ -1,230 +0,0 @@ - -> @yext/chat-core@0.8.0 test -> jest --config=jest.config.json - -Determining test suites to run... -   -   - RUNS  tests/infra/StreamResponse.test.ts -     - RUNS  tests/infra/StreamResponse.test.ts -     - RUNS  tests/infra/StreamResponse.test.ts -     - RUNS  tests/infra/StreamResponse.test.ts -     - RUNS  tests/infra/StreamResponse.test.ts -     - RUNS  tests/infra/StreamResponse.test.ts -     - RUNS  tests/infra/StreamResponse.test.ts -     - RUNS  tests/infra/StreamResponse.test.ts -     - RUNS  tests/infra/StreamResponse.test.ts -     - RUNS  tests/infra/StreamResponse.test.ts -     - RUNS  tests/infra/StreamResponse.test.ts -     - RUNS  tests/infra/StreamResponse.test.ts -     PASS  tests/infra/StreamResponse.test.ts - - RUNS  tests/infra/StreamResponse.test.ts -     ✓ allows for enum or string to register for the same event - - RUNS  tests/infra/StreamResponse.test.ts -     ✓ handles multiple stream events in one message - - RUNS  tests/infra/StreamResponse.test.ts -     ✓ handles stream event split into multiple data chunks (1 ms) - - RUNS  tests/infra/StreamResponse.test.ts -     ✓ log error on unknown stream event - - RUNS  tests/infra/StreamResponse.test.ts -     ✓ log error on unnamed stream event - - RUNS  tests/infra/StreamResponse.test.ts -     ✓ log error when attempt to read stream data multiple times - - RUNS  tests/infra/StreamResponse.test.ts -     ✓ rejects when response have a non-successful status code (11 ms) - - RUNS  tests/infra/StreamResponse.test.ts -     ✓ rejects when error occurs while reading Web stream from response (4 ms) - - RUNS  tests/infra/StreamResponse.test.ts -     ✓ rejects when error occurs while reading Node stream from response (1 ms) - - RUNS  tests/infra/StreamResponse.test.ts -     process data from stream with event listeners as expected - - RUNS  tests/infra/StreamResponse.test.ts -     ✓ works as expected with Web Stream API (3 ms) - - RUNS  tests/infra/StreamResponse.test.ts -     ✓ works as expected with NodeJS Stream API (1 ms) - - RUNS  tests/infra/StreamResponse.test.ts -     - - RUNS  tests/infra/StreamResponse.test.ts -     - RUNS  tests/ChatCore.test.ts -     - RUNS  tests/ChatCore.test.ts -     - RUNS  tests/ChatCore.test.ts -     - RUNS  tests/ChatCore.test.ts -     - RUNS  tests/ChatCore.test.ts -     - RUNS  tests/ChatCore.test.ts -     - RUNS  tests/ChatCore.test.ts -     - RUNS  tests/ChatCore.test.ts -     - RUNS  tests/ChatCore.test.ts -     - RUNS  tests/ChatCore.test.ts -     PASS  tests/ChatCore.test.ts - - RUNS  tests/ChatCore.test.ts -     ✓ returns message response on successful API response (1 ms) - - RUNS  tests/ChatCore.test.ts -     ✓ returns rejected promise on a failed API response (12 ms) - - RUNS  tests/ChatCore.test.ts -     URL and http request construction - - RUNS  tests/ChatCore.test.ts -     ✓ sets default endpoint and businessId when not specified for Chat API - - RUNS  tests/ChatCore.test.ts -     ✓ sets default endpoint and businessId when not specified for Chat Stream API (1 ms) - - RUNS  tests/ChatCore.test.ts -     ✓ sets custom endpoints when specified for Chat API - - RUNS  tests/ChatCore.test.ts -     ✓ sets custom endpoints when specified for Chat Stream API - - RUNS  tests/ChatCore.test.ts -     ✓ sets custom version when specified for Chat API - - RUNS  tests/ChatCore.test.ts -     ✓ sets custom version when specified for Chat Stream API - - RUNS  tests/ChatCore.test.ts -     - - RUNS  tests/ChatCore.test.ts -     - RUNS  tests/validation/ApiResponseValidator.test.ts -     - RUNS  tests/validation/ApiResponseValidator.test.ts -     - RUNS  tests/validation/ApiResponseValidator.test.ts -     - RUNS  tests/validation/ApiResponseValidator.test.ts -     - RUNS  tests/validation/ApiResponseValidator.test.ts -     PASS  tests/validation/ApiResponseValidator.test.ts - - RUNS  tests/validation/ApiResponseValidator.test.ts -     ✓ passes for a response with no errors - - RUNS  tests/validation/ApiResponseValidator.test.ts -     ✓ fails for a response without a response property - - RUNS  tests/validation/ApiResponseValidator.test.ts -     ✓ fails for a response without a meta property - - RUNS  tests/validation/ApiResponseValidator.test.ts -     ✓ fails for a response with an API error - - RUNS  tests/validation/ApiResponseValidator.test.ts -     - - RUNS  tests/validation/ApiResponseValidator.test.ts -     - RUNS  tests/http/HttpService.test.ts -     - RUNS  tests/http/HttpService.test.ts -     - RUNS  tests/http/HttpService.test.ts -     - RUNS  tests/http/HttpService.test.ts -     PASS  tests/http/HttpService.test.ts - - RUNS  tests/http/HttpService.test.ts -     ✓ can make post requests in browser environment (3 ms) - - RUNS  tests/http/HttpService.test.ts -     ✓ can make post request in node environment - - RUNS  tests/http/HttpService.test.ts -     - - RUNS  tests/http/HttpService.test.ts -     - RUNS  tests/infra/EndPointFactory.test.ts -     - RUNS  tests/infra/EndPointFactory.test.ts -     - RUNS  tests/infra/EndPointFactory.test.ts -     - RUNS  tests/infra/EndPointFactory.test.ts -     - RUNS  tests/infra/EndPointFactory.test.ts -     - RUNS  tests/infra/EndPointFactory.test.ts -     PASS  tests/infra/EndPointFactory.test.ts - - RUNS  tests/infra/EndPointFactory.test.ts -     ✓ provides proper endpoint for default env, region, and businessId (2 ms) - - RUNS  tests/infra/EndPointFactory.test.ts -     ✓ provides proper endpoint for custom env - - RUNS  tests/infra/EndPointFactory.test.ts -     ✓ provides proper endpoint for custom region - - RUNS  tests/infra/EndPointFactory.test.ts -     ✓ provides proper endpoint for custom businessId (1 ms) - - RUNS  tests/infra/EndPointFactory.test.ts -     ✓ throws error on invalid region + env (6 ms) - - RUNS  tests/infra/EndPointFactory.test.ts -     - - RUNS  tests/infra/EndPointFactory.test.ts -    Running coverage on untested files...--------------------------|---------|----------|---------|---------|------------------- -File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ---------------------------|---------|----------|---------|---------|------------------- -All files  |  97.69 |  92.85 |  97.22 |  97.63 |   - src  |  66.66 |  100 |  50 |  66.66 |   - CoreProvider.ts  |  50 |  100 |  50 |  50 | 22  - constants.ts  |  100 |  100 |  100 |  100 |   - index.ts | 0 | 0 | 0 | 0 |   - src/http  |  100 |  100 |  100 |  100 |   - HttpService.ts  |  100 |  100 |  100 |  100 |   - utils.ts  |  100 |  100 |  100 |  100 |   - src/infra  |  98 |  90.74 |  100 |  97.93 |   - ChatCoreImpl.ts  |  100 |  85.71 |  100 |  100 | 57  - EndpointsFactory.ts  |  91.66 |  92.3 |  100 |  91.66 | 30  - StreamDataParser.ts  |  100 |  95 |  100 |  100 | 39  - StreamResponse.ts  |  97.36 |  85.71 |  100 |  97.14 | 76  - src/validation  |  100 |  100 |  100 |  100 |   - ApiResponseValidator.ts |  100 |  100 |  100 |  100 |   ---------------------------|---------|----------|---------|---------|------------------- -Test Suites: 5 passed, 5 total -Tests: 30 passed, 30 total -Snapshots: 0 total -Time: 0.879 s, estimated 1 s -Ran all test suites.