Skip to content

Commit

Permalink
fix: update resolutions for yarn flat (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Sep 14, 2020
1 parent cd2d11e commit 9a2b075
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/p3-post.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,25 @@ const tsDefs = `"scripts": {
"devDependencies": {
"@web-padawan/gen-typescript-declarations": "^1.6.2",`;

const resolutions = `"resolutions": {
"es-abstract": "1.17.6",
"@types/doctrine": "0.0.3",`;

module.exports = {
files: [
"package.json",
"theme/**/*-styles.js"
],
from: [
'"devDependencies": {',
'"resolutions": {',
"const $_documentContainer = document.createElement('template');",
"$_documentContainer.innerHTML = `",
fixme
],
to: [
tsDefs,
resolutions,
"import { html } from '@polymer/polymer/lib/utils/html-tag.js';",
"const $_documentContainer = html`",
""
Expand Down

0 comments on commit 9a2b075

Please sign in to comment.