Coder Social home page Coder Social logo

hono-minimal's People

Contributors

dependabot[bot] avatar renovate[bot] avatar yusukebe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hono-minimal's Issues

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

This repository currently has no open or pending branches.


  • Check this box to trigger a request for Renovate to run again on this repository

Use of `wrangler generate` is recommended rather than `create-cloudflare`

During an attempt to offer help at Discord, I noticed that create-cloudflare is now deprecated. Its README says:

Note
This package has now been sunsetted! We recommend using the wrangler generate [name] [template] command to create new projects with templates.

I suppose there are two options here:

  • update README to suggest npx wrangler generate my-app https://github.com/honojs/hono-minimal
  • archive this repository in favor of starter templates

I can send a PR, but I'd like to ask for your opinion before working on it.

'test' does not work

  1. Clone the repo
  2. Run yarn install
  3. Run yarn test
  4. Notice you get the following error:
❯ yarn jest
yarn run v1.22.4
$ C:\dev\markd\gangbusters-discord-bot\node_modules\.bin\jest
● Validation Error:

  Module C:\dev\markd\gangbusters-discord-bot\node_modules\jest-circus\runner.js in the testRunner option was not found.
         <rootDir> is: C:\dev\markd\gangbusters-discord-bot

  Configuration Documentation:
  https://jestjs.io/docs/configuration

error Command failed with exit code 1.

A quick google turns up this: jestjs/jest#10297 (comment)

If one comments out resolver: 'jest-node-exports-resolver', in jest.config.js you then get this error:

 FAIL  src/index.test.ts
  ● Test suite failed to run

    Cannot find module 'hono/powered-by' from 'src/index.ts'

    Require stack:
      src/index.ts
      src/index.test.ts

      22 | })
      23 |
    > 24 | // Routing
         |                     ^
      25 | app.get('/', (c) => c.html('<h1>Hello Hono!</h1>'))
      26 | app.get('/auth/*', (c) => c.text('You are authorized'))
      27 |

      at Resolver.resolveModule (node_modules/jest-resolve/build/resolver.js:324:11)
      at Object.<anonymous> (src/index.ts:24:25)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.441 s
Ran all test suites.
error Command failed with exit code 1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.