-
Notifications
You must be signed in to change notification settings - Fork 817
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: copy READMEs into package dist folders
- Loading branch information
1 parent
ae7973a
commit e5024b7
Showing
7 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Angular Google Maps (AGM) Core - Angular 2+ Google Maps components | ||
========= | ||
|
||
@agm/snazzy-info-window is an extension for the @agm/core package that provides solutions for styleable/customizable info windows with the help of ['Snazzy Info Window'](https://github.com/atmist/snazzy-info-window). | ||
|
||
The sources for this package are in the [angular-google-maps](https://github.com/SebastianM/angular-google-maps) repository. Please file issues and pull requests against that repo. | ||
|
||
This package contains different sources for different users: | ||
|
||
1. The files located in the root dirare ES5 based with ES2015 modules. | ||
1. Files with the name pattern *.umd.js are UMD bundled modules for fast load times during development. | ||
|
||
License: See LICENSE file in this folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const fs = require('fs'); | ||
const packages = require('./packages'); | ||
|
||
packages.forEach(pkgName => { | ||
console.log(`Copy asstets for ${pkgName}`); | ||
const readmeFile = `./packages/${pkgName}/README.md`; | ||
if (fs.existsSync(readmeFile)) { | ||
fs.writeFileSync(`dist/${pkgName}/README.md`, fs.readFileSync(readmeFile)); | ||
} | ||
|
||
fs.writeFileSync(`dist/${pkgName}/LICENSE`, fs.readFileSync('LICENSE')); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// NPM packages (without the org name) that we publish | ||
const packages = [ | ||
'core', | ||
'snazzy-info-window' | ||
]; | ||
|
||
module.exports = packages; |