1
- /* eslint max-len: 0 */
1
+ /* eslint max-len: 0 */
2
2
const uuid = require ( 'uuid' ) . v1 ( ) . toUpperCase ( ) ;
3
+
3
4
module . exports = platform => [ {
4
5
name : ( { name } ) => `${ platform } /${ name } .sln` ,
5
- content : ( { name } ) =>
6
+ content : ( { name } ) =>
6
7
`Microsoft Visual Studio Solution File, Format Version 12.00
7
8
# Visual Studio 14
8
9
VisualStudioVersion = 14.0.25123.0
@@ -83,7 +84,7 @@ EndGlobal
83
84
` ,
84
85
} , {
85
86
name : ( ) => `${ platform } /.gitignore` ,
86
- content : ( ) =>
87
+ content : ( ) =>
87
88
`*AppPackages*
88
89
*BundleArtifacts*
89
90
*ReactAssets*
@@ -165,7 +166,7 @@ packages/
165
166
` ,
166
167
} , {
167
168
name : ( { name } ) => `${ platform } /${ name } /project.json` ,
168
- content : ( ) =>
169
+ content : ( ) =>
169
170
`{
170
171
"dependencies": {
171
172
"Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0"
@@ -185,7 +186,7 @@ packages/
185
186
` ,
186
187
} , {
187
188
name : ( { name } ) => `${ platform } /${ name } /${ name } .csproj` ,
188
- content : ( { name } ) =>
189
+ content : ( { name } ) =>
189
190
`<?xml version="1.0" encoding="utf-8"?>
190
191
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
191
192
<Import Project="$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props')" />
@@ -372,7 +373,7 @@ packages/
372
373
` ,
373
374
} , {
374
375
name : ( { name } ) => `${ platform } /${ name } /${ name } Module.cs` ,
375
- content : ( { name, namespace } ) =>
376
+ content : ( { name, namespace } ) =>
376
377
`using ReactNative.Bridge;
377
378
using System;
378
379
using System.Collections.Generic;
@@ -409,7 +410,7 @@ namespace ${namespace}.${name}
409
410
` ,
410
411
} , {
411
412
name : ( { name } ) => `${ platform } /${ name } /${ name } Package.cs` ,
412
- content : ( { name, namespace } ) =>
413
+ content : ( { name, namespace } ) =>
413
414
`using ReactNative.Bridge;
414
415
using ReactNative.Modules.Core;
415
416
using ReactNative.UIManager;
@@ -466,7 +467,7 @@ namespace ${namespace}.${name}
466
467
` ,
467
468
} , {
468
469
name : ( { name } ) => `${ platform } /${ name } /Properties/${ name } .rd.xml` ,
469
- content : ( { name } ) =>
470
+ content : ( { name } ) =>
470
471
`<?xml version="1.0" encoding="utf-8"?>
471
472
<!--
472
473
This file contains Runtime Directives, specifications about types your application accesses
@@ -498,7 +499,7 @@ namespace ${namespace}.${name}
498
499
` ,
499
500
} , {
500
501
name : ( { name } ) => `${ platform } /${ name } /Properties/AssemblyInfo.cs` ,
501
- content : ( { name } ) =>
502
+ content : ( { name } ) =>
502
503
`using System.Reflection;
503
504
using System.Runtime.CompilerServices;
504
505
using System.Runtime.InteropServices;
0 commit comments