From 36fb1edfda6cf1209cc22e208498363dc8fd4904 Mon Sep 17 00:00:00 2001 From: Jojo Date: Mon, 27 May 2024 11:23:02 -0300 Subject: [PATCH 01/11] feat: add __example__ package to streamline a kickoff package --- packages/__example__/README.md | 3 +++ packages/__example__/package.json | 17 +++++++++++++++++ packages/__example__/src/index.ts | 3 +++ packages/__example__/tsconfig.json | 9 +++++++++ packages/__example__/vitest.config.ts | 11 +++++++++++ 5 files changed, 43 insertions(+) create mode 100644 packages/__example__/README.md create mode 100644 packages/__example__/package.json create mode 100644 packages/__example__/src/index.ts create mode 100644 packages/__example__/tsconfig.json create mode 100644 packages/__example__/vitest.config.ts diff --git a/packages/__example__/README.md b/packages/__example__/README.md new file mode 100644 index 0000000..08ddd1b --- /dev/null +++ b/packages/__example__/README.md @@ -0,0 +1,3 @@ +### Example Package + +Easily kickoff a package replicating this structure. \ No newline at end of file diff --git a/packages/__example__/package.json b/packages/__example__/package.json new file mode 100644 index 0000000..a225779 --- /dev/null +++ b/packages/__example__/package.json @@ -0,0 +1,17 @@ +{ + "name": "@hyperhub/example", + "private": true, + "version": "0.0.0", + "scripts": { + "build": "tsc -p tsconfig.json", + "lint": "eslint --fix --ext .js,.jsx,.ts,.tsx src", + "test": "vitest", + "coverage": "vitest run --coverage", + "tsc": "tsc --noEmit" + }, + "devDependencies": { + "@hyperhub/errors": "workspace:*", + "@hyperhub/test-config": "workspace:*", + "@hyperhub/typescript-config": "workspace:*" + } +} \ No newline at end of file diff --git a/packages/__example__/src/index.ts b/packages/__example__/src/index.ts new file mode 100644 index 0000000..1aa358e --- /dev/null +++ b/packages/__example__/src/index.ts @@ -0,0 +1,3 @@ +export const example = () => { + // Implement +}; \ No newline at end of file diff --git a/packages/__example__/tsconfig.json b/packages/__example__/tsconfig.json new file mode 100644 index 0000000..aa16dcf --- /dev/null +++ b/packages/__example__/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@hyperhub/typescript-config/base.json", + "include": ["./src/**/*.ts"], + "exclude": ["dist", "node_modules"], + "compilerOptions": { + "rootDir": "./src", + "outDir": "./dist" + } +} \ No newline at end of file diff --git a/packages/__example__/vitest.config.ts b/packages/__example__/vitest.config.ts new file mode 100644 index 0000000..af4ba4e --- /dev/null +++ b/packages/__example__/vitest.config.ts @@ -0,0 +1,11 @@ +import { baseConfig } from "@hyperhub/test-config"; +import { mergeConfig, defineConfig } from "vitest/config"; + +export default mergeConfig( + baseConfig, + defineConfig({ + test: { + exclude: ["coverage/*"], + }, + }), +); \ No newline at end of file From ecf7ee262b2e30edd9cf32bb99f44a4dcbc2ca60 Mon Sep 17 00:00:00 2001 From: Jojo Date: Mon, 27 May 2024 12:12:14 -0300 Subject: [PATCH 02/11] feat: add errors package --- packages/errors/__test__/example.test.ts | 7 +++++++ packages/errors/package.json | 17 +++++++++++++++++ packages/errors/src/index.ts | 15 +++++++++++++++ packages/errors/tsconfig.json | 11 +++++++++++ 4 files changed, 50 insertions(+) create mode 100644 packages/errors/__test__/example.test.ts create mode 100644 packages/errors/package.json create mode 100644 packages/errors/src/index.ts create mode 100644 packages/errors/tsconfig.json diff --git a/packages/errors/__test__/example.test.ts b/packages/errors/__test__/example.test.ts new file mode 100644 index 0000000..110f18c --- /dev/null +++ b/packages/errors/__test__/example.test.ts @@ -0,0 +1,7 @@ +import { describe, test, expect } from 'vitest' + +describe('exampleHandler', () => { + test('Sample exampleHandler test', () => { + expect(true).toBe(true); + }) +}); \ No newline at end of file diff --git a/packages/errors/package.json b/packages/errors/package.json new file mode 100644 index 0000000..0a3e044 --- /dev/null +++ b/packages/errors/package.json @@ -0,0 +1,17 @@ +{ + "name": "@hyperhub/errors", + "version": "0.0.0", + "private": true, + "license": "MIT", + "main": "dist/index.js", + "scripts": { + "build": "tsc -p tsconfig.json" + }, + "publishConfig": { + "access": "public" + }, + "devDependencies": { + "@hyperhub/test-config": "workspace:*", + "@hyperhub/typescript-config": "workspace:*" + } +} \ No newline at end of file diff --git a/packages/errors/src/index.ts b/packages/errors/src/index.ts new file mode 100644 index 0000000..fbbdb7d --- /dev/null +++ b/packages/errors/src/index.ts @@ -0,0 +1,15 @@ +export abstract class BaseError extends Error { + readonly name: string; + readonly description: string; + + constructor({ name, description }: { name: string; description: string }) { + super(description); + this.name = name; + this.description = description; + Object.setPrototypeOf(this, BaseError.prototype); + } + + public getDescription(): string { + return this.description; + } +} \ No newline at end of file diff --git a/packages/errors/tsconfig.json b/packages/errors/tsconfig.json new file mode 100644 index 0000000..5b965e0 --- /dev/null +++ b/packages/errors/tsconfig.json @@ -0,0 +1,11 @@ +{ + "extends": "@hyperhub/typescript-config/base.json", + "include": ["./src/**/*.ts"], + "exclude": ["dist", "node_modules"], + "compilerOptions": { + "outDir": "./dist", + "rootDir": "./src", + "declaration": true, + "declarationMap": true + } +} \ No newline at end of file From 8a64d4f7c56d04d9c09e33e3cda671c27df3b8a3 Mon Sep 17 00:00:00 2001 From: Jojo Date: Mon, 27 May 2024 12:22:17 -0300 Subject: [PATCH 03/11] feat: cg package --- packages/errors/README.md | 1 + packages/lib/coingecko/README.md | 3 +++ packages/lib/coingecko/package.json | 17 +++++++++++++++++ packages/lib/coingecko/src/errors.ts | 7 +++++++ packages/lib/coingecko/src/index.ts | 24 ++++++++++++++++++++++++ packages/lib/coingecko/tsconfig.json | 9 +++++++++ packages/lib/coingecko/vitest.config.ts | 11 +++++++++++ 7 files changed, 72 insertions(+) create mode 100644 packages/errors/README.md create mode 100644 packages/lib/coingecko/README.md create mode 100644 packages/lib/coingecko/package.json create mode 100644 packages/lib/coingecko/src/errors.ts create mode 100644 packages/lib/coingecko/src/index.ts create mode 100644 packages/lib/coingecko/tsconfig.json create mode 100644 packages/lib/coingecko/vitest.config.ts diff --git a/packages/errors/README.md b/packages/errors/README.md new file mode 100644 index 0000000..191e3f2 --- /dev/null +++ b/packages/errors/README.md @@ -0,0 +1 @@ +## Errors package \ No newline at end of file diff --git a/packages/lib/coingecko/README.md b/packages/lib/coingecko/README.md new file mode 100644 index 0000000..7412d0b --- /dev/null +++ b/packages/lib/coingecko/README.md @@ -0,0 +1,3 @@ +## Coingecko Package + +Adds coingecko API utilities. \ No newline at end of file diff --git a/packages/lib/coingecko/package.json b/packages/lib/coingecko/package.json new file mode 100644 index 0000000..524e807 --- /dev/null +++ b/packages/lib/coingecko/package.json @@ -0,0 +1,17 @@ +{ + "name": "@hyperhub/coingecko", + "private": true, + "version": "0.0.0", + "scripts": { + "build": "tsc -p tsconfig.json", + "lint": "eslint --fix --ext .js,.jsx,.ts,.tsx src", + "test": "vitest", + "coverage": "vitest run --coverage", + "tsc": "tsc --noEmit" + }, + "devDependencies": { + "@hyperhub/errors": "workspace:*", + "@hyperhub/test-config": "workspace:*", + "@hyperhub/typescript-config": "workspace:*" + } +} \ No newline at end of file diff --git a/packages/lib/coingecko/src/errors.ts b/packages/lib/coingecko/src/errors.ts new file mode 100644 index 0000000..0da61cb --- /dev/null +++ b/packages/lib/coingecko/src/errors.ts @@ -0,0 +1,7 @@ +import { BaseError } from "@hyperhub/errors"; + +export class CoingeckoError extends BaseError { + constructor(description: string) { + super({ name: "CoingeckoError", description }); + } +} \ No newline at end of file diff --git a/packages/lib/coingecko/src/index.ts b/packages/lib/coingecko/src/index.ts new file mode 100644 index 0000000..e07d1ad --- /dev/null +++ b/packages/lib/coingecko/src/index.ts @@ -0,0 +1,24 @@ +import type { AxiosInstance, CreateAxiosDefaults } from "axios"; +import axios from "axios"; + +export default class CoingeckoService { + private instance: AxiosInstance; + + constructor(private url: string, private apiKey:string){ + const config: CreateAxiosDefaults = { + baseURL: url, + headers: { + "x-cg-demo-api-key": this.apiKey, + }, + }; + + this.instance = axios.create(config); + } + + get(): AxiosInstance { + if (!this.instance) { + throw new Error("Client not initialized"); + } + return this.instance; + } +} \ No newline at end of file diff --git a/packages/lib/coingecko/tsconfig.json b/packages/lib/coingecko/tsconfig.json new file mode 100644 index 0000000..aa16dcf --- /dev/null +++ b/packages/lib/coingecko/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "@hyperhub/typescript-config/base.json", + "include": ["./src/**/*.ts"], + "exclude": ["dist", "node_modules"], + "compilerOptions": { + "rootDir": "./src", + "outDir": "./dist" + } +} \ No newline at end of file diff --git a/packages/lib/coingecko/vitest.config.ts b/packages/lib/coingecko/vitest.config.ts new file mode 100644 index 0000000..af4ba4e --- /dev/null +++ b/packages/lib/coingecko/vitest.config.ts @@ -0,0 +1,11 @@ +import { baseConfig } from "@hyperhub/test-config"; +import { mergeConfig, defineConfig } from "vitest/config"; + +export default mergeConfig( + baseConfig, + defineConfig({ + test: { + exclude: ["coverage/*"], + }, + }), +); \ No newline at end of file From 9cef6bdc059e7bee3886539ac4c45f90b3776a8f Mon Sep 17 00:00:00 2001 From: Jojo Date: Mon, 27 May 2024 12:24:11 -0300 Subject: [PATCH 04/11] feat: refactor serverless pkg, add erros, expose just index --- packages/serverless/.env.example | 1 + packages/serverless/README.MD | 4 ++++ packages/serverless/src/errors.ts | 7 +++++++ .../serverless/src/handlers/exampleHandler.ts | 15 --------------- packages/serverless/src/index.ts | 4 +++- 5 files changed, 15 insertions(+), 16 deletions(-) create mode 100644 packages/serverless/.env.example create mode 100644 packages/serverless/README.MD create mode 100644 packages/serverless/src/errors.ts delete mode 100644 packages/serverless/src/handlers/exampleHandler.ts diff --git a/packages/serverless/.env.example b/packages/serverless/.env.example new file mode 100644 index 0000000..6dad2ab --- /dev/null +++ b/packages/serverless/.env.example @@ -0,0 +1 @@ +EXAMPLE_VAR="" \ No newline at end of file diff --git a/packages/serverless/README.MD b/packages/serverless/README.MD new file mode 100644 index 0000000..a623da4 --- /dev/null +++ b/packages/serverless/README.MD @@ -0,0 +1,4 @@ +## Serverless Package + + +Adds serverless utils to build lambda functions. \ No newline at end of file diff --git a/packages/serverless/src/errors.ts b/packages/serverless/src/errors.ts new file mode 100644 index 0000000..8214d30 --- /dev/null +++ b/packages/serverless/src/errors.ts @@ -0,0 +1,7 @@ +import { BaseError } from "@hyperhub/errors"; + +export default class LambdaError extends BaseError { + constructor(description: string) { + super({ name: "LambdaError", description }); + } +}; \ No newline at end of file diff --git a/packages/serverless/src/handlers/exampleHandler.ts b/packages/serverless/src/handlers/exampleHandler.ts deleted file mode 100644 index 23fc2ee..0000000 --- a/packages/serverless/src/handlers/exampleHandler.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Handler, Context } from "aws-lambda"; - -export const example: Handler = async (event, _context: Context) => { - try { - return { - statusCode: 200, - body: JSON.stringify({ - message: {}, - input: event, - }), - }; - } catch (error) { - throw Error(JSON.stringify(error)); - } -}; diff --git a/packages/serverless/src/index.ts b/packages/serverless/src/index.ts index c0b6086..b59714d 100644 --- a/packages/serverless/src/index.ts +++ b/packages/serverless/src/index.ts @@ -1 +1,3 @@ -export { example } from './handlers/exampleHandler'; \ No newline at end of file +export const buildHandler = () => { + console.log('@@//TODO'); +}; \ No newline at end of file From 3c95571366ee58646ef3b0a8b13a1b7b5e83cc2d Mon Sep 17 00:00:00 2001 From: Jojo Date: Mon, 27 May 2024 12:25:09 -0300 Subject: [PATCH 05/11] fix: pipeline build --- packages/__example__/package.json | 2 +- packages/errors/package.json | 2 +- packages/lib/coingecko/package.json | 2 +- turbo.json | 2 +- yarn.lock | 29 +++++++++++++++++++++++++++++ 5 files changed, 33 insertions(+), 4 deletions(-) diff --git a/packages/__example__/package.json b/packages/__example__/package.json index a225779..6c942ae 100644 --- a/packages/__example__/package.json +++ b/packages/__example__/package.json @@ -14,4 +14,4 @@ "@hyperhub/test-config": "workspace:*", "@hyperhub/typescript-config": "workspace:*" } -} \ No newline at end of file +} diff --git a/packages/errors/package.json b/packages/errors/package.json index 0a3e044..8628c69 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -14,4 +14,4 @@ "@hyperhub/test-config": "workspace:*", "@hyperhub/typescript-config": "workspace:*" } -} \ No newline at end of file +} diff --git a/packages/lib/coingecko/package.json b/packages/lib/coingecko/package.json index 524e807..4097ad2 100644 --- a/packages/lib/coingecko/package.json +++ b/packages/lib/coingecko/package.json @@ -14,4 +14,4 @@ "@hyperhub/test-config": "workspace:*", "@hyperhub/typescript-config": "workspace:*" } -} \ No newline at end of file +} diff --git a/turbo.json b/turbo.json index 0af47c7..fa0a69d 100644 --- a/turbo.json +++ b/turbo.json @@ -4,7 +4,7 @@ "pipeline": { "build": { "dependsOn": ["^build"], - "outputs": ["dist/**"] + "outputs": [] }, "test": { "dependsOn": [], diff --git a/yarn.lock b/yarn.lock index 55c29e3..2571759 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1459,6 +1459,35 @@ __metadata: languageName: node linkType: hard +"@hyperhub/coingecko@workspace:packages/lib/coingecko": + version: 0.0.0-use.local + resolution: "@hyperhub/coingecko@workspace:packages/lib/coingecko" + dependencies: + "@hyperhub/errors": "workspace:*" + "@hyperhub/test-config": "workspace:*" + "@hyperhub/typescript-config": "workspace:*" + languageName: unknown + linkType: soft + +"@hyperhub/errors@workspace:*, @hyperhub/errors@workspace:packages/errors": + version: 0.0.0-use.local + resolution: "@hyperhub/errors@workspace:packages/errors" + dependencies: + "@hyperhub/test-config": "workspace:*" + "@hyperhub/typescript-config": "workspace:*" + languageName: unknown + linkType: soft + +"@hyperhub/example@workspace:packages/__example__": + version: 0.0.0-use.local + resolution: "@hyperhub/example@workspace:packages/__example__" + dependencies: + "@hyperhub/errors": "workspace:*" + "@hyperhub/test-config": "workspace:*" + "@hyperhub/typescript-config": "workspace:*" + languageName: unknown + linkType: soft + "@hyperhub/serverless@workspace:packages/serverless": version: 0.0.0-use.local resolution: "@hyperhub/serverless@workspace:packages/serverless" From dc620363197b57894a3956a677b5a7aee8dd15a1 Mon Sep 17 00:00:00 2001 From: Jojo Date: Mon, 27 May 2024 16:12:35 -0300 Subject: [PATCH 06/11] fix: missing dep on serverless --- packages/serverless/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/serverless/package.json b/packages/serverless/package.json index 58ac097..f35049b 100644 --- a/packages/serverless/package.json +++ b/packages/serverless/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@hyperhub/typescript-config": "workspace:*", + "@hyperhub/errors": "workspace:*", "@serverless/typescript": "3.27.0", "@types/aws-lambda": "8.10.71", "esbuild": "0.16.0", From 1c8be257f5c3ce28a444e012253c69ea878aa660 Mon Sep 17 00:00:00 2001 From: Jojo Date: Mon, 27 May 2024 16:13:23 -0300 Subject: [PATCH 07/11] fix: package.json and yarn.lock --- packages/serverless/package.json | 2 +- yarn.lock | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/serverless/package.json b/packages/serverless/package.json index f35049b..99b42d1 100644 --- a/packages/serverless/package.json +++ b/packages/serverless/package.json @@ -10,8 +10,8 @@ "tsc": "tsc --noEmit" }, "devDependencies": { - "@hyperhub/typescript-config": "workspace:*", "@hyperhub/errors": "workspace:*", + "@hyperhub/typescript-config": "workspace:*", "@serverless/typescript": "3.27.0", "@types/aws-lambda": "8.10.71", "esbuild": "0.16.0", diff --git a/yarn.lock b/yarn.lock index 2571759..8a5d6a8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1492,6 +1492,7 @@ __metadata: version: 0.0.0-use.local resolution: "@hyperhub/serverless@workspace:packages/serverless" dependencies: + "@hyperhub/errors": "workspace:*" "@hyperhub/typescript-config": "workspace:*" "@serverless/typescript": "npm:3.27.0" "@types/aws-lambda": "npm:8.10.71" From db1767d3c0ca3c58f9feec4e10aebeba72de37d8 Mon Sep 17 00:00:00 2001 From: Jojo Date: Mon, 27 May 2024 16:18:03 -0300 Subject: [PATCH 08/11] fix: add EOF --- packages/__example__/tsconfig.json | 2 +- packages/__example__/vitest.config.ts | 2 +- packages/errors/__test__/example.test.ts | 2 +- packages/errors/src/index.ts | 2 +- packages/errors/tsconfig.json | 2 +- packages/lib/coingecko/src/errors.ts | 2 +- packages/lib/coingecko/src/index.ts | 2 +- packages/lib/coingecko/tsconfig.json | 2 +- packages/lib/coingecko/vitest.config.ts | 2 +- packages/serverless/.env.example | 2 +- packages/serverless/src/errors.ts | 2 +- packages/serverless/src/index.ts | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/__example__/tsconfig.json b/packages/__example__/tsconfig.json index aa16dcf..864b4c6 100644 --- a/packages/__example__/tsconfig.json +++ b/packages/__example__/tsconfig.json @@ -6,4 +6,4 @@ "rootDir": "./src", "outDir": "./dist" } -} \ No newline at end of file +} diff --git a/packages/__example__/vitest.config.ts b/packages/__example__/vitest.config.ts index af4ba4e..89e76a7 100644 --- a/packages/__example__/vitest.config.ts +++ b/packages/__example__/vitest.config.ts @@ -8,4 +8,4 @@ export default mergeConfig( exclude: ["coverage/*"], }, }), -); \ No newline at end of file +); diff --git a/packages/errors/__test__/example.test.ts b/packages/errors/__test__/example.test.ts index 110f18c..819a81c 100644 --- a/packages/errors/__test__/example.test.ts +++ b/packages/errors/__test__/example.test.ts @@ -4,4 +4,4 @@ describe('exampleHandler', () => { test('Sample exampleHandler test', () => { expect(true).toBe(true); }) -}); \ No newline at end of file +}); diff --git a/packages/errors/src/index.ts b/packages/errors/src/index.ts index fbbdb7d..8a5b06e 100644 --- a/packages/errors/src/index.ts +++ b/packages/errors/src/index.ts @@ -12,4 +12,4 @@ export abstract class BaseError extends Error { public getDescription(): string { return this.description; } -} \ No newline at end of file +} diff --git a/packages/errors/tsconfig.json b/packages/errors/tsconfig.json index 5b965e0..fe937b0 100644 --- a/packages/errors/tsconfig.json +++ b/packages/errors/tsconfig.json @@ -8,4 +8,4 @@ "declaration": true, "declarationMap": true } -} \ No newline at end of file +} diff --git a/packages/lib/coingecko/src/errors.ts b/packages/lib/coingecko/src/errors.ts index 0da61cb..eea43b3 100644 --- a/packages/lib/coingecko/src/errors.ts +++ b/packages/lib/coingecko/src/errors.ts @@ -4,4 +4,4 @@ export class CoingeckoError extends BaseError { constructor(description: string) { super({ name: "CoingeckoError", description }); } -} \ No newline at end of file +} diff --git a/packages/lib/coingecko/src/index.ts b/packages/lib/coingecko/src/index.ts index e07d1ad..5000ee9 100644 --- a/packages/lib/coingecko/src/index.ts +++ b/packages/lib/coingecko/src/index.ts @@ -21,4 +21,4 @@ export default class CoingeckoService { } return this.instance; } -} \ No newline at end of file +} diff --git a/packages/lib/coingecko/tsconfig.json b/packages/lib/coingecko/tsconfig.json index aa16dcf..864b4c6 100644 --- a/packages/lib/coingecko/tsconfig.json +++ b/packages/lib/coingecko/tsconfig.json @@ -6,4 +6,4 @@ "rootDir": "./src", "outDir": "./dist" } -} \ No newline at end of file +} diff --git a/packages/lib/coingecko/vitest.config.ts b/packages/lib/coingecko/vitest.config.ts index af4ba4e..89e76a7 100644 --- a/packages/lib/coingecko/vitest.config.ts +++ b/packages/lib/coingecko/vitest.config.ts @@ -8,4 +8,4 @@ export default mergeConfig( exclude: ["coverage/*"], }, }), -); \ No newline at end of file +); diff --git a/packages/serverless/.env.example b/packages/serverless/.env.example index 6dad2ab..c8e2d40 100644 --- a/packages/serverless/.env.example +++ b/packages/serverless/.env.example @@ -1 +1 @@ -EXAMPLE_VAR="" \ No newline at end of file +EXAMPLE_VAR="" diff --git a/packages/serverless/src/errors.ts b/packages/serverless/src/errors.ts index 8214d30..8990fb2 100644 --- a/packages/serverless/src/errors.ts +++ b/packages/serverless/src/errors.ts @@ -4,4 +4,4 @@ export default class LambdaError extends BaseError { constructor(description: string) { super({ name: "LambdaError", description }); } -}; \ No newline at end of file +}; diff --git a/packages/serverless/src/index.ts b/packages/serverless/src/index.ts index b59714d..1db8170 100644 --- a/packages/serverless/src/index.ts +++ b/packages/serverless/src/index.ts @@ -1,3 +1,3 @@ export const buildHandler = () => { console.log('@@//TODO'); -}; \ No newline at end of file +}; From 73afef40959ade3a8e985a30cad638f1a0e67876 Mon Sep 17 00:00:00 2001 From: Jojo Date: Mon, 27 May 2024 16:19:08 -0300 Subject: [PATCH 09/11] fix: add missing eof --- packages/__example__/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/__example__/src/index.ts b/packages/__example__/src/index.ts index 1aa358e..48fbc47 100644 --- a/packages/__example__/src/index.ts +++ b/packages/__example__/src/index.ts @@ -1,3 +1,3 @@ export const example = () => { // Implement -}; \ No newline at end of file +}; From 9fc49d3502d8f278b5a8c43a90f1b03c753fbe62 Mon Sep 17 00:00:00 2001 From: Jojo Date: Mon, 27 May 2024 16:22:49 -0300 Subject: [PATCH 10/11] fix: yarn lock --- yarn.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/yarn.lock b/yarn.lock index 8a5d6a8..69d82e3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2730,14 +2730,14 @@ __metadata: linkType: hard "ajv@npm:^8.0.0, ajv@npm:^8.11.0, ajv@npm:^8.12.0": - version: 8.13.0 - resolution: "ajv@npm:8.13.0" + version: 8.14.0 + resolution: "ajv@npm:8.14.0" dependencies: fast-deep-equal: "npm:^3.1.3" json-schema-traverse: "npm:^1.0.0" require-from-string: "npm:^2.0.2" uri-js: "npm:^4.4.1" - checksum: 10/4ada268c9a6e44be87fd295df0f0a91267a7bae8dbc8a67a2d5799c3cb459232839c99d18b035597bb6e3ffe88af6979f7daece854f590a81ebbbc2dfa80002c + checksum: 10/b6430527c2e1bf3d20dce4cca2979b5cc69db15751ac00105e269e04d7b09c2e20364070257cafacfa676171a8bf9c84c1cd9def97267a20cd15c64daa486151 languageName: node linkType: hard @@ -2997,8 +2997,8 @@ __metadata: linkType: hard "aws-sdk@npm:^2.1303.0": - version: 2.1627.0 - resolution: "aws-sdk@npm:2.1627.0" + version: 2.1628.0 + resolution: "aws-sdk@npm:2.1628.0" dependencies: buffer: "npm:4.9.2" events: "npm:1.1.1" @@ -3010,7 +3010,7 @@ __metadata: util: "npm:^0.12.4" uuid: "npm:8.0.0" xml2js: "npm:0.6.2" - checksum: 10/85973c824b3216e8c648bf2e77308dd36e24aa7d5a45e747d1ca2ecadbcae196e172d82a368dd145fb9c6e8c2571f7ce7db0b112928c451757eed8d6d1126302 + checksum: 10/783ae6374bca38971682d1ecfdba52c51d003b173f2f2dca92d433d6ee42c69f907afd26d15a2f70eff82d023c606d9dfe0514f50bdc26a939368f31f3d92d54 languageName: node linkType: hard @@ -7937,9 +7937,9 @@ __metadata: linkType: hard "sax@npm:>=0.6.0": - version: 1.3.0 - resolution: "sax@npm:1.3.0" - checksum: 10/bb571b31d30ecb0353c2ff5f87b117a03e5fb9eb4c1519141854c1a8fbee0a77ddbe8045f413259e711833aa03da210887df8527d19cdc55f299822dbf4b34de + version: 1.4.0 + resolution: "sax@npm:1.4.0" + checksum: 10/b69ca09c4131d86b61f8c0f3732b8f2e73f43a60ebe082911d4b960366d9a858458e4ab947a6c586fac8beccd45cc0feba5904309b132a37ee1bd23f76670052 languageName: node linkType: hard From a970b929d3e9e55416b652fc0fdb6d37907fd80e Mon Sep 17 00:00:00 2001 From: Jojo Date: Mon, 27 May 2024 16:24:22 -0300 Subject: [PATCH 11/11] fix: set back dist to turbo pipeline build output --- turbo.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbo.json b/turbo.json index fa0a69d..0af47c7 100644 --- a/turbo.json +++ b/turbo.json @@ -4,7 +4,7 @@ "pipeline": { "build": { "dependsOn": ["^build"], - "outputs": [] + "outputs": ["dist/**"] }, "test": { "dependsOn": [],