@artisan-commerce/builders 0.5.0-canary.1 → 0.5.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/CHANGELOG.md +30 -0
- package/build/builders/billingData.builder.d.ts +2 -0
- package/build/{src/builders → builders}/category.builder.d.ts +0 -0
- package/build/{src/builders → builders}/channel.builder.d.ts +0 -0
- package/build/{src/builders → builders}/common.builder.d.ts +5 -0
- package/build/{src/builders → builders}/product.builder.d.ts +0 -0
- package/build/builders/shippingAddress.builder.d.ts +11 -0
- package/build/{src/builders → builders}/shoppingCart.builder.d.ts +0 -0
- package/build/{src/builders → builders}/store.builder.d.ts +0 -0
- package/build/builders/user.builder.d.ts +2 -0
- package/build/{src/builders → builders}/vendor.builder.d.ts +0 -0
- package/build/config/constants.d.ts +2 -0
- package/build/{src/data → data}/products.data.d.ts +0 -0
- package/build/{src/index.d.ts → index.d.ts} +4 -1
- package/build/{src/lib → lib}/artisan.d.ts +0 -0
- package/build/main.bundle.js +1 -1
- package/build/report.json +1 -1
- package/build/{src/types → types}/artisan.types.d.ts +0 -0
- package/build/{src/types → types}/product.types.d.ts +0 -0
- package/build/{src/utils → utils}/artisan.utils.d.ts +0 -0
- package/build/vendors.bundle.js +1 -1
- package/build/{src/vendors.d.ts → vendors.d.ts} +0 -0
- package/package.json +9 -16
- package/build/src/config/constants.d.ts +0 -13
- package/build/src/i18n/i18n.d.ts +0 -2
- package/build/src/utils/axios.d.ts +0 -2
- package/build/src/utils/bugsnag.d.ts +0 -2
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/vendors.bundle.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("builders",[],t):"object"==typeof exports?exports.builders=t():e.builders=t()}(this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("builders",[],t):"object"==typeof exports?exports.builders=t():e.builders=t()}(this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1067)}({1067:function(e,t){}})}));
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artisan-commerce/builders",
|
|
3
3
|
"description": "Builder functions for all artisan entities",
|
|
4
|
-
"version": "0.5.0
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"main": "./build/main.bundle.js",
|
|
6
|
-
"types": "./build/
|
|
6
|
+
"types": "./build/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"build/",
|
|
9
9
|
"LICENSE",
|
|
@@ -15,29 +15,22 @@
|
|
|
15
15
|
"build": "webpack --config webpack.prod.js",
|
|
16
16
|
"start:build": "nodemon ./build/main.bundle.js",
|
|
17
17
|
"test": "jest --watchAll --passWithNoTests",
|
|
18
|
-
"test:all": "yarn test --
|
|
19
|
-
"test:ci": "cross-env CI=true jest
|
|
18
|
+
"test:all": "yarn test --watchAll=false --coverage",
|
|
19
|
+
"test:ci": "cross-env CI=true jest --passWithNoTests",
|
|
20
20
|
"test:staged": "yarn test:ci --findRelatedTests ./src",
|
|
21
21
|
"check-types": "tsc --noEmit",
|
|
22
22
|
"lint": "eslint --ignore-path .gitignore --ignore-pattern !cypress/.eslintrc.js --ext .js,jsx,.ts,.tsx .",
|
|
23
23
|
"lint:staged": "yarn lint --max-warnings=0",
|
|
24
24
|
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|jsx|ts|tsx|json|css|scss|html)\"",
|
|
25
|
-
"format": "yarn prettier --
|
|
26
|
-
"check-format": "yarn prettier --
|
|
25
|
+
"format": "yarn prettier --write",
|
|
26
|
+
"check-format": "yarn prettier --list-different",
|
|
27
27
|
"validate": "cross-env CI=true npm-run-all --parallel test:ci check-types check-format lint build",
|
|
28
|
-
"validate:ci": "npm-run-all --parallel check-types check-format lint"
|
|
29
|
-
"prepare": "yarn build"
|
|
28
|
+
"validate:ci": "npm-run-all --parallel check-types check-format lint"
|
|
30
29
|
},
|
|
31
30
|
"author": "Luis Eduardo Andrade",
|
|
32
31
|
"license": "MIT",
|
|
33
|
-
"dependencies": {
|
|
34
|
-
"@bugsnag/js": "^7.2.0",
|
|
35
|
-
"i18next": "^19.6.2",
|
|
36
|
-
"i18next-browser-languagedetector": "^5.0.0",
|
|
37
|
-
"i18next-xhr-backend": "^3.2.2"
|
|
38
|
-
},
|
|
39
32
|
"devDependencies": {
|
|
40
|
-
"@artisan-commerce/types": "0.
|
|
33
|
+
"@artisan-commerce/types": "0.12.0",
|
|
41
34
|
"@babel/core": "^7.10.5",
|
|
42
35
|
"@babel/preset-env": "^7.10.4",
|
|
43
36
|
"@babel/preset-react": "^7.10.4",
|
|
@@ -83,5 +76,5 @@
|
|
|
83
76
|
"webpack-dev-server": "^3.11.0",
|
|
84
77
|
"webpack-merge": "^5.0.9"
|
|
85
78
|
},
|
|
86
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "f5cd4953e041594e2beec58711cde2b57298d286"
|
|
87
80
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const CONSTANTS: {
|
|
2
|
-
CLIENT_NAME: string;
|
|
3
|
-
DEFAULT_REQUEST_TIMEOUT: number;
|
|
4
|
-
EXCLUDED_LOGGER_STATUS_CODES: number[];
|
|
5
|
-
INCLUDED_LOGGER_ENVS: string[];
|
|
6
|
-
INCLUDED_INTL_LOG_ENVS: string[];
|
|
7
|
-
COUNTRY: {
|
|
8
|
-
NAME: string;
|
|
9
|
-
CODE: string;
|
|
10
|
-
LANGUAGE: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default CONSTANTS;
|
package/build/src/i18n/i18n.d.ts
DELETED