Explorar o código

chore: Pre-release v2.0.0-beta.0

Michael Bromley %!s(int64=2) %!d(string=hai) anos
pai
achega
041394503a

+ 106 - 0
CHANGELOG_NEXT.md

@@ -1,3 +1,109 @@
+## 2.0.0-beta.0 (2023-04-04)
+
+
+#### Fixes
+
+* **admin-ui** Clean up nav menu styles, make light ([78dcc09](https://github.com/vendure-ecommerce/vendure/commit/78dcc09))
+* **admin-ui** Fix broken filter controls in Collection detail ([fd67ac2](https://github.com/vendure-ecommerce/vendure/commit/fd67ac2))
+* **admin-ui** Fix issues with rich text editor in custom field ([aa13dcb](https://github.com/vendure-ecommerce/vendure/commit/aa13dcb))
+* **admin-ui** Fix merge error in collection detail component ([09fc5ef](https://github.com/vendure-ecommerce/vendure/commit/09fc5ef))
+* **admin-ui** Fix navigation to order list component ([9b4821e](https://github.com/vendure-ecommerce/vendure/commit/9b4821e))
+* **admin-ui** Fix rich text editor when used in custom field list ([21ef048](https://github.com/vendure-ecommerce/vendure/commit/21ef048))
+* **admin-ui** Rename vdr-product-selector ([9d9275c](https://github.com/vendure-ecommerce/vendure/commit/9d9275c))
+* **asset-server-plugin** Change image format with no other transforms (#2104) ([6cf1608](https://github.com/vendure-ecommerce/vendure/commit/6cf1608)), closes [#2104](https://github.com/vendure-ecommerce/vendure/issues/2104)
+* **core** Add missing `defaultCurrencyCode` field to Channel type ([589987f](https://github.com/vendure-ecommerce/vendure/commit/589987f))
+* **core** Correctly populate Collections in channel ([58090bb](https://github.com/vendure-ecommerce/vendure/commit/58090bb))
+* **core** Correctly remove invalid promotion couponCodes from Order ([7a1c127](https://github.com/vendure-ecommerce/vendure/commit/7a1c127))
+* **core** Fix concurrent order address update edge case ([f4ca9b2](https://github.com/vendure-ecommerce/vendure/commit/f4ca9b2))
+* **core** Handle cyclic data structures when serializing job data ([10dfa7c](https://github.com/vendure-ecommerce/vendure/commit/10dfa7c))
+* **create** Use "create" version for all Vendure dependencies ([844b9ba](https://github.com/vendure-ecommerce/vendure/commit/844b9ba))
+* **payments-plugin** Make peer dependencies optional ([98c764c](https://github.com/vendure-ecommerce/vendure/commit/98c764c))
+* **testing** More graceful shutdown ([aa91bd0](https://github.com/vendure-ecommerce/vendure/commit/aa91bd0))
+
+#### Features
+
+* **admin-ui** Add filter inheritance control to Collection detail view ([7f1b01e](https://github.com/vendure-ecommerce/vendure/commit/7f1b01e)), closes [#1382](https://github.com/vendure-ecommerce/vendure/issues/1382)
+* **admin-ui** Add support for translatable PaymentMethods ([06efc50](https://github.com/vendure-ecommerce/vendure/commit/06efc50)), closes [#1184](https://github.com/vendure-ecommerce/vendure/issues/1184)
+* **admin-ui** Add support for translatable Promotions ([00bd433](https://github.com/vendure-ecommerce/vendure/commit/00bd433)), closes [#1990](https://github.com/vendure-ecommerce/vendure/issues/1990)
+* **admin-ui** New app layout with updated nav menu ([e6f8584](https://github.com/vendure-ecommerce/vendure/commit/e6f8584)), closes [#1645](https://github.com/vendure-ecommerce/vendure/issues/1645)
+* **admin-ui** Update collection preview on filter inheritance toggle ([1a4aced](https://github.com/vendure-ecommerce/vendure/commit/1a4aced))
+* **admin-ui** Update to Angular v13 ([3b49d23](https://github.com/vendure-ecommerce/vendure/commit/3b49d23))
+* **admin-ui** Update to Angular v15.x ([0c503b4](https://github.com/vendure-ecommerce/vendure/commit/0c503b4))
+* **asset-server-plugin** Update to Sharp v0.30 ([15d8e8d](https://github.com/vendure-ecommerce/vendure/commit/15d8e8d))
+* **core** Add currencyCode to variant price model ([24e558b](https://github.com/vendure-ecommerce/vendure/commit/24e558b)), closes [#1691](https://github.com/vendure-ecommerce/vendure/issues/1691)
+* **core** Add filter method to EventBus (#1930) ([7eabaa7](https://github.com/vendure-ecommerce/vendure/commit/7eabaa7)), closes [#1930](https://github.com/vendure-ecommerce/vendure/issues/1930)
+* **core** Add indices to many-to-one relations ([01e369f](https://github.com/vendure-ecommerce/vendure/commit/01e369f)), closes [#1502](https://github.com/vendure-ecommerce/vendure/issues/1502)
+* **core** Add ProductVariantPriceSelectionStrategy ([efe23d1](https://github.com/vendure-ecommerce/vendure/commit/efe23d1)), closes [#1691](https://github.com/vendure-ecommerce/vendure/issues/1691)
+* **core** Add support for PromotionAction side effects ([1a4a117](https://github.com/vendure-ecommerce/vendure/commit/1a4a117)), closes [#1798](https://github.com/vendure-ecommerce/vendure/issues/1798)
+* **core** Added a unique index to Order.code ([aa6025d](https://github.com/vendure-ecommerce/vendure/commit/aa6025d))
+* **core** ChannelService.findAll() returns PaginatedList ([53fa2a0](https://github.com/vendure-ecommerce/vendure/commit/53fa2a0))
+* **core** Collection preview handles filter inheritance ([3d2c0fb](https://github.com/vendure-ecommerce/vendure/commit/3d2c0fb))
+* **core** Collections can control inheritance of filters ([5d4206f](https://github.com/vendure-ecommerce/vendure/commit/5d4206f)), closes [#1382](https://github.com/vendure-ecommerce/vendure/issues/1382)
+* **core** Create underlying APIs to support multivendor Orders ([3d9f7e8](https://github.com/vendure-ecommerce/vendure/commit/3d9f7e8)), closes [#1329](https://github.com/vendure-ecommerce/vendure/issues/1329)
+* **core** Expose tags on Assets for shop api (#1754) ([d9316df](https://github.com/vendure-ecommerce/vendure/commit/d9316df)), closes [#1754](https://github.com/vendure-ecommerce/vendure/issues/1754)
+* **core** Extract hard-coded fulfillment state & process ([cdb2b75](https://github.com/vendure-ecommerce/vendure/commit/cdb2b75))
+* **core** Extract hard-coded order state & process ([cff3b91](https://github.com/vendure-ecommerce/vendure/commit/cff3b91))
+* **core** Extract hard-coded payment state & process ([4c5c946](https://github.com/vendure-ecommerce/vendure/commit/4c5c946))
+* **core** Implement Admin API operations for stock location, e2e tests ([7913b9a](https://github.com/vendure-ecommerce/vendure/commit/7913b9a)), closes [#1545](https://github.com/vendure-ecommerce/vendure/issues/1545)
+* **core** Implement data model & APIs for multi-location stock ([905c1df](https://github.com/vendure-ecommerce/vendure/commit/905c1df)), closes [#1545](https://github.com/vendure-ecommerce/vendure/issues/1545)
+* **core** Implement GuestCheckoutStrategy ([7e0f1d1](https://github.com/vendure-ecommerce/vendure/commit/7e0f1d1)), closes [#911](https://github.com/vendure-ecommerce/vendure/issues/911) [#762](https://github.com/vendure-ecommerce/vendure/issues/762)
+* **core** Implement localeText custom field type ([6a3c61f](https://github.com/vendure-ecommerce/vendure/commit/6a3c61f)), closes [#2000](https://github.com/vendure-ecommerce/vendure/issues/2000)
+* **core** Implement MoneyStrategy ([61ac041](https://github.com/vendure-ecommerce/vendure/commit/61ac041)), closes [#1835](https://github.com/vendure-ecommerce/vendure/issues/1835)
+* **core** Improve Collection tree data structure ([5e7af0d](https://github.com/vendure-ecommerce/vendure/commit/5e7af0d))
+* **core** Make PaymentMethod entity translatable ([2a4b3bc](https://github.com/vendure-ecommerce/vendure/commit/2a4b3bc)), closes [#1184](https://github.com/vendure-ecommerce/vendure/issues/1184)
+* **core** Make Promotion entity translatable, add description ([dada243](https://github.com/vendure-ecommerce/vendure/commit/dada243)), closes [#1990](https://github.com/vendure-ecommerce/vendure/issues/1990)
+* **core** Normalize email addresses for native auth ([ad7eab8](https://github.com/vendure-ecommerce/vendure/commit/ad7eab8)), closes [#1515](https://github.com/vendure-ecommerce/vendure/issues/1515)
+* **core** Update codegen errors plugin to use object inputs ([6b9b2a4](https://github.com/vendure-ecommerce/vendure/commit/6b9b2a4))
+* **core** Update to NestJS v8, Apollo Server v3, GraphQL v16 ([c843860](https://github.com/vendure-ecommerce/vendure/commit/c843860))
+* **core** Update to TypeScript v4.9.5 ([99da585](https://github.com/vendure-ecommerce/vendure/commit/99da585))
+* **job-queue-plugin** Update bullmq & redis dependencies (#2020) ([eb0b73f](https://github.com/vendure-ecommerce/vendure/commit/eb0b73f)), closes [#2020](https://github.com/vendure-ecommerce/vendure/issues/2020)
+* **testing** Turn productsCsvPath into an optional property for test server initialization (#2038) ([4c2b118](https://github.com/vendure-ecommerce/vendure/commit/4c2b118)), closes [#2038](https://github.com/vendure-ecommerce/vendure/issues/2038)
+* **ui-devkit** Add "exclude" option to UI extensions (#2009) ([dd6eee3](https://github.com/vendure-ecommerce/vendure/commit/dd6eee3)), closes [#2009](https://github.com/vendure-ecommerce/vendure/issues/2009)
+* **ui-devkit** Support module path mappings for UI extensions (#1994) ([6d57c86](https://github.com/vendure-ecommerce/vendure/commit/6d57c86)), closes [#1994](https://github.com/vendure-ecommerce/vendure/issues/1994)
+
+#### Perf
+
+* **core** Add indexes to Product & Collection slugs ([937cf67](https://github.com/vendure-ecommerce/vendure/commit/937cf67))
+
+
+### BREAKING CHANGE
+
+* ChannelService.findAll() will now returns a PaginatedList<Channel> instead of a Channel[]
+* Explicit indexes have been added to many-to-one relations used throughout the data
+model. If you are using MySQL/MariaDB you should not notice a change from this, since they
+automatically add indexes to FK relations. Postgres, however, does not so this change will require
+a DB migration.
+* Indexes have been added to the ProductTranslation & CollectionTranslation slug
+fields. This means a database migration will be needed - the change is small and non-destructive
+so this is a routine migration which should not require manual editing of the migration script.
+* The `Channel.currencyCode` field has been renamed to `defaultCurrencyCode`, and a
+new `currencyCode` field has been added to the `ProductVariantPrice` entity. This will require
+a database migration with care taken to preserve exiting data.
+* The Admin UI component `vdr-product-selector` has been renamed to
+ `vdr-product-variant-selector` to more accurately represent what it does.
+
+ If you are using `vdr-product-selector` if any ui extensions code, update it to use the
+ new selector.
+* The data structure used to represent the tree of Collections has changed,
+which will require a DB migration.
+* The internal ErrorResult classes now take all constructors arguments
+as a single input object.
+* The internal ErrorResult classes now take all constructors arguments
+as a single input object.
+
+feat(core): Update codegen errors plugin to use object inputs
+* The introduction of the new MoneyStrategy includes a new GraphQL `Money` scalar,
+which replaces `Int` used in v1.x. In practice, this is still a `number` type and should not
+break any client applications. One point to note is that `Money` is based on the `Float` scalar
+and therefore can represent decimal values, allowing fractions of cents to be represented.
+* The minimum Redis recommended version is 6.2.0
+* The new `inheritFilters` property on the Collection entity will require a DB
+migration.
+* The Promotion entity is now translatable, which means existing promotions will need
+to be migrated to the new DB schema and care taken to preserve the name data. Also the GraphQL
+API for creating and updating Promotions, as well as the corresponding PromotionService methods
+have changed to take a `translations` array for setting the `name` and `description` in a given
+language.
 ## 2.0.0-next.28 (2023-01-27)
 
 

+ 8 - 10
lerna.json

@@ -1,13 +1,11 @@
 {
-  "packages": [
-    "packages/*"
-  ],
-  "version": "2.0.0-next.28",
-  "npmClient": "yarn",
-  "useWorkspaces": true,
-  "command": {
-    "version": {
-      "push": false
+    "packages": ["packages/*"],
+    "version": "2.0.0-beta.0",
+    "npmClient": "yarn",
+    "useWorkspaces": true,
+    "command": {
+        "version": {
+            "push": false
+        }
     }
-  }
 }

+ 31 - 31
packages/admin-ui-plugin/package.json

@@ -1,33 +1,33 @@
 {
-  "name": "@vendure/admin-ui-plugin",
-  "version": "2.0.0-next.28",
-  "main": "lib/index.js",
-  "types": "lib/index.d.ts",
-  "files": [
-    "lib/**/*"
-  ],
-  "license": "MIT",
-  "scripts": {
-    "build": "rimraf lib && node -r ts-node/register build.ts && yarn compile",
-    "watch": "tsc -p ./tsconfig.build.json --watch",
-    "lint": "eslint --fix .",
-    "compile": "tsc -p ./tsconfig.build.json"
-  },
-  "homepage": "https://www.vendure.io/",
-  "funding": "https://github.com/sponsors/michaelbromley",
-  "publishConfig": {
-    "access": "public"
-  },
-  "devDependencies": {
-    "@types/express": "^4.17.8",
-    "@types/fs-extra": "^9.0.1",
-    "@vendure/common": "^2.0.0-next.28",
-    "@vendure/core": "^2.0.0-next.28",
-    "express": "^4.17.1",
-    "rimraf": "^3.0.2",
-    "typescript": "4.9.5"
-  },
-  "dependencies": {
-    "fs-extra": "^10.0.0"
-  }
+    "name": "@vendure/admin-ui-plugin",
+    "version": "2.0.0-beta.0",
+    "main": "lib/index.js",
+    "types": "lib/index.d.ts",
+    "files": [
+        "lib/**/*"
+    ],
+    "license": "MIT",
+    "scripts": {
+        "build": "rimraf lib && node -r ts-node/register build.ts && yarn compile",
+        "watch": "tsc -p ./tsconfig.build.json --watch",
+        "lint": "eslint --fix .",
+        "compile": "tsc -p ./tsconfig.build.json"
+    },
+    "homepage": "https://www.vendure.io/",
+    "funding": "https://github.com/sponsors/michaelbromley",
+    "publishConfig": {
+        "access": "public"
+    },
+    "devDependencies": {
+        "@types/express": "^4.17.8",
+        "@types/fs-extra": "^9.0.1",
+        "@vendure/common": "^2.0.0-beta.0",
+        "@vendure/core": "^2.0.0-beta.0",
+        "express": "^4.17.1",
+        "rimraf": "^3.0.2",
+        "typescript": "4.9.5"
+    },
+    "dependencies": {
+        "fs-extra": "^10.0.0"
+    }
 }

+ 102 - 102
packages/admin-ui/package.json

@@ -1,104 +1,104 @@
 {
-  "name": "@vendure/admin-ui",
-  "version": "2.0.0-next.28",
-  "license": "MIT",
-  "scripts": {
-    "ng": "ng",
-    "start": "node scripts/set-version.js && ng serve",
-    "build:app": "yarn ng build vendure-admin --configuration production",
-    "build": "node scripts/copy-package-json.js && node scripts/set-version.js && node scripts/build-public-api.js && yarn ng build vendure-admin-lib --configuration production && node scripts/compile-styles.js",
-    "watch": "ng build --watch=true",
-    "test": "ng test --watch=false --browsers=ChromeHeadlessCI --progress=false",
-    "lint": "ng lint --fix",
-    "extract-translations": "node scripts/extract-translations.js",
-    "ngcc": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points"
-  },
-  "homepage": "https://www.vendure.io/",
-  "funding": "https://github.com/sponsors/michaelbromley",
-  "publishConfig": {
-    "access": "public",
-    "directory": "package"
-  },
-  "dependencies": {
-    "@angular/animations": "^15.2.1",
-    "@angular/cdk": "^15.2.1",
-    "@angular/common": "^15.2.1",
-    "@angular/core": "^15.2.1",
-    "@angular/forms": "^15.2.1",
-    "@angular/language-service": "^15.2.1",
-    "@angular/platform-browser": "^15.2.1",
-    "@angular/platform-browser-dynamic": "^15.2.1",
-    "@angular/router": "^15.2.1",
-    "@apollo/client": "^3.7.9",
-    "@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
-    "@cds/core": "^6.3.2",
-    "@clr/angular": "^15.1.0",
-    "@clr/core": "^4.0.15",
-    "@clr/icons": "^13.0.2",
-    "@clr/ui": "^15.0.1",
-    "@messageformat/core": "^3.1.0",
-    "@ng-select/ng-select": "^10.0.3",
-    "@ngx-translate/core": "^14.0.0",
-    "@ngx-translate/http-loader": "^7.0.0",
-    "@vendure/common": "^2.0.0-2.0.0-beta.0",
-    "@webcomponents/custom-elements": "^1.5.1",
-    "apollo-angular": "^4.2.1",
-    "apollo-upload-client": "^17.0.0",
-    "codejar": "^3.7.0",
-    "core-js": "^3.29.0",
-    "dayjs": "^1.10.4",
-    "graphql": "16.6.0",
-    "messageformat": "2.3.0",
-    "ngx-pagination": "^6.0.3",
-    "ngx-translate-messageformat-compiler": "^6.2.0",
-    "prosemirror-commands": "^1.5.1",
-    "prosemirror-dropcursor": "^1.7.1",
-    "prosemirror-gapcursor": "^1.3.1",
-    "prosemirror-history": "^1.3.0",
-    "prosemirror-inputrules": "^1.2.0",
-    "prosemirror-keymap": "^1.2.1",
-    "prosemirror-menu": "^1.2.1",
-    "prosemirror-schema-basic": "^1.2.1",
-    "prosemirror-schema-list": "^1.2.2",
-    "prosemirror-state": "^1.4.2",
-    "prosemirror-tables": "^1.3.2",
-    "rxjs": "^7.8.0",
-    "tslib": "^2.5.0",
-    "zone.js": "~0.12.0"
-  },
-  "devDependencies": {
-    "@angular-devkit/build-angular": "^15.2.1",
-    "@angular-eslint/builder": "^15.2.1",
-    "@angular-eslint/eslint-plugin": "^15.2.1",
-    "@angular-eslint/eslint-plugin-template": "^15.2.1",
-    "@angular-eslint/schematics": "^15.2.1",
-    "@angular-eslint/template-parser": "^15.2.1",
-    "@angular/cli": "^15.2.1",
-    "@angular/compiler": "^15.2.1",
-    "@angular/compiler-cli": "^15.2.1",
-    "@types/jasmine": "~3.6.0",
-    "@types/jasminewd2": "~2.0.6",
-    "@types/node": "^14.14.31",
-    "@typescript-eslint/eslint-plugin": "5.48.2",
-    "@typescript-eslint/parser": "5.48.2",
-    "@vendure/ngx-translate-extract": "^8.1.0",
-    "cross-spawn": "^7.0.3",
-    "eslint": "^8.33.0",
-    "eslint-plugin-import": "latest",
-    "eslint-plugin-jsdoc": "latest",
-    "eslint-plugin-prefer-arrow": "latest",
-    "fs-extra": "^10.0.0",
-    "jasmine-core": "~3.99.1",
-    "jasmine-spec-reporter": "~7.0.0",
-    "karma": "~6.3.4",
-    "karma-chrome-launcher": "~3.1.0",
-    "karma-coverage-istanbul-reporter": "~3.0.2",
-    "karma-jasmine": "~4.0.0",
-    "karma-jasmine-html-reporter": "^1.7.0",
-    "karma-mocha-reporter": "^2.2.5",
-    "ng-packagr": "15.2.2",
-    "puppeteer": "^19.8.3",
-    "rimraf": "^3.0.2",
-    "typescript": "4.9.5"
-  }
+    "name": "@vendure/admin-ui",
+    "version": "2.0.0-beta.0",
+    "license": "MIT",
+    "scripts": {
+        "ng": "ng",
+        "start": "node scripts/set-version.js && ng serve",
+        "build:app": "yarn ng build vendure-admin --configuration production",
+        "build": "node scripts/copy-package-json.js && node scripts/set-version.js && node scripts/build-public-api.js && yarn ng build vendure-admin-lib --configuration production && node scripts/compile-styles.js",
+        "watch": "ng build --watch=true",
+        "test": "ng test --watch=false --browsers=ChromeHeadlessCI --progress=false",
+        "lint": "ng lint --fix",
+        "extract-translations": "node scripts/extract-translations.js",
+        "ngcc": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points"
+    },
+    "homepage": "https://www.vendure.io/",
+    "funding": "https://github.com/sponsors/michaelbromley",
+    "publishConfig": {
+        "access": "public",
+        "directory": "package"
+    },
+    "dependencies": {
+        "@angular/animations": "^15.2.1",
+        "@angular/cdk": "^15.2.1",
+        "@angular/common": "^15.2.1",
+        "@angular/core": "^15.2.1",
+        "@angular/forms": "^15.2.1",
+        "@angular/language-service": "^15.2.1",
+        "@angular/platform-browser": "^15.2.1",
+        "@angular/platform-browser-dynamic": "^15.2.1",
+        "@angular/router": "^15.2.1",
+        "@apollo/client": "^3.7.9",
+        "@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
+        "@cds/core": "^6.3.2",
+        "@clr/angular": "^15.1.0",
+        "@clr/core": "^4.0.15",
+        "@clr/icons": "^13.0.2",
+        "@clr/ui": "^15.0.1",
+        "@messageformat/core": "^3.1.0",
+        "@ng-select/ng-select": "^10.0.3",
+        "@ngx-translate/core": "^14.0.0",
+        "@ngx-translate/http-loader": "^7.0.0",
+        "@vendure/common": "^2.0.0-beta.0",
+        "@webcomponents/custom-elements": "^1.5.1",
+        "apollo-angular": "^4.2.1",
+        "apollo-upload-client": "^17.0.0",
+        "codejar": "^3.7.0",
+        "core-js": "^3.29.0",
+        "dayjs": "^1.10.4",
+        "graphql": "16.6.0",
+        "messageformat": "2.3.0",
+        "ngx-pagination": "^6.0.3",
+        "ngx-translate-messageformat-compiler": "^6.2.0",
+        "prosemirror-commands": "^1.5.1",
+        "prosemirror-dropcursor": "^1.7.1",
+        "prosemirror-gapcursor": "^1.3.1",
+        "prosemirror-history": "^1.3.0",
+        "prosemirror-inputrules": "^1.2.0",
+        "prosemirror-keymap": "^1.2.1",
+        "prosemirror-menu": "^1.2.1",
+        "prosemirror-schema-basic": "^1.2.1",
+        "prosemirror-schema-list": "^1.2.2",
+        "prosemirror-state": "^1.4.2",
+        "prosemirror-tables": "^1.3.2",
+        "rxjs": "^7.8.0",
+        "tslib": "^2.5.0",
+        "zone.js": "~0.12.0"
+    },
+    "devDependencies": {
+        "@angular-devkit/build-angular": "^15.2.1",
+        "@angular-eslint/builder": "^15.2.1",
+        "@angular-eslint/eslint-plugin": "^15.2.1",
+        "@angular-eslint/eslint-plugin-template": "^15.2.1",
+        "@angular-eslint/schematics": "^15.2.1",
+        "@angular-eslint/template-parser": "^15.2.1",
+        "@angular/cli": "^15.2.1",
+        "@angular/compiler": "^15.2.1",
+        "@angular/compiler-cli": "^15.2.1",
+        "@types/jasmine": "~3.6.0",
+        "@types/jasminewd2": "~2.0.6",
+        "@types/node": "^14.14.31",
+        "@typescript-eslint/eslint-plugin": "5.48.2",
+        "@typescript-eslint/parser": "5.48.2",
+        "@vendure/ngx-translate-extract": "^8.1.0",
+        "cross-spawn": "^7.0.3",
+        "eslint": "^8.33.0",
+        "eslint-plugin-import": "latest",
+        "eslint-plugin-jsdoc": "latest",
+        "eslint-plugin-prefer-arrow": "latest",
+        "fs-extra": "^10.0.0",
+        "jasmine-core": "~3.99.1",
+        "jasmine-spec-reporter": "~7.0.0",
+        "karma": "~6.3.4",
+        "karma-chrome-launcher": "~3.1.0",
+        "karma-coverage-istanbul-reporter": "~3.0.2",
+        "karma-jasmine": "~4.0.0",
+        "karma-jasmine-html-reporter": "^1.7.0",
+        "karma-mocha-reporter": "^2.2.5",
+        "ng-packagr": "15.2.2",
+        "puppeteer": "^19.8.3",
+        "rimraf": "^3.0.2",
+        "typescript": "4.9.5"
+    }
 }

+ 1 - 1
packages/admin-ui/src/lib/core/src/common/version.ts

@@ -1,2 +1,2 @@
 // Auto-generated by the set-version.js script.
-export const ADMIN_UI_VERSION = '2.0.0-next.28';
+export const ADMIN_UI_VERSION = '2.0.0-beta.0';

+ 39 - 39
packages/asset-server-plugin/package.json

@@ -1,41 +1,41 @@
 {
-  "name": "@vendure/asset-server-plugin",
-  "version": "2.0.0-next.28",
-  "main": "lib/index.js",
-  "types": "lib/index.d.ts",
-  "files": [
-    "lib/**/*"
-  ],
-  "license": "MIT",
-  "scripts": {
-    "watch": "tsc -p ./tsconfig.build.json --watch",
-    "build": "rimraf lib && tsc -p ./tsconfig.build.json && node build.js",
-    "lint": "eslint --fix .",
-    "test": "vitest --run",
-    "e2e": "cross-env PACKAGE=asset-server-plugin vitest --config ../../e2e-common/vitest.config.ts --run",
-    "e2e:watch": "cross-env PACKAGE=asset-server-plugin vitest --config ../../e2e-common/vitest.config.ts"
-  },
-  "homepage": "https://www.vendure.io/",
-  "funding": "https://github.com/sponsors/michaelbromley",
-  "publishConfig": {
-    "access": "public"
-  },
-  "devDependencies": {
-    "@types/express": "^4.17.8",
-    "@types/fs-extra": "^9.0.8",
-    "@types/node-fetch": "^2.5.8",
-    "@types/sharp": "^0.30.4",
-    "@vendure/common": "^2.0.0-next.28",
-    "@vendure/core": "^2.0.0-next.28",
-    "aws-sdk": "^2.856.0",
-    "express": "^4.17.1",
-    "node-fetch": "^2.6.7",
-    "rimraf": "^3.0.2",
-    "typescript": "4.9.5"
-  },
-  "dependencies": {
-    "file-type": "^16.5.3",
-    "fs-extra": "^10.0.0",
-    "sharp": "~0.31.2"
-  }
+    "name": "@vendure/asset-server-plugin",
+    "version": "2.0.0-beta.0",
+    "main": "lib/index.js",
+    "types": "lib/index.d.ts",
+    "files": [
+        "lib/**/*"
+    ],
+    "license": "MIT",
+    "scripts": {
+        "watch": "tsc -p ./tsconfig.build.json --watch",
+        "build": "rimraf lib && tsc -p ./tsconfig.build.json && node build.js",
+        "lint": "eslint --fix .",
+        "test": "vitest --run",
+        "e2e": "cross-env PACKAGE=asset-server-plugin vitest --config ../../e2e-common/vitest.config.ts --run",
+        "e2e:watch": "cross-env PACKAGE=asset-server-plugin vitest --config ../../e2e-common/vitest.config.ts"
+    },
+    "homepage": "https://www.vendure.io/",
+    "funding": "https://github.com/sponsors/michaelbromley",
+    "publishConfig": {
+        "access": "public"
+    },
+    "devDependencies": {
+        "@types/express": "^4.17.8",
+        "@types/fs-extra": "^9.0.8",
+        "@types/node-fetch": "^2.5.8",
+        "@types/sharp": "^0.30.4",
+        "@vendure/common": "^2.0.0-beta.0",
+        "@vendure/core": "^2.0.0-beta.0",
+        "aws-sdk": "^2.856.0",
+        "express": "^4.17.1",
+        "node-fetch": "^2.6.7",
+        "rimraf": "^3.0.2",
+        "typescript": "4.9.5"
+    },
+    "dependencies": {
+        "file-type": "^16.5.3",
+        "fs-extra": "^10.0.0",
+        "sharp": "~0.31.2"
+    }
 }

+ 23 - 23
packages/common/package.json

@@ -1,25 +1,25 @@
 {
-  "name": "@vendure/common",
-  "version": "2.0.0-next.28",
-  "main": "index.js",
-  "license": "MIT",
-  "scripts": {
-    "watch": "tsc -p ./tsconfig.build.json -w",
-    "build": "rimraf lib && tsc -p ./tsconfig.build.json",
-    "lint": "eslint --fix .",
-    "test": "vitest --run",
-    "ci": "yarn build"
-  },
-  "homepage": "https://www.vendure.io/",
-  "funding": "https://github.com/sponsors/michaelbromley",
-  "publishConfig": {
-    "access": "public"
-  },
-  "files": [
-    "lib/**/*"
-  ],
-  "devDependencies": {
-    "rimraf": "^3.0.2",
-    "typescript": "4.9.5"
-  }
+    "name": "@vendure/common",
+    "version": "2.0.0-beta.0",
+    "main": "index.js",
+    "license": "MIT",
+    "scripts": {
+        "watch": "tsc -p ./tsconfig.build.json -w",
+        "build": "rimraf lib && tsc -p ./tsconfig.build.json",
+        "lint": "eslint --fix .",
+        "test": "vitest --run",
+        "ci": "yarn build"
+    },
+    "homepage": "https://www.vendure.io/",
+    "funding": "https://github.com/sponsors/michaelbromley",
+    "publishConfig": {
+        "access": "public"
+    },
+    "files": [
+        "lib/**/*"
+    ],
+    "devDependencies": {
+        "rimraf": "^3.0.2",
+        "typescript": "4.9.5"
+    }
 }

+ 104 - 104
packages/core/package.json

@@ -1,106 +1,106 @@
 {
-  "name": "@vendure/core",
-  "version": "2.0.0-next.28",
-  "description": "A modern, headless ecommerce framework",
-  "repository": {
-    "type": "git",
-    "url": "https://github.com/vendure-ecommerce/vendure/"
-  },
-  "keywords": [
-    "vendure",
-    "ecommerce",
-    "headless",
-    "graphql",
-    "typescript"
-  ],
-  "homepage": "https://www.vendure.io/",
-  "funding": "https://github.com/sponsors/michaelbromley",
-  "private": false,
-  "license": "MIT",
-  "type": "commonjs",
-  "scripts": {
-    "tsc:watch": "tsc -p ./build/tsconfig.build.json --watch",
-    "gulp:watch": "gulp -f ./build/gulpfile.ts watch",
-    "build": "rimraf dist && tsc -p ./build/tsconfig.build.json && tsc -p ./build/tsconfig.cli.json && gulp -f ./build/gulpfile.ts build",
-    "watch": "concurrently yarn:tsc:watch yarn:gulp:watch",
-    "lint": "eslint --fix .",
-    "test": "vitest --config ./vitest.config.ts --run",
-    "e2e": "cross-env PACKAGE=core vitest --config ../../e2e-common/vitest.config.ts --run",
-    "e2e:watch": "cross-env PACKAGE=core vitest --config ../../e2e-common/vitest.config.ts",
-    "ci": "yarn build"
-  },
-  "publishConfig": {
-    "access": "public"
-  },
-  "main": "dist/index.js",
-  "types": "dist/index.d.ts",
-  "bin": {
-    "vendure": "cli/vendure-cli.js"
-  },
-  "files": [
-    "dist/**/*",
-    "cli/**/*"
-  ],
-  "dependencies": {
-    "@graphql-tools/stitch": "^8.7.43",
-    "@nestjs/apollo": "^10.2.0",
-    "@nestjs/common": "9.3.9",
-    "@nestjs/core": "9.3.9",
-    "@nestjs/graphql": "10.2.0",
-    "@nestjs/platform-express": "9.3.9",
-    "@nestjs/terminus": "9.2.1",
-    "@nestjs/testing": "9.3.9",
-    "@nestjs/typeorm": "9.0.1",
-    "@types/fs-extra": "^9.0.1",
-    "@vendure/common": "^2.0.0-next.28",
-    "apollo-server-express": "3.6.3",
-    "bcrypt": "^5.1.0",
-    "body-parser": "^1.19.0",
-    "chalk": "^4.1.0",
-    "commander": "^7.1.0",
-    "cookie-session": "^2.0.0-rc.1",
-    "csv-parse": "^4.12.0",
-    "express": "^4.17.1",
-    "fs-extra": "^10.0.0",
-    "graphql": "16.6.0",
-    "graphql-fields": "^2.0.3",
-    "graphql-scalars": "^1.20.1",
-    "graphql-tag": "^2.12.6",
-    "graphql-upload": "^16.0.2",
-    "http-proxy-middleware": "^2.0.1",
-    "i18next": "^19.8.1",
-    "i18next-express-middleware": "^2.0.0",
-    "i18next-fs-backend": "^1.1.1",
-    "i18next-icu": "^1.4.2",
-    "image-size": "^1.0.0",
-    "mime-types": "^2.1.27",
-    "ms": "^2.1.2",
-    "nanoid": "^3.1.23",
-    "progress": "^2.0.3",
-    "reflect-metadata": "^0.1.13",
-    "rxjs": "^7.5.4",
-    "typeorm": "0.3.12"
-  },
-  "devDependencies": {
-    "@types/bcrypt": "^5.0.0",
-    "@types/cookie-session": "^2.0.41",
-    "@types/csv-parse": "^1.2.2",
-    "@types/express": "^4.17.8",
-    "@types/faker": "^4.1.7",
-    "@types/graphql-upload": "^15.0.2",
-    "@types/gulp": "^4.0.7",
-    "@types/mime-types": "^2.1.0",
-    "@types/ms": "^0.7.31",
-    "@types/node": "^14.14.31",
-    "@types/progress": "^2.0.3",
-    "@types/prompts": "^2.0.9",
-    "better-sqlite3": "^7.1.1",
-    "gulp": "^4.0.2",
-    "mysql": "^2.18.1",
-    "pg": "^8.10.0",
-    "rimraf": "^3.0.2",
-    "sql.js": "1.8.0",
-    "sqlite3": "^5.1.4",
-    "typescript": "4.9.5"
-  }
+    "name": "@vendure/core",
+    "version": "2.0.0-beta.0",
+    "description": "A modern, headless ecommerce framework",
+    "repository": {
+        "type": "git",
+        "url": "https://github.com/vendure-ecommerce/vendure/"
+    },
+    "keywords": [
+        "vendure",
+        "ecommerce",
+        "headless",
+        "graphql",
+        "typescript"
+    ],
+    "homepage": "https://www.vendure.io/",
+    "funding": "https://github.com/sponsors/michaelbromley",
+    "private": false,
+    "license": "MIT",
+    "type": "commonjs",
+    "scripts": {
+        "tsc:watch": "tsc -p ./build/tsconfig.build.json --watch",
+        "gulp:watch": "gulp -f ./build/gulpfile.ts watch",
+        "build": "rimraf dist && tsc -p ./build/tsconfig.build.json && tsc -p ./build/tsconfig.cli.json && gulp -f ./build/gulpfile.ts build",
+        "watch": "concurrently yarn:tsc:watch yarn:gulp:watch",
+        "lint": "eslint --fix .",
+        "test": "vitest --config ./vitest.config.ts --run",
+        "e2e": "cross-env PACKAGE=core vitest --config ../../e2e-common/vitest.config.ts --run",
+        "e2e:watch": "cross-env PACKAGE=core vitest --config ../../e2e-common/vitest.config.ts",
+        "ci": "yarn build"
+    },
+    "publishConfig": {
+        "access": "public"
+    },
+    "main": "dist/index.js",
+    "types": "dist/index.d.ts",
+    "bin": {
+        "vendure": "cli/vendure-cli.js"
+    },
+    "files": [
+        "dist/**/*",
+        "cli/**/*"
+    ],
+    "dependencies": {
+        "@graphql-tools/stitch": "^8.7.43",
+        "@nestjs/apollo": "^10.2.0",
+        "@nestjs/common": "9.3.9",
+        "@nestjs/core": "9.3.9",
+        "@nestjs/graphql": "10.2.0",
+        "@nestjs/platform-express": "9.3.9",
+        "@nestjs/terminus": "9.2.1",
+        "@nestjs/testing": "9.3.9",
+        "@nestjs/typeorm": "9.0.1",
+        "@types/fs-extra": "^9.0.1",
+        "@vendure/common": "^2.0.0-beta.0",
+        "apollo-server-express": "3.6.3",
+        "bcrypt": "^5.1.0",
+        "body-parser": "^1.19.0",
+        "chalk": "^4.1.0",
+        "commander": "^7.1.0",
+        "cookie-session": "^2.0.0-rc.1",
+        "csv-parse": "^4.12.0",
+        "express": "^4.17.1",
+        "fs-extra": "^10.0.0",
+        "graphql": "16.6.0",
+        "graphql-fields": "^2.0.3",
+        "graphql-scalars": "^1.20.1",
+        "graphql-tag": "^2.12.6",
+        "graphql-upload": "^16.0.2",
+        "http-proxy-middleware": "^2.0.1",
+        "i18next": "^19.8.1",
+        "i18next-express-middleware": "^2.0.0",
+        "i18next-fs-backend": "^1.1.1",
+        "i18next-icu": "^1.4.2",
+        "image-size": "^1.0.0",
+        "mime-types": "^2.1.27",
+        "ms": "^2.1.2",
+        "nanoid": "^3.1.23",
+        "progress": "^2.0.3",
+        "reflect-metadata": "^0.1.13",
+        "rxjs": "^7.5.4",
+        "typeorm": "0.3.12"
+    },
+    "devDependencies": {
+        "@types/bcrypt": "^5.0.0",
+        "@types/cookie-session": "^2.0.41",
+        "@types/csv-parse": "^1.2.2",
+        "@types/express": "^4.17.8",
+        "@types/faker": "^4.1.7",
+        "@types/graphql-upload": "^15.0.2",
+        "@types/gulp": "^4.0.7",
+        "@types/mime-types": "^2.1.0",
+        "@types/ms": "^0.7.31",
+        "@types/node": "^14.14.31",
+        "@types/progress": "^2.0.3",
+        "@types/prompts": "^2.0.9",
+        "better-sqlite3": "^7.1.1",
+        "gulp": "^4.0.2",
+        "mysql": "^2.18.1",
+        "pg": "^8.10.0",
+        "rimraf": "^3.0.2",
+        "sql.js": "1.8.0",
+        "sqlite3": "^5.1.4",
+        "typescript": "4.9.5"
+    }
 }

+ 49 - 49
packages/create/package.json

@@ -1,51 +1,51 @@
 {
-  "name": "@vendure/create",
-  "version": "2.0.0-next.28",
-  "license": "MIT",
-  "bin": {
-    "create": "./index.js"
-  },
-  "files": [
-    "index.js",
-    "lib/**/*",
-    "assets/**/*"
-  ],
-  "scripts": {
-    "dev": "ts-node src/create-vendure-app.ts",
-    "copy-assets": "rimraf assets && ts-node ./build.ts",
-    "build": "yarn copy-assets && rimraf lib && tsc -p ./tsconfig.build.json",
-    "watch": "yarn copy-assets && rimraf lib && tsc -p ./tsconfig.build.json -w",
-    "lint": "eslint --fix ."
-  },
-  "homepage": "https://www.vendure.io/",
-  "funding": "https://github.com/sponsors/michaelbromley",
-  "publishConfig": {
-    "access": "public"
-  },
-  "devDependencies": {
-    "@types/cross-spawn": "^6.0.2",
-    "@types/detect-port": "^1.3.0",
-    "@types/fs-extra": "^9.0.1",
-    "@types/handlebars": "^4.1.0",
-    "@types/listr": "^0.14.2",
-    "@types/semver": "^6.2.2",
-    "@vendure/core": "^2.0.0-next.28",
-    "rimraf": "^3.0.2",
-    "ts-node": "^10.9.1",
-    "typescript": "4.9.5"
-  },
-  "dependencies": {
-    "@vendure/common": "^2.0.0-next.28",
-    "commander": "^10.0.0",
-    "cross-spawn": "^7.0.3",
-    "detect-port": "^1.5.1",
-    "fs-extra": "^11.1.1",
-    "handlebars": "^4.7.6",
-    "listr": "^0.14.3",
-    "picocolors": "^1.0.0",
-    "prompts": "^2.3.2",
-    "rxjs": "^7.5.4",
-    "semver": "^7.3.2",
-    "tcp-port-used": "^1.0.1"
-  }
+    "name": "@vendure/create",
+    "version": "2.0.0-beta.0",
+    "license": "MIT",
+    "bin": {
+        "create": "./index.js"
+    },
+    "files": [
+        "index.js",
+        "lib/**/*",
+        "assets/**/*"
+    ],
+    "scripts": {
+        "dev": "ts-node src/create-vendure-app.ts",
+        "copy-assets": "rimraf assets && ts-node ./build.ts",
+        "build": "yarn copy-assets && rimraf lib && tsc -p ./tsconfig.build.json",
+        "watch": "yarn copy-assets && rimraf lib && tsc -p ./tsconfig.build.json -w",
+        "lint": "eslint --fix ."
+    },
+    "homepage": "https://www.vendure.io/",
+    "funding": "https://github.com/sponsors/michaelbromley",
+    "publishConfig": {
+        "access": "public"
+    },
+    "devDependencies": {
+        "@types/cross-spawn": "^6.0.2",
+        "@types/detect-port": "^1.3.0",
+        "@types/fs-extra": "^9.0.1",
+        "@types/handlebars": "^4.1.0",
+        "@types/listr": "^0.14.2",
+        "@types/semver": "^6.2.2",
+        "@vendure/core": "^2.0.0-beta.0",
+        "rimraf": "^3.0.2",
+        "ts-node": "^10.9.1",
+        "typescript": "4.9.5"
+    },
+    "dependencies": {
+        "@vendure/common": "^2.0.0-beta.0",
+        "commander": "^10.0.0",
+        "cross-spawn": "^7.0.3",
+        "detect-port": "^1.5.1",
+        "fs-extra": "^11.1.1",
+        "handlebars": "^4.7.6",
+        "listr": "^0.14.3",
+        "picocolors": "^1.0.0",
+        "prompts": "^2.3.2",
+        "rxjs": "^7.5.4",
+        "semver": "^7.3.2",
+        "tcp-port-used": "^1.0.1"
+    }
 }

+ 32 - 32
packages/dev-server/package.json

@@ -1,34 +1,34 @@
 {
-  "name": "dev-server",
-  "version": "2.0.0-next.28",
-  "main": "index.js",
-  "license": "MIT",
-  "private": true,
-  "scripts": {
-    "populate": "node -r ts-node/register -r dotenv/config populate-dev-server.ts",
-    "run:server": "node -r ts-node/register -r dotenv/config index.ts",
-    "run:worker": "node -r ts-node/register -r dotenv/config index-worker.ts",
-    "start": "concurrently yarn:run*",
-    "load-test:1k": "node -r ts-node/register load-testing/run-load-test.ts 1000",
-    "load-test:10k": "node -r ts-node/register load-testing/run-load-test.ts 10000",
-    "load-test:100k": "node -r ts-node/register load-testing/run-load-test.ts 100000"
-  },
-  "dependencies": {
-    "@vendure/admin-ui-plugin": "^2.0.0-next.28",
-    "@vendure/asset-server-plugin": "^2.0.0-next.28",
-    "@vendure/common": "^2.0.0-next.28",
-    "@vendure/core": "^2.0.0-next.28",
-    "@vendure/elasticsearch-plugin": "^2.0.0-next.28",
-    "@vendure/email-plugin": "^2.0.0-next.28",
-    "typescript": "4.9.5"
-  },
-  "devDependencies": {
-    "@types/csv-stringify": "^3.1.0",
-    "@vendure/testing": "^2.0.0-next.28",
-    "@vendure/ui-devkit": "^2.0.0-next.28",
-    "commander": "^7.1.0",
-    "concurrently": "^5.0.0",
-    "csv-stringify": "^5.3.3",
-    "progress": "^2.0.3"
-  }
+    "name": "dev-server",
+    "version": "2.0.0-beta.0",
+    "main": "index.js",
+    "license": "MIT",
+    "private": true,
+    "scripts": {
+        "populate": "node -r ts-node/register -r dotenv/config populate-dev-server.ts",
+        "run:server": "node -r ts-node/register -r dotenv/config index.ts",
+        "run:worker": "node -r ts-node/register -r dotenv/config index-worker.ts",
+        "start": "concurrently yarn:run*",
+        "load-test:1k": "node -r ts-node/register load-testing/run-load-test.ts 1000",
+        "load-test:10k": "node -r ts-node/register load-testing/run-load-test.ts 10000",
+        "load-test:100k": "node -r ts-node/register load-testing/run-load-test.ts 100000"
+    },
+    "dependencies": {
+        "@vendure/admin-ui-plugin": "^2.0.0-beta.0",
+        "@vendure/asset-server-plugin": "^2.0.0-beta.0",
+        "@vendure/common": "^2.0.0-beta.0",
+        "@vendure/core": "^2.0.0-beta.0",
+        "@vendure/elasticsearch-plugin": "^2.0.0-beta.0",
+        "@vendure/email-plugin": "^2.0.0-beta.0",
+        "typescript": "4.9.5"
+    },
+    "devDependencies": {
+        "@types/csv-stringify": "^3.1.0",
+        "@vendure/testing": "^2.0.0-beta.0",
+        "@vendure/ui-devkit": "^2.0.0-beta.0",
+        "commander": "^7.1.0",
+        "concurrently": "^5.0.0",
+        "csv-stringify": "^5.3.3",
+        "progress": "^2.0.3"
+    }
 }

+ 32 - 32
packages/elasticsearch-plugin/package.json

@@ -1,34 +1,34 @@
 {
-  "name": "@vendure/elasticsearch-plugin",
-  "version": "2.0.0-next.28",
-  "license": "MIT",
-  "main": "lib/index.js",
-  "types": "lib/index.d.ts",
-  "files": [
-    "lib/**/*"
-  ],
-  "scripts": {
-    "watch": "tsc -p ./tsconfig.build.json --watch",
-    "build": "rimraf lib && tsc -p ./tsconfig.build.json",
-    "lint": "eslint --fix .",
-    "test": "vitest --run",
-    "e2e": "cross-env PACKAGE=elasticsearch-plugin vitest --config ../../e2e-common/vitest.config.ts --run",
-    "e2e:watch": "cross-env PACKAGE=elasticsearch-plugin vitest --config ../../e2e-common/vitest.config.ts"
-  },
-  "homepage": "https://www.vendure.io/",
-  "funding": "https://github.com/sponsors/michaelbromley",
-  "publishConfig": {
-    "access": "public"
-  },
-  "dependencies": {
-    "@elastic/elasticsearch": "~7.9.1",
-    "deepmerge": "^4.2.2",
-    "fast-deep-equal": "^3.1.3"
-  },
-  "devDependencies": {
-    "@vendure/common": "^2.0.0-next.28",
-    "@vendure/core": "^2.0.0-next.28",
-    "rimraf": "^3.0.2",
-    "typescript": "4.9.5"
-  }
+    "name": "@vendure/elasticsearch-plugin",
+    "version": "2.0.0-beta.0",
+    "license": "MIT",
+    "main": "lib/index.js",
+    "types": "lib/index.d.ts",
+    "files": [
+        "lib/**/*"
+    ],
+    "scripts": {
+        "watch": "tsc -p ./tsconfig.build.json --watch",
+        "build": "rimraf lib && tsc -p ./tsconfig.build.json",
+        "lint": "eslint --fix .",
+        "test": "vitest --run",
+        "e2e": "cross-env PACKAGE=elasticsearch-plugin vitest --config ../../e2e-common/vitest.config.ts --run",
+        "e2e:watch": "cross-env PACKAGE=elasticsearch-plugin vitest --config ../../e2e-common/vitest.config.ts"
+    },
+    "homepage": "https://www.vendure.io/",
+    "funding": "https://github.com/sponsors/michaelbromley",
+    "publishConfig": {
+        "access": "public"
+    },
+    "dependencies": {
+        "@elastic/elasticsearch": "~7.9.1",
+        "deepmerge": "^4.2.2",
+        "fast-deep-equal": "^3.1.3"
+    },
+    "devDependencies": {
+        "@vendure/common": "^2.0.0-beta.0",
+        "@vendure/core": "^2.0.0-beta.0",
+        "rimraf": "^3.0.2",
+        "typescript": "4.9.5"
+    }
 }

+ 41 - 41
packages/email-plugin/package.json

@@ -1,43 +1,43 @@
 {
-  "name": "@vendure/email-plugin",
-  "version": "2.0.0-next.28",
-  "license": "MIT",
-  "main": "lib/index.js",
-  "types": "lib/index.d.ts",
-  "files": [
-    "lib/**/*",
-    "templates/**/*",
-    "dev-mailbox.html"
-  ],
-  "scripts": {
-    "watch": "tsc -p ./tsconfig.build.json --watch",
-    "build": "rimraf lib && tsc -p ./tsconfig.build.json",
-    "lint": "eslint --fix .",
-    "test": "vitest --config ./vitest.config.ts --run"
-  },
-  "homepage": "https://www.vendure.io/",
-  "funding": "https://github.com/sponsors/michaelbromley",
-  "publishConfig": {
-    "access": "public"
-  },
-  "dependencies": {
-    "@types/nodemailer": "^6.4.0",
-    "dateformat": "^3.0.3",
-    "express": "^4.17.1",
-    "fs-extra": "^10.0.0",
-    "handlebars": "^4.7.6",
-    "mjml": "^4.7.1",
-    "nodemailer": "^6.4.13"
-  },
-  "devDependencies": {
-    "@types/dateformat": "^3.0.1",
-    "@types/express": "^4.17.8",
-    "@types/fs-extra": "^9.0.1",
-    "@types/handlebars": "^4.1.0",
-    "@types/mjml": "^4.0.4",
-    "@vendure/common": "^2.0.0-next.28",
-    "@vendure/core": "^2.0.0-next.28",
-    "rimraf": "^3.0.2",
-    "typescript": "4.9.5"
-  }
+    "name": "@vendure/email-plugin",
+    "version": "2.0.0-beta.0",
+    "license": "MIT",
+    "main": "lib/index.js",
+    "types": "lib/index.d.ts",
+    "files": [
+        "lib/**/*",
+        "templates/**/*",
+        "dev-mailbox.html"
+    ],
+    "scripts": {
+        "watch": "tsc -p ./tsconfig.build.json --watch",
+        "build": "rimraf lib && tsc -p ./tsconfig.build.json",
+        "lint": "eslint --fix .",
+        "test": "vitest --config ./vitest.config.ts --run"
+    },
+    "homepage": "https://www.vendure.io/",
+    "funding": "https://github.com/sponsors/michaelbromley",
+    "publishConfig": {
+        "access": "public"
+    },
+    "dependencies": {
+        "@types/nodemailer": "^6.4.0",
+        "dateformat": "^3.0.3",
+        "express": "^4.17.1",
+        "fs-extra": "^10.0.0",
+        "handlebars": "^4.7.6",
+        "mjml": "^4.7.1",
+        "nodemailer": "^6.4.13"
+    },
+    "devDependencies": {
+        "@types/dateformat": "^3.0.1",
+        "@types/express": "^4.17.8",
+        "@types/fs-extra": "^9.0.1",
+        "@types/handlebars": "^4.1.0",
+        "@types/mjml": "^4.0.4",
+        "@vendure/common": "^2.0.0-beta.0",
+        "@vendure/core": "^2.0.0-beta.0",
+        "rimraf": "^3.0.2",
+        "typescript": "4.9.5"
+    }
 }

+ 25 - 25
packages/harden-plugin/package.json

@@ -1,27 +1,27 @@
 {
-  "name": "@vendure/harden-plugin",
-  "version": "2.0.0-next.28",
-  "license": "MIT",
-  "main": "lib/index.js",
-  "types": "lib/index.d.ts",
-  "files": [
-    "lib/**/*"
-  ],
-  "scripts": {
-    "watch": "tsc -p ./tsconfig.build.json --watch",
-    "build": "rimraf lib && tsc -p ./tsconfig.build.json",
-    "lint": "eslint --fix ."
-  },
-  "homepage": "https://www.vendure.io/",
-  "funding": "https://github.com/sponsors/michaelbromley",
-  "publishConfig": {
-    "access": "public"
-  },
-  "dependencies": {
-    "graphql-query-complexity": "^0.12.0"
-  },
-  "devDependencies": {
-    "@vendure/common": "^2.0.0-next.28",
-    "@vendure/core": "^2.0.0-next.28"
-  }
+    "name": "@vendure/harden-plugin",
+    "version": "2.0.0-beta.0",
+    "license": "MIT",
+    "main": "lib/index.js",
+    "types": "lib/index.d.ts",
+    "files": [
+        "lib/**/*"
+    ],
+    "scripts": {
+        "watch": "tsc -p ./tsconfig.build.json --watch",
+        "build": "rimraf lib && tsc -p ./tsconfig.build.json",
+        "lint": "eslint --fix ."
+    },
+    "homepage": "https://www.vendure.io/",
+    "funding": "https://github.com/sponsors/michaelbromley",
+    "publishConfig": {
+        "access": "public"
+    },
+    "dependencies": {
+        "graphql-query-complexity": "^0.12.0"
+    },
+    "devDependencies": {
+        "@vendure/common": "^2.0.0-beta.0",
+        "@vendure/core": "^2.0.0-beta.0"
+    }
 }

+ 31 - 31
packages/job-queue-plugin/package.json

@@ -1,33 +1,33 @@
 {
-  "name": "@vendure/job-queue-plugin",
-  "version": "2.0.0-next.28",
-  "license": "MIT",
-  "main": "package/index.js",
-  "types": "package/index.d.ts",
-  "files": [
-    "package/**/*"
-  ],
-  "private": false,
-  "scripts": {
-    "watch": "tsc -p ./tsconfig.build.json --watch",
-    "build": "rimraf package && tsc -p ./tsconfig.build.json",
-    "lint": "eslint --fix .",
-    "test": "vitest --run",
-    "e2e-wip": "node e2e/check-connection.js || jest --config ../../e2e-common/jest-config.js --runInBand --package=job-queue-plugin",
-    "ci": "yarn build"
-  },
-  "homepage": "https://www.vendure.io/",
-  "funding": "https://github.com/sponsors/michaelbromley",
-  "publishConfig": {
-    "access": "public"
-  },
-  "devDependencies": {
-    "@google-cloud/pubsub": "^2.8.0",
-    "ioredis": "^5.3.0",
-    "@vendure/common": "^2.0.0-next.28",
-    "@vendure/core": "^2.0.0-next.28",
-    "bullmq": "^3.6.1",
-    "rimraf": "^3.0.2",
-    "typescript": "4.9.5"
-  }
+    "name": "@vendure/job-queue-plugin",
+    "version": "2.0.0-beta.0",
+    "license": "MIT",
+    "main": "package/index.js",
+    "types": "package/index.d.ts",
+    "files": [
+        "package/**/*"
+    ],
+    "private": false,
+    "scripts": {
+        "watch": "tsc -p ./tsconfig.build.json --watch",
+        "build": "rimraf package && tsc -p ./tsconfig.build.json",
+        "lint": "eslint --fix .",
+        "test": "vitest --run",
+        "e2e-wip": "node e2e/check-connection.js || jest --config ../../e2e-common/jest-config.js --runInBand --package=job-queue-plugin",
+        "ci": "yarn build"
+    },
+    "homepage": "https://www.vendure.io/",
+    "funding": "https://github.com/sponsors/michaelbromley",
+    "publishConfig": {
+        "access": "public"
+    },
+    "devDependencies": {
+        "@google-cloud/pubsub": "^2.8.0",
+        "@vendure/common": "^2.0.0-beta.0",
+        "@vendure/core": "^2.0.0-beta.0",
+        "bullmq": "^3.6.1",
+        "ioredis": "^5.3.0",
+        "rimraf": "^3.0.2",
+        "typescript": "4.9.5"
+    }
 }

+ 4 - 4
packages/payments-plugin/package.json

@@ -1,6 +1,6 @@
 {
     "name": "@vendure/payments-plugin",
-    "version": "2.0.0-next.28",
+    "version": "2.0.0-beta.0",
     "license": "MIT",
     "main": "package/index.js",
     "types": "package/index.d.ts",
@@ -45,9 +45,9 @@
         "@mollie/api-client": "^3.6.0",
         "@types/braintree": "^2.22.15",
         "@types/localtunnel": "2.0.1",
-        "@vendure/common": "^2.0.0-next.28",
-        "@vendure/core": "^2.0.0-next.28",
-        "@vendure/testing": "^2.0.0-next.28",
+        "@vendure/common": "^2.0.0-beta.0",
+        "@vendure/core": "^2.0.0-beta.0",
+        "@vendure/testing": "^2.0.0-beta.0",
         "braintree": "^3.0.0",
         "localtunnel": "2.0.1",
         "nock": "^13.1.4",

+ 52 - 52
packages/testing/package.json

@@ -1,54 +1,54 @@
 {
-  "name": "@vendure/testing",
-  "version": "2.0.0-next.28",
-  "description": "End-to-end testing tools for Vendure projects",
-  "keywords": [
-    "vendure",
-    "testing",
-    "e2e"
-  ],
-  "author": "Michael Bromley <michael@michaelbromley.co.uk>",
-  "homepage": "https://www.vendure.io/",
-  "license": "MIT",
-  "directories": {
-    "lib": "lib"
-  },
-  "files": [
-    "lib"
-  ],
-  "main": "lib/index.js",
-  "types": "lib/index.d.ts",
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/vendure-ecommerce/vendure.git"
-  },
-  "funding": "https://github.com/sponsors/michaelbromley",
-  "scripts": {
-    "build": "tsc -p ./tsconfig.build.json",
-    "watch": "tsc -p ./tsconfig.build.json -w",
-    "lint": "eslint --fix .",
-    "ci": "yarn build"
-  },
-  "bugs": {
-    "url": "https://github.com/vendure-ecommerce/vendure/issues"
-  },
-  "dependencies": {
-    "@types/node-fetch": "^2.5.4",
-    "@vendure/common": "^2.0.0-next.28",
-    "faker": "^4.1.0",
-    "form-data": "^3.0.0",
-    "graphql": "16.6.0",
-    "graphql-tag": "^2.10.1",
-    "node-fetch": "^2.6.0",
-    "sql.js": "1.8.0"
-  },
-  "devDependencies": {
-    "@types/mysql": "^2.15.15",
-    "@types/pg": "^7.14.5",
-    "@vendure/core": "^2.0.0-next.28",
-    "mysql": "^2.18.1",
-    "pg": "^8.4.0",
-    "rimraf": "^3.0.0",
-    "typescript": "4.9.5"
-  }
+    "name": "@vendure/testing",
+    "version": "2.0.0-beta.0",
+    "description": "End-to-end testing tools for Vendure projects",
+    "keywords": [
+        "vendure",
+        "testing",
+        "e2e"
+    ],
+    "author": "Michael Bromley <michael@michaelbromley.co.uk>",
+    "homepage": "https://www.vendure.io/",
+    "license": "MIT",
+    "directories": {
+        "lib": "lib"
+    },
+    "files": [
+        "lib"
+    ],
+    "main": "lib/index.js",
+    "types": "lib/index.d.ts",
+    "repository": {
+        "type": "git",
+        "url": "git+https://github.com/vendure-ecommerce/vendure.git"
+    },
+    "funding": "https://github.com/sponsors/michaelbromley",
+    "scripts": {
+        "build": "tsc -p ./tsconfig.build.json",
+        "watch": "tsc -p ./tsconfig.build.json -w",
+        "lint": "eslint --fix .",
+        "ci": "yarn build"
+    },
+    "bugs": {
+        "url": "https://github.com/vendure-ecommerce/vendure/issues"
+    },
+    "dependencies": {
+        "@types/node-fetch": "^2.5.4",
+        "@vendure/common": "^2.0.0-beta.0",
+        "faker": "^4.1.0",
+        "form-data": "^3.0.0",
+        "graphql": "16.6.0",
+        "graphql-tag": "^2.10.1",
+        "node-fetch": "^2.6.0",
+        "sql.js": "1.8.0"
+    },
+    "devDependencies": {
+        "@types/mysql": "^2.15.15",
+        "@types/pg": "^7.14.5",
+        "@vendure/core": "^2.0.0-beta.0",
+        "mysql": "^2.18.1",
+        "pg": "^8.4.0",
+        "rimraf": "^3.0.0",
+        "typescript": "4.9.5"
+    }
 }

+ 60 - 60
packages/ui-devkit/package.json

@@ -1,62 +1,62 @@
 {
-  "name": "@vendure/ui-devkit",
-  "version": "2.0.0-next.28",
-  "description": "A library for authoring Vendure Admin UI extensions",
-  "keywords": [
-    "vendure",
-    "javascript",
-    "extensions"
-  ],
-  "author": "Michael Bromley <michael@michaelbromley.co.uk>",
-  "homepage": "https://www.vendure.io/",
-  "license": "MIT",
-  "files": [
-    "client",
-    "compiler",
-    "scaffold"
-  ],
-  "funding": "https://github.com/sponsors/michaelbromley",
-  "publishConfig": {
-    "access": "public"
-  },
-  "main": "client/index.js",
-  "types": "client/index.d.ts",
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/vendure-ecommerce/vendure.git"
-  },
-  "scripts": {
-    "build:client": "rimraf ./client && rollup -c rollup.config.mjs --configProduction",
-    "build:compiler": "rimraf ./compiler && tsc -p tsconfig.compiler.json",
-    "build": "yarn build:client && yarn build:compiler",
-    "watch": "rimraf ./lib && rollup -c rollup.config.mjs -w",
-    "lint": "eslint --fix ."
-  },
-  "bugs": {
-    "url": "https://github.com/vendure-ecommerce/vendure/issues"
-  },
-  "dependencies": {
-    "@angular-devkit/build-angular": "^15.2.1",
-    "@angular/cli": "^15.2.1",
-    "@angular/compiler": "^15.2.1",
-    "@angular/compiler-cli": "^15.2.1",
-    "@vendure/admin-ui": "^2.0.0-next.28",
-    "@vendure/common": "^2.0.0-next.28",
-    "chalk": "^4.1.0",
-    "chokidar": "^3.5.1",
-    "fs-extra": "^10.0.0",
-    "glob": "^9.2.1",
-    "rxjs": "^7.5.4"
-  },
-  "devDependencies": {
-    "@rollup/plugin-node-resolve": "^15.0.1",
-    "@types/fs-extra": "^11.0.1",
-    "@vendure/core": "^2.0.0-next.28",
-    "rimraf": "^3.0.2",
-    "rollup": "^3.18.0",
-    "rollup-plugin-terser": "^7.0.2",
-    "rollup-plugin-typescript2": "^0.34.1",
-    "tslib": "^2.5.0",
-    "typescript": "4.9.5"
-  }
+    "name": "@vendure/ui-devkit",
+    "version": "2.0.0-beta.0",
+    "description": "A library for authoring Vendure Admin UI extensions",
+    "keywords": [
+        "vendure",
+        "javascript",
+        "extensions"
+    ],
+    "author": "Michael Bromley <michael@michaelbromley.co.uk>",
+    "homepage": "https://www.vendure.io/",
+    "license": "MIT",
+    "files": [
+        "client",
+        "compiler",
+        "scaffold"
+    ],
+    "funding": "https://github.com/sponsors/michaelbromley",
+    "publishConfig": {
+        "access": "public"
+    },
+    "main": "client/index.js",
+    "types": "client/index.d.ts",
+    "repository": {
+        "type": "git",
+        "url": "git+https://github.com/vendure-ecommerce/vendure.git"
+    },
+    "scripts": {
+        "build:client": "rimraf ./client && rollup -c rollup.config.mjs --configProduction",
+        "build:compiler": "rimraf ./compiler && tsc -p tsconfig.compiler.json",
+        "build": "yarn build:client && yarn build:compiler",
+        "watch": "rimraf ./lib && rollup -c rollup.config.mjs -w",
+        "lint": "eslint --fix ."
+    },
+    "bugs": {
+        "url": "https://github.com/vendure-ecommerce/vendure/issues"
+    },
+    "dependencies": {
+        "@angular-devkit/build-angular": "^15.2.1",
+        "@angular/cli": "^15.2.1",
+        "@angular/compiler": "^15.2.1",
+        "@angular/compiler-cli": "^15.2.1",
+        "@vendure/admin-ui": "^2.0.0-beta.0",
+        "@vendure/common": "^2.0.0-beta.0",
+        "chalk": "^4.1.0",
+        "chokidar": "^3.5.1",
+        "fs-extra": "^10.0.0",
+        "glob": "^9.2.1",
+        "rxjs": "^7.5.4"
+    },
+    "devDependencies": {
+        "@rollup/plugin-node-resolve": "^15.0.1",
+        "@types/fs-extra": "^11.0.1",
+        "@vendure/core": "^2.0.0-beta.0",
+        "rimraf": "^3.0.2",
+        "rollup": "^3.18.0",
+        "rollup-plugin-terser": "^7.0.2",
+        "rollup-plugin-typescript2": "^0.34.1",
+        "tslib": "^2.5.0",
+        "typescript": "4.9.5"
+    }
 }