@wix/astro 2.1.0 → 2.2.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.
- package/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +16 -0
- package/build/builders.d.ts +2 -1
- package/build/builders.js +8 -6
- package/build/builders.js.map +1 -1
- package/build/index.js +4 -2
- package/build/index.js.map +1 -1
- package/package.json +8 -7
- package/src/builders.ts +8 -6
- package/src/index.ts +4 -2
- package/tsup.config.mjs +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
[34mCLI[39m Target: node20.9
|
|
6
6
|
[34mCLI[39m Cleaning output folder
|
|
7
7
|
[34mESM[39m Build start
|
|
8
|
-
[32mESM[39m [1mbuild/builders.js [22m[
|
|
9
|
-
[32mESM[39m [1mbuild/index.js [22m[
|
|
10
|
-
[32mESM[39m [1mbuild/builders.js.map [22m[
|
|
11
|
-
[32mESM[39m [1mbuild/index.js.map [22m[32m1.
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
8
|
+
[32mESM[39m [1mbuild/builders.js [22m[32m850.00 B[39m
|
|
9
|
+
[32mESM[39m [1mbuild/index.js [22m[32m1.06 KB[39m
|
|
10
|
+
[32mESM[39m [1mbuild/builders.js.map [22m[32m677.00 B[39m
|
|
11
|
+
[32mESM[39m [1mbuild/index.js.map [22m[32m1.66 KB[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 23ms
|
|
13
13
|
[34mDTS[39m Build start
|
|
14
|
-
[32mDTS[39m ⚡️ Build success in
|
|
15
|
-
[32mDTS[39m [1mbuild/builders.d.ts [22m[
|
|
14
|
+
[32mDTS[39m ⚡️ Build success in 4154ms
|
|
15
|
+
[32mDTS[39m [1mbuild/builders.d.ts [22m[32m378.00 B[39m
|
|
16
16
|
[32mDTS[39m [1mbuild/index.d.ts [22m[32m251.00 B[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @wix/astro
|
|
2
2
|
|
|
3
|
+
## 2.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#121](https://github.com/wix-incubator/headless-integrations/pull/121) [`903244c`](https://github.com/wix-incubator/headless-integrations/commit/903244ce7aae605eedd187ceecedc2c65796817e) Thanks [@ronami](https://github.com/ronami)! - Release minor version of packages after recently failed releases
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`903244c`](https://github.com/wix-incubator/headless-integrations/commit/903244ce7aae605eedd187ceecedc2c65796817e), [`d5f3624`](https://github.com/wix-incubator/headless-integrations/commit/d5f36244bc5b424702825631df8e1a91b6cf3359)]:
|
|
12
|
+
- @wix/astro-auth@2.1.0
|
|
13
|
+
- @wix/astro-backend-extensions@2.1.0
|
|
14
|
+
- @wix/astro-backoffice-extensions@2.1.0
|
|
15
|
+
- @wix/astro-core@2.1.0
|
|
16
|
+
- @wix/astro-html-embeds@2.1.0
|
|
17
|
+
- @wix/astro-payment-links@2.1.0
|
|
18
|
+
|
|
3
19
|
## 2.1.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/build/builders.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
export { ecomAdditionalFees, ecomDiscountsTrigger, ecomGiftCardsProvider, ecomPaymentSettings, ecomShippingRates, ecomValidations, webhook } from '@wix/astro-backend-extensions';
|
|
2
|
+
export { backofficeExtensionMenuPlugin, backofficeExtensionWidget, backofficeModal, backofficePage } from '@wix/astro-backoffice-extensions';
|
|
1
3
|
export { app, genericExtension } from '@wix/astro-core';
|
|
2
|
-
export { backofficeExtensionMenuPlugin, backofficeExtensionWidget, backofficeModal, backofficePage, ecomAdditionalFees, ecomDiscountsTrigger, ecomGiftCardsProvider, ecomPaymentSettings, ecomShippingRates, ecomValidations, webhook } from '@wix/astro-extensions';
|
package/build/builders.js
CHANGED
|
@@ -2,12 +2,7 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
|
|
4
4
|
// src/builders.ts
|
|
5
|
-
import { app, genericExtension } from "@wix/astro-core";
|
|
6
5
|
import {
|
|
7
|
-
backofficeExtensionMenuPlugin,
|
|
8
|
-
backofficeExtensionWidget,
|
|
9
|
-
backofficeModal,
|
|
10
|
-
backofficePage,
|
|
11
6
|
ecomAdditionalFees,
|
|
12
7
|
ecomDiscountsTrigger,
|
|
13
8
|
ecomGiftCardsProvider,
|
|
@@ -15,7 +10,14 @@ import {
|
|
|
15
10
|
ecomShippingRates,
|
|
16
11
|
ecomValidations,
|
|
17
12
|
webhook
|
|
18
|
-
} from "@wix/astro-extensions";
|
|
13
|
+
} from "@wix/astro-backend-extensions";
|
|
14
|
+
import {
|
|
15
|
+
backofficeExtensionMenuPlugin,
|
|
16
|
+
backofficeExtensionWidget,
|
|
17
|
+
backofficeModal,
|
|
18
|
+
backofficePage
|
|
19
|
+
} from "@wix/astro-backoffice-extensions";
|
|
20
|
+
import { app, genericExtension } from "@wix/astro-core";
|
|
19
21
|
export {
|
|
20
22
|
app,
|
|
21
23
|
backofficeExtensionMenuPlugin,
|
package/build/builders.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/builders.ts"],"sourcesContent":["export {
|
|
1
|
+
{"version":3,"sources":["../src/builders.ts"],"sourcesContent":["export {\n ecomAdditionalFees,\n ecomDiscountsTrigger,\n ecomGiftCardsProvider,\n ecomPaymentSettings,\n ecomShippingRates,\n ecomValidations,\n webhook,\n} from '@wix/astro-backend-extensions';\nexport {\n backofficeExtensionMenuPlugin,\n backofficeExtensionWidget,\n backofficeModal,\n backofficePage,\n} from '@wix/astro-backoffice-extensions';\nexport { app, genericExtension } from '@wix/astro-core';\n"],"mappings":";;;;AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,KAAK,wBAAwB;","names":[]}
|
package/build/index.js
CHANGED
|
@@ -3,8 +3,9 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
|
|
4
4
|
// src/index.ts
|
|
5
5
|
import auth from "@wix/astro-auth";
|
|
6
|
+
import backend from "@wix/astro-backend-extensions";
|
|
7
|
+
import backoffice from "@wix/astro-backoffice-extensions";
|
|
6
8
|
import core from "@wix/astro-core";
|
|
7
|
-
import extensions from "@wix/astro-extensions";
|
|
8
9
|
import htmlEmbeds from "@wix/astro-html-embeds";
|
|
9
10
|
import paymentLinks from "@wix/astro-payment-links";
|
|
10
11
|
var createIntegration = ({
|
|
@@ -19,7 +20,8 @@ var createIntegration = ({
|
|
|
19
20
|
core({
|
|
20
21
|
integrations: [
|
|
21
22
|
auth({ enableAuthRoutes }),
|
|
22
|
-
|
|
23
|
+
backend(),
|
|
24
|
+
backoffice(),
|
|
23
25
|
...enableHtmlEmbeds ? [htmlEmbeds()] : [],
|
|
24
26
|
paymentLinks()
|
|
25
27
|
]
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import type { AstroIntegration } from 'astro';\nimport auth from '@wix/astro-auth';\nimport
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import type { AstroIntegration } from 'astro';\nimport auth from '@wix/astro-auth';\nimport backend from '@wix/astro-backend-extensions';\nimport backoffice from '@wix/astro-backoffice-extensions';\nimport core from '@wix/astro-core';\nimport htmlEmbeds from '@wix/astro-html-embeds';\nimport paymentLinks from '@wix/astro-payment-links';\n\nconst createIntegration = ({\n enableAuthRoutes = true,\n enableHtmlEmbeds = true,\n}: {\n enableAuthRoutes?: boolean;\n enableHtmlEmbeds?: boolean;\n} = {}): AstroIntegration => {\n return {\n hooks: {\n async 'astro:config:setup'({ updateConfig }) {\n updateConfig({\n integrations: [\n core({\n integrations: [\n auth({ enableAuthRoutes }),\n backend(),\n backoffice(),\n ...(enableHtmlEmbeds ? [htmlEmbeds()] : []),\n paymentLinks(),\n ],\n }),\n ],\n });\n },\n },\n name: '@wix/astro',\n };\n};\n\nexport default createIntegration;\n"],"mappings":";;;;AACA,OAAO,UAAU;AACjB,OAAO,aAAa;AACpB,OAAO,gBAAgB;AACvB,OAAO,UAAU;AACjB,OAAO,gBAAgB;AACvB,OAAO,kBAAkB;AAEzB,IAAM,oBAAoB,CAAC;AAAA,EACzB,mBAAmB;AAAA,EACnB,mBAAmB;AACrB,IAGI,CAAC,MAAwB;AAC3B,SAAO;AAAA,IACL,OAAO;AAAA,MACL,MAAM,qBAAqB,EAAE,aAAa,GAAG;AAC3C,qBAAa;AAAA,UACX,cAAc;AAAA,YACZ,KAAK;AAAA,cACH,cAAc;AAAA,gBACZ,KAAK,EAAE,iBAAiB,CAAC;AAAA,gBACzB,QAAQ;AAAA,gBACR,WAAW;AAAA,gBACX,GAAI,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC;AAAA,gBACzC,aAAa;AAAA,cACf;AAAA,YACF,CAAC;AAAA,UACH;AAAA,QACF,CAAC;AAAA,MACH;AAAA,IACF;AAAA,IACA,MAAM;AAAA,EACR;AACF;AAEA,IAAO,gBAAQ;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/astro",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@wix/astro-auth": "^2.0
|
|
6
|
-
"@wix/astro-
|
|
7
|
-
"@wix/astro-extensions": "^2.1.0",
|
|
8
|
-
"@wix/astro-
|
|
9
|
-
"@wix/astro-
|
|
5
|
+
"@wix/astro-auth": "^2.1.0",
|
|
6
|
+
"@wix/astro-backend-extensions": "^2.1.0",
|
|
7
|
+
"@wix/astro-backoffice-extensions": "^2.1.0",
|
|
8
|
+
"@wix/astro-core": "^2.1.0",
|
|
9
|
+
"@wix/astro-html-embeds": "^2.1.0",
|
|
10
|
+
"@wix/astro-payment-links": "^2.1.0"
|
|
10
11
|
},
|
|
11
12
|
"devDependencies": {
|
|
12
13
|
"astro": "^5.10.1",
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
},
|
|
30
31
|
"scripts": {
|
|
31
32
|
"build": "tsup",
|
|
32
|
-
"typecheck": "
|
|
33
|
+
"typecheck": "tsc --noEmit"
|
|
33
34
|
},
|
|
34
35
|
"sideEffects": false,
|
|
35
36
|
"type": "module"
|
package/src/builders.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
export { app, genericExtension } from '@wix/astro-core';
|
|
2
1
|
export {
|
|
3
|
-
backofficeExtensionMenuPlugin,
|
|
4
|
-
backofficeExtensionWidget,
|
|
5
|
-
backofficeModal,
|
|
6
|
-
backofficePage,
|
|
7
2
|
ecomAdditionalFees,
|
|
8
3
|
ecomDiscountsTrigger,
|
|
9
4
|
ecomGiftCardsProvider,
|
|
@@ -11,4 +6,11 @@ export {
|
|
|
11
6
|
ecomShippingRates,
|
|
12
7
|
ecomValidations,
|
|
13
8
|
webhook,
|
|
14
|
-
} from '@wix/astro-extensions';
|
|
9
|
+
} from '@wix/astro-backend-extensions';
|
|
10
|
+
export {
|
|
11
|
+
backofficeExtensionMenuPlugin,
|
|
12
|
+
backofficeExtensionWidget,
|
|
13
|
+
backofficeModal,
|
|
14
|
+
backofficePage,
|
|
15
|
+
} from '@wix/astro-backoffice-extensions';
|
|
16
|
+
export { app, genericExtension } from '@wix/astro-core';
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { AstroIntegration } from 'astro';
|
|
2
2
|
import auth from '@wix/astro-auth';
|
|
3
|
+
import backend from '@wix/astro-backend-extensions';
|
|
4
|
+
import backoffice from '@wix/astro-backoffice-extensions';
|
|
3
5
|
import core from '@wix/astro-core';
|
|
4
|
-
import extensions from '@wix/astro-extensions';
|
|
5
6
|
import htmlEmbeds from '@wix/astro-html-embeds';
|
|
6
7
|
import paymentLinks from '@wix/astro-payment-links';
|
|
7
8
|
|
|
@@ -20,7 +21,8 @@ const createIntegration = ({
|
|
|
20
21
|
core({
|
|
21
22
|
integrations: [
|
|
22
23
|
auth({ enableAuthRoutes }),
|
|
23
|
-
|
|
24
|
+
backend(),
|
|
25
|
+
backoffice(),
|
|
24
26
|
...(enableHtmlEmbeds ? [htmlEmbeds()] : []),
|
|
25
27
|
paymentLinks(),
|
|
26
28
|
],
|
package/tsup.config.mjs
CHANGED