Skip to content

Commit 7653f3a

Browse files
author
John Doe
committed
refactor: add const
1 parent 4dd4009 commit 7653f3a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/nx-plugin/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
import { PLUGIN_NAME } from './plugin/constants.js';
12
import { createNodes, createNodesV2 } from './plugin/index.js';
23

34
// default export for nx.json#plugins
45
const plugin = {
5-
name: '@code-pushup/nx-plugin',
6+
name: PLUGIN_NAME,
67
createNodesV2,
78
// Keep for backwards compatibility with Nx < 21
89
createNodes,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export const CP_TARGET_NAME = 'code-pushup';
2+
export const PLUGIN_NAME = '@code-pushup/nx-plugin';

0 commit comments

Comments
 (0)