@robgietema/generator-nick 0.0.4 → 0.0.6

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.
@@ -88,6 +88,12 @@ Run "npm install -g @robgietema/generator-nick" to update.`,
88
88
  },
89
89
  });
90
90
 
91
+ this.fs.copyTpl(
92
+ this.templatePath('src/profiles/default/metadata.json.tpl'),
93
+ this.destinationPath(base, 'src/profiles/default/metadata.json.tpl'),
94
+ this.globals,
95
+ );
96
+
91
97
  this.fs.copyTpl(
92
98
  this.templatePath('.gitignorefile'),
93
99
  this.destinationPath(base, '.gitignore'),
@@ -117,9 +123,9 @@ Done.
117
123
 
118
124
  Now install and run Postgres and setup the database by entering the following in your Postgres console:
119
125
 
120
- $ CREATE DATABASE ${this.globals.projectName};
121
- $ CREATE USER nick WITH ENCRYPTED PASSWORD '${this.globals.projectName}';
122
- $ GRANT ALL PRIVILEGES ON DATABASE ${this.globals.projectName} TO ${this.globals.projectName};
126
+ $ CREATE DATABASE "${this.globals.projectName}";
127
+ $ CREATE USER "${this.globals.projectName}" WITH ENCRYPTED PASSWORD '${this.globals.projectName}';
128
+ $ GRANT ALL PRIVILEGES ON DATABASE "${this.globals.projectName}" TO "${this.globals.projectName}";
123
129
 
124
130
  Now go to the ${this.globals.projectName} folder and run:
125
131
 
@@ -133,9 +139,9 @@ Done.
133
139
 
134
140
  Now install and run Postgres and setup the database by entering the following in your Postgres console:
135
141
 
136
- $ CREATE DATABASE ${this.globals.projectName};
137
- $ CREATE USER nick WITH ENCRYPTED PASSWORD '${this.globals.projectName}';
138
- $ GRANT ALL PRIVILEGES ON DATABASE ${this.globals.projectName} TO ${this.globals.projectName};
142
+ $ CREATE DATABASE "${this.globals.projectName}";
143
+ $ CREATE USER "${this.globals.projectName}" WITH ENCRYPTED PASSWORD '${this.globals.projectName}';
144
+ $ GRANT ALL PRIVILEGES ON DATABASE "${this.globals.projectName}" TO "${this.globals.projectName}";
139
145
 
140
146
  Now go to the ${this.globals.projectName} folder and run:
141
147
 
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "<%= projectName %>:default",
3
+ "title": "<%= projectName %>",
4
+ "description": "Default content of <%= projectName %>",
5
+ "version": 1000
6
+ }
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  }
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "0.0.4",
12
+ "version": "0.0.6",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git@github.com:robgietema/nick.git"
package/CHANGELOG.md DELETED
@@ -1,25 +0,0 @@
1
- # Change Log
2
-
3
- ## 0.0.4 (2024-12-18)
4
-
5
- ### Feature
6
-
7
- - Add Node 23 support @robgietema
8
-
9
- ## 0.0.3 (2024-12-13)
10
-
11
- ### Bugfix
12
-
13
- - Change seed in config @robgietema
14
-
15
- ## 0.0.2 (2024-12-13)
16
-
17
- ### Bugfix
18
-
19
- - Change templates to match new config @robgietema
20
-
21
- ## 0.0.1 (2022-10-11)
22
-
23
- ### Feature
24
-
25
- - Initial release @robgietema