From d6069f4078c4573cc82e443608603a352e470ce4 Mon Sep 17 00:00:00 2001 From: Martin Trapp <94928215+martrapp@users.noreply.github.com> Date: Wed, 31 Jan 2024 20:35:00 +0100 Subject: [PATCH] Mt/exports (#20) * add custom-name devoder * export assets --- .changeset/young-olives-pump.md | 5 +++++ package-lock.json | 6 +++--- package.json | 5 +++-- 3 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 .changeset/young-olives-pump.md diff --git a/.changeset/young-olives-pump.md b/.changeset/young-olives-pump.md new file mode 100644 index 0000000..60e1cce --- /dev/null +++ b/.changeset/young-olives-pump.md @@ -0,0 +1,5 @@ +--- +"astro-vtbot": patch +--- + +Adds the new assets directory to the package exports diff --git a/package-lock.json b/package-lock.json index 9b6263d..be8ae8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "astro-vtbot", - "version": "1.4.3", + "version": "1.4.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "astro-vtbot", - "version": "1.4.3", + "version": "1.4.4", "license": "ISC", "devDependencies": { "@changesets/changelog-github": "0.5.0", @@ -14,7 +14,7 @@ "@playwright/test": "^1.40.0", "@types/dom-view-transitions": "^1.0.4", "@types/node": "^20.10.4", - "astro": "^4.0.3", + "astro": "latest", "prettier": "^3.1.0", "prettier-plugin-astro": "^0.13.0", "typescript": "^5.3.3" diff --git a/package.json b/package.json index 3a96c60..761af72 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "import": "./animations/*.astro", "types": "./animations/*.d.ts" }, + "./assets/*": "./assets/*", "./animations/*": "./animations/*.ts", "./package.json": "./package.json", "./vtex1": "./integration/view-transition-extension1.ts", @@ -59,7 +60,7 @@ "debug" ], "scripts": { - "format": "prettier -w components integration animations", + "format": "prettier -w components integration animations test", "test": "mkdir -p test/fixture/node_modules && (cd test/fixture/node_modules && rm -f astro-vtbot; ln -sT ../../.. astro-vtbot) && npx playwright test", "changeset": "changeset", "release": "changeset publish" @@ -73,7 +74,7 @@ "@playwright/test": "^1.40.0", "@types/dom-view-transitions": "^1.0.4", "@types/node": "^20.10.4", - "astro": "^4.0.3", + "astro": "latest", "prettier": "^3.1.0", "prettier-plugin-astro": "^0.13.0", "typescript": "^5.3.3"