Skip to content

Commit b7ceb66

Browse files
xingzhang-suserushk014
authored andcommitted
GitHub #349: Step3 of Project merging to kubewaden-ui: Rename package and reference key name of the package path to align with kubewarden-ui project
1 parent 211fe8f commit b7ceb66

File tree

180 files changed

+210
-189
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+210
-189
lines changed

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
'@': '.',
1111
'~': '.',
1212
'@benchmark-compliance': './pkg/benchmark-compliance',
13-
'@sbombastic-image-vulnerability-scanner': './pkg/sbombastic-image-vulnerability-scanner',
13+
'@sbombastic': './pkg/sbombastic',
1414
'@network': './pkg/network',
1515
'@runtime-process-profile': './pkg/runtime-process-profile',
1616
},

jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const config: Config.InitialOptions = {
1313
'@shell/(.*)': '<rootDir>/node_modules/@rancher/shell/$1',
1414
'@components/(.*)':
1515
'<rootDir>/node_modules/@rancher/components/dist/@rancher/components.common.js',
16-
'@pkg/(.*)': '<rootDir>/pkg/sbomscanner-ui-ext/$1',
16+
'@sbomscanner/(.*)': '<rootDir>/pkg/sbomscanner/$1',
1717
'@network/(.*)': '<rootDir>/pkg/network/$1',
1818
'@runtime-process-profile/(.*)': '<rootDir>/pkg/runtime-process-profile/$1',
1919
'@tests/(.*)': '<rootDir>/tests/$1',
@@ -34,7 +34,7 @@ const config: Config.InitialOptions = {
3434
coverageDirectory: '<rootDir>/coverage/unit',
3535
collectCoverage: true,
3636
collectCoverageFrom: [
37-
'pkg/sbomscanner-ui-ext/**/*.{js,vue}',
37+
'pkg/sbomscanner/**/*.{js,vue}',
3838
'!**/node_modules/**',
3939
'!**/__tests__/**'
4040
],
File renamed without changes.
File renamed without changes.
File renamed without changes.

pkg/sbomscanner-ui-ext/components/CveDetails.vue renamed to pkg/sbomscanner/components/CveDetails.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<script>
22
import { BadgeState } from '@components/BadgeState';
33
4-
import { PRODUCT_NAME, RESOURCE, PAGE } from '@pkg/types';
5-
import { NVD_BASE_URL, CVSS_VECTOR_BASE_URL } from '@pkg/constants';
6-
import { getHighestScore } from '@pkg/utils/report';
4+
import { PRODUCT_NAME, RESOURCE, PAGE } from '@sbomscanner/types';
5+
import { NVD_BASE_URL, CVSS_VECTOR_BASE_URL } from '@sbomscanner/constants';
6+
import { getHighestScore } from '@sbomscanner/utils/report';
77
88
export default {
99
name: 'CveDetails',

pkg/sbomscanner-ui-ext/components/DistributionChart.vue renamed to pkg/sbomscanner/components/DistributionChart.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
</template>
1717

1818
<script>
19-
import BarChart from '@pkg/components/common/BarChart';
20-
import InfoTooltip from '@pkg/components/common/Tooltip';
19+
import BarChart from '@sbomscanner/components/common/BarChart';
20+
import InfoTooltip from '@sbomscanner/components/common/Tooltip';
2121
2222
export default {
2323
name: 'DistributionChart',

0 commit comments

Comments
 (0)