8000 feat: `paraglide` adder by manuel3108 · Pull Request #67 · sveltejs/cli · GitHub
[go: up one dir, main page]

Skip to content

feat: paraglide adder #67

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

Merged
merged 66 commits into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
0c2d3de
start building the Paraglide adder
LorisSigrist Jul 30, 2024
556d242
Add a bunch of config
LorisSigrist Jul 31, 2024
0f070b4
Add the handle hook
LorisSigrist Jul 31, 2024
427eeef
Validate input & custom placeholder
LorisSigrist Jul 31, 2024
8c6263d
Create example message file
LorisSigrist Jul 31, 2024
5d4c6c6
Automatically add `sequence` if handle hook is already defined
LorisSigrist Jul 31, 2024
75cfd9b
comments
LorisSigrist Jul 31, 2024
4fb5bf1
Fix typo in inlang config
LorisSigrist Jul 31, 2024
8392626
Update the app.html file
LorisSigrist Jul 31, 2024
22a2d4a
Revert accidental gitignore change
LorisSigrist Jul 31, 2024
475cc98
Fix types
LorisSigrist Aug 2, 2024
ebb7148
Add link to original Regex
LorisSigrist Aug 2, 2024
344a6c8
normalize comment formatting
LorisSigrist Aug 5, 2024
cfd399a
don't change gitignore
LorisSigrist Aug 5, 2024
234ceda
print invalid language tags
LorisSigrist Aug 5, 2024
05c6d8b
Pin version numbers
LorisSigrist Aug 5, 2024
ba7e080
Add changeset
LorisSigrist Aug 5, 2024
0943224
move adder
manuel3108 Oct 6, 2024
73f952a
migrate
manuel3108 Oct 6, 2024
7a8d405
remove implemented todo
manuel3108 Oct 6, 2024
9ebdd8c
fix adder
manuel3108 Oct 6, 2024
9e1b0be
make it work
manuel3108 Oct 6, 2024
76cd423
Update packages/adders/paraglide/config/adder.ts
manuel3108 Oct 8, 2024
a17fbdd
Merge branch 'main' into feat/paraglide
manuel3108 Oct 9, 2024
ae8b8c7
fix type errors
manuel3108 Oct 9, 2024
5e2a466
robustness
manuel3108 Oct 9, 2024
49c7526
fix warnings
manuel3108 Oct 9, 2024
517e52a
fix new lines
manuel3108 Oct 9, 2024
3f1adda
remove old changeset
manuel3108 Oct 9, 2024
e0fe069
use log.warn
manuel3108 Oct 10, 2024
7e93368
add comment
manuel3108 Oct 10, 2024
986ea1f
fix lint
manuel3108 Oct 10, 2024
de742f8
coerce to a number
AdrianGonz97 Oct 10, 2024
e7f8701
Update packages/adders/paraglide/config/adder.ts
manuel3108 Oct 10, 2024
f5d005a
Update packages/adders/paraglide/config/adder.ts
manuel3108 Oct 10, 2024
2fa31a1
Update packages/adders/paraglide/config/adder.ts
manuel3108 Oct 10, 2024
1b5d560
Update packages/adders/paraglide/config/adder.ts
manuel3108 Oct 10, 2024
ee1997f
add jsdoc utility method
manuel3108 Oct 10, 2024
ebef502
remove useless imports
manuel3108 Oct 10, 2024
d6c86a7
only add jsdoc comment if not in typescript context
manuel3108 Oct 10, 2024
2a32926
Merge branch 'main' into feat/paraglide
Manuel-Innovapps Oct 11, 2024
57f396c
update to new syntax
manuel3108 Oct 11, 2024
a5b35fc
update adder
manuel3108 Oct 11, 2024
e5e138d
disable `noUncheckedIndexedAccess`
manuel3108 Oct 11, 2024
3d13a9d
Merge branch 'main' into feat/paraglide
manuel3108 Oct 11, 2024
3b1405d
Merge branch 'main' into feat/paraglide
manuel3108 Oct 11, 2024
603ee58
update to new syntax
manuel3108 Oct 11, 2024
d2d13fb
fix
manuel3108 Oct 11, 2024
0efd31a
Merge branch 'main' into feat/paraglide
manuel3108 Oct 11, 2024
0e39a5c
use new slot feature
manuel3108 Oct 11, 2024
252c9ee
newline
benmccann Oct 11, 2024
b0f7bbf
Merge branch 'main' into feat/paraglide
benmccann Oct 11, 2024
da38ed0
Merge branch 'main' into feat/paraglide
benmccann Oct 11, 2024
da11218
update imports
AdrianGonz97 Oct 11, 2024
6ed51b8
upgrade magic-string. doesn't help, but might as well be on latest
benmccann Oct 11, 2024
2b7c924
should generally use update instead of overwrite. though it doesn't help
benmccann Oct 11, 2024
1759612
fix
benmccann Oct 11, 2024
bf37e8d
changeset
man 8000 uel3108 Oct 12, 2024
0adb8d1
improve formatting
manuel3108 Oct 12, 2024
fb37e15
improve output
manuel3108 Oct 12, 2024
62e8d15
fix command line parsing
manuel3108 Oct 12, 2024
642e095
Merge branch 'main' into feat/paraglide
manuel3108 Oct 13, 2024
c811797
Revert "improve output"
manuel3108 Oct 13, 2024
9f5f09e
fix merge conflicts
manuel3108 Oct 13, 2024
ef55cb6
remove useless function
manuel3108 Oct 13, 2024
63e065a
fix
manuel3108 Oct 13, 2024
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
Prev Previous commit
Next Next commit
fix lint
  • Loading branch information
manuel3108 committed Oct 10, 2024
commit 986ea1f6238e6030e8ca6877bb2a25f96016facc
2 changes: 1 addition & 1 deletion packages/cli/commands/create.ts
B388
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const create = new Command('create')
let i = 1;
const initialSteps: string[] = [];
const relative = path.relative(process.cwd(), directory);
const pm = await detectPackageManager(cwd);
const pm = detectPackageManager(cwd);
if (relative !== '') {
initialSteps.push(`${i++}: ${highlight(`cd ${relative}`)}`);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function runCommand(action: MaybePromise) {
}

export async function formatFiles(cwd: string, paths: string[]): Promise<void> {
const pm = await detectPackageManager(cwd);
const pm = detectPackageManager(cwd);
const args = ['prettier', '--write', '--ignore-unknown', ...paths];
const cmd = resolveCommand(pm, 'execute-local', args)!;
await exec(cmd.command, cmd.args, {
Expand Down
0