@magento/create-pwa 2.3.5-beta.3 → 2.4.5-alpha.1
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.
|
@@ -28,7 +28,7 @@ Array [
|
|
|
28
28
|
Object {
|
|
29
29
|
"name": "Magento 2.3.3 with Venia sample data installed",
|
|
30
30
|
"short": "2.3.3-venia-cloud",
|
|
31
|
-
"value": "https://master-7rqtwti-
|
|
31
|
+
"value": "https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/",
|
|
32
32
|
},
|
|
33
33
|
Object {
|
|
34
34
|
"name": "Other (I will provide my own backing Magento instance)",
|
|
@@ -94,7 +94,7 @@ Array [
|
|
|
94
94
|
"
|
|
95
95
|
Running command:
|
|
96
96
|
|
|
97
|
-
[97mbuildpack create-project test --name \\"test\\" --author \\"Gooston <gooston@goosemail.com>\\" --template \\"@magento/venia-concept@8.0.0\\" --backend-url \\"https://master-7rqtwti-
|
|
97
|
+
[97mbuildpack create-project test --name \\"test\\" --author \\"Gooston <gooston@goosemail.com>\\" --template \\"@magento/venia-concept@8.0.0\\" --backend-url \\"https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/\\" --backend-edition \\"AC\\" --braintree-token \\"sandbox_8yrzsvtm_s2bg8fs563crhqzk\\" --npm-client \\"yarn\\" --no-install[39m
|
|
98
98
|
[97m[39m
|
|
99
99
|
[97m[39m",
|
|
100
100
|
],
|
|
@@ -28,7 +28,7 @@ jest.mock('inquirer', () => ({
|
|
|
28
28
|
author: 'Gooston <gooston@goosemail.com>',
|
|
29
29
|
template: '@magento/venia-concept@8.0.0',
|
|
30
30
|
backendUrl:
|
|
31
|
-
'https://master-7rqtwti-
|
|
31
|
+
'https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/',
|
|
32
32
|
backendEdition: 'AC',
|
|
33
33
|
braintreeToken: 'sandbox_8yrzsvtm_s2bg8fs563crhqzk',
|
|
34
34
|
npmClient: 'yarn',
|
|
@@ -65,7 +65,7 @@ beforeAll(() => {
|
|
|
65
65
|
description:
|
|
66
66
|
'Magento 2.3.3 with Venia sample data installed',
|
|
67
67
|
url:
|
|
68
|
-
'https://master-7rqtwti-
|
|
68
|
+
'https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/'
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
name: '2.3.4-venia-cloud',
|
|
@@ -221,14 +221,14 @@ test('should execute buildpack with answers provided', async () => {
|
|
|
221
221
|
await createPWA();
|
|
222
222
|
|
|
223
223
|
expect(execa.shell.mock.calls[0][0]).toMatchInlineSnapshot(
|
|
224
|
-
`"BUILDPACK_LOCATION create-project test --name \\"test\\" --author \\"Gooston <gooston@goosemail.com>\\" --template \\"@magento/venia-concept@8.0.0\\" --backend-url \\"https://master-7rqtwti-
|
|
224
|
+
`"BUILDPACK_LOCATION create-project test --name \\"test\\" --author \\"Gooston <gooston@goosemail.com>\\" --template \\"@magento/venia-concept@8.0.0\\" --backend-url \\"https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/\\" --backend-edition \\"AC\\" --braintree-token \\"sandbox_8yrzsvtm_s2bg8fs563crhqzk\\" --npm-client \\"yarn\\" --no-install"`
|
|
225
225
|
);
|
|
226
226
|
});
|
|
227
227
|
|
|
228
228
|
test('should not include customBackendUrl in shell script', async () => {
|
|
229
229
|
inquirer.prompt.mockResolvedValueOnce({
|
|
230
230
|
customBackendUrl:
|
|
231
|
-
'https://master-7rqtwti-
|
|
231
|
+
'https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/',
|
|
232
232
|
directory: 'test',
|
|
233
233
|
name: 'test',
|
|
234
234
|
author: 'Gooston <gooston@goosemail.com>',
|
|
@@ -242,7 +242,7 @@ test('should not include customBackendUrl in shell script', async () => {
|
|
|
242
242
|
await createPWA();
|
|
243
243
|
|
|
244
244
|
expect(execa.shell.mock.calls[0][0]).toMatchInlineSnapshot(
|
|
245
|
-
`"BUILDPACK_LOCATION create-project test --name \\"test\\" --author \\"Gooston <gooston@goosemail.com>\\" --template \\"@magento/venia-concept@8.0.0\\" --backend-url \\"https://master-7rqtwti-
|
|
245
|
+
`"BUILDPACK_LOCATION create-project test --name \\"test\\" --author \\"Gooston <gooston@goosemail.com>\\" --template \\"@magento/venia-concept@8.0.0\\" --backend-url \\"https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/\\" --backend-edition \\"AC\\" --braintree-token \\"sandbox_8yrzsvtm_s2bg8fs563crhqzk\\" --npm-client \\"yarn\\" --no-install"`
|
|
246
246
|
);
|
|
247
247
|
});
|
|
248
248
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magento/create-pwa",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.5-alpha.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"homepage": "https://github.com/magento/pwa-studio/tree/main/packages/create-pwa#readme",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@magento/pwa-buildpack": "
|
|
33
|
-
"@magento/venia-concept": "13.
|
|
32
|
+
"@magento/pwa-buildpack": "11.4.2-alpha.1",
|
|
33
|
+
"@magento/venia-concept": "13.2.0-alpha.1",
|
|
34
34
|
"chalk": "^2.4.2",
|
|
35
35
|
"change-case": "^3.1.0",
|
|
36
36
|
"compression": "~1.7.4",
|