@sonarsource/sonar-dummy-js 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +159 -668
- package/README.md +5 -1
- package/index.js +11 -0
- package/package.json +16 -4
- package/.github/workflows/release.yml +0 -26
- package/.npmrc.bak +0 -3
- package/tmp/package/LICENSE +0 -674
- package/tmp/package/README.md +0 -1
- package/tmp/package/package.json +0 -9
package/README.md
CHANGED
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonarsource/sonar-dummy-js",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Dummy project
|
|
3
|
+
"version": "1.0.14",
|
|
4
|
+
"description": "Dummy project making use of SonarSource organization tools for releasing NPM projects",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "jest",
|
|
8
|
+
"build": "npm --version"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"index.js",
|
|
12
|
+
"LICENSE",
|
|
13
|
+
"README.md"
|
|
14
|
+
],
|
|
6
15
|
"repository": "git@github.com:SonarSource/sonar-dummy-js.git",
|
|
7
|
-
"author": "
|
|
8
|
-
"license": "LGPLv3"
|
|
16
|
+
"author": "DevInfra Squad <platform.devinfra@sonarsource.com>",
|
|
17
|
+
"license": "LGPLv3",
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"jest": "^29.7.0"
|
|
20
|
+
}
|
|
9
21
|
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
on:
|
|
2
|
-
release:
|
|
3
|
-
types:
|
|
4
|
-
- published
|
|
5
|
-
|
|
6
|
-
jobs:
|
|
7
|
-
publish:
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
env:
|
|
10
|
-
RELEASE_TAG: ${{ github.event.release.tag_name }}
|
|
11
|
-
REPOX_URL: "https://repox.jfrog.io/artifactory"
|
|
12
|
-
NPM_REPOSITORY: "sonarsource-npm-public"
|
|
13
|
-
SCOPE: "%40sonarsource/"
|
|
14
|
-
PACKAGE: "sonar-dummy-js"
|
|
15
|
-
steps:
|
|
16
|
-
- uses: actions/checkout@v1
|
|
17
|
-
- uses: actions/setup-node@v1
|
|
18
|
-
with:
|
|
19
|
-
node-version: 10
|
|
20
|
-
- name: Download artifacts
|
|
21
|
-
run: curl -o $PACKAGE-$RELEASE_TAG.tgz $REPOX_URL/$NPM_REPOSITORY/$SCOPE$PACKAGE/-/$SCOPE$PACKAGE-$RELEASE_TAG.tgz
|
|
22
|
-
- run: mv .github/workflows/.npmrc ~/.npmrc
|
|
23
|
-
- name: Publish npm package
|
|
24
|
-
env:
|
|
25
|
-
NPM_TOKEN: ${{ secrets.SONARTECH_NPM_TOKEN }}
|
|
26
|
-
run: npm publish $PACKAGE-$RELEASE_TAG.tgz
|
package/.npmrc.bak
DELETED