Skip to content

Commit

Permalink
BREAKING CHANGE: Switch to Lit 2 (#55)
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
Upgrade to Lit 2
  • Loading branch information
dlockhart authored Mar 21, 2022
1 parent 90bda27 commit cc6fd07
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/generators/default-content/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ export function run(templateData) {
if (templateData.codeowners) {
copyFile(
`${__dirname}/templates/configured/_CODEOWNERS`,
`${getDestinationPath(templateData.hyphenatedName)}/CODEOWNERS`
`${getDestinationPath(templateData.hyphenatedName)}/.github/CODEOWNERS`
);
replaceText(`${getDestinationPath(templateData.hyphenatedName)}/CODEOWNERS`, { codeowners: templateData.codeowners });
replaceText(`${getDestinationPath(templateData.hyphenatedName)}/.github/CODEOWNERS`, { codeowners: templateData.codeowners });
}

copyFile(
Expand Down
4 changes: 2 additions & 2 deletions src/generators/test-unit/templates/configured/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"test:headless:watch": "web-test-runner --watch"
},
"dependencies": {
"@brightspace-ui/core": "^1"
"@brightspace-ui/core": "^2"
},
"devDependencies": {
"@open-wc/testing": "^2",
"@open-wc/testing": "^3",
"@web/test-runner": "^0.13"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { css, html, LitElement } from 'lit-element';
import { css, html, LitElement } from 'lit';
<%= localizeMixin %>
class <%= className %> extends <%= extends %> {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"@brightspace-ui/core": "^1",
"lit-element": "^2"
"@brightspace-ui/core": "^2",
"lit": "^2"
}
}

0 comments on commit cc6fd07

Please sign in to comment.