UNPKG

koatty_schedule

Version:
119 lines (98 loc) 7.8 kB
 > koatty_schedule@4.1.0 build /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule > pnpm run build:js && pnpm run build:dts && pnpm run build:doc && pnpm run build:cp > koatty_schedule@4.1.0 build:js /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule > tsup CLI Building entry: src/index.ts CLI Using tsconfig: tsconfig.json CLI tsup v8.5.1 CLI Using tsup config: /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule/tsup.config.ts CLI Target: node18 CLI Cleaning output folder CJS Build start ESM Build start ESM dist/index.mjs 42.51 KB ESM dist/index.mjs.map 99.19 KB ESM ⚡️ Build success in 371ms CJS dist/index.js 44.19 KB CJS dist/index.js.map 99.28 KB CJS ⚡️ Build success in 375ms > koatty_schedule@4.1.0 build:dts /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule > bash ../../scripts/build-dts.sh 🔨 Building type declarations for koatty-schedule... Waiting for dependencies to be ready... 🔍 Checking dependencies: koatty_container, koatty_core, koatty_lib, koatty_logger, koatty_store koatty_container type declarations ready koatty_core type declarations ready koatty_lib type declarations ready koatty_logger type declarations ready koatty_store type declarations ready All dependencies ready (waited 0ms) 📝 Running TypeScript compiler... src/locker/redlock.ts:85:20 - error TS2339: Property 'setExistingInstance' does not exist on type 'IContainer'. 85 IOCContainer.setExistingInstance(RedLockerClass, this);    ~~~~~~~~~~~~~~~~~~~ Found 1 error in src/locker/redlock.ts:85 ⚠️ TypeScript compilation had errors, but continuing... 📦 Running API Extractor...  api-extractor 7.55.2  - https://api-extractor.com/  Using configuration from ./api-extractor.json Analysis will use the bundled TypeScript version 5.8.2 *** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor. Writing: /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule/temp/koatty_schedule.api.json Writing package typings: /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule/dist/index.d.ts Warning: src/decorator/redlock.ts:18:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration Warning: src/decorator/redlock.ts:19:20 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets. Warning: src/decorator/redlock.ts:19:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' Warning: src/decorator/redlock.ts:22:34 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets. Warning: src/decorator/redlock.ts:22:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' Warning: src/decorator/redlock.ts:24:29 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag Warning: src/decorator/redlock.ts:24:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" Warning: src/decorator/redlock.ts:25:18 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag Warning: src/decorator/redlock.ts:25:12 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" Warning: src/decorator/redlock.ts:42:1 - (ae-forgotten-export) The symbol "RedLockMethodOptions" needs to be exported by the entry point index.d.ts Warning: src/decorator/scheduled.ts:18:4 - (tsdoc-undefined-tag) The TSDoc tag "@export" is not defined in this configuration Warning: src/decorator/scheduled.ts:19:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' Warning: src/decorator/scheduled.ts:20:20 - (tsdoc-param-tag-with-invalid-optional-name) The @param should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets. Warning: src/decorator/scheduled.ts:20:11 - (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}' Warning: src/decorator/scheduled.ts:30:29 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag Warning: src/decorator/scheduled.ts:30:13 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" Warning: src/decorator/scheduled.ts:31:18 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag Warning: src/decorator/scheduled.ts:31:12 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" Warning: src/index.ts:63:1 - (ae-forgotten-export) The symbol "ScheduledOptions" needs to be exported by the entry point index.d.ts Warning: src/locker/interface.ts:50:1 - (ae-forgotten-export) The symbol "BaseRedisConfig" needs to be exported by the entry point index.d.ts Warning: src/locker/redlock.ts:79:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration Warning: src/locker/redlock.ts:94:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration Warning: src/locker/redlock.ts:130:6 - (tsdoc-undefined-tag) The TSDoc tag "@static" is not defined in this configuration Warning: src/locker/redlock.ts:144:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration Warning: src/locker/redlock.ts:175:6 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration API Extractor completed successfully  Type declarations built successfully > koatty_schedule@4.1.0 build:doc /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule > api-documenter markdown --input temp --output docs/api api-documenter 7.28.2  - https://api-extractor.com/  Reading koatty_schedule.api.json Deleting old output from docs/api Writing koatty_schedule package Unsupported block tag: @export Unsupported block tag: @static Unsupported block tag: @private Unsupported block tag: @static Unsupported block tag: @static Unsupported block tag: @private Unsupported block tag: @static Unsupported block tag: @export Unsupported block tag: @export Unsupported block tag: @export > koatty_schedule@4.1.0 build:cp /Volumes/ExternalSSD/Users/richen/Workspace/nodejs/koatty-monorepo/packages/koatty-schedule > node ../../scripts/postBuild.js 📦 postBuild: koatty-schedule Copied package.json to dist/ Copied LICENSE to dist/ Copied README.md to dist/ Fixed paths in dist/package.json Cleaned DTS declarations Done