@gadmin2n/prisma-react-generator 0.0.36 → 0.0.37
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/CHANGELOG.md +38 -0
- package/dist/generator/generate-ui-config.js +13 -1
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
6
|
+
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
7
|
+
|
|
8
|
+
## [1.4.1] - 2021-10-08
|
|
9
|
+
|
|
10
|
+
- upgrades prisma dependencies to their latest 3.x versions
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Generated code imports using \ instead of / ([#10](https://github.com/vegardit/prisma-generator-nestjs-dto/issues/10))
|
|
19
|
+
|
|
20
|
+
## [1.4.0] - 2021-09-24
|
|
21
|
+
|
|
22
|
+
- upgrades prisma dependencies to their latest 3.x versions
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
## [1.3.1] - 2021-09-24
|
|
31
|
+
|
|
32
|
+
- applies available minor and patch updates to dependencies
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
@@ -81,7 +81,19 @@ function loadConfigFromDirectory(allModels, enums = []) {
|
|
|
81
81
|
console.log(`Created new config file: config/ui/${model.name}.ts`);
|
|
82
82
|
});
|
|
83
83
|
console.log('Compile UI config files ...');
|
|
84
|
-
const
|
|
84
|
+
const tempTsConfig = {
|
|
85
|
+
compilerOptions: {
|
|
86
|
+
moduleResolution: 'node',
|
|
87
|
+
esModuleInterop: true,
|
|
88
|
+
outDir: '.',
|
|
89
|
+
},
|
|
90
|
+
include: ['./*.ts'],
|
|
91
|
+
exclude: ['./*.d.ts'],
|
|
92
|
+
};
|
|
93
|
+
const tempTsConfigPath = path.join(configDirAbs, '_tsconfig.tmp.json');
|
|
94
|
+
fs.writeFileSync(tempTsConfigPath, JSON.stringify(tempTsConfig, null, 2));
|
|
95
|
+
const { code } = shell.cd(configDirAbs).exec('tsc -p _tsconfig.tmp.json');
|
|
96
|
+
fs.unlinkSync(tempTsConfigPath);
|
|
85
97
|
if (code !== 0) {
|
|
86
98
|
shell.cd('../../server');
|
|
87
99
|
process.exit(code);
|
package/package.json
CHANGED