cc-core-cli 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/index.js CHANGED
@@ -59,18 +59,15 @@ if (action === 'upgrade') {
59
59
  return false
60
60
  }
61
61
 
62
- spinner.start('(1/2) Copying files!')
63
-
62
+ const spinner = ora('(1/2) Copying files!').start();
64
63
  fs.copySync(`${__dirname}/../template/${project}`, '.', {
65
64
  recursive: true,
66
65
  filter: (name) => {
67
66
  return project === 'core' ? !name.includes('src/modules') : true
68
67
  }
69
68
  })
70
-
71
69
  spinner.succeed('(1/2) Copying files!')
72
-
73
- const spinner = ora('(2/2) Running npm install!').start();
70
+ spinner.start('(2/2) Running npm install!')
74
71
  exec('npm install', (err) => {
75
72
  if (err) {
76
73
  return spinner.fail('(2/2) Running npm install!')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-core-cli",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
@@ -26,7 +26,7 @@
26
26
  "@nestjs/platform-fastify": "^9.3.9",
27
27
  "@nestjs/schedule": "^2.2.0",
28
28
  "@nestjs/swagger": "^6.2.1",
29
- "@shopstack/cc-core-lib": "^2.5.4",
29
+ "@shopstack/cc-core-lib": "^2.5.13",
30
30
  "@types/chroma-js": "^2.4.0",
31
31
  "@types/numeral": "^2.0.2",
32
32
  "amazon-cognito-identity-js": "^4.5.0",
@@ -38,7 +38,7 @@
38
38
  "@nestjs/platform-fastify": "^9.3.9",
39
39
  "@nestjs/schedule": "^2.2.0",
40
40
  "@nestjs/swagger": "^6.2.1",
41
- "@shopstack/cc-core-lib": "^2.5.4",
41
+ "@shopstack/cc-core-lib": "^2.5.13",
42
42
  "@types/chroma-js": "^2.4.0",
43
43
  "@types/numeral": "^2.0.2",
44
44
  "amazon-cognito-identity-js": "^4.5.0",
@@ -19,11 +19,11 @@ if (+process.env.MONGODB_MAX_POOL_SIZE) {
19
19
  export class StoragePrivateController {
20
20
  constructor(private readonly attachment: AttachmentService) {}
21
21
 
22
- // @Public()
23
- // @Get("/health_check")
24
- // healthCheck(): boolean {
25
- // return this.appService.healthCheck();
26
- // }
22
+ @Public()
23
+ @Get("/health_check")
24
+ healthCheck(): boolean {
25
+ return true;
26
+ }
27
27
 
28
28
  // @Public()
29
29
  // @Get("/health_check/init")