@parca/hooks
Advanced tools
Comparing version 0.0.1 to 0.0.2
import useContainerDimensions from './useContainerDimensions'; | ||
import useUIFeatureFlag from './useUIFeatureFlag'; | ||
import useUserPreference, { USER_PREFERENCES, type UserPreference } from './useUserPreference'; | ||
export { useContainerDimensions, useUIFeatureFlag, useUserPreference, USER_PREFERENCES, type UserPreference, }; | ||
import useUserPreference, { USER_PREFERENCES, type UserPreference, type UserPreferenceDetails } from './useUserPreference'; | ||
export { useContainerDimensions, useUIFeatureFlag, useUserPreference, USER_PREFERENCES, type UserPreference, type UserPreferenceDetails, }; |
@@ -15,3 +15,3 @@ // Copyright 2022 The Parca Authors | ||
import useUIFeatureFlag from './useUIFeatureFlag'; | ||
import useUserPreference, { USER_PREFERENCES } from './useUserPreference'; | ||
import useUserPreference, { USER_PREFERENCES, } from './useUserPreference'; | ||
export { useContainerDimensions, useUIFeatureFlag, useUserPreference, USER_PREFERENCES, }; |
{ | ||
"name": "@parca/hooks", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A library containing React hooks used in the Parca UI", | ||
"main": "dist/src/index.js", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
@@ -22,3 +22,4 @@ "test": "jest --coverage --config ../../../jest.config.js ./src/*", | ||
"registry": "https://registry.npmjs.org/" | ||
} | ||
}, | ||
"gitHead": "12ac7e9f6767020015df495897092340d4a8bb81" | ||
} |
@@ -16,3 +16,7 @@ // Copyright 2022 The Parca Authors | ||
import useUIFeatureFlag from './useUIFeatureFlag'; | ||
import useUserPreference, {USER_PREFERENCES, type UserPreference} from './useUserPreference'; | ||
import useUserPreference, { | ||
USER_PREFERENCES, | ||
type UserPreference, | ||
type UserPreferenceDetails, | ||
} from './useUserPreference'; | ||
@@ -25,2 +29,3 @@ export { | ||
type UserPreference, | ||
type UserPreferenceDetails, | ||
}; |
@@ -6,2 +6,3 @@ { | ||
"baseUrl": "./src", | ||
"jsx": "react-jsx", | ||
"outDir": "dist", | ||
@@ -11,3 +12,3 @@ "noEmit": false, | ||
}, | ||
"exclude": ["node_modules", "dist", "dist/**/*.d.ts", "**/*.test.ts"] | ||
"exclude": ["node_modules", "dist", "**/*.d.ts"] | ||
} |
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
26437
17
358