@cerema/cadriciel 0.5.7 → 0.5.9

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.
Files changed (3) hide show
  1. package/cmd/init.js +52 -1
  2. package/gitignore +50 -0
  3. package/package.json +1 -1
package/cmd/init.js CHANGED
@@ -89,7 +89,58 @@ module.exports = function (program) {
89
89
  process.cwd() + '/' + o.project + '/.project',
90
90
  JSON.stringify(o)
91
91
  );
92
- var gitignore = fs.readFileSync(__dirname + '/.gitignore', 'utf-8');
92
+ var gitignore = `
93
+ ##########################
94
+ # Application specfic
95
+ ##########################
96
+ # config/config.js
97
+
98
+ ##########################
99
+ # General
100
+ ##########################
101
+
102
+ #####
103
+ # OS X temporary files
104
+ #
105
+ # c.f. http://www.westwind.com/reference/os-x/invisibles.html
106
+ .DS_Store
107
+ __MACOSX
108
+
109
+ # c.f. http://www.westwind.com/reference/os-x/invisibles.html
110
+ .Trashes
111
+
112
+ # c.f. http://www.westwind.com/reference/os-x/invisibles.html
113
+ *.swp
114
+
115
+ #####
116
+ # Node stuff
117
+ #
118
+ # Logs
119
+ logs
120
+ *.log
121
+ npm-debug.log*
122
+
123
+ # Runtime data
124
+ pids
125
+ *.pid
126
+ *.seed
127
+
128
+ # Coverage directory used by tools like istanbul
129
+ coverage
130
+
131
+ # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
132
+ .grunt
133
+
134
+ # node-waf configuration
135
+ .lock-wscript
136
+
137
+ # Compiled binary addons (http://nodejs.org/api/addons.html)
138
+ build/Release
139
+
140
+ # Dependency directory
141
+ # https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
142
+ node_modules
143
+ `;
93
144
  fs.writeFileSync(
94
145
  process.cwd() + '/' + o.project + '/.gitignore',
95
146
  gitignore
package/gitignore ADDED
@@ -0,0 +1,50 @@
1
+ ##########################
2
+ # Application specfic
3
+ ##########################
4
+ # config/config.js
5
+
6
+ ##########################
7
+ # General
8
+ ##########################
9
+
10
+ #####
11
+ # OS X temporary files
12
+ #
13
+ # c.f. http://www.westwind.com/reference/os-x/invisibles.html
14
+ .DS_Store
15
+ __MACOSX
16
+
17
+ # c.f. http://www.westwind.com/reference/os-x/invisibles.html
18
+ .Trashes
19
+
20
+ # c.f. http://www.westwind.com/reference/os-x/invisibles.html
21
+ *.swp
22
+
23
+ #####
24
+ # Node stuff
25
+ #
26
+ # Logs
27
+ logs
28
+ *.log
29
+ npm-debug.log*
30
+
31
+ # Runtime data
32
+ pids
33
+ *.pid
34
+ *.seed
35
+
36
+ # Coverage directory used by tools like istanbul
37
+ coverage
38
+
39
+ # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
40
+ .grunt
41
+
42
+ # node-waf configuration
43
+ .lock-wscript
44
+
45
+ # Compiled binary addons (http://nodejs.org/api/addons.html)
46
+ build/Release
47
+
48
+ # Dependency directory
49
+ # https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
50
+ node_modules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cerema/cadriciel",
3
- "version": "0.5.7",
3
+ "version": "0.5.9",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "npm": ">=8.0.0",