Comparing version 1.0.4 to 1.0.5
@@ -19,33 +19,6 @@ cmake_minimum_required(VERSION 3.6) | ||
execute_process(COMMAND node index.js | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} | ||
OUTPUT_VARIABLE DEPS_LIST_oid | ||
) | ||
include(cmake/npm.cmake) | ||
if(DEPS_LIST_oid) | ||
string(REPLACE "\n" ";" DEPS_LIST_oid ${DEPS_LIST_oid}) | ||
foreach(pkg ${DEPS_LIST_oid}) | ||
string(REPLACE "," ";" DEP_PATHS ${pkg}) | ||
list(GET DEP_PATHS 0 ABSOLUTE_PATH) | ||
list(GET DEP_PATHS 1 RELATIVE_PATH) | ||
get_property(CCPM_SOURCE_LIST GLOBAL PROPERTY "CCPM_SOURCE_LIST") | ||
if(NOT CCPM_SOURCE_LIST) | ||
set_property(GLOBAL PROPERTY "CCPM_SOURCE_LIST" "${ABSOLUTE_PATH}") | ||
message("add_subdirectory: ${ABSOLUTE_PATH} ${RELATIVE_PATH}") | ||
add_subdirectory(${ABSOLUTE_PATH} ${RELATIVE_PATH}) | ||
else() | ||
list(FIND CCPM_SOURCE_LIST ${ABSOLUTE_PATH} FIND_INDEX) | ||
if(${FIND_INDEX} MATCHES "-1") | ||
set_property(GLOBAL PROPERTY "CCPM_SOURCE_LIST" "${CCPM_SOURCE_LIST};${ABSOLUTE_PATH}") | ||
message("add_subdirectory: ${ABSOLUTE_PATH} ${RELATIVE_PATH}") | ||
add_subdirectory(${ABSOLUTE_PATH} ${RELATIVE_PATH}) | ||
else() | ||
message("found ${ABSOLUTE_PATH}") | ||
endif() | ||
endif() | ||
endforeach() | ||
endif() | ||
if(CCPM_BUILD_TEST) | ||
target_link_libraries(${TEST_EXE_NAME} cmocha) | ||
endif() | ||
endif() |
@@ -1,3 +0,1 @@ | ||
const getDepPaths = require('@ccpm/dep-paths').getDepPaths | ||
const paths = getDepPaths(__dirname) | ||
paths.forEach(p => console.log(p)) | ||
// nothing |
{ | ||
"name": "@ccpm/oid", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "C implemention for MongoDB ObjectID", | ||
@@ -21,4 +21,4 @@ "main": "index.js", | ||
"@ccpm/cmocha": "^1.0.2", | ||
"@ccpm/dep-paths": "^1.0.1" | ||
"@ccpm/dep-paths": "^1.1.0" | ||
} | ||
} |
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
16
26693
1
Updated@ccpm/dep-paths@^1.1.0