Skip to content

Commit 01bbd9e

Browse files
github-actions[bot]itsjavi
authored andcommitted
chore(release): update monorepo packages versions (#9)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ff43ad2 commit 01bbd9e

File tree

16 files changed

+45
-72
lines changed

16 files changed

+45
-72
lines changed

.changeset/red-dancers-march.md

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

examples/basic/app/root.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { isRouteErrorResponse, Links, Meta, Outlet, Scripts, ScrollRestoration } from 'react-router'
22

33
import type { Route } from './+types/root'
4-
import './app.css'
4+
import appInlineCss from './app.css?inline'
55

66
export const links: Route.LinksFunction = () => [
77
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
@@ -11,7 +11,8 @@ export const links: Route.LinksFunction = () => [
1111
crossOrigin: 'anonymous',
1212
},
1313
{
14-
rel: 'stylesheet',
14+
as: 'style',
15+
rel: 'preload',
1516
href: 'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap',
1617
},
1718
]
@@ -24,6 +25,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
2425
<meta name="viewport" content="width=device-width, initial-scale=1" />
2526
<Meta />
2627
<Links />
28+
<style id="app_css" dangerouslySetInnerHTML={{ __html: appInlineCss }} />
2729
</head>
2830
<body>
2931
{children}

examples/basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@hono/node-server": "^1.14.1",
14-
"@pizzajsdev/app-router-fs": "^0.3.0",
14+
"@pizzajsdev/app-router-fs": "workspace:*",
1515
"@pizzajsdev/react-router-hono": "workspace:*",
1616
"@react-router/node": "^7.6.0",
1717
"@react-router/serve": "^7.6.0",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"changeset:commit": "git add ./.changeset && git commit -m 'chore(docs): add changesets'",
1010
"changeset:release": "pnpm run build && changeset publish",
1111
"changeset:version-packages": "changeset version && pnpm format",
12-
"cleanup": "rm -rf node_modules examples/*/node_modules packages/*/node_modules examples/*/.react-router packages/*/.react-router",
12+
"cleanup": "rm -rf examples/*/.react-router packages/*/.react-router packages/*/dist",
13+
"cleanup:modules": "rm -rf node_modules examples/*/node_modules packages/*/node_modules",
1314
"dev": "pnpm -r --parallel --filter @pizzajsdev/* run dev",
1415
"dev:examples": "pnpm -r --parallel --filter my-* run dev",
1516
"format": "pnpm format:prettier && pnpm format:pkg",

packages/app-router-fs/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @pizzajsdev/app-router-fs
22

3+
## 0.3.1
4+
5+
### Patch Changes
6+
7+
- [`ff43ad2`](https://github.com/pizzajsdev/pizzajs/commit/ff43ad218d2857fe7e789892d86a25c05e9eeff1) Thanks
8+
[@itsjavi](https://github.com/itsjavi)! - fix local imports in builds
9+
310
## 0.3.0
411

512
### Minor Changes

packages/app-router-fs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pizzajsdev/app-router-fs",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "A route collector heavily inspired by Next.js's App Router and compatible with React Router v7+",
55
"homepage": "https://github.com/pizzajsdev/pizzajs#readme",
66
"bugs": {

packages/app-router-fs/tsup.config.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,6 @@ const config: Options = {
1515
treeshake: true,
1616
skipNodeModulesBundle: true,
1717
external: ['node_modules'],
18-
plugins: [
19-
{
20-
// https://github.com/egoist/tsup/issues/953
21-
// ensuring that all local imports in `.js` files import from `.js` files.
22-
name: 'fix-esm-js-imports',
23-
renderChunk(code) {
24-
if (this.format === 'esm') {
25-
const regexEsm = /from(?<space>[\s]*)(?<quote>['"])(?<import>\.[^'"]+)['"]/g
26-
return {
27-
code: code.replace(regexEsm, 'from$<space>$<quote>$<import>.js$<quote>'),
28-
}
29-
}
30-
},
31-
},
32-
],
3318
}
3419

3520
export default defineConfig([config])

packages/i18n/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# @pizzajsdev/i18n
22

3+
## 0.4.1
4+
5+
### Patch Changes
6+
7+
- [`ff43ad2`](https://github.com/pizzajsdev/pizzajs/commit/ff43ad218d2857fe7e789892d86a25c05e9eeff1) Thanks
8+
[@itsjavi](https://github.com/itsjavi)! - fix local imports in builds
9+
10+
- Updated dependencies
11+
[[`ff43ad2`](https://github.com/pizzajsdev/pizzajs/commit/ff43ad218d2857fe7e789892d86a25c05e9eeff1)]:
12+
- @pizzajsdev/utils@0.4.1
13+
314
## 0.4.0
415

516
### Minor Changes

packages/i18n/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pizzajsdev/i18n",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Internationalization utilities for React apps",
55
"homepage": "https://github.com/pizzajsdev/pizzajs#readme",
66
"bugs": {

packages/i18n/tsup.config.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,6 @@ const config: Options = {
1515
treeshake: true,
1616
skipNodeModulesBundle: true,
1717
external: ['node_modules'],
18-
plugins: [
19-
{
20-
// https://github.com/egoist/tsup/issues/953
21-
// ensuring that all local imports in `.js` files import from `.js` files.
22-
name: 'fix-esm-js-imports',
23-
renderChunk(code) {
24-
if (this.format === 'esm') {
25-
const regexEsm = /from(?<space>[\s]*)(?<quote>['"])(?<import>\.[^'"]+)['"]/g
26-
return {
27-
code: code.replace(regexEsm, 'from$<space>$<quote>$<import>.js$<quote>'),
28-
}
29-
}
30-
},
31-
},
32-
],
3318
}
3419

3520
export default defineConfig([config])

0 commit comments

Comments
 (0)