generator-nokode 1.0.10 → 1.0.12

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.
@@ -3,13 +3,13 @@ spring.application.name=<%= appName %>
3
3
  server.port=8181
4
4
 
5
5
  ## Mongo
6
- spring.data.mongodb.uri=mongodb://localhost:27017/<%= appNameSlug %>
7
- spring.data.mongodb.database=<%= appNameSlug %>
8
- logging.level.org.springframework.data.mongodb.core.MongoTemplate=DEBUG
6
+ spring.data.mongodb.uri=mongodb+srv://user:shgw2YlzJOAKA6sd@kodly-test-cluster.q7ibmgi.mongodb.net/?appName=kodly-test-cluster
7
+ spring.data.mongodb.database=<%= packageNameHyphen %>-<%= appNameSlug %>
8
+ logging.level.<%= packageName %>=DEBUG
9
9
 
10
10
  ## Email
11
11
  email.from=<%= appName %>
12
- email.from.address=<%= appNameSlug %>@sixsprints.com
12
+ email.from.address=<%= appNameSlug %>@xxxxxxxxx.com
13
13
  email.hostname=email-smtp.ap-south-1.amazonaws.com
14
14
  email.username=xxxxxxxxxxxxxxxx
15
15
  email.password=xxxxxxxxxxxxxxxx
@@ -47,6 +47,7 @@ repositories {
47
47
 
48
48
  dependencies {
49
49
  implementation 'org.springframework.boot:spring-boot-starter-web'
50
+ implementation 'org.springframework.boot:spring-boot-starter-actuator'
50
51
  implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:<%= SPRINGDOC_OPENAPI_VERSION %>'
51
52
 
52
53
  implementation 'com.github.Six-Sprints:auth-service:<%= SIXSPRINTS_AUTH_VERSION %>'
@@ -17,6 +17,7 @@ export default class BaseGenerator extends Generator {
17
17
  this.configData = {
18
18
  appNameTitleCase: _.startCase(this.options['appName']).replace(/ /g, ''),
19
19
  appNameSlug: _.kebabCase(this.options['appName']),
20
+ packageNameHyphen: this.options['packageName'] ? this.options['packageName'].replace(/\./g, '-') : '',
20
21
  };
21
22
 
22
23
  this.options.force = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-nokode",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "A Yeoman generator for creating Spring Boot applications with Nokode framework",
5
5
  "main": "index.js",
6
6
  "type": "module",