@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/scripts",
3
- "version": "1.6.5",
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
- "keywords": [],
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
@@ -1,3 +0,0 @@
1
- {
2
- "parser": "@babel/eslint-parser"
3
- }
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
@@ -1,12 +0,0 @@
1
- {
2
- "printWidth": 120,
3
- "semi": true,
4
- "singleQuote": false,
5
- "trailingComma": "all",
6
- "bracketSpacing": true,
7
- "jsxBracketSameLine": false,
8
- "tabWidth": 4,
9
- "parser": "typescript",
10
- "arrowParens": "avoid",
11
- "eol": "lf"
12
- }
package/.releaserc.yml DELETED
@@ -1,6 +0,0 @@
1
- repositoryUrl: "git+https://gitlab.uxf.cz/uxf/npm-packages/scripts.git"
2
- plugins:
3
- - "@semantic-release/commit-analyzer"
4
- - "@semantic-release/release-notes-generator"
5
- - "@semantic-release/gitlab"
6
- - "@semantic-release/npm"
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
- };