mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 11:21:20 -08:00
build(types): ENG-04 add strict projects and legacy compiler checks
This commit is contained in:
1 parent
09902b8b8c
commit
771482426f
22 files changed
+346
-49
No files matched your search
@@ -32,6 +32,8 @@ test('toolchain guard rejects unlocked dependencies, competing locks and the wro
|
||||
|
||||
writeManifest({ ...manifest, devDependencies: { ...manifest.devDependencies, 'unlocked-tool': '1.0.0' } })
|
||||
assert.match(run().stderr, /Lock resolution differs: unlocked-tool/)
|
||||
writeManifest({ ...manifest, devDependencies: { ...manifest.devDependencies, 'typescript-compat': 'npm:typescript@^4.3.5' } })
|
||||
assert.match(run().stderr, /Unpinned development dependency: typescript-compat/)
|
||||
writeManifest(manifest)
|
||||
fs.writeFileSync(path.join(fixture, 'packages/example/package.json'), JSON.stringify({ name: 'example', dependencies: { 'option-validator': '^99.0.0' } }))
|
||||
assert.match(run().stderr, /Dependency missing from Yarn lock: option-validator/)
|
||||
|
||||
Reference in new issue
Block a user