()
| 135 | } |
| 136 | |
| 137 | function createVsCodeConfig() { |
| 138 | fs.mkdirSync('.vscode', { recursive: true }); |
| 139 | fs.writeFileSync( |
| 140 | '.vscode/settings.json', |
| 141 | JSON.stringify( |
| 142 | { |
| 143 | 'files.associations': { |
| 144 | '*.zmodel': 'zmodel-v3', |
| 145 | }, |
| 146 | }, |
| 147 | null, |
| 148 | 4, |
| 149 | ), |
| 150 | ); |
| 151 | fs.writeFileSync('.vscode/extensions.json', JSON.stringify({ recommendations: ['zenstack.zenstack-v3'] }, null, 4)); |
| 152 | } |