Skip to content

Commit

Permalink
chore: move example into examples folder
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelstroschein committed Dec 25, 2024
1 parent e2b9e24 commit be1b383
Show file tree
Hide file tree
Showing 14 changed files with 40 additions and 28 deletions.
18 changes: 0 additions & 18 deletions packages/inlang-paraglide-js/example/package.json

This file was deleted.

This file was deleted.

16 changes: 16 additions & 0 deletions packages/inlang-paraglide-js/examples/cli/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "@inlang/paraglide-js-example-cli",
"type": "module",
"version": "0.0.0",
"private": true,
"scripts": {
"_dev": "paraglide-js compile --project ./project.inlang --watch",
"build": "paraglide-js compile --project ./project.inlang",
"pretest": "paraglide-js compile --project ./project.inlang"
},
"devDependencies": {
"@inlang/paraglide-js": "workspace:*",
"typescript": "^5.5.2",
"vitest": "^2.0.5"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://inlang.com/schema/project-settings",
"baseLocale": "en",
"locales": ["en", "de", "en-US"],
"modules": [
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@latest/dist/index.js"
],
"plugin.inlang.messageFormat": {
"pathPattern": "./messages/{locale}.json"
}
}
14 changes: 13 additions & 1 deletion pnpm-lock.yaml

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

0 comments on commit be1b383

Please sign in to comment.