@vendure/cli 3.0.0-next.0 → 3.0.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.
@@ -1,25 +1,25 @@
1
- import { PluginCommonModule, Type, VendurePlugin } from '@vendure/core';
2
-
3
- import { TEMPLATE_PLUGIN_OPTIONS } from './constants.template';
4
- import { PluginInitOptions } from './types.template';
5
-
6
- @VendurePlugin({
7
- imports: [PluginCommonModule],
8
- providers: [{ provide: TEMPLATE_PLUGIN_OPTIONS, useFactory: () => TemplatePlugin.options }],
9
- configuration: config => {
10
- // Plugin-specific configuration
11
- // such as custom fields, custom permissions,
12
- // strategies etc. can be configured here by
13
- // modifying the `config` object.
14
- return config;
15
- },
16
- compatibility: '^2.0.0',
17
- })
18
- export class TemplatePlugin {
19
- static options: PluginInitOptions;
20
-
21
- static init(options: PluginInitOptions): Type<TemplatePlugin> {
22
- this.options = options;
23
- return TemplatePlugin;
24
- }
25
- }
1
+ import { PluginCommonModule, Type, VendurePlugin } from '@vendure/core';
2
+
3
+ import { TEMPLATE_PLUGIN_OPTIONS } from './constants.template';
4
+ import { PluginInitOptions } from './types.template';
5
+
6
+ @VendurePlugin({
7
+ imports: [PluginCommonModule],
8
+ providers: [{ provide: TEMPLATE_PLUGIN_OPTIONS, useFactory: () => TemplatePlugin.options }],
9
+ configuration: config => {
10
+ // Plugin-specific configuration
11
+ // such as custom fields, custom permissions,
12
+ // strategies etc. can be configured here by
13
+ // modifying the `config` object.
14
+ return config;
15
+ },
16
+ compatibility: '^3.0.0',
17
+ })
18
+ export class TemplatePlugin {
19
+ static options: PluginInitOptions;
20
+
21
+ static init(options: PluginInitOptions): Type<TemplatePlugin> {
22
+ this.options = options;
23
+ return TemplatePlugin;
24
+ }
25
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendure/cli",
3
- "version": "3.0.0-next.0",
3
+ "version": "3.0.0",
4
4
  "description": "A modern, headless ecommerce framework",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@clack/prompts": "^0.7.0",
38
- "@vendure/common": "3.0.0-next.0",
38
+ "@vendure/common": "^3.0.0",
39
39
  "change-case": "^4.1.2",
40
40
  "commander": "^11.0.0",
41
41
  "dotenv": "^16.4.5",
@@ -46,8 +46,8 @@
46
46
  "tsconfig-paths": "^4.2.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@vendure/core": "3.0.0-next.0",
49
+ "@vendure/core": "^3.0.0",
50
50
  "typescript": "5.3.3"
51
51
  },
52
- "gitHead": "3186993cb1de80b34345c26d01a71bead545da33"
52
+ "gitHead": "a23b3ae5d4675eb459bb646ba7dd4ab0b085eb08"
53
53
  }