Skip to content

Commit

Permalink
Update package version (#56)
Browse files Browse the repository at this point in the history
* Update package version

* Fix failing tests

* Upgrade to latest prettier

* Use corepack for pnpm
  • Loading branch information
dglsparsons authored Feb 28, 2023
1 parent f1756d3 commit 8ec4533
Show file tree
Hide file tree
Showing 8 changed files with 95 additions and 73 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,12 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'pnpm'
- name: enable corepack
run: corepack enable
- name: install
run: pnpm install
- name: lint
Expand All @@ -54,15 +51,12 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'pnpm'
- name: enable corepack
run: corepack enable
- name: install
run: pnpm install
- name: get playwright version
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup-pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: setup-node
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: enable corepack
run: corepack enable
- name: install
run: pnpm install
- name: lint
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.next/
dist/
4 changes: 2 additions & 2 deletions apps/nextjs/e2e/production/beforeSend.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test.describe('beforeSend', () => {
page: 'http://localhost:3000/before-send/first',
payload: {
o: 'http://localhost:3000/before-send/first',
sv: 'v1',
sv: expect.any(String),
sdkn: '@vercel/analytics',
sdkv: expect.any(String),
ts: expect.any(Number),
Expand All @@ -41,7 +41,7 @@ test.describe('beforeSend', () => {
payload: {
o: 'http://localhost:3000/before-send/second?secret=REDACTED',
ts: expect.any(Number),
sv: 'v1',
sv: expect.any(String),
sdkn: '@vercel/analytics',
sdkv: expect.any(String),
},
Expand Down
4 changes: 2 additions & 2 deletions apps/nextjs/e2e/production/pageview.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ test.describe('pageview', () => {
o: 'http://localhost:3000/navigation/first',
ts: expect.any(Number),
r: '',
sv: 'v1',
sv: expect.any(String),
sdkn: '@vercel/analytics',
sdkv: expect.any(String),
},
Expand All @@ -41,7 +41,7 @@ test.describe('pageview', () => {
payload: {
o: 'http://localhost:3000/navigation/second',
ts: expect.any(Number),
sv: 'v1',
sv: expect.any(String),
sdkn: '@vercel/analytics',
sdkv: expect.any(String),
},
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"devDependencies": {
"@vercel/style-guide": "^4.0.2",
"husky": "^8.0.0",
"prettier": "2.7.1",
"prettier": "2.8.4",
"typescript": "^4.8.4"
}
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vercel/analytics",
"version": "0.1.10",
"version": "0.1.11",
"keywords": [
"analytics",
"vercel"
Expand Down
Loading

0 comments on commit 8ec4533

Please sign in to comment.