smartling-api-sdk-nodejs 1.5.9 → 2.0.0
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/.scannerwork/report-task.txt +2 -2
- package/Jenkinsfile +7 -7
- package/built/package.json +3 -3
- package/package.json +3 -3
|
@@ -2,5 +2,5 @@ projectKey=smartling-api-sdk-nodejs
|
|
|
2
2
|
serverUrl=https://sonar-next.connectors.stg.smartling.net
|
|
3
3
|
serverVersion=8.6.1.40680
|
|
4
4
|
dashboardUrl=https://sonar-next.connectors.stg.smartling.net/dashboard?id=smartling-api-sdk-nodejs
|
|
5
|
-
ceTaskId=
|
|
6
|
-
ceTaskUrl=https://sonar-next.connectors.stg.smartling.net/api/ce/task?id=
|
|
5
|
+
ceTaskId=AYsp8ejxRe7rJHsZ61kA
|
|
6
|
+
ceTaskUrl=https://sonar-next.connectors.stg.smartling.net/api/ce/task?id=AYsp8ejxRe7rJHsZ61kA
|
package/Jenkinsfile
CHANGED
|
@@ -10,8 +10,8 @@ pipeline {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
steps {
|
|
13
|
-
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:
|
|
14
|
-
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:
|
|
13
|
+
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:18.13.0 npm install --force'
|
|
14
|
+
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:18.13.0 npm test'
|
|
15
15
|
junit 'test-results.xml'
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -66,13 +66,13 @@ pipeline {
|
|
|
66
66
|
|
|
67
67
|
steps {
|
|
68
68
|
sh 'rm -rf built coverage .nyc_output node_modules test-results.xml package-lock.json .npmrc'
|
|
69
|
-
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:
|
|
70
|
-
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:
|
|
69
|
+
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:18.13.0 npm install --production --force'
|
|
70
|
+
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:18.13.0 npm run build'
|
|
71
71
|
|
|
72
72
|
withCredentials([file(credentialsId: 'node-npmrc-public-file', variable: 'FILE')]) {
|
|
73
|
-
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` -v $FILE:`pwd`/.npmrc node:
|
|
74
|
-
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` -v $FILE:`pwd`/.npmrc node:
|
|
75
|
-
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` -v $FILE:`pwd`/.npmrc node:
|
|
73
|
+
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` -v $FILE:`pwd`/.npmrc node:18.13.0 ls -lah `pwd`'
|
|
74
|
+
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` -v $FILE:`pwd`/.npmrc node:18.13.0 cat `pwd`/.npmrc'
|
|
75
|
+
sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` -v $FILE:`pwd`/.npmrc node:18.13.0 npm publish --access public'
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
}
|
package/built/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "smartling-api-sdk-nodejs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Package for Smartling API",
|
|
5
5
|
"main": "built/index.js",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": "
|
|
7
|
+
"node": ">=18"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build:dev": "rm -rf built && tsc --p tsconfig.dev.json && cp -R package.json built",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"form-data": "^4.0.0",
|
|
35
35
|
"merge-deep": "^3.0.3",
|
|
36
36
|
"querystring": "^0.2.1",
|
|
37
|
-
"string-to-file-stream": "^
|
|
37
|
+
"string-to-file-stream": "^2.0.0",
|
|
38
38
|
"typescript": "^4.3.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "smartling-api-sdk-nodejs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Package for Smartling API",
|
|
5
5
|
"main": "built/index.js",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": "
|
|
7
|
+
"node": ">=18"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build:dev": "rm -rf built && tsc --p tsconfig.dev.json && cp -R package.json built",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"form-data": "^4.0.0",
|
|
35
35
|
"merge-deep": "^3.0.3",
|
|
36
36
|
"querystring": "^0.2.1",
|
|
37
|
-
"string-to-file-stream": "^
|
|
37
|
+
"string-to-file-stream": "^2.0.0",
|
|
38
38
|
"typescript": "^4.3.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|