@gls_spain/gps-common 34.9.3 → 34.9.5

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.
@@ -0,0 +1,8 @@
1
+ /node_modules/
2
+ /build
3
+ .idea/workspace.xml
4
+ .idea/tasks.xml
5
+ .idea_modules/
6
+ encodings.xml
7
+ /coverage/
8
+ /*.env
@@ -0,0 +1,9 @@
1
+ /node_modules/
2
+ /build
3
+ .idea/workspace.xml
4
+ .idea/tasks.xml
5
+ .idea_modules/
6
+ encodings.xml
7
+ /coverage/
8
+ /*.env
9
+ /.history
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@gls_spain/gps-common",
3
+ "version": "34.9.4",
4
+ "description": "Errors, schemas and documentation for the Parcel Shops project",
5
+ "main": "index.js",
6
+ "keywords": [
7
+ "gls"
8
+ ],
9
+ "author": {
10
+ "name": "Cristóbal Valverde Albo",
11
+ "email": "cristobal.valverde@gls-spain.es"
12
+ },
13
+ "license": "UNLICENSED",
14
+ "homepage": "https://github.com/GLS-Spain/gps-common",
15
+ "config": {
16
+ "commitizen": {
17
+ "path": "node_modules/cz-conventional-changelog"
18
+ }
19
+ },
20
+ "husky": {
21
+ "hooks": {
22
+ "pre-commit": "npm run test"
23
+ }
24
+ },
25
+ "devDependencies": {
26
+ "@semantic-release/changelog": "^5.0.1",
27
+ "@semantic-release/git": "^9.0.0",
28
+ "@semantic-release/npm": "^7.0.10",
29
+ "@semantic-release/release-notes-generator": "^9.0.1",
30
+ "@types/jest": "^25.2.3",
31
+ "ajv": "^6.12.6",
32
+ "commitizen": "^4.2.3",
33
+ "cz-conventional-changelog": "^3.3.0",
34
+ "eslint": "^6.8.0",
35
+ "eslint-config-airbnb-base": "^14.2.1",
36
+ "eslint-config-prettier": "^6.15.0",
37
+ "eslint-plugin-import": "^2.22.1",
38
+ "husky": "^4.3.8",
39
+ "jest": "^25.5.4",
40
+ "prettier": "^1.19.1",
41
+ "redoc-cli": "^0.9.13",
42
+ "semantic-release": "^17.4.1"
43
+ },
44
+ "dependencies": {
45
+ "@gls_spain/ajv-options": "^1.1.2",
46
+ "@gls_spain/common-errors": "^1.1.0",
47
+ "@gls_spain/common-json-schemas": "^1.2.4",
48
+ "@gls_spain/mongodb": "^1.2.0",
49
+ "@gls_spain/winston-transports": "^1.0.2",
50
+ "lodash": "^4.17.21",
51
+ "winston": "^3.3.3",
52
+ "yargs": "^15.4.1"
53
+ },
54
+ "scripts": {
55
+ "commit": "git-cz",
56
+ "semantic-release": "semantic-release",
57
+ "test": "jest",
58
+ "build-json-schemas": "node scripts/build-json-schemas.js --output=build/schemas",
59
+ "build-documentation": "node scripts/build-documentation.js --output=build/documentation/documentation.html"
60
+ },
61
+ "bin": {
62
+ "build-gps-schemas": "scripts/build-json-schemas.js",
63
+ "build-gps-documentation": "scripts/build-documentation.js"
64
+ }
65
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@gls_spain/gps-common",
3
+ "version": "34.9.4",
4
+ "description": "Errors, schemas and documentation for the Parcel Shops project",
5
+ "main": "index.js",
6
+ "keywords": [
7
+ "gls"
8
+ ],
9
+ "author": {
10
+ "name": "Cristóbal Valverde Albo",
11
+ },
12
+ "license": "UNLICENSED",
13
+ "homepage": "https://github.com/GLS-Spain/gps-common",
14
+ "config": {
15
+ "commitizen": {
16
+ "path": "node_modules/cz-conventional-changelog"
17
+ }
18
+ },
19
+ "husky": {
20
+ "hooks": {
21
+ "pre-commit": "npm run test"
22
+ }
23
+ },
24
+ "devDependencies": {
25
+ "@semantic-release/changelog": "^5.0.1",
26
+ "@semantic-release/git": "^9.0.0",
27
+ "@semantic-release/npm": "^7.0.10",
28
+ "@semantic-release/release-notes-generator": "^9.0.1",
29
+ "@types/jest": "^25.2.3",
30
+ "ajv": "^6.12.6",
31
+ "commitizen": "^4.2.3",
32
+ "cz-conventional-changelog": "^3.3.0",
33
+ "eslint": "^6.8.0",
34
+ "eslint-config-airbnb-base": "^14.2.1",
35
+ "eslint-config-prettier": "^6.15.0",
36
+ "eslint-plugin-import": "^2.22.1",
37
+ "husky": "^4.3.8",
38
+ "jest": "^25.5.4",
39
+ "prettier": "^1.19.1",
40
+ "redoc-cli": "^0.9.13",
41
+ "semantic-release": "^17.4.1"
42
+ },
43
+ "dependencies": {
44
+ "@gls_spain/ajv-options": "^1.1.2",
45
+ "@gls_spain/common-errors": "^1.1.0",
46
+ "@gls_spain/common-json-schemas": "^1.2.4",
47
+ "@gls_spain/mongodb": "^1.2.0",
48
+ "@gls_spain/winston-transports": "^1.0.2",
49
+ "lodash": "^4.17.21",
50
+ "winston": "^3.3.3",
51
+ "yargs": "^15.4.1"
52
+ },
53
+ "scripts": {
54
+ "commit": "git-cz",
55
+ "semantic-release": "semantic-release",
56
+ "test": "jest",
57
+ "build-json-schemas": "node scripts/build-json-schemas.js --output=build/schemas",
58
+ "build-documentation": "node scripts/build-documentation.js --output=build/documentation/documentation.html"
59
+ },
60
+ "bin": {
61
+ "build-gps-schemas": "scripts/build-json-schemas.js",
62
+ "build-gps-documentation": "scripts/build-documentation.js"
63
+ }
64
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@gls_spain/gps-common",
3
+ "version": "34.9.4",
4
+ "description": "Errors, schemas and documentation for the Parcel Shops project",
5
+ "main": "index.js",
6
+ "keywords": [
7
+ "gls"
8
+ ],
9
+ "author": {
10
+ "name": "Cristóbal Valverde Albo"
11
+ },
12
+ "license": "UNLICENSED",
13
+ "homepage": "https://github.com/GLS-Spain/gps-common",
14
+ "config": {
15
+ "commitizen": {
16
+ "path": "node_modules/cz-conventional-changelog"
17
+ }
18
+ },
19
+ "husky": {
20
+ "hooks": {
21
+ "pre-commit": "npm run test"
22
+ }
23
+ },
24
+ "devDependencies": {
25
+ "@semantic-release/changelog": "^5.0.1",
26
+ "@semantic-release/git": "^9.0.0",
27
+ "@semantic-release/npm": "^7.0.10",
28
+ "@semantic-release/release-notes-generator": "^9.0.1",
29
+ "@types/jest": "^25.2.3",
30
+ "ajv": "^6.12.6",
31
+ "commitizen": "^4.2.3",
32
+ "cz-conventional-changelog": "^3.3.0",
33
+ "eslint": "^6.8.0",
34
+ "eslint-config-airbnb-base": "^14.2.1",
35
+ "eslint-config-prettier": "^6.15.0",
36
+ "eslint-plugin-import": "^2.22.1",
37
+ "husky": "^4.3.8",
38
+ "jest": "^25.5.4",
39
+ "prettier": "^1.19.1",
40
+ "redoc-cli": "^0.9.13",
41
+ "semantic-release": "^17.4.1"
42
+ },
43
+ "dependencies": {
44
+ "@gls_spain/ajv-options": "^1.1.2",
45
+ "@gls_spain/common-errors": "^1.1.0",
46
+ "@gls_spain/common-json-schemas": "^1.2.4",
47
+ "@gls_spain/mongodb": "^1.2.0",
48
+ "@gls_spain/winston-transports": "^1.0.2",
49
+ "lodash": "^4.17.21",
50
+ "winston": "^3.3.3",
51
+ "yargs": "^15.4.1"
52
+ },
53
+ "scripts": {
54
+ "commit": "git-cz",
55
+ "semantic-release": "semantic-release",
56
+ "test": "jest",
57
+ "build-json-schemas": "node scripts/build-json-schemas.js --output=build/schemas",
58
+ "build-documentation": "node scripts/build-documentation.js --output=build/documentation/documentation.html"
59
+ },
60
+ "bin": {
61
+ "build-gps-schemas": "scripts/build-json-schemas.js",
62
+ "build-gps-documentation": "scripts/build-documentation.js"
63
+ }
64
+ }
package/CHANGELOG.md CHANGED
@@ -1,10 +1,24 @@
1
- ## [34.9.3](https://github.com/GLS-Spain/gps-common/compare/v34.9.2...v34.9.3) (2021-03-05)
1
+ ## [34.9.5](https://github.com/GLS-Spain/gps-common/compare/v34.9.4...v34.9.5) (2021-03-11)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * add field to jsonSchema to fiscal data ([7dda0d6](https://github.com/GLS-Spain/gps-common/commit/7dda0d6a28c86cb60c6a013391282b2e2d087c73))
6
+ * force publish ([a94a134](https://github.com/GLS-Spain/gps-common/commit/a94a13435f8ff0b360ab9887146de4ae27dede6f))
7
7
 
8
+ ## [34.9.4](https://github.com/GLS-Spain/gps-common/compare/v34.9.3...v34.9.4) (2021-03-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add new activities to shop ([298a486](https://github.com/GLS-Spain/gps-common/commit/298a48688e57b24a1ed99653250424c765b46dcb))
14
+
15
+ ## [34.9.3](https://github.com/GLS-Spain/gps-common/compare/v34.9.2...v34.9.3) (2021-03-05)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * add field to jsonSchema to fiscal data ([7dda0d6](https://github.com/GLS-Spain/gps-common/commit/7dda0d6a28c86cb60c6a013391282b2e2d087c73))
21
+
8
22
  ## [34.9.2](https://github.com/GLS-Spain/gps-common/compare/v34.9.1...v34.9.2) (2021-01-25)
9
23
 
10
24
 
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.9.3",
3
+ "version": "34.9.5",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "main": "index.js",
6
6
  "keywords": [
7
7
  "gls"
8
8
  ],
9
9
  "author": {
10
- "name": "Cristóbal Valverde Albo",
11
- "email": "cristobal.valverde@gls-spain.es"
10
+ "name": "Cristóbal Valverde Albo"
12
11
  },
13
12
  "license": "UNLICENSED",
14
13
  "homepage": "https://github.com/GLS-Spain/gps-common",
@@ -96,26 +96,35 @@ const shopActivity = () => ({
96
96
  'computer',
97
97
  'optics',
98
98
  'pharmacy',
99
+ 'herbalist',
99
100
  'food',
100
101
  'hardware',
101
102
  'tobacco',
103
+ 'vaping',
102
104
  'lottery',
103
105
  'clothing',
104
106
  'barberShop',
105
107
  'bar',
106
108
  'appliances',
107
109
  'repairShop',
110
+ 'spareParts',
108
111
  'gasStation',
109
112
  'realState',
110
113
  'travelAgency',
111
114
  'legal',
115
+ 'multipleServices',
112
116
  'academy',
117
+ 'training',
113
118
  'sportsShop',
114
119
  'gardenAndPets',
115
120
  'photos',
116
121
  'jewelryStore',
117
122
  'shoeShop',
118
- 'other',
123
+ 'nutritionStores',
124
+ 'moving',
125
+ 'dryCleaner',
126
+ 'toyStores',
127
+ 'other'
119
128
  ],
120
129
  });
121
130
 
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  const fs = require('fs');
4
4
  const path = require('path');
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  const fs = require('fs');
4
4
  const path = require('path');