Add npm, maven, conan configs (excluding cache)

This commit is contained in:
Riz Ashraf
2026-02-12 09:59:21 +00:00
parent adabc7fff2
commit c6e86575d0
62 changed files with 7292 additions and 0 deletions
@@ -0,0 +1,8 @@
def pre_export(output, conanfile, conanfile_path, reference, **kwargs):
# Check basic meta-data
for field in ["url", "license", "description"]:
field_value = getattr(conanfile, field, None)
if not field_value:
output.warn("Conanfile doesn't have '%s'. It is recommended to add it as attribute"
% field)
@@ -0,0 +1,8 @@
from conans import tools
import requests
def pre_download_recipe(output, reference, remote, **kwargs):
raise Exception(f"recipe downloads disabled: {reference}")
def pre_download_package(output, conanfile_path, reference, package_id, remote, **kwargs):
raise Exception(f"package downloads disabled: {reference} ({package_id})")