Coder Social home page Coder Social logo

gabrielcsapo / build.sh Goto Github PK

View Code? Open in Web Editor NEW
74.0 74.0 5.0 8.15 MB

๐Ÿ”จ run and visualize the build process

Home Page: https://gabrielcsapo.github.io/build.sh

License: Apache License 2.0

JavaScript 7.93% CSS 1.92% HTML 0.13% TypeScript 90.02%
build cli pipeline product report

build.sh's People

Contributors

anusaini avatar gabrielcsapo 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

build.sh's Issues

Missing dist folder

node:internal/errors:484
    ErrorCaptureStackTrace(err);
    ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/joaotomaz/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/build.sh/dist/lib/execute.mjs' imported from /Users/joaotomaz/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/build.sh/bin/build.mjs
    at new NodeError (node:internal/errors:393:5)
    at finalizeResolution (node:internal/modules/esm/resolve:323:11)
    at moduleResolve (node:internal/modules/esm/resolve:916:10)
    at defaultResolve (node:internal/modules/esm/resolve:1124:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:841:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
    at link (node:internal/modules/esm/module_job:75:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

inspecting the file in question you can see importing from ../dist but the folder is missing

add ability to set env properties

being able to override env variables statically could allow more use cases.

env:
   - FOO=bar
output: ./docs/example
pipeline:
  install:
    - npm --version
    - node --version
    - npm:
      - npm install
      - ls -lh node_modules
  lint:
    - npm run lint
  coverage:
    - npm run coverage
  test:
    - npm test

Failing build on not finding module `qs`.

build.sh  (master) - Tue Nov 14 10:50:20 $
build
module.js:515
    throw err;
    ^

Error: Cannot find module 'qs'
    at Function.Module._resolveFilename (module.js:513:15)
    at Function.Module._load (module.js:463:25)
    at Module.require (module.js:556:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/anusaini/.nvm/versions/node/v8.8.1/lib/node_modules/build.sh/bin/build.js:10:12)
    at Module._compile (module.js:612:30)
    at Object.Module._extensions..js (module.js:623:10)
    at Module.load (module.js:531:32)
    at tryModuleLoad (module.js:494:12)
    at Function.Module._load (module.js:486:3)
build.sh  (master) - Tue Nov 14 10:51:46 $
node -v
v8.8.1

build.sh  (master) - Tue Nov 14 10:52:42 $
npm -v
5.5.1
build.sh  (master) - Tue Nov 14 10:52:44 $
gloten
8499e40 (HEAD -> master, upstream/master, origin/master, origin/HEAD) Merge pull request #3 from anusaini/master
7b71f7b Moving to psychic.css from psychic-ui
ec32a61 updates location of lcov-server and starbuck
c4d6f1e Update .travis.yml
5bbf337 updates docs page
c0dec86 (tag: 0.2.7) 0.2.7 - adds babel-minify-webpack-plugin which reduces build output from 345K to 263 KB
7a15514 (tag: 0.2.6) 0.2.6 - fixes broken event emitter due to async - fixes issue with nested runs - allows the ability to run parts of the pipeline - updates to react 16.0.0, slims example build output from 898 KB to 343K
b5b89db (tag: 0.2.5) 0.2.5 - adds env config to override process environment variables during build
90f8ebe updates travis.yml and readme to have badges
b592c81 (tag: 0.2.4) 0.2.4 - generates a similar pipeline view in the console

be able to run specific steps in the pipeline

build install will just run the install step of the pipeline

output: ./docs/example
pipeline:
  install:
    - npm --version
    - node --version
    - npm:
      - npm install
      - ls -lh node_modules
  lint:
    - npm run lint
  coverage:
    - npm run coverage
  test:
    - npm test

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.