@uxf/scripts 1.6.5 → 10.0.0-beta.45
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/package.json +10 -12
- package/src/uxf-sitemap-check/index.js +0 -1
- package/.eslintrc.json +0 -3
- package/.gitlab-ci.yml +0 -17
- package/.prettierrc +0 -12
- package/.releaserc.yml +0 -6
- package/Makefile +0 -2
- package/babel.config.js +0 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxf/scripts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0-beta.45",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,10 +9,17 @@
|
|
|
9
9
|
"uxf-sitemap-check": "bin/uxf-sitemap-check.js",
|
|
10
10
|
"uxf-sitemap-meta-export": "bin/uxf-sitemap-meta-export.js"
|
|
11
11
|
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "",
|
|
14
|
+
"typecheck": "",
|
|
15
|
+
"test": "./node_modules/.bin/eslint ./bin"
|
|
16
|
+
},
|
|
12
17
|
"publishConfig": {
|
|
13
18
|
"access": "public"
|
|
14
19
|
},
|
|
15
|
-
"
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git"
|
|
22
|
+
},
|
|
16
23
|
"author": "",
|
|
17
24
|
"license": "ISC",
|
|
18
25
|
"dependencies": {
|
|
@@ -21,14 +28,5 @@
|
|
|
21
28
|
"cheerio": "^1.0.0-rc.3",
|
|
22
29
|
"moment": "^2.29.0",
|
|
23
30
|
"yargs": "^16.0.3"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@babel/eslint-parser": "^7.17.0",
|
|
27
|
-
"@babel/preset-env": "^7.16.11",
|
|
28
|
-
"eslint": "^8.8.0",
|
|
29
|
-
"prettier": "^2.1.2"
|
|
30
|
-
},
|
|
31
|
-
"scripts": {
|
|
32
|
-
"test": "./node_modules/.bin/eslint ./bin"
|
|
33
31
|
}
|
|
34
|
-
}
|
|
32
|
+
}
|
|
@@ -131,7 +131,6 @@ function createCorrectLinks(incorrectLinks, webUrl) {
|
|
|
131
131
|
async function fetchUrl(url, parentUrl = undefined, ttl = 1) {
|
|
132
132
|
try {
|
|
133
133
|
Sitemap.axios.defaults.maxRedirects = parentUrl ? 10 : 0;
|
|
134
|
-
Sitemap.axios.defaults.decompress = !parentUrl;
|
|
135
134
|
const encodedUrl = parentUrl ? encodeURI(decodeURI(url)) : url;
|
|
136
135
|
|
|
137
136
|
const t0 = performance.now();
|
package/.eslintrc.json
DELETED
package/.gitlab-ci.yml
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
stages:
|
|
2
|
-
- release
|
|
3
|
-
|
|
4
|
-
release:
|
|
5
|
-
image: node:18-buster-slim
|
|
6
|
-
stage: release
|
|
7
|
-
tags:
|
|
8
|
-
- pluto-docker
|
|
9
|
-
before_script:
|
|
10
|
-
- apt-get update && apt-get install -y --no-install-recommends git-core ca-certificates
|
|
11
|
-
- npm install -g semantic-release @semantic-release/gitlab
|
|
12
|
-
- npm install
|
|
13
|
-
- npm run test
|
|
14
|
-
script:
|
|
15
|
-
- semantic-release --debug
|
|
16
|
-
only:
|
|
17
|
-
- master
|
package/.prettierrc
DELETED
package/.releaserc.yml
DELETED
package/Makefile
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
uxf-release:
|
|
2
|
-
CI_SERVER_URL=https://gitlab.uxf.cz GITLAB_TOKEN= SLACK_TOKEN=xoxb- GOOGLE_WEBHOOK_URL="https://chat.googleapis.com/v1/spaces/AAAAREmdmUk/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=Id5HWMI4jMIp2JZx0kK4eJCiKmLUjUJuxpZtpqGqjfY%3D" ./bin/uxf-release.js --slack-channel=C01NQK3LY9Z --project-id=156 --message=":beer-mug: Kalkulator.cz"
|
package/babel.config.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
babel.config.js with useful plugins.
|
|
4
|
-
*/
|
|
5
|
-
module.exports = function (api) {
|
|
6
|
-
api.cache(true);
|
|
7
|
-
api.assertVersion("^7.4.5");
|
|
8
|
-
|
|
9
|
-
return {
|
|
10
|
-
presets: [
|
|
11
|
-
[
|
|
12
|
-
"@babel/preset-env",
|
|
13
|
-
{
|
|
14
|
-
targets: {
|
|
15
|
-
esmodules: true,
|
|
16
|
-
node: true,
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
],
|
|
21
|
-
};
|
|
22
|
-
};
|