Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: node_module browser-remaps instead of local package.json #16

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/client/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/client/node_modules
npm-debug.log

# Build
Expand Down
4 changes: 2 additions & 2 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"*.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"]
}
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/client/node_modules
coverage
dist
__snapshots__
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"format": "npm run lint:eslint -- --fix && npm run lint:prettier -- --write && (fixpack || true)",
"lint": "tsc -b && npm run lint:eslint && npm run lint:prettier -- -l && fixpack",
"lint:eslint": "eslint -f visualstudio .",
"lint:prettier": "prettier '**/*{.ts,.js,.json,.md,.yml,rc}'",
"lint:prettier": "prettier 'src/**/*{.ts,.js,.json,.md,.yml,rc}' --with-node-modules",
"mocha": "NODE_ENV=test mocha 'src/**/__tests__/*.test.ts'",
"postpublish": "replace --silent 'dist' 'src' marko.json",
"prepare": "husky install",
Expand Down
1 change: 1 addition & 0 deletions src/client/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require("@internal/client");
1 change: 1 addition & 0 deletions src/client/index.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "@internal/client";
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions src/client/node_modules/@internal/client/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions src/client/package.json

This file was deleted.

Loading