Skip to content

Commit

Permalink
Remove buildspec nx command package
Browse files Browse the repository at this point in the history
  • Loading branch information
parzival418 committed Dec 22, 2023
1 parent e5ff3a4 commit d19ed70
Show file tree
Hide file tree
Showing 18 changed files with 10 additions and 319 deletions.
32 changes: 0 additions & 32 deletions packages/nx/buildSpec/.eslintrc.json

This file was deleted.

11 changes: 0 additions & 11 deletions packages/nx/buildSpec/README.md

This file was deleted.

9 changes: 0 additions & 9 deletions packages/nx/buildSpec/executors.json

This file was deleted.

10 changes: 0 additions & 10 deletions packages/nx/buildSpec/jest.config.ts

This file was deleted.

14 changes: 0 additions & 14 deletions packages/nx/buildSpec/package.json

This file was deleted.

59 changes: 0 additions & 59 deletions packages/nx/buildSpec/project.json

This file was deleted.

15 changes: 0 additions & 15 deletions packages/nx/buildSpec/src/executors/buildSpec/executor.spec.ts

This file was deleted.

33 changes: 0 additions & 33 deletions packages/nx/buildSpec/src/executors/buildSpec/executor.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/nx/buildSpec/src/executors/buildSpec/schema.d.ts

This file was deleted.

18 changes: 0 additions & 18 deletions packages/nx/buildSpec/src/executors/buildSpec/schema.json

This file was deleted.

Empty file removed packages/nx/buildSpec/src/index.ts
Empty file.
69 changes: 0 additions & 69 deletions packages/nx/buildSpec/src/tools/generateNodeSpecs.ts

This file was deleted.

16 changes: 0 additions & 16 deletions packages/nx/buildSpec/tsconfig.json

This file was deleted.

10 changes: 0 additions & 10 deletions packages/nx/buildSpec/tsconfig.lib.json

This file was deleted.

14 changes: 0 additions & 14 deletions packages/nx/buildSpec/tsconfig.spec.json

This file was deleted.

7 changes: 5 additions & 2 deletions packages/server/redis-pubsub/src/lib/redis-pubsub-koa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ import { Application } from '@feathersjs/koa/lib'
import { RedisPubSub } from './redis-pubsub'
import { RedisClientOptions } from 'redis'

export const koaPubSub = async (options: RedisClientOptions = {}) => {
export const koaPubSub = async (
redisCloudUrl: string,
options: RedisClientOptions = {}
) => {
const pubsub = new RedisPubSub()

await pubsub.initialize(options)
await pubsub.initialize(redisCloudUrl, options)

return (app: Application) => {
app.set('pubsub', pubsub)
Expand Down
7 changes: 5 additions & 2 deletions packages/server/redis-pubsub/src/lib/redis-pubsub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@ export class RedisPubSub extends EventEmitter {
* Example:
* await redisPubSub.initialize({ /* RedisClientOptions *\/ });
*/
async initialize(_options: RedisClientOptions): Promise<void> {
async initialize(
redisCloudUrl: string,
_options: RedisClientOptions = {}
): Promise<void> {
const options: RedisClientOptions = {
..._options,
url: REDISCLOUD_URL,
url: redisCloudUrl,
socket: {
..._options?.socket,
reconnectStrategy: this.retryStrategy,
Expand Down
1 change: 0 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
],
"paths": {
"@magickml/agent": ["apps/agent/src/index.ts"],
"@magickml/buildSpec": ["packages/nx/buildSpec/src/index.ts"],
"@magickml/client": ["apps/client/src/index.ts"],
"@magickml/docs": ["apps/docs/src/index.ts"],
"@magickml/feathersRedux": [
Expand Down

0 comments on commit d19ed70

Please sign in to comment.