From 6ab86f9fad06abd0cfa273db7eab93d693a4f789 Mon Sep 17 00:00:00 2001 From: Morb0 Date: Sun, 3 Jan 2021 16:39:13 +0300 Subject: [PATCH] chore(package.json): remove sample app start --- package.json | 4 +--- sample/{ => 01-complete-app}/app.constants.ts | 0 sample/{ => 01-complete-app}/app.module.ts | 0 sample/{ => 01-complete-app}/echo/echo.module.ts | 0 sample/{ => 01-complete-app}/echo/echo.service.ts | 0 sample/{ => 01-complete-app}/echo/echo.update.ts | 0 sample/{ => 01-complete-app}/echo/scenes/hello.scene.ts | 0 sample/{ => 01-complete-app}/greeter/greeter.module.ts | 0 sample/{ => 01-complete-app}/greeter/greeter.update.ts | 0 sample/{ => 01-complete-app}/interfaces/context.interface.ts | 0 sample/{ => 01-complete-app}/main.ts | 0 sample/{ => 01-complete-app}/middleware/session.middleware.ts | 0 12 files changed, 1 insertion(+), 3 deletions(-) rename sample/{ => 01-complete-app}/app.constants.ts (100%) rename sample/{ => 01-complete-app}/app.module.ts (100%) rename sample/{ => 01-complete-app}/echo/echo.module.ts (100%) rename sample/{ => 01-complete-app}/echo/echo.service.ts (100%) rename sample/{ => 01-complete-app}/echo/echo.update.ts (100%) rename sample/{ => 01-complete-app}/echo/scenes/hello.scene.ts (100%) rename sample/{ => 01-complete-app}/greeter/greeter.module.ts (100%) rename sample/{ => 01-complete-app}/greeter/greeter.update.ts (100%) rename sample/{ => 01-complete-app}/interfaces/context.interface.ts (100%) rename sample/{ => 01-complete-app}/main.ts (100%) rename sample/{ => 01-complete-app}/middleware/session.middleware.ts (100%) diff --git a/package.json b/package.json index 1005af1..8ac715b 100644 --- a/package.json +++ b/package.json @@ -32,8 +32,7 @@ "prepublish:npm": "npm run build", "publish:npm": "npm publish --access public", "test": "", - "typedoc:build": "typedoc --tsconfig ./tsconfig.typedoc.json", - "sample-app": "ts-node --transpile-only -r tsconfig-paths/register sample/main.ts" + "typedoc:build": "typedoc --tsconfig ./tsconfig.typedoc.json" }, "dependencies": { "telegraf": "3.38.0" @@ -53,7 +52,6 @@ "prettier": "2.2.1", "reflect-metadata": "0.1.13", "rxjs": "6.6.3", - "tsconfig-paths": "3.9.0", "typedoc": "0.20.9", "typescript": "4.1.3" }, diff --git a/sample/app.constants.ts b/sample/01-complete-app/app.constants.ts similarity index 100% rename from sample/app.constants.ts rename to sample/01-complete-app/app.constants.ts diff --git a/sample/app.module.ts b/sample/01-complete-app/app.module.ts similarity index 100% rename from sample/app.module.ts rename to sample/01-complete-app/app.module.ts diff --git a/sample/echo/echo.module.ts b/sample/01-complete-app/echo/echo.module.ts similarity index 100% rename from sample/echo/echo.module.ts rename to sample/01-complete-app/echo/echo.module.ts diff --git a/sample/echo/echo.service.ts b/sample/01-complete-app/echo/echo.service.ts similarity index 100% rename from sample/echo/echo.service.ts rename to sample/01-complete-app/echo/echo.service.ts diff --git a/sample/echo/echo.update.ts b/sample/01-complete-app/echo/echo.update.ts similarity index 100% rename from sample/echo/echo.update.ts rename to sample/01-complete-app/echo/echo.update.ts diff --git a/sample/echo/scenes/hello.scene.ts b/sample/01-complete-app/echo/scenes/hello.scene.ts similarity index 100% rename from sample/echo/scenes/hello.scene.ts rename to sample/01-complete-app/echo/scenes/hello.scene.ts diff --git a/sample/greeter/greeter.module.ts b/sample/01-complete-app/greeter/greeter.module.ts similarity index 100% rename from sample/greeter/greeter.module.ts rename to sample/01-complete-app/greeter/greeter.module.ts diff --git a/sample/greeter/greeter.update.ts b/sample/01-complete-app/greeter/greeter.update.ts similarity index 100% rename from sample/greeter/greeter.update.ts rename to sample/01-complete-app/greeter/greeter.update.ts diff --git a/sample/interfaces/context.interface.ts b/sample/01-complete-app/interfaces/context.interface.ts similarity index 100% rename from sample/interfaces/context.interface.ts rename to sample/01-complete-app/interfaces/context.interface.ts diff --git a/sample/main.ts b/sample/01-complete-app/main.ts similarity index 100% rename from sample/main.ts rename to sample/01-complete-app/main.ts diff --git a/sample/middleware/session.middleware.ts b/sample/01-complete-app/middleware/session.middleware.ts similarity index 100% rename from sample/middleware/session.middleware.ts rename to sample/01-complete-app/middleware/session.middleware.ts