Skip to content

Commit

Permalink
chore: packages access public setting
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-w committed Mar 20, 2024
1 parent 41e20bf commit 7a44cbb
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ jobs:
- name: 📥 Monorepo install
uses: ./.github/actions/pnpm-install

- name: 🏗 Build
run: |
pnpm -F @teable/db-main-prisma prisma-generate --schema ./prisma/postgres/schema.prisma && pnpm -F './packages/**' run build
- name: 🦋 Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
commit: 'chore(release): version packages'
title: 'chore(release): version packages'
version: pnpm ci:version
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
"g:test-unit": "pnpm -r --parralel test-unit",
"g:test-unit-cover": "pnpm -r --parralel test-unit-cover",
"g:typecheck": "pnpm -r --parralel typecheck",
"ci:publish": "pnpm -F @teable/db-main-prisma prisma-generate --schema ./prisma/postgres/schema.prisma && pnpm -F './packages/**' run build && pnpm publish -r",
"ci:version": "changeset version",
"generate-openapi-types": "node scripts/generate-openapi-types.mjs",
"install:playwright": "playwright install",
"install:husky": "node .husky/install.mjs",
Expand Down
3 changes: 3 additions & 0 deletions packages/common-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"license": "AGPL-3.0",
"homepage": "https://github.com/teableio/teable",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/teableio/teable",
Expand Down
3 changes: 3 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"license": "AGPL-3.0",
"homepage": "https://github.com/teableio/teable",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/teableio/teable",
Expand Down
3 changes: 3 additions & 0 deletions packages/db-main-prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"license": "AGPL-3.0",
"homepage": "https://github.com/teableio/teable",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/teableio/teable",
Expand Down
3 changes: 3 additions & 0 deletions packages/eslint-config-bases/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"url": "https://github.com/teableio/teable",
"directory": "packages/eslint-config-bases"
},
"publishConfig": {
"access": "public"
},
"author": {
"name": "tea artist",
"url": "https://github.com/tea-artist"
Expand Down
3 changes: 3 additions & 0 deletions packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"license": "AGPL-3.0",
"homepage": "https://github.com/teableio/teable",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/teableio/teable",
Expand Down
3 changes: 3 additions & 0 deletions packages/openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"license": "AGPL-3.0",
"homepage": "https://github.com/teableio/teable",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/teableio/teable",
Expand Down
3 changes: 3 additions & 0 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"license": "AGPL-3.0",
"homepage": "https://github.com/teableio/teable",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/teableio/teable",
Expand Down
3 changes: 3 additions & 0 deletions packages/ui-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"license": "AGPL-3.0",
"homepage": "https://github.com/teableio/teable",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/teableio/teable",
Expand Down

0 comments on commit 7a44cbb

Please sign in to comment.