Skip to content

Commit 6e3e632

Browse files
committed
Set up codemod dogfood
1 parent 14ad0b3 commit 6e3e632

File tree

4 files changed

+1957
-25
lines changed

4 files changed

+1957
-25
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,6 @@ openapi/*
7070

7171
# Cached License Data Files
7272
/.licenses
73+
74+
.yalc/
75+
yalc.lock

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ tmp/
3030
**/*.html
3131
**/*.json
3232
**/*.md
33+
34+
.yalc/
35+
yalc.lock

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"@mixer/parallel-prettier": "^2.0.3",
3232
"chrome-launcher": "^0.15.1",
3333
"chrome-remote-interface": "^0.31.3",
34+
"ember-native-class-codemod": "file:.yalc/ember-native-class-codemod",
3435
"ember-template-lint": "4.10.1",
3536
"eslint": "^8.37.0",
3637
"eslint-config-discourse": "^3.4.0",
@@ -58,7 +59,8 @@
5859
"lttf:ignore": "lint-to-the-future ignore",
5960
"lttf:output": "lint-to-the-future output -o ./lint-progress/",
6061
"lint-progress": "yarn lttf:output && npx html-pages ./lint-progress --no-cache",
61-
"postinstall": "yarn --cwd app/assets/javascripts $(node -e 'if(JSON.parse(process.env.npm_config_argv).original.includes(`--frozen-lockfile`)){console.log(`--frozen-lockfile`)}')"
62+
"postinstall": "yarn --cwd app/assets/javascripts $(node -e 'if(JSON.parse(process.env.npm_config_argv).original.includes(`--frozen-lockfile`)){console.log(`--frozen-lockfile`)}')",
63+
"dogfood": "yarn && yarn ember-native-class-codemod http://localhost:4200"
6264
},
6365
"engines": {
6466
"node": "16.* || >= 18",

0 commit comments

Comments
 (0)