Skip to content
Draft
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
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"files.eol": "\n"
"files.eol": "\n",
"js/ts.tsdk.path": "node_modules/typescript/lib"
}
2 changes: 0 additions & 2 deletions examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"@vitejs/plugin-react": "^4.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-plugin-node-polyfills": "workspace:*"
}
}
2 changes: 0 additions & 2 deletions examples/vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
"memfs": "^4.6.0",
"npm-run-all": "^4.1.5",
"ohmyfetch": "^0.4.21",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-plugin-node-polyfills": "workspace:*"
}
}
4 changes: 2 additions & 2 deletions examples/vanilla/test/e2e/main.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ test('sets the page title', async ({ page }) => {
})

test('logs the correct values', async ({ page }) => {
const errors = []
const logs = []
const errors: string[] = []
const logs: string[] = []

page.on('console', (message) => {
logs.push(message.text())
Expand Down
1 change: 0 additions & 1 deletion examples/vanilla/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "Bundler",
"noEmit": true,
Expand Down
2 changes: 0 additions & 2 deletions examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
"devDependencies": {
"@types/node": "^18.18.8",
"@vitejs/plugin-vue": "^4.4.0",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-plugin-node-polyfills": "workspace:*",
"vue": "^3.3.7"
}
Expand Down
12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vite-plugin-node-polyfills",
"type": "module",
"version": "0.28.0",
"packageManager": "pnpm@9.1.0+sha256.22e36fba7f4880ecf749a5ca128b8435da085ecd49575e7fb9e64d6bf4fad394",
"packageManager": "pnpm@11.1.2+sha512.415a1cc25974731e75455c1468371be74c5aa5fb7621b50d4056d222451609f11412f23fd602e6169f1e060466641f798597e1be961a10688836a67b16569499",
"description": "A Vite plugin to polyfill Node's Core Modules for browser environments.",
"author": "David Myers <hello@davidmyers.dev>",
"license": "MIT",
Expand Down Expand Up @@ -84,8 +84,7 @@
"test:error-repros": "run-p test:error-repros:*",
"test:error-repros:vite-scan-buffer-import-error": "pnpm --filter vite-scan-buffer-import-error test",
"test:unit": "vitest run --dir ./test",
"typecheck": "run-p typecheck:*",
"typecheck:core": "tsc",
"typecheck": "tsc && run-p typecheck:*",
"typecheck:react": "pnpm -C ./examples/react run typecheck",
"typecheck:vanilla": "pnpm -C ./examples/vanilla run typecheck",
"typecheck:vue": "pnpm -C ./examples/vue run typecheck"
Expand All @@ -101,13 +100,11 @@
"@playwright/test": "^1.60.0",
"@types/node": "^18.18.8",
"buffer": "6.0.3",
"esbuild": "^0.19.8",
"eslint": "^8.54.0",
"eslint-config-artisan": "^0.2.1",
"npm-run-all": "^4.1.5",
"process": "^0.11.10",
"rollup": "^4.6.0",
"typescript": "4.8.3",
"typescript": "6.0.3",
"vite": "^5.0.2",
"vite-node": "^0.34.6",
"vite-plugin-externalize-deps": "^0.1.5",
Expand All @@ -120,8 +117,7 @@
},
"pnpm": {
"overrides": {
"buffer": "6.0.3",
"vite": "^5.0.2"
"buffer": "6.0.3"
},
"patchedDependencies": {
"buffer@6.0.3": "patches/buffer@6.0.3.patch"
Expand Down
Loading
Loading