Skip to content

Commit 796732e

Browse files
authored
Merge pull request #38 from guendev/refactor/ci
chore: ignore docs package in changesets
2 parents cdba622 + 395d7b1 commit 796732e

File tree

11 files changed

+133
-1193
lines changed

11 files changed

+133
-1193
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"access": "public",
88
"baseBranch": "main",
99
"updateInternalDependencies": "patch",
10-
"ignore": ["@vue3-apollo/web", "@vue3-apollo/operations", "@vue3-apollo/playground"],
10+
"ignore": ["@vue3-apollo/web", "@vue3-apollo/operations", "@vue3-apollo/playground", "@vue3-apollo/docs"],
1111
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
1212
"onlyUpdatePeerDependentsWhenOutOfRange": true
1313
}

.changeset/purple-games-sleep.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ jobs:
7979
- name: Install dependencies
8080
run: pnpm install
8181

82+
- name: Build packages
83+
run: pnpm run build
84+
8285
- name: Type check
8386
run: pnpm run typecheck
84-
continue-on-error: true

.github/workflows/deploy-docs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
- main
77
paths:
88
- 'packages/docs/**'
9-
- 'packages/core/**'
109
- .github/workflows/deploy-docs.yml
1110
workflow_dispatch:
1211

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'packages/**'
8+
- 'packages/core/**'
9+
- 'packages/nuxt/src/**'
910
- package.json
1011
- pnpm-lock.yaml
1112
- pnpm-workspace.yaml

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
"lint": "eslint .",
1818
"lint:fix": "eslint . --fix",
1919
"release": "pnpm build && changeset publish",
20-
"typecheck": "pnpm run typecheck:core && pnpm run typecheck:nuxt && pnpm run typecheck:web",
20+
"typecheck": "pnpm run typecheck:core && pnpm run typecheck:web",
2121
"typecheck:core": "pnpm --filter @vue3-apollo/core run typecheck",
22-
"typecheck:nuxt": "pnpm --filter @vue3-apollo/nuxt run typecheck",
2322
"typecheck:web": "pnpm --filter @vue3-apollo/web run typecheck",
2423
"update:dependencies": "ncu --deep -u",
2524
"version": "changeset version && pnpm install --lockfile-only"

packages/core/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "@vue3-apollo/core",
33
"type": "module",
44
"version": "1.4.0",
5-
"packageManager": "[email protected]",
65
"description": "Composable Apollo Client utilities for Vue 3.",
76
"author": "Guen <[email protected]>",
87
"license": "MIT",

packages/docs/CHANGELOG.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

packages/nuxt/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "@vue3-apollo/nuxt",
33
"type": "module",
44
"version": "1.4.0",
5-
"packageManager": "[email protected]",
65
"description": "Nuxt module for Apollo Client integration with Vue 3",
76
"author": "Guen <[email protected]>",
87
"license": "MIT",
@@ -47,8 +46,7 @@
4746
"prepack": "nuxt-module-build prepare && nuxt-module-build build",
4847
"dev": "npm run dev:prepare && nuxi dev playground",
4948
"dev:build": "nuxi build playground",
50-
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
51-
"typecheck": "pnpm run prepack && vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
49+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground"
5250
},
5351
"peerDependencies": {
5452
"@apollo/client": "^4.0.0",

packages/web/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ApolloClient, HttpLink, InMemoryCache } from '@apollo/client'
1+
import { ApolloClient, HttpLink, InMemoryCache } from '@apollo/client/core'
22
import 'virtual:uno.css'
33
import { apolloPlugin } from '@vue3-apollo/core'
44
import { createApp } from 'vue'

0 commit comments

Comments
 (0)