Code Monkey home page Code Monkey logo

roadplan's People

Contributors

fabiobiondi avatar gioboa avatar juicybenjamin avatar maiieul avatar pietrodev07 avatar varpdev avatar

Stargazers

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

Watchers

 avatar

roadplan's Issues

feat: basic cli command

Let's start with a basic implementation and than we can iterate on it.

I would like to release this project as a npm package usable with the npm cli
e.g. npx roadplan@latest

So these are the steps

  • ask for favourite npm package manager (npm, yarn, pnpm, bun) and use it in the next steps
  • ask for project name
  • create a folder with that name
  • copy all the roadplan repository files into it (without internal files / folders)
  • install dependencies

This article could be an help but you can find a lot of article for this topic.

Code highlight looks a bit lackluster after update

The highlight should probably take up all the space in the container. The copy button also seems like it could use a bit of padding and I think people probably expect to see the copy button on the right side instead of left.

image

Remove console warning

We are using this function in the code --> import.meta.glob and we have this warning in the console

The glob option "as" has been deprecated in favour of "query". Please update as: 'raw' to query: '?raw', import: 'default'

We should update the functionality with the new Vite syntax

CLI: support `yarn create` & `pnpm exec`

npx command allows you to run an arbitrary command from an npm package (either one installed locally, or fetched remotely), in a similar context as running it via npm run.
Full docs here

npx @qwikdev/roadplan and bunx @qwikdev/roadplan are working fine.

we need to support other package manager too.

pnpm exec @qwikdev/roadplan
yarn create @qwikdev/roadplan

Referencing component in a different scope

After installing a blank version of Roadplan when opening dev server I'm met with the following error stemming from the showcase component.

โ—๏ธ Expect significant performance loss in development.
  โ—๏ธ Disabling the browser's cache results in waterfall requests.
10:12:31 PM [vite] warning: When referencing "Component" inside a different scope (useTask$), Qwik needs to serialize the value, however "Component.value" is a function, which is not serializable.
Check out https://qwik.builder.io/docs/advanced/dollar/ for more details.
  Plugin: vite-plugin-qwik
  File: src/components/Showcase/Showcase.tsx:40:7
  38 |      if (isDev) {
  39 |        componentRaw.value = await componentsRaw[snippetPath]();
  40 |        Component.value = await components[snippetPath]();
     |         ^
  41 |      } else {
  42 |        componentRaw.value = componentsRaw[snippetPath];
10:12:31 PM [vite] warning: When referencing "Component" inside a different scope (useTask$), Qwik needs to serialize the value, however "Component.value" is a function, which is not serializable.
Check out https://qwik.builder.io/docs/advanced/dollar/ for more details.
  Plugin: vite-plugin-qwik
  File: src/components/Showcase/Showcase.tsx:43:7
  41 |      } else {
  42 |        componentRaw.value = componentsRaw[snippetPath];
  43 |        Component.value = components[snippetPath];
     |         ^
  44 |      }
  45 |

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.