create-nolly-template 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/README.md CHANGED
@@ -26,7 +26,7 @@ You can see the full list of available templates by running `create-nolly-templa
26
26
 
27
27
  ## Contributing
28
28
  If you want to contribute to this project, feel free to open a pull request or an issue. I would love to see your contributions!
29
- See the [CONTRIBUTING](CONTRIBUTING.md) guide for more details.
29
+ See the [CONTRIBUTING](.github/CONTRIBUTING.md) guide for more details.
30
30
 
31
31
  ## License
32
32
  This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
@@ -14,7 +14,7 @@ export const mongodb = {
14
14
  {
15
15
  type: 'insertAfter',
16
16
  pattern: "NODE_ENV: z.enum\\(\\['development', 'production', 'test'\\]\\)\\.default\\('development'\\)",
17
- insert: "\tMONGODB_URI: z.string().default('mongodb://localhost:27017/myapp')"
17
+ insert: ",\tMONGO_URI: z.string().default('mongodb://localhost:27017/myapp'),\n\tMONGO_DB: z.string().default('myapp')"
18
18
  }
19
19
  ]
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nolly-template",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "All of my opiniated templates in one place. This is a CLI tool to create a new project based on one of my templates.",
5
5
  "license": "MIT",
6
6
  "author": "Nolly",
@@ -0,0 +1,2 @@
1
+ MONGO_URI=YOUR_MONGODB_URI
2
+ MONGO_DB=YOUR_DATABASE_NAME