@trayio/generator 2.6.0 → 2.8.0
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.
|
@@ -118,7 +118,12 @@ describe('NodeFsGenerator', () => {
|
|
|
118
118
|
entityVar: 'foo',
|
|
119
119
|
entity: 'Foo',
|
|
120
120
|
};
|
|
121
|
-
|
|
121
|
+
try {
|
|
122
|
+
fs.mkdirSync(outputPath);
|
|
123
|
+
}
|
|
124
|
+
catch (error) {
|
|
125
|
+
// ignore error
|
|
126
|
+
}
|
|
122
127
|
// comment out to see output
|
|
123
128
|
afterAll(() => {
|
|
124
129
|
fs.rmSync(outputPath, { recursive: true, force: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trayio/generator",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"description": "Template based generator",
|
|
5
5
|
"author": "Tray.io",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@trayio/commons": "2.
|
|
14
|
+
"@trayio/commons": "2.8.0",
|
|
15
15
|
"extract-zip": "2.0.1",
|
|
16
16
|
"fs-extra": "11.1.0"
|
|
17
17
|
},
|