Skip to content

Commit 09cc066

Browse files
committed
Generate build/package.json during npm run build
1 parent 5110218 commit 09cc066

File tree

6 files changed

+635
-48
lines changed

6 files changed

+635
-48
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,3 @@ xunit.xml
144144

145145
# TS build artifacts
146146
build/*
147-
# clean this up when possible
148-
!build/package.json

.pmgrc.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[data]
2+
name = "@sonar/scan"
3+
main = "src/index.js"
4+
types = "src/index.d.ts"
5+
description = "SonarQube/SonarCloud Scanner for the JavaScript world"
6+
keywords = [
7+
"sonarqube",
8+
"sonarcloud",
9+
"sonarqube-scanner",
10+
"sonarqube-runner",
11+
"sonar-scanner",
12+
"sonar-runner"
13+
]
14+
homepage = "https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/scanners/npm/introduction/"
15+
version = "__VERSION__"
16+
17+
[data.bugs]
18+
url = "https://community.sonarsource.com/tag/scanner"
19+
20+
[data.bin]
21+
sonar = "bin/sonar-scanner.js"
22+
sonar-scanner = "bin/sonar-scanner.js"
23+
24+
[data.engines]
25+
node = ">= 18"

build/package.json

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)