Giter Club home page Giter Club logo

a8k's People

Contributors

caiyexiang avatar dependabot[bot] avatar enjoychan avatar gx761 avatar hxfdarling avatar kenzung avatar tinychou avatar vision-git-robot 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

a8k's Issues

[Feature] webpack添加node_modules下文件监听

Is your feature request related to a problem? Please describe.
有时候,我们用a8k构建项目,然后项目依赖了一个module,这个module是一个单独的module,被当作我们的dependency通过npm install 添加至node_modules,但是很多时候我们可能会在a8k构建的业务项目中进行该module的调试。需要a8k在dev时候能选择性监听部分node_modules。

Describe the solution you'd like
因为之前由于cpu资源问题,这里进行了优化,将node_modules监听去除了,目前看来不能全部排除,所以折中的方案是添加a8k options,默认监听node_modules是关闭的,但可以开启,通过添加white list的方式指定some node_modules进行监听。

Additional context
PS: 这里要注意的是,很有可能,调试的module是通过npm link方式软连接进来的,所以要注意watch还应该追踪sym link到目标位置去监听module文件。

Scripts will be all injected to <head/> by default

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Not work on win10

Following commands on win10 lead an error

k create demo 
- 基于typescript的项目
- node server

Error msg:

Trace: { Error: spawn npm ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
    at onErrorNT (internal/child_process.js:415:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawn npm',
  path: 'npm',
  spawnargs: [ 'i' ] }
    at ChildProcess.sp.on.err (C:\Users\asshole\AppData\Local\Yarn\Data\global\node_modules\@a8k\cli-utils\spawn.js:5:15)   
    at ChildProcess.emit (events.js:198:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
    at onErrorNT (internal/child_process.js:415:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)

`lerna bootstrap` missing many dependencies in lerna root

Describe the bug
Steps to produce the bug:

  1. git clone https://github.com/hxfdarling/a8k.git
  2. npm run bootstrap
  3. npm run dev

Expected behavior
No errors for all the dependencies.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[Bug] Alpha versions SHOULD NOT required upgrade

Describe the bug
As title described.

To Reproduce
Steps to reproduce the behavior:

  1. Go to using a8k in terminal;
  2. type 'k'
  3. See

image

Expected behavior
Alpha versions or version under developing SHOULD NOT alert users to upgrade.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macOS Mojave 10.14.5
  • Browser: No
  • Version [1.8.5]

Additional context
No additional context.

使用a8k create时候报错

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
image
提示需要安装@a8k/plugin-typescript-template
Describe the solution you'd like
A clear and concise description of what you want to happen.
建议集成到a8k库,或者直接在文档中添加指引
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

multi mode project need to filter .file when get entry files

Describe the bug
A clear and concise description of what the bug is.
get .DS_Store file as entry file, system macOS
image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
I guess need to filter that file
image

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
    macOs
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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.