|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
3 |
| -exports[`create alice-bobbi module using mocked lib with defaults on Windows 1`] = ` |
| 3 | +exports[`unsupported Windows C# template with defaults 1`] = ` |
4 | 4 | Array [
|
5 | 5 | Object {
|
6 |
| - "ensureDir": "react-native-alice-bobbi", |
7 |
| - }, |
8 |
| - Object { |
9 |
| - "ensureDir": "react-native-alice-bobbi/", |
10 |
| - }, |
11 |
| - Object { |
12 |
| - "ensureDir": "react-native-alice-bobbi/", |
13 |
| - }, |
14 |
| - Object { |
15 |
| - "ensureDir": "react-native-alice-bobbi/", |
16 |
| - }, |
17 |
| - Object { |
18 |
| - "ensureDir": "react-native-alice-bobbi/", |
19 |
| - }, |
20 |
| - Object { |
21 |
| - "ensureDir": "react-native-alice-bobbi/", |
22 |
| - }, |
23 |
| - Object { |
24 |
| - "ensureDir": "react-native-alice-bobbi/", |
25 |
| - }, |
26 |
| - Object { |
27 |
| - "ensureDir": "react-native-alice-bobbi/windows/", |
28 |
| - }, |
29 |
| - Object { |
30 |
| - "ensureDir": "react-native-alice-bobbi/windows/", |
31 |
| - }, |
32 |
| - Object { |
33 |
| - "ensureDir": "react-native-alice-bobbi/windows/", |
34 |
| - }, |
35 |
| - Object { |
36 |
| - "ensureDir": "react-native-alice-bobbi/windows/AliceBobbi/", |
37 |
| - }, |
38 |
| - Object { |
39 |
| - "ensureDir": "react-native-alice-bobbi/windows/AliceBobbi/", |
40 |
| - }, |
41 |
| - Object { |
42 |
| - "ensureDir": "react-native-alice-bobbi/windows/AliceBobbi/", |
43 |
| - }, |
44 |
| - Object { |
45 |
| - "ensureDir": "react-native-alice-bobbi/windows/AliceBobbi/", |
46 |
| - }, |
47 |
| - Object { |
48 |
| - "ensureDir": "react-native-alice-bobbi/windows/AliceBobbi/Properties/", |
49 |
| - }, |
50 |
| - Object { |
51 |
| - "ensureDir": "react-native-alice-bobbi/windows/AliceBobbi/Properties/", |
52 |
| - }, |
53 |
| - Object { |
54 |
| - "outputFileName": "react-native-alice-bobbi/README.md", |
55 |
| - "theContent": "# react-native-alice-bobbi |
56 |
| -
|
57 |
| -## Getting started |
58 |
| -
|
59 |
| -\`$ npm install react-native-alice-bobbi --save\` |
60 |
| -
|
61 |
| -### Mostly automatic installation |
62 |
| -
|
63 |
| -\`$ react-native link react-native-alice-bobbi\` |
64 |
| -
|
65 |
| -## Usage |
66 |
| -\`\`\`javascript |
67 |
| -import AliceBobbi from 'react-native-alice-bobbi'; |
68 |
| -
|
69 |
| -// TODO: What to do with the module? |
70 |
| -AliceBobbi; |
71 |
| -\`\`\` |
72 |
| -", |
73 |
| - }, |
74 |
| - Object { |
75 |
| - "outputFileName": "react-native-alice-bobbi/package.json", |
76 |
| - "theContent": "{ |
77 |
| - \\"name\\": \\"react-native-alice-bobbi\\", |
78 |
| - \\"title\\": \\"React Native Alice Bobbi\\", |
79 |
| - \\"version\\": \\"1.0.0\\", |
80 |
| - \\"description\\": \\"TODO\\", |
81 |
| - \\"main\\": \\"index.js\\", |
82 |
| - \\"scripts\\": { |
83 |
| - \\"test\\": \\"echo \\\\\\"Error: no test specified\\\\\\" && exit 1\\" |
84 |
| - }, |
85 |
| - \\"repository\\": { |
86 |
| - \\"type\\": \\"git\\", |
87 |
| - \\"url\\": \\"git+https://github.com/github_account/react-native-alice-bobbi.git\\", |
88 |
| - \\"baseUrl\\": \\"https://github.com/github_account/react-native-alice-bobbi\\" |
89 |
| - }, |
90 |
| - \\"keywords\\": [ |
91 |
| - \\"react-native\\" |
92 |
| - ], |
93 |
| - \\"author\\": { |
94 |
| - \\"name\\": \\"Your Name\\", |
95 |
| - \\"email\\": \\"[email protected]\\" |
96 |
| - }, |
97 |
| - \\"license\\": \\"MIT\\", |
98 |
| - \\"licenseFilename\\": \\"LICENSE\\", |
99 |
| - \\"readmeFilename\\": \\"README.md\\", |
100 |
| - \\"peerDependencies\\": { |
101 |
| - \\"react\\": \\"^16.8.1\\", |
102 |
| - \\"react-native\\": \\">=0.60.0-rc.0 <1.0.x\\", |
103 |
| - \\"react-native-windows\\": \\">=0.60.0-0 <1.0.x\\" |
104 |
| - }, |
105 |
| - \\"devDependencies\\": { |
106 |
| - \\"react\\": \\"^16.9.0\\", |
107 |
| - \\"react-native\\": \\"^0.61.5\\", |
108 |
| - \\"react-native-windows\\": \\"^0.61.0-beta.5\\" |
109 |
| - } |
110 |
| -} |
111 |
| -", |
112 |
| - }, |
113 |
| - Object { |
114 |
| - "outputFileName": "react-native-alice-bobbi/index.js", |
115 |
| - "theContent": "import { NativeModules } from 'react-native'; |
116 |
| -
|
117 |
| -const { AliceBobbi } = NativeModules; |
118 |
| -
|
119 |
| -export default AliceBobbi; |
120 |
| -", |
121 |
| - }, |
122 |
| - Object { |
123 |
| - "outputFileName": "react-native-alice-bobbi/.gitignore", |
124 |
| - "theContent": "# OSX |
125 |
| -# |
126 |
| -.DS_Store |
127 |
| -
|
128 |
| -# node.js |
129 |
| -# |
130 |
| -node_modules/ |
131 |
| -npm-debug.log |
132 |
| -yarn-error.log |
133 |
| -", |
134 |
| - }, |
135 |
| - Object { |
136 |
| - "outputFileName": "react-native-alice-bobbi/.gitattributes", |
137 |
| - "theContent": "", |
138 |
| - }, |
139 |
| - Object { |
140 |
| - "outputFileName": "react-native-alice-bobbi/.npmignore", |
141 |
| - "theContent": "", |
142 |
| - }, |
143 |
| - Object { |
144 |
| - "outputFileName": "react-native-alice-bobbi/windows/AliceBobbi.sln", |
| 6 | + "outputFileName": "windows/AliceBobbi.sln", |
145 | 7 | "theContent": "Microsoft Visual Studio Solution File, Format Version 12.00
|
146 | 8 | # Visual Studio 14
|
147 | 9 | VisualStudioVersion = 14.0.25123.0
|
@@ -233,7 +95,7 @@ EndGlobal
|
233 | 95 | ",
|
234 | 96 | },
|
235 | 97 | Object {
|
236 |
| - "outputFileName": "react-native-alice-bobbi/windows/.gitignore", |
| 98 | + "outputFileName": "windows/.gitignore", |
237 | 99 | "theContent": "*AppPackages*
|
238 | 100 | *BundleArtifacts*
|
239 | 101 | *ReactAssets*
|
@@ -315,7 +177,7 @@ packages/
|
315 | 177 | ",
|
316 | 178 | },
|
317 | 179 | Object {
|
318 |
| - "outputFileName": "react-native-alice-bobbi/windows/.npmignore", |
| 180 | + "outputFileName": "windows/.npmignore", |
319 | 181 | "theContent": "
|
320 | 182 | # Make sure we don't publish build artifacts to NPM
|
321 | 183 | ARM/
|
|
328 | 190 | ",
|
329 | 191 | },
|
330 | 192 | Object {
|
331 |
| - "outputFileName": "react-native-alice-bobbi/windows/AliceBobbi/project.json", |
| 193 | + "outputFileName": "windows/AliceBobbi/project.json", |
332 | 194 | "theContent": "{
|
333 | 195 | \\"dependencies\\": {
|
334 | 196 | \\"Microsoft.NETCore.UniversalWindowsPlatform\\": \\"5.2.2\\"
|
|
348 | 210 | ",
|
349 | 211 | },
|
350 | 212 | Object {
|
351 |
| - "outputFileName": "react-native-alice-bobbi/windows/AliceBobbi/AliceBobbi.csproj", |
| 213 | + "outputFileName": "windows/AliceBobbi/AliceBobbi.csproj", |
352 | 214 | "theContent": "<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
353 | 215 | <Project ToolsVersion=\\"14.0\\" DefaultTargets=\\"Build\\" xmlns=\\"http://schemas.microsoft.com/developer/msbuild/2003\\">
|
354 | 216 | <Import Project=\\"$(MSBuildExtensionsPath)\\\\$(MSBuildToolsVersion)\\\\Microsoft.Common.props\\" Condition=\\"Exists('$(MSBuildExtensionsPath)\\\\$(MSBuildToolsVersion)\\\\Microsoft.Common.props')\\" />
|
|
505 | 367 | ",
|
506 | 368 | },
|
507 | 369 | Object {
|
508 |
| - "outputFileName": "react-native-alice-bobbi/windows/AliceBobbi/AliceBobbiModule.cs", |
| 370 | + "outputFileName": "windows/AliceBobbi/AliceBobbiModule.cs", |
509 | 371 | "theContent": "using ReactNative.Bridge;
|
510 | 372 | using System;
|
511 | 373 | using System.Collections.Generic;
|
@@ -542,7 +404,7 @@ namespace Alice.Bobbi.AliceBobbi
|
542 | 404 | ",
|
543 | 405 | },
|
544 | 406 | Object {
|
545 |
| - "outputFileName": "react-native-alice-bobbi/windows/AliceBobbi/AliceBobbiPackage.cs", |
| 407 | + "outputFileName": "windows/AliceBobbi/AliceBobbiPackage.cs", |
546 | 408 | "theContent": "using ReactNative.Bridge;
|
547 | 409 | using ReactNative.Modules.Core;
|
548 | 410 | using ReactNative.UIManager;
|
@@ -599,7 +461,7 @@ namespace Alice.Bobbi.AliceBobbi
|
599 | 461 | ",
|
600 | 462 | },
|
601 | 463 | Object {
|
602 |
| - "outputFileName": "react-native-alice-bobbi/windows/AliceBobbi/Properties/AliceBobbi.rd.xml", |
| 464 | + "outputFileName": "windows/AliceBobbi/Properties/AliceBobbi.rd.xml", |
603 | 465 | "theContent": "<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>
|
604 | 466 | <!--
|
605 | 467 | This file contains Runtime Directives, specifications about types your application accesses
|
@@ -631,7 +493,7 @@ namespace Alice.Bobbi.AliceBobbi
|
631 | 493 | ",
|
632 | 494 | },
|
633 | 495 | Object {
|
634 |
| - "outputFileName": "react-native-alice-bobbi/windows/AliceBobbi/Properties/AssemblyInfo.cs", |
| 496 | + "outputFileName": "windows/AliceBobbi/Properties/AssemblyInfo.cs", |
635 | 497 | "theContent": "using System.Reflection;
|
636 | 498 | using System.Runtime.CompilerServices;
|
637 | 499 | using System.Runtime.InteropServices;
|
|
0 commit comments