diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0002e53c30..23808da5af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,3 +84,19 @@ jobs: - id: test-build name: Build docs locally to ensure they can be built in CI run: yarn docs:admin + + publish-ui-extensions-tester: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: ./.github/workflows/actions/prepare + + - name: Build packages + run: yarn build + + - name: Publish @shopify/ui-extensions-tester + run: npm publish --tag unreleased + working-directory: packages/ui-extensions-tester + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/packages/ui-extensions-tester/package.json b/packages/ui-extensions-tester/package.json index 8e73d4268b..305b7e3405 100644 --- a/packages/ui-extensions-tester/package.json +++ b/packages/ui-extensions-tester/package.json @@ -1,90 +1,8 @@ { "name": "@shopify/ui-extensions-tester", - "version": "2026.4.0-rc.2", + "version": "0.0.1-alpha.0", "main": "index.js", - "module": "index.mjs", - "esnext": "index.esnext", - "types": "./build/ts/index.d.ts", - "exports": { - ".": { - "types": "./build/ts/index.d.ts", - "esnext": "./index.esnext", - "import": "./index.mjs", - "require": "./index.js" - }, - "./admin": { - "types": "./build/ts/admin/index.d.ts", - "esnext": "./admin.esnext", - "import": "./admin.mjs", - "require": "./admin.js" - }, - "./checkout": { - "types": "./build/ts/checkout/index.d.ts", - "esnext": "./checkout.esnext", - "import": "./checkout.mjs", - "require": "./checkout.js" - }, - "./point-of-sale": { - "types": "./build/ts/point-of-sale/index.d.ts", - "esnext": "./point-of-sale.esnext", - "import": "./point-of-sale.mjs", - "require": "./point-of-sale.js" - }, - "./customer-account": { - "types": "./build/ts/customer-account/index.d.ts", - "esnext": "./customer-account.esnext", - "import": "./customer-account.mjs", - "require": "./customer-account.js" - } - }, - "typesVersions": { - "*": { - "admin": [ - "./build/ts/admin/index.d.ts" - ], - "checkout": [ - "./build/ts/checkout/index.d.ts" - ], - "point-of-sale": [ - "./build/ts/point-of-sale/index.d.ts" - ], - "customer-account": [ - "./build/ts/customer-account/index.d.ts" - ] - } - }, - "license": "MIT", - "dependencies": { - "@shopify/ui-extensions": "2026.4.0-rc.2" - }, - "peerDependencies": { - "preact": "^10.0.0" - }, - "peerDependenciesMeta": { - "preact": { - "optional": true - } - }, - "devDependencies": { - "typescript": "^4.9.0" - }, - "publishConfig": { - "access": "public", - "@shopify:registry": "https://registry.npmjs.org/" - }, - "repository": { - "type": "git", - "url": "https://github.com/Shopify/ui-extensions.git", - "directory": "packages/ui-extensions-tester" - }, "files": [ - "build", - "src", - "index.*", - "admin.*", - "checkout.*", - "point-of-sale.*", - "customer-account.*", - "README.md" + "index.js" ] }