Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): [email protected] #539

Merged
merged 7 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/actions/zimic-bump-version/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,22 @@ runs:

echo 'Pushing changes...'

git push -u origin HEAD --no-verify
numberOfPushRetries=0
maxNumberOfPushRetries=3

git config pull.rebase true

until git push -u origin HEAD --no-verify; do
if [[ $numberOfPushRetries -gt $maxNumberOfPushRetries ]]; then
echo "Push failed after $maxNumberOfPushRetries retries. Aborting."
exit 1
fi

numberOfPushRetries=$((numberOfPushRetries + 1))

echo 'Push rejected. Retrying...'
git pull
done

echo "value=$bumpedVersion" >> $GITHUB_OUTPUT
echo "commit-sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ updates:
- dependency-name: chalk
update-types:
- version-update:semver-major
- dependency-name: msw
update-types:
- version-update:semver-major
- version-update:semver-minor
- version-update:semver-patch

- package-ecosystem: github-actions
directories:
Expand Down
10 changes: 5 additions & 5 deletions apps/zimic-test-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@
},
"devDependencies": {
"@types/superagent": "^8.1.9",
"@vitest/browser": "^2.1.8",
"@vitest/coverage-istanbul": "^2.1.8",
"@vitest/browser": "^3.0.4",
"@vitest/coverage-istanbul": "^3.0.4",
"@zimic/eslint-config-node": "workspace:*",
"@zimic/lint-staged-config": "workspace:*",
"@zimic/tsconfig": "workspace:*",
"axios": "^1.7.9",
"concurrently": "^9.1.2",
"dotenv-cli": "^8.0.0",
"eslint": "^9.18.0",
"eslint": "^9.19.0",
"execa": "^9.5.2",
"node-fetch": "^3.3.2",
"playwright": "^1.49.1",
"playwright": "^1.50.0",
"superagent": "^10.1.1",
"typescript": "^5.7.3",
"vitest": "^2.1.8",
"vitest": "^3.0.4",
"zimic": "workspace:*"
}
}
3 changes: 2 additions & 1 deletion apps/zimic-test-client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"extends": "@zimic/tsconfig/tsconfig.node.json",
"compilerOptions": {
"target": "es6",
"baseUrl": ".",
"moduleResolution": "node",
"tsBuildInfoFile": "tsconfig.tsbuildinfo",
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"@tests/*": ["./tests/*"]
Expand Down
2 changes: 1 addition & 1 deletion apps/zimic-test-client/vitest.workspace.mts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineWorkspace([
include: ['./{src,tests}/**/*.test.ts', './{src,tests}/**/*.browser.test.ts'],
exclude: ['**/*.node.test.ts'],
browser: {
name: 'chromium',
instances: [{ browser: 'chromium' }],
provider: 'playwright',
enabled: true,
headless: true,
Expand Down
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"@zimic/eslint-config-react": "workspace:*",
"@zimic/lint-staged-config": "workspace:*",
"@zimic/tsconfig": "workspace:*",
"eslint": "^9.18.0"
"eslint": "^9.19.0"
}
}
4 changes: 2 additions & 2 deletions examples/with-jest-jsdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@swc/core": "^1.10.7",
"@swc/core": "^1.10.9",
"@swc/jest": "^0.2.37",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/user-event": "^14.5.2",
"@testing-library/user-event": "^14.6.1",
"dotenv-cli": "^8.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
Expand Down
2 changes: 2 additions & 0 deletions examples/with-jest-jsdom/tests/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class TestEnvironment extends JSDOMEnvironment {
this.global.TextEncoder = TextEncoder;
this.global.TextDecoder = TextDecoder;
this.global.ReadableStream = ReadableStream;
this.global.TransformStream = TransformStream;
this.global.BroadcastChannel = BroadcastChannel;
}
}

Expand Down
2 changes: 1 addition & 1 deletion examples/with-jest-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@swc/core": "^1.10.7",
"@swc/core": "^1.10.9",
"@swc/jest": "^0.2.37",
"@types/supertest": "^6.0.2",
"dotenv-cli": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-jest-node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "esnext",
"incremental": true,
"tsBuildInfoFile": "tsconfig.tsbuildinfo",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"skipLibCheck": true,
"pretty": true,
Expand Down
17 changes: 9 additions & 8 deletions examples/with-next-js-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,22 @@
"postinstall": "pnpm deps:install-playwright"
},
"dependencies": {
"@tanstack/react-query": "^5.64.0",
"@tanstack/react-query": "^5.64.2",
"clsx": "^2.1.1",
"next": "^15.1.4",
"next": "^15.1.6",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@playwright/test": "^1.49.1",
"@types/node": "^22.10.5",
"@types/react": "^19.0.4",
"@types/react-dom": "^19.0.2",
"@playwright/test": "^1.50.0",
"@tailwindcss/postcss": "^4.0.0",
"@types/node": "^22.10.10",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"dotenv-cli": "^8.0.0",
"execa": "^9.5.2",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"postcss": "^8.5.1",
"tailwindcss": "^4.0.0",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"zimic": "latest"
Expand Down
2 changes: 1 addition & 1 deletion examples/with-next-js-app/postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
'@tailwindcss/postcss': {},
},
};

Expand Down
2 changes: 1 addition & 1 deletion examples/with-next-js-app/src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Button({ className, children, ...rest }: Props) {
<button
type="button"
className={clsx(
'px-2 py-1.5 bg-emerald-300 rounded transition-all outline-none focus:ring-2 focus:ring-slate-400 hover:bg-emerald-400 active:bg-emerald-300 font-medium text-slate-900',
'px-2 py-1.5 bg-emerald-300 rounded-sm transition-all outline-hidden focus:ring-2 focus:ring-slate-400 hover:bg-emerald-400 active:bg-emerald-300 font-medium text-slate-900',
className,
)}
{...rest}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-next-js-app/src/components/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function Input({ label, className, ...rest }: Props, ref: ForwardedRef<HTMLInput
<input
ref={ref}
className={clsx(
'ring-2 ring-slate-300 outline-none focus:ring-slate-600 hover:ring-slate-400 transition-shadow px-2 py-1.5 rounded',
'ring-2 ring-slate-300 outline-hidden focus:ring-slate-600 hover:ring-slate-400 transition-shadow px-2 py-1.5 rounded-sm',
className,
)}
{...rest}
Expand Down
4 changes: 1 addition & 3 deletions examples/with-next-js-app/src/styles/global.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';
11 changes: 0 additions & 11 deletions examples/with-next-js-app/tailwind.config.ts

This file was deleted.

2 changes: 1 addition & 1 deletion examples/with-next-js-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"tsBuildInfoFile": "tsconfig.tsbuildinfo",
"allowJs": true,
"noEmit": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"skipLibCheck": true,
"pretty": true,
Expand Down
17 changes: 9 additions & 8 deletions examples/with-next-js-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,22 @@
"postinstall": "concurrently --names playwright,zimic 'pnpm deps:install-playwright' 'pnpm deps:init-zimic'"
},
"dependencies": {
"@tanstack/react-query": "^5.64.0",
"@tanstack/react-query": "^5.64.2",
"clsx": "^2.1.1",
"next": "^15.1.4",
"next": "^15.1.6",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@playwright/test": "^1.49.1",
"@types/node": "^22.10.5",
"@types/react": "^19.0.4",
"@types/react-dom": "^19.0.2",
"@playwright/test": "^1.50.0",
"@tailwindcss/postcss": "^4.0.0",
"@types/node": "^22.10.10",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"concurrently": "^9.1.2",
"dotenv-cli": "^8.0.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"postcss": "^8.5.1",
"tailwindcss": "^4.0.0",
"typescript": "^5.7.3",
"zimic": "latest"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-next-js-pages/postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
'@tailwindcss/postcss': {},
},
};

Expand Down
2 changes: 1 addition & 1 deletion examples/with-next-js-pages/src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Button({ className, children, ...rest }: Props) {
<button
type="button"
className={clsx(
'px-2 py-1.5 bg-emerald-300 rounded transition-all outline-none focus:ring-2 focus:ring-slate-400 hover:bg-emerald-400 active:bg-emerald-300 font-medium text-slate-900',
'px-2 py-1.5 bg-emerald-300 rounded-sm transition-all outline-hidden focus:ring-2 focus:ring-slate-400 hover:bg-emerald-400 active:bg-emerald-300 font-medium text-slate-900',
className,
)}
{...rest}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-next-js-pages/src/components/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function Input({ label, className, ...rest }: Props, ref: ForwardedRef<HTMLInput
<input
ref={ref}
className={clsx(
'ring-2 ring-slate-300 outline-none focus:ring-slate-600 hover:ring-slate-400 transition-shadow px-2 py-1.5 rounded',
'ring-2 ring-slate-300 outline-hidden focus:ring-slate-600 hover:ring-slate-400 transition-shadow px-2 py-1.5 rounded-sm',
className,
)}
{...rest}
Expand Down
4 changes: 1 addition & 3 deletions examples/with-next-js-pages/src/styles/global.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';
11 changes: 0 additions & 11 deletions examples/with-next-js-pages/tailwind.config.ts

This file was deleted.

2 changes: 1 addition & 1 deletion examples/with-next-js-pages/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"tsBuildInfoFile": "tsconfig.tsbuildinfo",
"allowJs": true,
"noEmit": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"skipLibCheck": true,
"pretty": true,
Expand Down
4 changes: 2 additions & 2 deletions examples/with-openapi-typegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
},
"devDependencies": {
"@types/supertest": "^6.0.2",
"@vitest/spy": "^2.1.8",
"@vitest/spy": "^3.0.4",
"dotenv-cli": "^8.0.0",
"supertest": "^7.0.0",
"typescript": "^5.7.3",
"vitest": "^2.1.8",
"vitest": "^3.0.4",
"zimic": "latest"
}
}
2 changes: 1 addition & 1 deletion examples/with-openapi-typegen/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "esnext",
"incremental": true,
"tsBuildInfoFile": "tsconfig.tsbuildinfo",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"skipLibCheck": true,
"pretty": true,
Expand Down
15 changes: 8 additions & 7 deletions examples/with-playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,20 @@
},
"dependencies": {
"clsx": "^2.1.1",
"next": "^15.1.4",
"next": "^15.1.6",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@playwright/test": "^1.49.1",
"@types/node": "^22.10.5",
"@types/react": "^19.0.4",
"@types/react-dom": "^19.0.2",
"@playwright/test": "^1.50.0",
"@tailwindcss/postcss": "^4.0.0",
"@types/node": "^22.10.10",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"dotenv-cli": "^8.0.0",
"execa": "^9.5.2",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"postcss": "^8.5.1",
"tailwindcss": "^4.0.0",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"zimic": "latest"
Expand Down
2 changes: 1 addition & 1 deletion examples/with-playwright/postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
'@tailwindcss/postcss': {},
},
};

Expand Down
2 changes: 1 addition & 1 deletion examples/with-playwright/src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Button({ className, children, ...rest }: Props) {
<button
type="button"
className={clsx(
'px-2 py-1.5 bg-emerald-300 rounded transition-all outline-none focus:ring-2 focus:ring-slate-400 hover:bg-emerald-400 active:bg-emerald-300 font-medium text-slate-900',
'px-2 py-1.5 bg-emerald-300 rounded-sm transition-all outline-hidden focus:ring-2 focus:ring-slate-400 hover:bg-emerald-400 active:bg-emerald-300 font-medium text-slate-900',
className,
)}
{...rest}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-playwright/src/components/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function Input({ label, className, ...rest }: Props, ref: ForwardedRef<HTMLInput
<input
ref={ref}
className={clsx(
'ring-2 ring-slate-300 outline-none focus:ring-slate-600 hover:ring-slate-400 transition-shadow px-2 py-1.5 rounded',
'ring-2 ring-slate-300 outline-hidden focus:ring-slate-600 hover:ring-slate-400 transition-shadow px-2 py-1.5 rounded-sm',
className,
)}
{...rest}
Expand Down
4 changes: 1 addition & 3 deletions examples/with-playwright/src/styles/global.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';
11 changes: 0 additions & 11 deletions examples/with-playwright/tailwind.config.ts

This file was deleted.

Loading
Loading