Skip to content

Commit

Permalink
Merge pull request #1174 from andrew-bierman/Add-changesets
Browse files Browse the repository at this point in the history
Add changesets
  • Loading branch information
andrew-bierman authored Aug 23, 2024
2 parents b8abfce + 7654bef commit 151e446
Show file tree
Hide file tree
Showing 39 changed files with 739 additions and 35 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": true,
"fixed": [],
"linked": [["@packrat/*", "app", "expo-app", "next-app", "tauri-app", "vite-app"]],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
31 changes: 31 additions & 0 deletions .github/workflows/changeset-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Changeset Release Workflow

on:
push:
branches:
- main

jobs:
release:
name: 🚀 Release Packages
runs-on: ubuntu-latest

steps:
- name: 🛠 Checkout Repository
uses: actions/checkout@v3

- name: 🔧 Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: 📦 Install Dependencies
run: yarn

- name: ✏️ Create Release Pull Request
uses: changesets/action@v1
with:
version: yarn changeset version
commit: "🔖 chore: version bump and changelog"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
File renamed without changes.
22 changes: 22 additions & 0 deletions apps/expo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# expo-app

## 1.1.1

### Patch Changes

- d50da32: changeset commit 2 setting up initial version
- Updated dependencies [d50da32]
- [email protected]
- [email protected]

## 1.1.0

### Minor Changes

- ee84040: initial changeset commit

### Patch Changes

- Updated dependencies [ee84040]
- [email protected]
- [email protected]
2 changes: 1 addition & 1 deletion apps/expo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "expo-app",
"version": "1.0.0",
"version": "1.1.1",
"main": "index.js",
"scripts": {
"android": "TAMAGUI_TARGET=native npx expo run:android",
Expand Down
20 changes: 20 additions & 0 deletions apps/next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# next-app

## 1.1.1

### Patch Changes

- d50da32: changeset commit 2 setting up initial version
- Updated dependencies [d50da32]
- [email protected]

## 1.1.0

### Minor Changes

- ee84040: initial changeset commit

### Patch Changes

- Updated dependencies [ee84040]
- [email protected]
2 changes: 1 addition & 1 deletion apps/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-app",
"version": "0.1.0",
"version": "1.1.1",
"private": true,
"scripts": {
"dev": "next dev -p 4200",
Expand Down
24 changes: 24 additions & 0 deletions apps/tauri/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# tauri-app

## 1.1.1

### Patch Changes

- d50da32: changeset commit 2 setting up initial version
- Updated dependencies [d50da32]
- @packrat/validations@1.1.1
- [email protected]
- @packrat/ui@1.1.1

## 1.1.0

### Minor Changes

- ee84040: initial changeset commit

### Patch Changes

- Updated dependencies [ee84040]
- @packrat/validations@1.1.0
- [email protected]
- @packrat/ui@1.1.0
4 changes: 2 additions & 2 deletions apps/tauri/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tauri",
"name": "tauri-app",
"private": true,
"version": "0.1.0",
"version": "1.1.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
24 changes: 24 additions & 0 deletions apps/vite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# vite-app

## 1.1.1

### Patch Changes

- d50da32: changeset commit 2 setting up initial version
- Updated dependencies [d50da32]
- @packrat/validations@1.1.1
- [email protected]
- @packrat/ui@1.1.1

## 1.1.0

### Minor Changes

- ee84040: initial changeset commit

### Patch Changes

- Updated dependencies [ee84040]
- @packrat/validations@1.1.0
- [email protected]
- @packrat/ui@1.1.0
2 changes: 1 addition & 1 deletion apps/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vite-app",
"private": true,
"version": "0.0.0",
"version": "1.1.1",
"scripts": {
"dev": "vite",
"build": "yarn run build:tsc && yarn run build:vite",
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,8 @@
],
"resolutions": {
"@react-native/assets-registry": "0.74.81"
},
"devDependencies": {
"@changesets/cli": "^2.27.7"
}
}
26 changes: 26 additions & 0 deletions packages/app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# app

## 1.1.1

### Patch Changes

- d50da32: changeset commit 2 setting up initial version
- Updated dependencies [d50da32]
- @packrat/validations@1.1.1
- @packrat/crosspath@1.1.1
- @packrat/ui@1.1.1
- [email protected]

## 1.1.0

### Minor Changes

- ee84040: initial changeset commit

### Patch Changes

- Updated dependencies [ee84040]
- @packrat/validations@1.1.0
- @packrat/crosspath@1.1.0
- @packrat/ui@1.1.0
- [email protected]
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app",
"version": "1.0.0",
"version": "1.1.1",
"main": "index.js",
"scripts": {
"lint": "eslint . --fix",
Expand Down
7 changes: 7 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @packrat/cli

## 1.1.1

### Patch Changes

- d50da32: changeset commit 2 setting up initial version
3 changes: 2 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"dependencies": {
"enquirer": "^2.4.1",
"ignore": "^5.3.1"
}
},
"version": "1.1.1"
}
13 changes: 13 additions & 0 deletions packages/config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# @packrat/config

## 1.1.1

### Patch Changes

- d50da32: changeset commit 2 setting up initial version

## 1.1.0

### Minor Changes

- ee84040: initial changeset commit
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@packrat/config",
"version": "1.0.0",
"version": "1.1.1",
"private": true,
"main": "src/index.js"
}
13 changes: 13 additions & 0 deletions packages/crosspath/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# @packrat/crosspath

## 1.1.1

### Patch Changes

- d50da32: changeset commit 2 setting up initial version

## 1.1.0

### Minor Changes

- ee84040: initial changeset commit
2 changes: 1 addition & 1 deletion packages/crosspath/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@packrat/crosspath",
"private": true,
"version": "1.0.0",
"version": "1.1.1",
"main": "dist/index.js",
"module:jsx": "src",
"types": "./types/lib-interface.d.ts",
Expand Down
7 changes: 7 additions & 0 deletions packages/playwright/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @packrat/playwright

## 1.1.1

### Patch Changes

- d50da32: changeset commit 2 setting up initial version
3 changes: 2 additions & 1 deletion packages/playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
},
"scripts": {
"test": "playwright test"
}
},
"version": "1.1.1"
}
4 changes: 2 additions & 2 deletions packages/playwright/tests/add-item.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test('test', async ({ page }) => {
await page.getByRole('button', { name: ' Packs' }).click();
await page.goto('https://packrat.world/packs');
await page.getByRole('link', { name: 'Quantity field' }).click();
await page.waitForLoadState('networkidle')
await page.waitForLoadState('networkidle');
const itemButton = await page.getByRole('button', { name: 'Add Item' });
await itemButton.isVisible();
await itemButton.click();
Expand All @@ -26,4 +26,4 @@ test('test', async ({ page }) => {
await submitButton.isVisible();
await submitButton.hover();
await page.goto('https://packrat.world/pack/jfxuhkd3zflt4ddavnyhh3so');
});
});
4 changes: 2 additions & 2 deletions packages/playwright/tests/create-pack.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { test, expect } from '@playwright/test';

test('create a pack', async ({ page }) => {
await page.goto('https://packrat.world/')
await page.goto('https://packrat.world/');
await page.getByRole('link', { name: 'Get Started' }).click();
await page.getByLabel('Email').click();
await page.getByLabel('Email').fill('[email protected]');
Expand All @@ -16,4 +16,4 @@ test('create a pack', async ({ page }) => {
await page.getByRole('switch').click();
await page.getByRole('button', { name: 'Add Pack' }).click();
await page.goto('https://packrat.world/pack/av2gz5lbqd4jj84gbva9n515');
});
});
2 changes: 1 addition & 1 deletion packages/playwright/tests/items-page-add-item.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ test('Add Items in Global List', async ({ page }) => {
await page.getByRole('radio', { name: 'Essentials' }).click();
await page.getByRole('button', { name: 'Add Item' }).click();
await page.goto('https://packrat.world/items');
});
});
2 changes: 1 addition & 1 deletion packages/playwright/tests/items-page.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ test('Items Page', async ({ page }) => {
await page.getByRole('button', { name: 'Menu' }).hover();
await page.getByRole('button', { name: ' Items' }).click();
await page.goto('https://packrat.world/items');
});
});
2 changes: 1 addition & 1 deletion packages/playwright/tests/open-pack.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ test('Open pack', async ({ page }) => {
await page.getByRole('link', { name: 'Yiojgvj' }).click();
await page.goto('https://packrat.world/pack/dwpr1nxfm6a8u1ssdovy5afd');
await page.waitForLoadState('load');
});
});
7 changes: 4 additions & 3 deletions packages/playwright/tests/pack-name-already-exist.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ test('Pack name already exists', async ({ page }) => {
await page.getByRole('button', { name: 'Add Pack' }).click();

// Verify the error message for invalid email format
const nameErrorMessage = page.locator('text=A pack with the same name already exists');
const nameErrorMessage = page.locator(
'text=A pack with the same name already exists',
);
await expect(nameErrorMessage).toBeVisible({ timeout: 50000 }); // Adjust the timeout as needed

const packnameErrorMessage = page.locator('text=Pack already exists');
await expect(packnameErrorMessage).toBeVisible({ timeout: 50000 }); // Adjust the timeout as needed

});
});
3 changes: 1 addition & 2 deletions packages/playwright/tests/profile-page.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ test('test', async ({ page }) => {
await page.getByRole('button', { name: 'Menu' }).hover();
await page.getByRole('button', { name: 'Profile' }).click();
await page.goto('https://packrat.world/profile');

});
});
13 changes: 13 additions & 0 deletions packages/shared-types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# @packrat/shared-types

## 1.1.1

### Patch Changes

- d50da32: changeset commit 2 setting up initial version

## 1.1.0

### Minor Changes

- ee84040: initial changeset commit
Loading

0 comments on commit 151e446

Please sign in to comment.