@stencil/angular-output-target
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -152,4 +152,4 @@ import { createComponentEventTypeImports, dashToPascalCase, formatToQuotedList } from './utils'; | ||
let eventName = event.name; | ||
if (event.name.includes('-')) { | ||
// If an event name includes a dash, we need to wrap it in quotes. | ||
if (/[-/]/.test(event.name)) { | ||
// If an event name includes a dash or a forward slash, we need to wrap it in quotes. | ||
// https://github.com/ionic-team/stencil-ds-output-targets/issues/212 | ||
@@ -156,0 +156,0 @@ eventName = `'${event.name}'`; |
@@ -51,2 +51,3 @@ import { EOL } from 'os'; | ||
warn: false, | ||
ignore: [], | ||
}; | ||
@@ -53,0 +54,0 @@ }); |
@@ -297,4 +297,4 @@ 'use strict'; | ||
let eventName = event.name; | ||
if (event.name.includes('-')) { | ||
// If an event name includes a dash, we need to wrap it in quotes. | ||
if (/[-/]/.test(event.name)) { | ||
// If an event name includes a dash or a forward slash, we need to wrap it in quotes. | ||
// https://github.com/ionic-team/stencil-ds-output-targets/issues/212 | ||
@@ -383,2 +383,3 @@ eventName = `'${event.name}'`; | ||
warn: false, | ||
ignore: [], | ||
}; | ||
@@ -438,2 +439,3 @@ }); | ||
warn: false, | ||
ignore: [], | ||
}, | ||
@@ -440,0 +442,0 @@ ], srcDirectory); |
@@ -289,4 +289,4 @@ import path from 'path'; | ||
let eventName = event.name; | ||
if (event.name.includes('-')) { | ||
// If an event name includes a dash, we need to wrap it in quotes. | ||
if (/[-/]/.test(event.name)) { | ||
// If an event name includes a dash or a forward slash, we need to wrap it in quotes. | ||
// https://github.com/ionic-team/stencil-ds-output-targets/issues/212 | ||
@@ -375,2 +375,3 @@ eventName = `'${event.name}'`; | ||
warn: false, | ||
ignore: [], | ||
}; | ||
@@ -430,2 +431,3 @@ }); | ||
warn: false, | ||
ignore: [], | ||
}, | ||
@@ -432,0 +434,0 @@ ], srcDirectory); |
@@ -34,2 +34,3 @@ import path from 'path'; | ||
warn: false, | ||
ignore: [], | ||
}, | ||
@@ -36,0 +37,0 @@ ], srcDirectory); |
{ | ||
"name": "@stencil/angular-output-target", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "Angular output target for @stencil/core components.", | ||
@@ -20,2 +20,5 @@ "main": "dist/index.cjs.js", | ||
"build": "tsc && pnpm run rollup", | ||
"dev": "run-p dev:*", | ||
"dev:build": "tsc --watch --preserveWatchOutput", | ||
"dev:rollup": "rollup -c --watch --preserveWatchOutput", | ||
"watch": "tsc --watch", | ||
@@ -47,2 +50,3 @@ "rollup": "rollup -c", | ||
"jest-environment-jsdom": "^27.0.0", | ||
"npm-run-all2": "^6.2.4", | ||
"rimraf": "^5.0.0", | ||
@@ -49,0 +53,0 @@ "rollup": "^2.23.1", |
105227
2049
9