Giter Site home page Giter Site logo

dependency-packager's Introduction

Sandpack Packager

A packager used to aggregate all relevant files from a combination of npm dependencies

Installing

This service is based on the services of Amazon. We use AWS Lambda, S3 and API Gateway to handle all requests. We provision these services using serverless.

Installation should be as simple as setting up serverless (Getting Started) and running sls deploy --stage dev --s3prefix myBucketName. stage can be either prod or dev, s3prefix is the prefix for your S3 bucket name.

dependency-packager's People

Contributors

compuives avatar dependabot[bot] avatar lbogdan avatar mcuking avatar michaeldeboey avatar saravieira 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dependency-packager's Issues

GitHub Dependency: prepare script ignored

I'm trying to use CodeSandbox to verify a fix by installing a dependency directly from a GitHub branch. I've traced the error back to this project:

Could not fetch dependencies, please try again in a couple seconds: Something went wrong while packaging the dependency griddle-react@GriddleGriddle/Griddle#my-branch: ENOENT: no such file or directory, scandir '/tmp/1532470022/node_modules/griddle-react/dist/module'

The package's prepare script is not being executed, probably due to --ignore-scripts?

https://github.com/codesandbox-app/dependency-packager/blob/544b6357c8ac60f6bcb3084527015ade2dafe7a2/functions/packager/dependencies/install-dependencies.ts#L16

I'm wondering if --ignore-scripts is necessary, or perhaps should be avoided for Git/GitHub versions?

Support for tarball URLs?

I have a URL to an npm tarball. I can install it with yarn:

yarn add https://react-canaries-3adg6ifso.now.sh/13886/react

And it also works if I add it to a local package.json file:

"react": "https://react-canaries-3adg6ifso.now.sh/13886/react"

But it doesn't work in CodeSandbox: https://codesandbox.io/s/pmy0470zj7
Screen Shot 2019-03-17 at 12 09 17 AM

cannot yarn install on linux

Hi,

I'm the maintainer of Ember Twiddle and I was looking for a way to support dependencies from npm rather than CDNs which work but require packages to be built in UMD. I came across this project and was hoping to see if it worked for us.

Anyway, I cloned it and tried to yarn install and get this error message:

yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: The platform "linux" is incompatible with this module.
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

As I understand it, fs-events should be made an optional dependency because it is not needed on non Mac platforms.

Using Ubuntu 18.04, node 12, and yarn 1.22.4

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.