Skip to content

Commit

Permalink
chore: use yarn classic
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe committed Jan 26, 2024
1 parent 10e1da1 commit 6f3be59
Show file tree
Hide file tree
Showing 11 changed files with 147,540 additions and 910 deletions.
893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.0.2.cjs

This file was deleted.

147,529 changes: 147,529 additions & 0 deletions .yarn/releases/yarn-classic.cjs

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
yarnPath: .yarn/releases/yarn-4.0.2.cjs
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-classic.cjs
2 changes: 1 addition & 1 deletion examples/basic/app/client.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { createClient } from 'honox/client'
import { createClient } from '../../../src/client'

createClient()
2 changes: 1 addition & 1 deletion examples/basic/app/routes/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createRoute } from 'honox/factory'
import { createRoute } from '../../../../src/factory'
import Counter from '../islands/counter'

export default createRoute((c) => {
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/app/server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { showRoutes } from 'hono/dev'
import { createApp } from 'honox/server'
import { createApp } from '../../../src/server'

const app = createApp()

Expand Down
2 changes: 1 addition & 1 deletion examples/basic/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import build from '@hono/vite-cloudflare-pages'
import honox from 'honox/vite'
import { defineConfig } from '../../node_modules/vite'
import honox from '../../src/vite'

export default defineConfig(({ mode }) => {
if (mode === 'client') {
Expand Down
2 changes: 1 addition & 1 deletion examples/mdx/app/server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { showRoutes } from 'hono/dev'
import { createApp } from 'honox/server'
import { createApp } from '../../../src/server'

const app = createApp()

Expand Down
5 changes: 1 addition & 4 deletions examples/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,5 @@
"remark-mdx-frontmatter": "^4.0.0",
"vite": "^5.0.12",
"wrangler": "^3.23.0"
},
"dependencies": {
"honox": "workspace:^"
}
}
}
2 changes: 1 addition & 1 deletion examples/mdx/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import devServer from '@hono/vite-dev-server'
import ssg from '@hono/vite-ssg'
import mdx from '@mdx-js/rollup'
import honox from 'honox/vite'
import remarkFrontmatter from 'remark-frontmatter'
import remarkMdxFrontmatter from 'remark-mdx-frontmatter'
import { defineConfig } from '../../node_modules/vite'
import honox from '../../src/vite'

const entry = './app/server.ts'

Expand Down
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"lint": "eslint src/**.ts",
"lint:fix": "eslint src/**.ts --fix",
"prerelease": "yarn test && yarn build",
"release": "np --no-yarn"
"release": "np"
},
"files": [
"dist"
Expand Down Expand Up @@ -84,10 +84,6 @@
"access": "public"
},
"homepage": "https://hono.dev",
"workspaces": [
"examples/basic",
"examples/mdx"
],
"dependencies": {
"@babel/generator": "^7.23.6",
"@babel/parser": "^7.23.6",
Expand Down Expand Up @@ -117,4 +113,4 @@
"engines": {
"node": ">=18.14.1"
}
}
}

0 comments on commit 6f3be59

Please sign in to comment.