-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: move types to .d.ts files in preparation of ts-to-jsdoc * wip: convert ts to jsdoc * wip: ts to jsdoc * wip: ts to jsdoc conversion * wip: finished jsdoc conversion, renamed .d.ts files to avoid collisions, added .js ext to imports * test: add small wait for inspector icon to become visible to avoid flakiness in tests * wip: move internal types into src/types, improve index.d.ts * wip: move unit tests out of src dir and update filters * chore: switch to eslint-plugin-n to get rid of some errors * refactor: update jsdoc syntax (#656) * refactor: rename prepared .ts files to .js, update scripts, add changeset * fix: replace nullish assignment (requires node15) and enable error rules for invalid syntax that isn't downleveled anymore * chore: fix types path * remove tsup * chore(types): replace rollup types with vite reexport * chore: improve utility scripts, add publint * chore: call check:types and check:publint in public packages via filter * chore: disable tsc emit in inspector * chore: remove noop build script * chore: actually enable parallel processing for checks --------- Co-authored-by: Bjorn Lu <[email protected]>
- Loading branch information
Showing
23 changed files
with
126 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ temp | |
**/temp | ||
*.tmp | ||
**/*.tmp | ||
.eslintcache | ||
|
||
# build and dist | ||
build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
aggregate-output=true | ||
reporter=append-only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,18 +2,20 @@ | |
"name": "vite-plugin-svelte-monorepo", | ||
"private": true, | ||
"scripts": { | ||
"dev": "pnpm --dir packages/vite-plugin-svelte dev", | ||
"build": "pnpm --dir packages/vite-plugin-svelte build", | ||
"test": "run-s -c test:unit test:build test:serve", | ||
"test:unit": "vitest run", | ||
"test:serve": "vitest run -c vitest.config.e2e.ts", | ||
"test:build": "cross-env TEST_BUILD=1 vitest run -c vitest.config.e2e.ts", | ||
"lint": "eslint --ignore-path .gitignore '**/*.{js,ts,svelte,html,svx,md}'", | ||
"lint:fix": "pnpm lint --fix", | ||
"format": "prettier --ignore-path .gitignore '**/*.{css,scss,svelte,html,js,ts,svx,md}' --check", | ||
"format:fix": "pnpm format --write", | ||
"fixup": "run-s lint:fix format:fix", | ||
"release": "pnpm build && pnpm changeset publish", | ||
"check": "run-p -c check:*", | ||
"check:audit": "pnpm audit --prod", | ||
"check:publint": "pnpm --filter \"./packages/*\" --parallel check:publint", | ||
"check:types": "pnpm --filter \"./packages/*\" --parallel check:types", | ||
"check:lint": "eslint --cache --ignore-path .gitignore '**/*.{js,ts,svelte,html,svx,md}'", | ||
"check:format": "prettier --cache --ignore-path .gitignore '**/*.{css,scss,svelte,html,js,ts,svx,md}' --check", | ||
"lint": "pnpm check:lint --fix", | ||
"format": "pnpm check:format --write", | ||
"fixup": "run-s lint format", | ||
"release": "pnpm changeset publish", | ||
"prepare": "husky install" | ||
}, | ||
"devDependencies": { | ||
|
@@ -42,16 +44,17 @@ | |
"playwright-core": "^1.33.0", | ||
"prettier": "^2.8.8", | ||
"prettier-plugin-svelte": "^2.10.0", | ||
"publint": "^0.1.12", | ||
"rimraf": "^5.0.0", | ||
"svelte": "^3.59.1", | ||
"typescript": "^5.0.4", | ||
"vite": "^4.3.5", | ||
"vitest": "^0.31.0" | ||
}, | ||
"lint-staged": { | ||
"*.{js,ts,svelte,html,md,svx}": "eslint --fix", | ||
"*.{js,ts,svelte,html,md,svx}": "eslint --cache --fix", | ||
"*.{css,scss,svelte,html,js,ts,svx,md}": [ | ||
"prettier --write" | ||
"prettier --cache --write" | ||
] | ||
}, | ||
"packageManager": "[email protected]", | ||
|
@@ -61,8 +64,7 @@ | |
}, | ||
"pnpm": { | ||
"overrides": { | ||
"@sveltejs/vite-plugin-svelte": "workspace:^", | ||
"tsup>postcss-load-config@<4": "^4.0.0" | ||
"@sveltejs/vite-plugin-svelte": "workspace:^" | ||
}, | ||
"peerDependencyRules": { | ||
"allowedVersions": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/vite-plugin-svelte-inspector/src/runtime/load-inspector.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.