Skip to content

Commit

Permalink
install only necessary packages
Browse files Browse the repository at this point in the history
  • Loading branch information
pbohlman committed Jun 23, 2024
1 parent 93b3a11 commit 90460bf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
NPM_TOKEN: ${{ secrets.CI_NPM_TOKEN }}

- name: Install
run: yarn install --immutable
run: yarn run focus:packages

- name: Create Release Pull Request or Publish
id: changesets
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
],
"scripts": {
"build:packages": "turbo build --filter=\"@triplit/*\" --force",
"focus:packages": "yarn workspaces focus @triplit/db @triplit/client @triplit/react @triplit/svelte @triplit/server-core @triplit/server @triplit/console @triplit/cli create-triplit-app",
"release:packages": "yarn build:packages && yarn workspace @triplit/db run publish-pkg && yarn workspace @triplit/client run publish-pkg && yarn workspace @triplit/react run publish-pkg && yarn workspace @triplit/svelte run publish-pkg && yarn workspace @triplit/server-core run publish-pkg && yarn workspace @triplit/server run publish-pkg && yarn workspace @triplit/console run publish-pkg && yarn workspace @triplit/cli run publish-pkg && yarn workspace create-triplit-app run publish-pkg && yarn tag:packages",
"tag:packages": "git pull --tags -f && yarn changeset tag",
"lint": "yarn workspaces foreach --all run lint",
Expand Down
2 changes: 1 addition & 1 deletion templates/react/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "todos",
"name": "react-template",
"private": true,
"version": "0.0.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion templates/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "svelte",
"name": "svelte-template",
"version": "0.0.1",
"private": true,
"scripts": {
Expand Down

0 comments on commit 90460bf

Please sign in to comment.