diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index eb8ce7e..1d5012d 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -55,23 +55,6 @@ jobs: env: GITHUB_REPOSITORY: ${{ github.repository }} - - name: Insert repository owner as scope into package name - run: | - cp package.json package.json.bak - node < JSON.parse(data)).then((json) => { - json.name = '@' + process.env.GITHUB_REPOSITORY.split('/')[0] + '/' + json.name; - console.info('Package name changed to %s', json.name); - return fs.writeFile('package.json', JSON.stringify(json, null, 2), 'utf8'); - }).catch(error => { - console.error(error); - process.exit(1); - }); - EOF - env: - GITHUB_REPOSITORY: ${{ github.repository }} - - name: Publish to GitHub Packages run: pnpm publish --registry=https://npm.pkg.github.com/ --no-git-checks env: diff --git a/package.json b/package.json index b2fa49e..fe04b5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zod-to-fields", - "version": "0.1.33", + "version": "0.1.34", "description": "Turn your Zod schemas into configurable field arrays for easy integration with HTML, React, Vue, and more.", "main": "lib/cjs/index.js", "module": "lib/esm/index.js",