@artisan-commerce/builders 0.4.12 → 0.5.0-canary.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.
@@ -11,6 +11,7 @@ export declare const genPriceCategoryTaxes: (quantity?: number | undefined) => P
11
11
  export declare const buildPriceCategory: (overrides?: Partial<PriceCategory>) => PriceCategory;
12
12
  export declare const buildBaseProduct: (overrides?: Partial<BaseProduct>) => BaseProduct;
13
13
  export declare const genBaseProducts: (quantity?: number | undefined) => BaseProduct[];
14
+ export declare const MODIFIER_TYPES: string[];
14
15
  export declare const buildProductAnswer: (overrides?: Partial<ProductAnswer>, loop?: number) => ProductAnswer;
15
16
  export declare const genProductAnswers: (quantity?: number | undefined, loop?: number) => ProductAnswer[];
16
17
  export declare const buildProductQuestion: (overrides?: Partial<ProductQuestion>, loop?: number) => ProductQuestion;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@artisan-commerce/builders",
3
3
  "description": "Builder functions for all artisan entities",
4
- "version": "0.4.12",
4
+ "version": "0.5.0-canary.0",
5
5
  "main": "./build/main.bundle.js",
6
6
  "types": "./build/src/index.d.ts",
7
7
  "files": [
@@ -15,18 +15,18 @@
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": "npm run test -- --watchAll=false --coverage",
18
+ "test:all": "yarn test -- --watchAll=false --coverage",
19
19
  "test:ci": "cross-env CI=true jest --runInBand --passWithNoTests",
20
- "test:staged": "npm run test:ci --findRelatedTests",
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
- "lint:staged": "npm run lint --max-warnings=0",
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": "npm run prettier -- --write",
26
- "check-format": "npm run prettier -- --list-different",
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
28
  "validate:ci": "npm-run-all --parallel check-types check-format lint",
29
- "prepare": "npm run build"
29
+ "prepare": "yarn build"
30
30
  },
31
31
  "author": "Luis Eduardo Andrade",
32
32
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "i18next-xhr-backend": "^3.2.2"
38
38
  },
39
39
  "devDependencies": {
40
- "@artisan-commerce/types": "^0.10.5",
40
+ "@artisan-commerce/types": "0.11.0-canary.10",
41
41
  "@babel/core": "^7.10.5",
42
42
  "@babel/preset-env": "^7.10.4",
43
43
  "@babel/preset-react": "^7.10.4",
@@ -83,5 +83,5 @@
83
83
  "webpack-dev-server": "^3.11.0",
84
84
  "webpack-merge": "^5.0.9"
85
85
  },
86
- "gitHead": "3b0a29f7abbc58a5ce610fd05bee653f01e82496"
86
+ "gitHead": "3e599fb3c6093d3959bbb6f461d13e49e8f74189"
87
87
  }