ember-cli-deploy-archive-sass
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -5,2 +5,6 @@ # Change Log | ||
## 1.5.0 | ||
### Changed | ||
- include ember-arcgis-portal-components | ||
## 1.4.0 | ||
@@ -7,0 +11,0 @@ ### Fixed |
16
index.js
@@ -81,11 +81,18 @@ /* jshint node: true */ | ||
//styles from addons | ||
//styles from addons in the monorepo | ||
var addons = [ 'ember-arcgis-layout-components', 'ember-arcgis-layout-cards', 'ember-arcgis-opendata-components' ]; | ||
addons.forEach((addonName) => { | ||
console.log(`\n\rProcessing ${addonName}`); | ||
const addonPath = path.join(getPackagePath(addonName), 'addon', 'styles'); | ||
console.log(`Resolved ${addonName} to ${addonPath}`); | ||
// get the subdirectories | ||
const dirs = fs.readdirSync(addonPath).filter(file => fs.statSync(path.join(addonPath, file)).isDirectory()); | ||
console.log(`Ready to process ${dirs.length} subdirectories of ${addonPath}`); | ||
dirs.forEach((dir) => { | ||
console.log(`Copying ${path.join(addonPath, dir)}`); | ||
const destDir = path.join(this.destDir, dir); | ||
@@ -113,2 +120,9 @@ // make sure it exists in the destDir | ||
// another snowflake - an addon not in the monorepo | ||
// ugh and it uses a single scss file... | ||
console.log(`\n\rProcessing ember-arcgis-portal-components`); | ||
const eapcPath = path.join(getPackagePath('ember-arcgis-portal-components'), 'app', 'styles'); | ||
console.log(`Resolved ember-arcgis-portal-components to ${eapcPath}`); | ||
promises.push(copy(path.join(eapcPath, 'ember-arcgis-portal-components.scss'), path.join(this.destDir, 'ember-arcgis-portal-components.scss')).catch(e => { console.log(e); })); | ||
// the asset map | ||
@@ -115,0 +129,0 @@ promises.push(copy(path.join(this.distDir, 'assets', 'assetMap.json'), path.join(this.destDir, 'assetMap.json'))); |
@@ -8,3 +8,3 @@ { | ||
"devDependencies": {}, | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"main": "index.js", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
# ember-cli-deploy-archive-sass | ||
While distributed via NPM, this package is 100% specific to the ArcGIS Hub deploy process. | ||
## Release procedure | ||
- update changelog and commit the change | ||
- `npm version <major | minor | patch> -m "%s release"` | ||
- `git push origin --tags` | ||
- `npm publish` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7369
111
10