Coder Social home page Coder Social logo

react's People

Contributors

bzenkosergey avatar gregor-mueller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

react's Issues

re-cron is not available in yarn registry

I am trying to add re-cron to my app managed by yarn, no luck.

Arguments: 
  /Users/joaob/.nvm/versions/node/v14.18.2/bin/node /opt/homebrew/Cellar/yarn/1.22.19/libexec/bin/yarn.js add re-cron

PATH: 
  /Users/joaob/.nvm/versions/node/v14.18.2/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/java/bin:/opt/android-sdk-linux/platform-tools:/opt/android-sdk-linux/tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion Tech Preview.app/Contents/Public:/opt/java/Contents/Home/bin:/opt/ffmpeg:/Library/Apple/usr/bin

Yarn version: 
  1.22.19

Node version: 
  14.18.2

Platform: 
  darwin x64

Trace: 
  Error: https://registry.yarnpkg.com/re-cron: Not found
      at Request.params.callback [as _callback] (/opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:66145:18)
      at Request.self.callback (/opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:140890:22)
      at Request.emit (events.js:400:28)
      at Request.<anonymous> (/opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:141862:10)
      at Request.emit (events.js:400:28)
      at IncomingMessage.<anonymous> (/opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:141784:12)
      at Object.onceWrapper (events.js:519:28)
      at IncomingMessage.emit (events.js:412:35)
      at endReadableNT (internal/streams/readable.js:1334:12)
      at processTicksAndRejections (internal/process/task_queues.js:82:21)

It can't parse monthes as numbers; feature request: support export with days of week and monthes as numbers

Great project! but it require to prepare value: replace corresponding numbers in valid cron string by words.
Step to reproduce.

  1. Use valid cron string containing only numbers '0 0 1 2,4 *',
  2. expected behaviour: "February and April" are checked.
  3. ab: monthes are unchecked.
    example: https://stackblitz.com/edit/react-p6d7gn?file=package.json,src%2FApp.js

PS days of weeks it parses correctly, so with '0 0 * * 2,3' Tuesday and Wednesday are checked.
It also will be nice to get values as only numbers.

Generated Wrong Expression

I am using this tool freeformatter to generate cron expressions for my application. I found this library which is developed using similar approaches, but I encountered an issue. When I tried to generate the expression for "Every second starting at :09 seconds after the minute" using FreeFormatter, I got this expression: 9/1 * * ? * * *. However, when I chose the same options from our package interface, I got this expression: 9/1 * * * * * *. The same issue appears for other cron expressions.

Unable to install package with yarn 3

When trying to install the latest version (2.0.3), this error comes up.

Error: @sbzen/re-cron@file:dist::locator=%40sbzen%2Fre-cron%40npm%3A2.0.3: ENOENT: no such file or directory, lstat 'node_modules/@sbzen/re-cron/dist'

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.