Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
b3b72b8a
Unverified
Commit
b3b72b8a
authored
Sep 12, 2020
by
Ryan McKinley
Committed by
GitHub
Sep 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Toolkit: clean node_modules/@grafana/data/node_modules in prepare (#27554)
parent
b6172b11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
packages/grafana-toolkit/src/cli/tasks/plugin.build.ts
+4
-0
No files found.
packages/grafana-toolkit/src/cli/tasks/plugin.build.ts
View file @
b3b72b8a
...
...
@@ -37,6 +37,10 @@ const copyIfNonExistent = (srcPath: string, destPath: string) =>
export
const
prepare
=
useSpinner
<
void
>
(
'Preparing'
,
async
()
=>
{
await
Promise
.
all
([
// Remove local dependencies for @grafana/data/node_modules
// See: https://github.com/grafana/grafana/issues/26748
rimraf
(
resolvePath
(
__dirname
,
'node_modules/@grafana/data/node_modules'
)),
// Copy only if local tsconfig does not exist. Otherwise this will work, but have odd behavior
copyIfNonExistent
(
resolvePath
(
__dirname
,
'../../config/tsconfig.plugin.local.json'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment