All files / ee/app/assets/javascripts/dependencies/components dependency_list_incomplete_alert.vue

0% Statements 0/1
100% Branches 0/0
0% Functions 0/1
0% Lines 0/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43                                                                                     
<script>
import { GlAlert } from '@gitlab/ui';
 
export default {
  name: 'DependencyListIncompleteAlert',
  components: {
    GlAlert,
  },
  data() {
    return {
      dependencyFiles: [
        'package-lock.json',
        'composer.lock',
        'Gemfile.lock',
        'gems.locked',
        'yarn.lock',
        'requirements.txt',
        'pom.xml',
      ],
    };
  },
};
</script>
 
<template>
  <gl-alert
    variant="warning"
    :title="s__('Dependencies|Unsupported file(s) detected')"
    v-on="$listeners"
  >
    <p>
      {{
        __(
          'One or more of your dependency files are not supported, and the dependency list may be incomplete. Below is a list of supported file types.',
        )
      }}
    </p>
    <ul class="mb-0">
      <li v-for="file in dependencyFiles" :key="file">{{ file }}</li>
    </ul>
  </gl-alert>
</template>