Skip to content

Commit

Permalink
Add publint and are-the-type-wrong -- this requires type=module
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Aug 11, 2023
1 parent 2b86b59 commit c7a9fb3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions files/__addonLocation__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"ember-addon"
],
"repository": "",
"type": "module",
"license": "MIT",
"author": "",
"files": [
Expand All @@ -25,7 +26,9 @@
"lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
"lint:js:fix": "eslint . --fix",<% if (typescript) { %>
"lint:types": "glint",
"start": "concurrently 'npm:start:*'",
"lint:package": "publint",
<% if (typescript) { %>"lint:published-types": "attw --pack --exclude-entrypoints addon-main.js --ignore-rules cjs-resolves-to-esm",
<% } %>"start": "concurrently 'npm:start:*'",
"start:js": "rollup --config --watch --no-watch.clearScreen",
"start:types": "glint --declaration --watch",<% } else { %>
"start": "rollup --config --watch",<% } %>
Expand All @@ -36,7 +39,8 @@
"@embroider/addon-shim": "^1.0.0"
},
"devDependencies": {
"@babel/core": "^7.17.0",
<% if (typescript) { %>"@arethetypeswrong/cli": "^0.7.1",
<% } %>"@babel/core": "^7.17.0",
<% if (typescript) { %>"@babel/preset-typescript": "^7.18.6"<% } else { %>"@babel/eslint-parser": "^7.19.1"<% } %>,
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-decorators": "^7.20.13",
Expand Down Expand Up @@ -78,6 +82,7 @@
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.5.1",
"prettier-plugin-ember-template-tag": "^1.0.0",
"publint": "^0.2.0",
"rollup": "^3.21.8"<% if (!isExistingMonorepo) { %>,
"rollup-plugin-copy": "^3.4.0"<% } %><% if (typescript) { %>,
"typescript": "^5.0.4"<% } %>
Expand Down

0 comments on commit c7a9fb3

Please sign in to comment.