-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2350 from opral/svelte-5-render
Make svelte a peer-dependency
- Loading branch information
Showing
5 changed files
with
101 additions
and
205 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@inlang/paraglide-js-adapter-sveltekit": patch | ||
--- | ||
|
||
fix: make `svelte` a peer dependency |
104 changes: 52 additions & 52 deletions
104
inlang/source-code/paraglide/paraglide-js-adapter-sveltekit/package.json
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 |
---|---|---|
@@ -1,54 +1,54 @@ | ||
{ | ||
"name": "@inlang/paraglide-js-adapter-sveltekit", | ||
"version": "0.5.5", | ||
"type": "module", | ||
"main": "./dist/runtime/index.js", | ||
"types": "./dist/runtime/index.d.ts", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"test": "vitest run --passWithNoTests --test-timeout 30000 --dir src", | ||
"build": "svelte-package -i src -o dist", | ||
"dev": "svelte-package -w -i src -o dist", | ||
"lint": "eslint ./src --fix", | ||
"format": "prettier ./src --write", | ||
"clean": "rm -rf ./dist ./node_modules" | ||
}, | ||
"dependencies": { | ||
"@inlang/paraglide-js-adapter-vite": "workspace:*", | ||
"dedent": "1.5.1", | ||
"devalue": "^4.3.2", | ||
"magic-string": "^0.30.5", | ||
"svelte": "^4.2.8" | ||
}, | ||
"peerDependencies": { | ||
"@sveltejs/kit": "^2.4.3" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-node-resolve": "^15.2.3", | ||
"@rollup/plugin-virtual": "3.0.1", | ||
"@sveltejs/package": "^2.2.3", | ||
"@sveltejs/vite-plugin-svelte": "^3.0.1", | ||
"prettier-plugin-svelte": "^3.1.2", | ||
"rollup": "3.29.1", | ||
"rollup-plugin-svelte": "^7.1.6", | ||
"typescript": "^5.3.2", | ||
"vite": "^5.0.4", | ||
"vitest": "^0.34.6" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./dist/runtime/index.js", | ||
"svelte": "./dist/runtime/index.js", | ||
"types": "./dist/runtime/index.d.ts" | ||
}, | ||
"./vite": { | ||
"import": "./dist/vite/index.js", | ||
"types": "./dist/vite/index.d.ts" | ||
} | ||
} | ||
"name": "@inlang/paraglide-js-adapter-sveltekit", | ||
"version": "0.5.5", | ||
"type": "module", | ||
"main": "./dist/runtime/index.js", | ||
"types": "./dist/runtime/index.d.ts", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"test": "vitest run --passWithNoTests --test-timeout 30000 --dir src", | ||
"build": "svelte-package -i src -o dist", | ||
"dev": "svelte-package -w -i src -o dist", | ||
"lint": "eslint ./src --fix", | ||
"format": "prettier ./src --write", | ||
"clean": "rm -rf ./dist ./node_modules" | ||
}, | ||
"dependencies": { | ||
"@inlang/paraglide-js-adapter-vite": "workspace:*", | ||
"dedent": "1.5.1", | ||
"devalue": "^4.3.2", | ||
"magic-string": "^0.30.5" | ||
}, | ||
"peerDependencies": { | ||
"@sveltejs/kit": "^2.4.3", | ||
"svelte": "^5.0.0 || ^5.0.0-next.1 || ^4.0.0 || ^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-node-resolve": "^15.2.3", | ||
"@rollup/plugin-virtual": "3.0.1", | ||
"@sveltejs/package": "^2.2.3", | ||
"@sveltejs/vite-plugin-svelte": "^3.0.2", | ||
"prettier-plugin-svelte": "^3.1.2", | ||
"rollup": "3.29.1", | ||
"rollup-plugin-svelte": "^7.1.6", | ||
"typescript": "^5.3.2", | ||
"vite": "^5.0.4", | ||
"vitest": "^0.34.6" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./dist/runtime/index.js", | ||
"svelte": "./dist/runtime/index.js", | ||
"types": "./dist/runtime/index.d.ts" | ||
}, | ||
"./vite": { | ||
"import": "./dist/vite/index.js", | ||
"types": "./dist/vite/index.d.ts" | ||
} | ||
} | ||
} |
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
2 changes: 1 addition & 1 deletion
2
inlang/source-code/paraglide/paraglide-js-adapter-sveltekit/tsconfig.json
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.