Skip to content

Commit

Permalink
feat: move nested browser remaps to internal node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Dec 14, 2023
1 parent 2dc87c4 commit 5434968
Show file tree
Hide file tree
Showing 34 changed files with 10,928 additions and 19,282 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.vscode
.nyc_output
node_modules
!src/node_modules
coverage
dist
__snapshots__
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

# NPM
node_modules
!src/node_modules
npm-debug.log

# Build
Expand Down
7 changes: 5 additions & 2 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"*.ts": ["eslint -f codeframe --fix", "prettier --write"],
"*{.js,.json,.md,.yml,rc}": ["prettier --write"]
"*.ts": [
"eslint -f codeframe --fix",
"prettier --write -u --with-node-modules"
],
"*{.js,.json,.md,.yml,rc}": ["prettier --write -u --with-node-modules"]
}
2 changes: 1 addition & 1 deletion .mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"extension": ["js", "ts"],
"enable-source-maps": true,
"watchFiles": ["src/**/*.ts", "src/**/*.marko"],
"require": ["esbuild-register", "@marko/compiler/register", "mocha-snap"]
"require": ["tsx", "@marko/compiler/register", "mocha-snap"]
}
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
package.json
package-lock.json
node_modules
!src/node_modules
coverage
dist
__snapshots__
Loading

0 comments on commit 5434968

Please sign in to comment.