shoplazza-cli 1.0.2 → 1.0.3

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,4 +1,4 @@
1
- import { extend } from "@shoplazza/extension-ui";
1
+ import { extend } from "shoplazza-extension-ui";
2
2
 
3
3
  extend({
4
4
  extensionPoint: "Checkout::ShippingLinesTitle::RenderAfter",
@@ -1,4 +1,4 @@
1
- import { extend } from '@shoplazza/extension-ui';
1
+ import { extend } from 'shoplazza-extension-ui';
2
2
  import index from './index.html';
3
3
 
4
4
  function App() {
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": "1.0",
3
+ "deleteTarget": [],
4
+ "placeholder": {},
5
+ "templateName": "checkout",
6
+ "themeName": "",
7
+ "extensionId": "",
8
+ "extensionName": "product-list",
9
+ "extensionDescription": ""
10
+ }
@@ -0,0 +1,5 @@
1
+ const productList = CheckoutAPI.summary.getProductList();
2
+
3
+ console.debug('productList', productList);
4
+
5
+ // do something, such as report
@@ -1,4 +1,4 @@
1
- import { extend } from '@shoplazza/extension-ui';
1
+ import { extend } from 'shoplazza-extension-ui';
2
2
  import index from './index.html';
3
3
 
4
4
  function App() {
@@ -0,0 +1,121 @@
1
+ {
2
+ "name": "checkout-extension",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "checkout-extension",
9
+ "version": "1.0.0",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "fs-extra": "11.1.1",
13
+ "shoplazza-extension-ui": "1.0.0"
14
+ },
15
+ "devDependencies": {}
16
+ },
17
+ "node_modules/fs-extra": {
18
+ "version": "11.1.1",
19
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz",
20
+ "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==",
21
+ "license": "MIT",
22
+ "dependencies": {
23
+ "graceful-fs": "^4.2.0",
24
+ "jsonfile": "^6.0.1",
25
+ "universalify": "^2.0.0"
26
+ },
27
+ "engines": {
28
+ "node": ">=14.14"
29
+ }
30
+ },
31
+ "node_modules/graceful-fs": {
32
+ "version": "4.2.11",
33
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
34
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
35
+ "license": "ISC"
36
+ },
37
+ "node_modules/js-tokens": {
38
+ "version": "4.0.0",
39
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
40
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
41
+ "license": "MIT"
42
+ },
43
+ "node_modules/jsonfile": {
44
+ "version": "6.1.0",
45
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
46
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
47
+ "license": "MIT",
48
+ "dependencies": {
49
+ "universalify": "^2.0.0"
50
+ },
51
+ "optionalDependencies": {
52
+ "graceful-fs": "^4.1.6"
53
+ }
54
+ },
55
+ "node_modules/loose-envify": {
56
+ "version": "1.4.0",
57
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
58
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
59
+ "license": "MIT",
60
+ "dependencies": {
61
+ "js-tokens": "^3.0.0 || ^4.0.0"
62
+ },
63
+ "bin": {
64
+ "loose-envify": "cli.js"
65
+ }
66
+ },
67
+ "node_modules/react": {
68
+ "version": "18.3.1",
69
+ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
70
+ "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
71
+ "license": "MIT",
72
+ "dependencies": {
73
+ "loose-envify": "^1.1.0"
74
+ },
75
+ "engines": {
76
+ "node": ">=0.10.0"
77
+ }
78
+ },
79
+ "node_modules/react-dom": {
80
+ "version": "18.3.1",
81
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
82
+ "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
83
+ "license": "MIT",
84
+ "dependencies": {
85
+ "loose-envify": "^1.1.0",
86
+ "scheduler": "^0.23.2"
87
+ },
88
+ "peerDependencies": {
89
+ "react": "^18.3.1"
90
+ }
91
+ },
92
+ "node_modules/scheduler": {
93
+ "version": "0.23.2",
94
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
95
+ "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
96
+ "license": "MIT",
97
+ "dependencies": {
98
+ "loose-envify": "^1.1.0"
99
+ }
100
+ },
101
+ "node_modules/shoplazza-extension-ui": {
102
+ "version": "1.0.0",
103
+ "resolved": "https://registry.npmjs.org/shoplazza-extension-ui/-/shoplazza-extension-ui-1.0.0.tgz",
104
+ "integrity": "sha512-gW2sWnfyEXwbWfi9Sje4K+r0ECCHjF7lID/igWplMi8opOiTI+88JurPHuwtBAhC3V0T2WZvBlcykHWjNQzYBA==",
105
+ "license": "MIT",
106
+ "dependencies": {
107
+ "react": "^18.2.0",
108
+ "react-dom": "^18.2.0"
109
+ }
110
+ },
111
+ "node_modules/universalify": {
112
+ "version": "2.0.1",
113
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
114
+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
115
+ "license": "MIT",
116
+ "engines": {
117
+ "node": ">= 10.0.0"
118
+ }
119
+ }
120
+ }
121
+ }
@@ -5,7 +5,7 @@
5
5
  "main": "index.js",
6
6
  "dependencies": {
7
7
  "fs-extra": "11.1.1",
8
- "@shoplazza/extension-ui": "2.0.8"
8
+ "shoplazza-extension-ui": "1.0.0"
9
9
  },
10
10
  "devDependencies": {},
11
11
  "scripts": {
@@ -1,4 +1,4 @@
1
- import { extend } from '@shoplazza/extension-ui';
1
+ import { extend } from 'shoplazza-extension-ui';
2
2
  import index from './index.html';
3
3
 
4
4
  function App() {
@@ -5,7 +5,7 @@
5
5
  "main": "index.js",
6
6
  "dependencies": {
7
7
  "fs-extra": "11.1.1",
8
- "@shoplazza/extension-ui": "2.0.8"
8
+ "shoplazza-extension-ui": "1.0.0"
9
9
  },
10
10
  "devDependencies": {},
11
11
  "scripts": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoplazza-cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "",
5
5
  "main": "bin/shoplazza",
6
6
  "engines": {
@@ -13,10 +13,6 @@
13
13
  "prettier": "prettier --write ./lib",
14
14
  "test": "jest --runInBand --forceExit"
15
15
  },
16
- "repository": {
17
- "type": "git",
18
- "url": "git@gitlab.shoplazza.site:shoplaza/frontend/openapi/shoplazza-cli.git"
19
- },
20
16
  "keywords": [],
21
17
  "author": "",
22
18
  "license": "ISC",
@@ -28,7 +24,6 @@
28
24
  "dependencies": {
29
25
  "@sentry/node": "^6.19.7",
30
26
  "@sentry/tracing": "^6.19.7",
31
- "@shoplazza/extension-ui": "^1.0.0",
32
27
  "adm-zip": "^0.5.9",
33
28
  "ali-oss": "^6.17.1",
34
29
  "archiver": "^5.3.1",