Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate grunt-dojo2 and redo distributions #80

Merged
merged 14 commits into from
May 18, 2016
Merged

Integrate grunt-dojo2 and redo distributions #80

merged 14 commits into from
May 18, 2016

Conversation

kitsonk
Copy link
Member

@kitsonk kitsonk commented May 13, 2016

In line with dojo/meta#18, this PR integrates grunt-dojo2 to rework the distribution format of packages.

root
└ dist
  └ umd - individual UMD modules with external sourcemaps which include inlined sources
    └ package.d.ts - The typings for the package
  └ esm - individual ES6+ targeted modules in es6 module format
  │      with external sourcemaps and sources (essentially for
  │      rebundling)
└ src - source TypeScript files
  package.json - CommonJS package meta-data
  bower.json - bower package meta-data
  typings.json - A configuration file for external typing dependencies
  README.md - Package's readme
  LICENSE - Package's license

The main in the package.json for this package points at /dist/umd/loader.js. This package also currently supports minification of the the loader.

Currently for grunt-dojo2 the commands dist and dist_esm are seperate (until we are confident that all packages build reasonably well) and the expectation is that the following will need to be run to build a complete distribution:

grunt dist dist_esm
  • - I still need to add a prepublish script for this package, so it can be easily built.

@kitsonk kitsonk added this to the 2016.05 milestone May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants