GithubHelp home page GithubHelp logo

yarnpkg-plugin-dm-tester's Introduction

Test project for DM linker

This is a sandbox for testing out Yarn and its integration with DM language and DMPM.

To use yarn, you need:

  • Node 12.22.3 or later
  • Yarn 1.22.10 or later (optional)

In case if you don't want to install Yarn, you can use the provided shell script bin/yarn instead of just yarn.

How to test

yarn install

Then create a DME file and feel free to experiment!

Structure

First of all, this project has a /packages folder, which is a Yarn workspace. Each package here is automatically linked, and this is perfect for developing packages that are local to the DM project.

There is also a /vendor folder, which is automatically generated every time you run yarn install. Here is the basic structure of that folder:

/vendor
  /package1-9fe34d -- Third party packages
  /package2-7bca29
  /includes.dm      -- List of includes generated by DM linker.
  /pathmap.json    -- A cached version of all package resolutions.
                      (might not be necessary in the future)

These third party packages are downloaded based on dependencies specified in packages in the /packages folder and extracted into /vendor with a suffixed checksum of the package.

As a developer, you only need to include /vendor/includes.dm into your DME file, which contains all resolutions generated (and topologically sorted) by the DM linker plugin for Yarn.

License

Source code is available under the MIT license.

The Authors retain all copyright to their respective work here submitted.

yarnpkg-plugin-dm-tester's People

Contributors

stylemistake avatar

Stargazers

 avatar

Watchers

 avatar

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.