Code Monkey home page Code Monkey logo

tib's People

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

Watchers

 avatar  avatar  avatar

tib's Issues

staticServer documentation doesn't match logic

Document for staticServer option states this:

  • folder (string, optional)

    The path used as the webroot for the webserver. If not provided the default folder browser config option is used

So I would assume that if config.folder is provided and staticServer is set to object like { port: 3333 } then it will use folder from root config. But it's not the case. It seems it's only using folder from root config if staticServer is set to true:

https://github.com/nuxt/tib/blob/5f3322bd2fe77041b256cfff60ef1fa067fad06c/src/commands/static-server.js#L19-L26

Remove usage of waitFor

We now have warning using tib:

waitFor is deprecated and will be removed in a future release. See https://github.com/puppeteer/puppeteer/issues/6214 for details and how to migrate your code.

Learn more on puppeteer/puppeteer#6214

Chrome detection broken in macOs Catalina

I think detection is broken again:

The original command that detects Chrome:

https://github.com/nuxt/tib/blob/28ca90b16144a6619eca5e811a3eafce60d7d29d/src/utils/detectors/chrome.js#L49

doesn't return anything anymore in Catalina.

I've removed the end of line match character ($) and then I got those results:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump  | grep -E -i '(google chrome( canary)?|chromium).app'
path:               /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/77.0.3865.90/Helpers/Google Chrome Helper (GPU).app (0xa8c)
path:               /Applications/Google Chrome.app (0xc54)
path:               /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/77.0.3865.120/Helpers/Google Chrome Helper (GPU).app (0xc94)
path:               /Applications/Google Chrome Canary.app (0xce8)
path:               /Applications/Google Chrome Canary.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/79.0.3942.0/Helpers/Google Chrome Helper (GPU).app (0xd04)

Used this command in terminal:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep -E -i '(google chrome( canary)?|chromium)\.app\b'

So I think now the difference is the lines don't end with *.app but are followed by some code value (0xd04 etc).

Here is what could be done to fix this in non-backward compatible way (obviously not acceptable, but to give an idea).

        ' | grep -E -i \'(google chrome( canary)?|chromium)\\.app\\b\'' +
        ' | awk \'{$1=""; $NF=""; print $0}\''
  • replace $ with \b (word boundary) maybe.
  • escape dot as it wasn't before
  • clear $NF (last component of the whole line splitted on space)

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

These problems occurred while renovating this repository. View logs.

  • WARN: Using npm packages for Renovate presets is now deprecated. Please migrate to repository-based presets instead.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): replace devdependency rollup-plugin-json with @rollup/plugin-json ^4.0.0
  • chore(deps): replace devdependency standard-version with commit-and-tag-version ^9.5.0
  • chore(deps): update devdependency eslint to v9
  • chore(deps): update devdependency eslint-plugin-jest to v28
  • chore(deps): update devdependency eslint-plugin-vue to v9
  • chore(deps): update devdependency rimraf to v5
  • chore(deps): update devdependency rollup to v4
  • chore(deps): update peerdependency chromedriver to v124
  • chore(deps): update peerdependency geckodriver to v4
  • chore(deps): update peerdependency jsdom to v24
  • chore(deps): update peerdependency puppeteer to v22
  • chore(deps): update peerdependency puppeteer-core to v22
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

circleci
.circleci/config.yml
npm
package.json
  • @babel/core ^7.12.10
  • @babel/parser ^7.12.10
  • babel-loader ^8.2.2
  • glob ^7.1.6
  • hable ^3.0.0
  • signal-exit ^3.0.3
  • tree-kill ^1.2.2
  • vue-template-compiler ^2.6.12
  • webpack ^5.10.1
  • @babel/node ^7.12.10
  • @babel/plugin-syntax-dynamic-import ^7.8.3
  • @babel/preset-env ^7.12.10
  • add ^2.0.6
  • babel-core ^6.26.3
  • babel-eslint ^10.1.0
  • babel-jest ^26.6.3
  • babel-plugin-dynamic-import-node ^2.3.3
  • browserstack-local ^1.4.8
  • chromedriver ^87.0.2
  • codecov ^3.8.1
  • eslint ^7.15.0
  • eslint-config-standard ^16.0.2
  • eslint-plugin-es ^4.1.0
  • eslint-plugin-import ^2.22.1
  • eslint-plugin-jest ^24.1.3
  • eslint-plugin-node ^11.1.0
  • eslint-plugin-promise ^4.2.1
  • eslint-plugin-standard ^5.0.0
  • eslint-plugin-vue ^7.2.0
  • finalhandler ^1.1.2
  • geckodriver ^1.21.1
  • jest ^26.6.3
  • jsdom ^16.4.0
  • lodash.defaultsdeep ^4.6.1
  • node-env-file ^0.1.8
  • puppeteer ^5.5.0
  • puppeteer-core ^5.5.0
  • rimraf ^3.0.2
  • rollup ^2.34.2
  • rollup-plugin-commonjs ^10.1.0
  • rollup-plugin-json ^4.0.0
  • rollup-plugin-node-resolve ^5.2.0
  • selenium-webdriver ^4.0.0-alpha.8
  • serve-static ^1.14.1
  • standard-version ^9.0.0
  • yarn ^1.22.10
  • browserstack-local ^1.4.8
  • chromedriver ^87.0.2
  • geckodriver ^1.21.1
  • jsdom ^16.4.0
  • puppeteer ^5.5.0
  • puppeteer-core ^5.5.0
  • selenium-webdriver ^4.0.0-alpha.8
  • serve-static ^1.14.1

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

Import from tib

Screen Shot 2019-03-20 at 3 45 08 AM

Having a hard time getting this to work. Using same babel settings as the src.

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.