@react-native-windows/cli
Advanced tools
Comparing version 0.0.0-canary.65 to 0.0.0-canary.66
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Sun, 14 Mar 2021 05:06:03 GMT", | ||
"date": "Tue, 23 Mar 2021 05:05:36 GMT", | ||
"tag": "@react-native-windows/cli_v0.0.0-canary.66", | ||
"version": "0.0.0-canary.66", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Autolinking of non-direct dependencies doesn't add the project to the solution", | ||
"author": "asklar@microsoft.com", | ||
"commit": "97fdff576d9f0d77f60be487220acf3bbc4405f4", | ||
"package": "@react-native-windows/cli" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Sun, 14 Mar 2021 05:06:38 GMT", | ||
"tag": "@react-native-windows/cli_v0.0.0-canary.65", | ||
@@ -8,0 +23,0 @@ "version": "0.0.0-canary.65", |
# Change Log - @react-native-windows/cli | ||
This log was last generated on Sun, 14 Mar 2021 05:06:03 GMT and should not be manually modified. | ||
This log was last generated on Tue, 23 Mar 2021 05:05:36 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 0.0.0-canary.66 | ||
Tue, 23 Mar 2021 05:05:36 GMT | ||
### Changes | ||
- Autolinking of non-direct dependencies doesn't add the project to the solution (asklar@microsoft.com) | ||
## 0.0.0-canary.65 | ||
Sun, 14 Mar 2021 05:06:03 GMT | ||
Sun, 14 Mar 2021 05:06:38 GMT | ||
@@ -11,0 +19,0 @@ ### Changes |
@@ -299,2 +299,38 @@ "use strict"; | ||
}); | ||
test('Indirect autolink dependency', () => { | ||
const autolink = new AutolinkTest({ windows: { folder: __dirname, sourceDir: '.', solutionFile: 'foo.sln' } }, { | ||
superModule: { | ||
name: 'superModule', | ||
root: 'theRoot', | ||
platforms: { | ||
windows: { | ||
sourceDir: __dirname, | ||
projects: [ | ||
{ | ||
directDependency: true, | ||
projectFile: 'superModule.vcxproj', | ||
cppHeaders: ['Garfield.h', 'Snoopy.h'], | ||
cppPackageProviders: ['FamousAnimalCartoons'], | ||
}, | ||
{ | ||
directDependency: false, | ||
projectFile: 'indirect.vcxproj', | ||
} | ||
], | ||
}, | ||
}, | ||
assets: [], | ||
hooks: {}, | ||
params: [], | ||
}, | ||
}, { | ||
check: true, | ||
logging: false, | ||
proj: 'projects/WithIndirectDependency/windows/WithIndirectDependency/WithIndirectDependency.vcxproj', | ||
}); | ||
const replacements = autolink.getCppReplacements(); | ||
expect(replacements.cppIncludes).toMatch(/#include <Garfield.h>/); | ||
expect(replacements.cppIncludes).toMatch(/#include <Snoopy.h>/); | ||
expect(replacements.cppPackageProviders).toContain('packageProviders.Append(winrt::FamousAnimalCartoons())'); | ||
}); | ||
//# sourceMappingURL=autolink.test.js.map |
@@ -63,2 +63,3 @@ "use strict"; | ||
}), | ||
project('WithIndirectDependency'), | ||
]; | ||
@@ -65,0 +66,0 @@ // Tests that given userConfig is null, the result will always be null |
@@ -60,2 +60,3 @@ "use strict"; | ||
}), | ||
project('WithIndirectDependency'), | ||
]; | ||
@@ -62,0 +63,0 @@ // Tests that given userConfig is null, the result will always be null |
@@ -260,3 +260,3 @@ "use strict"; | ||
item in project && | ||
project[item] && | ||
project[item] !== '' && | ||
!project[item].toString().startsWith('Error: ')); | ||
@@ -263,0 +263,0 @@ }); |
{ | ||
"name": "@react-native-windows/cli", | ||
"version": "0.0.0-canary.65", | ||
"version": "0.0.0-canary.66", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
423562
5888