intlayer-editor 6.1.6 → 7.0.0-canary.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/intlayer-editor.mjs +6 -5
- package/client/dist/assets/CodeBlockShiki-Da9FdWZC.js +2 -0
- package/client/dist/assets/angular-html-BhtAKmdv.js +1 -0
- package/client/dist/assets/{angular-ts-C26w9mnW.js → angular-ts-BeFqxUEK.js} +1 -1
- package/client/dist/assets/astro-fnUV64w6.js +1 -0
- package/client/dist/assets/{shellscript-Yzrsuije.js → bash-SHvotRv0.js} +1 -1
- package/client/dist/assets/blade-BXHw_pqF.js +1 -0
- package/client/dist/assets/bundle-web-mXNhGq2u.js +13 -0
- package/client/dist/assets/coffee-Bn-gRTwi.js +1 -0
- package/client/dist/assets/{github-dark-DHJKELXO.js → github-dark-nz1Ug7wa.js} +1 -1
- package/client/dist/assets/{github-light-DAi9KRSo.js → github-light-hIqfNsk6.js} +1 -1
- package/client/dist/assets/graphql-DsDBh1Xd.js +1 -0
- package/client/dist/assets/haml-DXac2MKr.js +1 -0
- package/client/dist/assets/handlebars-DGp8LPLW.js +1 -0
- package/client/dist/assets/html-C3HxQsge.js +1 -0
- package/client/dist/assets/html-derivative-BSjB4sSK.js +1 -0
- package/client/dist/assets/http-DCi7G6X5.js +1 -0
- package/client/dist/assets/index-CUWL1CMm.js +329 -0
- package/client/dist/assets/index-DhJQvNNZ.css +1 -0
- package/client/dist/assets/{javascript-BMMyXqK5.js → javascript-Bu8dFlWd.js} +1 -1
- package/client/dist/assets/jinja-DRFn41Dg.js +1 -0
- package/client/dist/assets/jison-D2rCaaX8.js +1 -0
- package/client/dist/assets/{json-Cp-IABpG.js → json-BHNwtY8x.js} +1 -1
- package/client/dist/assets/julia-CKK9Si6J.js +1 -0
- package/client/dist/assets/marko-oTM4hF24.js +1 -0
- package/client/dist/assets/{mdc-DvHMhoCT.js → mdc-CnEUHEQ0.js} +1 -1
- package/client/dist/assets/php-BVkpE1Rs.js +1 -0
- package/client/dist/assets/pug-Cxa3IGBH.js +1 -0
- package/client/dist/assets/svelte-Dn5bEqJ2.js +1 -0
- package/client/dist/assets/ts-tags-o7tE_SiD.js +1 -0
- package/client/dist/assets/{tsx-COt5Ahok.js → tsx-D7BNtDUy.js} +1 -1
- package/client/dist/assets/{typescript-DlfHMoPT.js → typescript-DtkYWpva.js} +1 -1
- package/client/dist/assets/vue-CGSbC7ds.js +1 -0
- package/client/dist/assets/vue-html-2e51hq9W.js +1 -0
- package/client/dist/assets/vue-vine-BIRRuYKM.js +1 -0
- package/client/dist/index.html +2 -2
- package/package.json +80 -84
- package/server/dist/_virtual/rolldown_runtime.cjs +25 -0
- package/server/dist/controllers/configuration.controller.cjs +32 -52
- package/server/dist/controllers/configuration.controller.cjs.map +1 -1
- package/server/dist/controllers/configuration.controller.d.ts +9 -5
- package/server/dist/controllers/configuration.controller.d.ts.map +1 -1
- package/server/dist/controllers/configuration.controller.mjs +30 -30
- package/server/dist/controllers/configuration.controller.mjs.map +1 -1
- package/server/dist/controllers/dictionary.controller.cjs +111 -139
- package/server/dist/controllers/dictionary.controller.cjs.map +1 -1
- package/server/dist/controllers/dictionary.controller.d.ts +17 -14
- package/server/dist/controllers/dictionary.controller.d.ts.map +1 -1
- package/server/dist/controllers/dictionary.controller.mjs +103 -104
- package/server/dist/controllers/dictionary.controller.mjs.map +1 -1
- package/server/dist/export.cjs +6 -25
- package/server/dist/export.d.ts +3 -3
- package/server/dist/export.mjs +4 -3
- package/server/dist/index.cjs +70 -90
- package/server/dist/index.cjs.map +1 -1
- package/server/dist/index.d.ts +1 -2
- package/server/dist/index.mjs +45 -53
- package/server/dist/index.mjs.map +1 -1
- package/server/dist/routes/config.routes.cjs +20 -55
- package/server/dist/routes/config.routes.cjs.map +1 -1
- package/server/dist/routes/config.routes.d.ts +12 -8
- package/server/dist/routes/config.routes.d.ts.map +1 -1
- package/server/dist/routes/config.routes.mjs +12 -16
- package/server/dist/routes/config.routes.mjs.map +1 -1
- package/server/dist/routes/dictionary.routes.cjs +26 -52
- package/server/dist/routes/dictionary.routes.cjs.map +1 -1
- package/server/dist/routes/dictionary.routes.d.ts +17 -13
- package/server/dist/routes/dictionary.routes.d.ts.map +1 -1
- package/server/dist/routes/dictionary.routes.mjs +18 -26
- package/server/dist/routes/dictionary.routes.mjs.map +1 -1
- package/server/dist/types/Routes.cjs +0 -17
- package/server/dist/types/Routes.d.ts +8 -5
- package/server/dist/types/Routes.d.ts.map +1 -1
- package/server/dist/types/Routes.mjs +0 -1
- package/server/dist/utils/checkPortAvailability.cjs +20 -53
- package/server/dist/utils/checkPortAvailability.cjs.map +1 -1
- package/server/dist/utils/checkPortAvailability.d.ts +4 -1
- package/server/dist/utils/checkPortAvailability.d.ts.map +1 -1
- package/server/dist/utils/checkPortAvailability.mjs +17 -18
- package/server/dist/utils/checkPortAvailability.mjs.map +1 -1
- package/server/dist/utils/httpStatusCodes.cjs +400 -92
- package/server/dist/utils/httpStatusCodes.cjs.map +1 -1
- package/server/dist/utils/httpStatusCodes.d.ts +261 -249
- package/server/dist/utils/httpStatusCodes.d.ts.map +1 -1
- package/server/dist/utils/httpStatusCodes.mjs +399 -68
- package/server/dist/utils/httpStatusCodes.mjs.map +1 -1
- package/server/dist/utils/responseData.cjs +30 -71
- package/server/dist/utils/responseData.cjs.map +1 -1
- package/server/dist/utils/responseData.d.ts +73 -50
- package/server/dist/utils/responseData.d.ts.map +1 -1
- package/server/dist/utils/responseData.mjs +27 -44
- package/server/dist/utils/responseData.mjs.map +1 -1
- package/LICENSE +0 -202
- package/client/dist/assets/abap-BdImnpbu.js +0 -1
- package/client/dist/assets/actionscript-3-CfeIJUat.js +0 -1
- package/client/dist/assets/ada-bCR0ucgS.js +0 -1
- package/client/dist/assets/angular-html-Bbf3ZyxA.js +0 -1
- package/client/dist/assets/apache-Pmp26Uib.js +0 -1
- package/client/dist/assets/apex-C7Pw0Ztw.js +0 -1
- package/client/dist/assets/apl-e980N3t4.js +0 -1
- package/client/dist/assets/applescript-Co6uUVPk.js +0 -1
- package/client/dist/assets/ara-BRHolxvo.js +0 -1
- package/client/dist/assets/asciidoc-Dv7Oe6Be.js +0 -1
- package/client/dist/assets/asm-D_Q5rh1f.js +0 -1
- package/client/dist/assets/astro-CjFzhNUq.js +0 -1
- package/client/dist/assets/awk-DMzUqQB5.js +0 -1
- package/client/dist/assets/ballerina-BFfxhgS-.js +0 -1
- package/client/dist/assets/bat-BkioyH1T.js +0 -1
- package/client/dist/assets/beancount-BoKiGodi.js +0 -1
- package/client/dist/assets/berry-D08WgyRC.js +0 -1
- package/client/dist/assets/bibtex-CHM0blh-.js +0 -1
- package/client/dist/assets/bicep-6nHXG8SA.js +0 -1
- package/client/dist/assets/blade-B2ZbN0F_.js +0 -1
- package/client/dist/assets/bsl-BO_Y6i37.js +0 -1
- package/client/dist/assets/cadence-D2CYqzqI.js +0 -1
- package/client/dist/assets/cairo-KRGpt6FW.js +0 -1
- package/client/dist/assets/clarity-CHh-QcGE.js +0 -1
- package/client/dist/assets/clojure-P80f7IUj.js +0 -1
- package/client/dist/assets/cmake-D1j8_8rp.js +0 -1
- package/client/dist/assets/cobol-DwXMNnPA.js +0 -1
- package/client/dist/assets/codeowners-Bp6g37R7.js +0 -1
- package/client/dist/assets/codeql-DsOJ9woJ.js +0 -1
- package/client/dist/assets/coffee-JUOWOZUj.js +0 -1
- package/client/dist/assets/common-lisp-Cg-RD9OK.js +0 -1
- package/client/dist/assets/coq-DkFqJrB1.js +0 -1
- package/client/dist/assets/crystal-DVs0tusA.js +0 -1
- package/client/dist/assets/csharp-CHadp7IV.js +0 -1
- package/client/dist/assets/csv-fuZLfV_i.js +0 -1
- package/client/dist/assets/cue-D82EKSYY.js +0 -1
- package/client/dist/assets/cypher-COkxafJQ.js +0 -1
- package/client/dist/assets/d-85-TOEBH.js +0 -1
- package/client/dist/assets/dart-CF10PKvl.js +0 -1
- package/client/dist/assets/dax-CEL-wOlO.js +0 -1
- package/client/dist/assets/desktop-BmXAJ9_W.js +0 -1
- package/client/dist/assets/diff-D97Zzqfu.js +0 -1
- package/client/dist/assets/docker-BcOcwvcX.js +0 -1
- package/client/dist/assets/dotenv-Da5cRb03.js +0 -1
- package/client/dist/assets/dream-maker-BtqSS_iP.js +0 -1
- package/client/dist/assets/edge-CKszZCnI.js +0 -1
- package/client/dist/assets/elixir-Cc7HHYVZ.js +0 -1
- package/client/dist/assets/elm-DbKCFpqz.js +0 -1
- package/client/dist/assets/emacs-lisp-C9XAeP06.js +0 -1
- package/client/dist/assets/erb-C7QrGF_t.js +0 -1
- package/client/dist/assets/erlang-DsQrWhSR.js +0 -1
- package/client/dist/assets/fennel-BYunw83y.js +0 -1
- package/client/dist/assets/fish-Bl2oy6fF.js +0 -1
- package/client/dist/assets/fluent-C4IJs8-o.js +0 -1
- package/client/dist/assets/fortran-fixed-form-BZjJHVRy.js +0 -1
- package/client/dist/assets/fortran-free-form-D22FLkUw.js +0 -1
- package/client/dist/assets/fsharp-CufqaIoK.js +0 -1
- package/client/dist/assets/gdresource-B7Tvp0Sc.js +0 -1
- package/client/dist/assets/gdscript-DTMYz4Jt.js +0 -1
- package/client/dist/assets/gdshader-DkwncUOv.js +0 -1
- package/client/dist/assets/genie-D0YGMca9.js +0 -1
- package/client/dist/assets/gherkin-DyxjwDmM.js +0 -1
- package/client/dist/assets/git-commit-F4YmCXRG.js +0 -1
- package/client/dist/assets/git-rebase-r7XF79zn.js +0 -1
- package/client/dist/assets/gleam-BspZqrRM.js +0 -1
- package/client/dist/assets/glimmer-js-Dz9X99Cm.js +0 -1
- package/client/dist/assets/glimmer-ts-aQ3p29eY.js +0 -1
- package/client/dist/assets/gnuplot-DdkO51Og.js +0 -1
- package/client/dist/assets/go-Dn2_MT6a.js +0 -1
- package/client/dist/assets/graphql-Caa12_AY.js +0 -1
- package/client/dist/assets/groovy-gcz8RCvz.js +0 -1
- package/client/dist/assets/hack-D_o3P2UH.js +0 -1
- package/client/dist/assets/haml-AZXGPtNI.js +0 -1
- package/client/dist/assets/handlebars-YebKLiTq.js +0 -1
- package/client/dist/assets/haskell-Df6bDoY_.js +0 -1
- package/client/dist/assets/haxe-CzTSHFRz.js +0 -1
- package/client/dist/assets/hcl-BWvSN4gD.js +0 -1
- package/client/dist/assets/hjson-D5-asLiD.js +0 -1
- package/client/dist/assets/hlsl-D3lLCCz7.js +0 -1
- package/client/dist/assets/html-B8pBdPMQ.js +0 -1
- package/client/dist/assets/html-derivative-ZQ8onl8Z.js +0 -1
- package/client/dist/assets/http-C38VWM-o.js +0 -1
- package/client/dist/assets/hxml-Bvhsp5Yf.js +0 -1
- package/client/dist/assets/hy-DFXneXwc.js +0 -1
- package/client/dist/assets/index-BZsb0J9r.css +0 -1
- package/client/dist/assets/index-Dqu0HW5s.js +0 -348
- package/client/dist/assets/ini-BEwlwnbL.js +0 -1
- package/client/dist/assets/jinja-BJmZiE_F.js +0 -1
- package/client/dist/assets/jison-BCRtk9Os.js +0 -1
- package/client/dist/assets/jsonnet-DFQXde-d.js +0 -1
- package/client/dist/assets/jssm-C2t-YnRu.js +0 -1
- package/client/dist/assets/julia-353pQ8cl.js +0 -1
- package/client/dist/assets/kotlin-BdnUsdx6.js +0 -1
- package/client/dist/assets/kusto-BvAqAH-y.js +0 -1
- package/client/dist/assets/latex-CPEt12BK.js +0 -1
- package/client/dist/assets/lean-qliWkHmV.js +0 -1
- package/client/dist/assets/liquid-DFk8BABL.js +0 -1
- package/client/dist/assets/llvm-D32k8WzR.js +0 -1
- package/client/dist/assets/log-2UxHyX5q.js +0 -1
- package/client/dist/assets/logo-BtOb2qkB.js +0 -1
- package/client/dist/assets/lua-BbnMAYS6.js +0 -1
- package/client/dist/assets/luau-CXu1NL6O.js +0 -1
- package/client/dist/assets/make-CHLpvVh8.js +0 -1
- package/client/dist/assets/marko-BM38lbjI.js +0 -1
- package/client/dist/assets/matlab-D7o27uSR.js +0 -1
- package/client/dist/assets/mermaid-DKYwYmdq.js +0 -1
- package/client/dist/assets/mipsasm-CKIfxQSi.js +0 -1
- package/client/dist/assets/mojo-1DNp92w6.js +0 -1
- package/client/dist/assets/move-DNEoBllO.js +0 -1
- package/client/dist/assets/narrat-DRg8JJMk.js +0 -1
- package/client/dist/assets/nextflow-CUEJCptM.js +0 -1
- package/client/dist/assets/nginx-DknmC5AR.js +0 -1
- package/client/dist/assets/nim-BZI_8mFl.js +0 -1
- package/client/dist/assets/nix-BepWV7mh.js +0 -1
- package/client/dist/assets/nushell-ChH_ziBE.js +0 -1
- package/client/dist/assets/objective-c-DXmwc3jG.js +0 -1
- package/client/dist/assets/objective-cpp-CLxacb5B.js +0 -1
- package/client/dist/assets/ocaml-C0hk2d4L.js +0 -1
- package/client/dist/assets/pascal-D93ZcfNL.js +0 -1
- package/client/dist/assets/perl-g0D2lH3a.js +0 -1
- package/client/dist/assets/php-Gk5eUrPQ.js +0 -1
- package/client/dist/assets/plsql-ChMvpjG-.js +0 -1
- package/client/dist/assets/po-BTJTHyun.js +0 -1
- package/client/dist/assets/polar-C0HS_06l.js +0 -1
- package/client/dist/assets/powerquery-CEu0bR-o.js +0 -1
- package/client/dist/assets/powershell-Dpen1YoG.js +0 -1
- package/client/dist/assets/prisma-Dd19v3D-.js +0 -1
- package/client/dist/assets/prolog-CbFg5uaA.js +0 -1
- package/client/dist/assets/proto-DyJlTyXw.js +0 -1
- package/client/dist/assets/pug-Ch9lOoSd.js +0 -1
- package/client/dist/assets/puppet-BMWR74SV.js +0 -1
- package/client/dist/assets/purescript-CklMAg4u.js +0 -1
- package/client/dist/assets/qml-CHzV51_b.js +0 -1
- package/client/dist/assets/qmldir-C8lEn-DE.js +0 -1
- package/client/dist/assets/qss-IeuSbFQv.js +0 -1
- package/client/dist/assets/racket-BqYA7rlc.js +0 -1
- package/client/dist/assets/raku-DXvB9xmW.js +0 -1
- package/client/dist/assets/razor-CNXmhs1n.js +0 -1
- package/client/dist/assets/reg-C-SQnVFl.js +0 -1
- package/client/dist/assets/rel-C3B-1QV4.js +0 -1
- package/client/dist/assets/riscv-BM1_JUlF.js +0 -1
- package/client/dist/assets/rst-DKdxLoXm.js +0 -1
- package/client/dist/assets/ruby-W1VRIm2Q.js +0 -1
- package/client/dist/assets/rust-B1yitclQ.js +0 -1
- package/client/dist/assets/sas-cz2c8ADy.js +0 -1
- package/client/dist/assets/scala-C151Ov-r.js +0 -1
- package/client/dist/assets/scheme-C98Dy4si.js +0 -1
- package/client/dist/assets/sdbl-DVxCFoDh.js +0 -1
- package/client/dist/assets/shaderlab-Dg9Lc6iA.js +0 -1
- package/client/dist/assets/shellsession-BADoaaVG.js +0 -1
- package/client/dist/assets/smalltalk-BERRCDM3.js +0 -1
- package/client/dist/assets/solidity-BbcW6ACK.js +0 -1
- package/client/dist/assets/soy-B_7ge1HE.js +0 -1
- package/client/dist/assets/sparql-rVzFXLq3.js +0 -1
- package/client/dist/assets/splunk-BtCnVYZw.js +0 -1
- package/client/dist/assets/ssh-config-_ykCGR6B.js +0 -1
- package/client/dist/assets/stata-BH5u7GGu.js +0 -1
- package/client/dist/assets/svelte-Dt5jNKfG.js +0 -1
- package/client/dist/assets/swift-Dg5xB15N.js +0 -1
- package/client/dist/assets/system-verilog-CnnmHF94.js +0 -1
- package/client/dist/assets/systemd-4A_iFExJ.js +0 -1
- package/client/dist/assets/talonscript-CkByrt1z.js +0 -1
- package/client/dist/assets/tasl-QIJgUcNo.js +0 -1
- package/client/dist/assets/tcl-dwOrl1Do.js +0 -1
- package/client/dist/assets/templ-0CNLO7il.js +0 -1
- package/client/dist/assets/terraform-BETggiCN.js +0 -1
- package/client/dist/assets/tex-B5i3u9ba.js +0 -1
- package/client/dist/assets/toml-vGWfd6FD.js +0 -1
- package/client/dist/assets/ts-tags-B9XN6NYQ.js +0 -1
- package/client/dist/assets/tsv-B_m7g4N7.js +0 -1
- package/client/dist/assets/turtle-BsS91CYL.js +0 -1
- package/client/dist/assets/twig-B_ULif71.js +0 -1
- package/client/dist/assets/typespec-Df68jz8_.js +0 -1
- package/client/dist/assets/typst-DHCkPAjA.js +0 -1
- package/client/dist/assets/v-DljmTZ5-.js +0 -1
- package/client/dist/assets/vala-CsfeWuGM.js +0 -1
- package/client/dist/assets/vb-D17OF-Vu.js +0 -1
- package/client/dist/assets/verilog-BQ8w6xss.js +0 -1
- package/client/dist/assets/vhdl-CeAyd5Ju.js +0 -1
- package/client/dist/assets/viml-CJc9bBzg.js +0 -1
- package/client/dist/assets/vue-BEetzCYT.js +0 -1
- package/client/dist/assets/vue-html-BsD9fJC1.js +0 -1
- package/client/dist/assets/vue-vine-CCdTUzyM.js +0 -1
- package/client/dist/assets/vyper-CDx5xZoG.js +0 -1
- package/client/dist/assets/wenyan-BV7otONQ.js +0 -1
- package/client/dist/assets/wikitext-BhOHFoWU.js +0 -1
- package/client/dist/assets/wolfram-lXgVvXCa.js +0 -1
- package/client/dist/assets/xsl-CtQFsRM5.js +0 -1
- package/client/dist/assets/zenscript-DVFEvuxE.js +0 -1
- package/client/dist/assets/zig-VOosw3JB.js +0 -1
- package/server/dist/export.cjs.map +0 -1
- package/server/dist/export.d.ts.map +0 -1
- package/server/dist/export.mjs.map +0 -1
- package/server/dist/index.d.ts.map +0 -1
- package/server/dist/types/Routes.cjs.map +0 -1
- package/server/dist/types/Routes.mjs.map +0 -1
package/client/dist/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Intlayer Editor</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-CUWL1CMm.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DhJQvNNZ.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intlayer-editor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-canary.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Integrate the Intlayer visual editor into your Intlayer projects, enabling CMS-like content management with multilingual support.",
|
|
6
6
|
"keywords": [
|
|
@@ -60,101 +60,97 @@
|
|
|
60
60
|
"./bin",
|
|
61
61
|
"./package.json"
|
|
62
62
|
],
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "bun build:client && bun build:server",
|
|
65
|
+
"build:ci": "bun build:client:ci && bun build:server:ci",
|
|
66
|
+
"build:client": "bun build:client:ci",
|
|
67
|
+
"build:client:ci": "vite build --config ./client/vite.config.ts",
|
|
68
|
+
"build:server": "bun build:server:ci",
|
|
69
|
+
"build:server:ci": "tsdown \"server/src/**/*.ts\" --config ./server/tsdown.config.ts --tsconfig ./server/tsconfig.json",
|
|
70
|
+
"dev:client": "vite dev --config ./client/vite.config.ts",
|
|
71
|
+
"dev:server": "bun --watch --hot ./server/src/index.ts",
|
|
72
|
+
"format": "biome format . --check",
|
|
73
|
+
"format:fix": "biome format --write .",
|
|
74
|
+
"lint": "biome lint .",
|
|
75
|
+
"lint:fix": "biome lint --write .",
|
|
76
|
+
"preview": "vite preview --config ./client/vite.config.ts",
|
|
77
|
+
"start": "bun server/dist/esm/index.mjs",
|
|
78
|
+
"start:client": "vite preview --config ./client/vite.config.ts",
|
|
79
|
+
"start:server": "bun --watch --hot ./server/dist/esm/index.mjs",
|
|
80
|
+
"test": "vitest run",
|
|
81
|
+
"test:watch": "vitest",
|
|
82
|
+
"typecheck": "tsc --project ./server/tsconfig.types.json --noEmit"
|
|
83
|
+
},
|
|
63
84
|
"dependencies": {
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"react-
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
85
|
+
"@intlayer/api": "7.0.0-canary.2",
|
|
86
|
+
"@intlayer/config": "7.0.0-canary.2",
|
|
87
|
+
"@intlayer/core": "7.0.0-canary.2",
|
|
88
|
+
"@intlayer/design-system": "7.0.0-canary.2",
|
|
89
|
+
"@intlayer/editor-react": "7.0.0-canary.2",
|
|
90
|
+
"@intlayer/types": "7.0.0-canary.2",
|
|
91
|
+
"@intlayer/unmerged-dictionaries-entry": "7.0.0-canary.2",
|
|
92
|
+
"@tanstack/query-persist-client-core": "5.90.2",
|
|
93
|
+
"@tanstack/query-sync-storage-persister": "5.90.2",
|
|
94
|
+
"@tanstack/react-query": "5.90.5",
|
|
95
|
+
"compression": "1.8.1",
|
|
96
|
+
"cookie-parser": "1.4.7",
|
|
97
|
+
"cors": "2.8.5",
|
|
98
|
+
"express": "5.1.0",
|
|
99
|
+
"express-intlayer": "7.0.0-canary.2",
|
|
100
|
+
"framer-motion": "12.23.24",
|
|
101
|
+
"helmet": "8.1.0",
|
|
102
|
+
"intlayer": "7.0.0-canary.2",
|
|
103
|
+
"lucide-react": "0.547.0",
|
|
104
|
+
"mime": "4.1.0",
|
|
105
|
+
"react": "19.2.0",
|
|
106
|
+
"react-dom": "19.2.0",
|
|
107
|
+
"react-intlayer": "7.0.0-canary.2",
|
|
108
|
+
"react-router-dom": "7.9.4",
|
|
109
|
+
"rimraf": "6.0.1",
|
|
110
|
+
"vite-intlayer": "7.0.0-canary.2"
|
|
89
111
|
},
|
|
90
112
|
"devDependencies": {
|
|
91
|
-
"@tailwindcss/vite": "
|
|
92
|
-
"@types/compression": "
|
|
93
|
-
"@types/cookie-parser": "
|
|
94
|
-
"@types/cors": "
|
|
95
|
-
"@types/express": "
|
|
96
|
-
"@types/
|
|
97
|
-
"@types/react
|
|
98
|
-
"@
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"typescript": "^5.9.2",
|
|
109
|
-
"typescript-eslint": "^8.44.1",
|
|
110
|
-
"vite": "^7.1.7",
|
|
111
|
-
"vitest": "^3.2.4"
|
|
113
|
+
"@tailwindcss/vite": "4.1.16",
|
|
114
|
+
"@types/compression": "1.8.1",
|
|
115
|
+
"@types/cookie-parser": "1.4.9",
|
|
116
|
+
"@types/cors": "2.8.19",
|
|
117
|
+
"@types/express": "5.0.3",
|
|
118
|
+
"@types/node": "24.9.1",
|
|
119
|
+
"@types/react": "19.2.2",
|
|
120
|
+
"@types/react-dom": "19.2.2",
|
|
121
|
+
"@utils/ts-config": "7.0.0-canary.2",
|
|
122
|
+
"@vitejs/plugin-react": "5.1.0",
|
|
123
|
+
"autoprefixer": "10.4.21",
|
|
124
|
+
"globals": "16.4.0",
|
|
125
|
+
"tailwindcss": "4.1.16",
|
|
126
|
+
"tsdown": "0.15.9",
|
|
127
|
+
"typescript": "5.9.3",
|
|
128
|
+
"vite": "7.1.12",
|
|
129
|
+
"vitest": "4.0.3"
|
|
112
130
|
},
|
|
113
131
|
"peerDependencies": {
|
|
114
|
-
"
|
|
115
|
-
"
|
|
132
|
+
"@intlayer/chokidar": "7.0.0-canary.2",
|
|
133
|
+
"@intlayer/config": "7.0.0-canary.2",
|
|
134
|
+
"@intlayer/core": "7.0.0-canary.2",
|
|
135
|
+
"@intlayer/design-system": "7.0.0-canary.2",
|
|
136
|
+
"@intlayer/dictionaries-entry": "7.0.0-canary.2",
|
|
137
|
+
"@intlayer/editor-react": "7.0.0-canary.2",
|
|
138
|
+
"@intlayer/types": "7.0.0-canary.2",
|
|
139
|
+
"@intlayer/unmerged-dictionaries-entry": "7.0.0-canary.2",
|
|
140
|
+
"clsx": "2.1.1",
|
|
141
|
+
"framer-motion": "12.23.24",
|
|
142
|
+
"intlayer": "7.0.0-canary.2",
|
|
116
143
|
"react": ">=16.0.0",
|
|
117
144
|
"react-dom": ">=16.0.0",
|
|
145
|
+
"react-intlayer": "7.0.0-canary.2",
|
|
118
146
|
"react-router-dom": ">=6.0.0",
|
|
119
|
-
"tailwind-merge": "
|
|
120
|
-
"
|
|
121
|
-
"@intlayer/core": "6.1.6",
|
|
122
|
-
"@intlayer/design-system": "6.1.6",
|
|
123
|
-
"@intlayer/editor-react": "6.1.6",
|
|
124
|
-
"@intlayer/unmerged-dictionaries-entry": "6.1.6",
|
|
125
|
-
"react-intlayer": "6.1.6",
|
|
126
|
-
"vite-intlayer": "6.1.6",
|
|
127
|
-
"intlayer": "6.1.6",
|
|
128
|
-
"@intlayer/chokidar": "6.1.6",
|
|
129
|
-
"@intlayer/dictionaries-entry": "6.1.6"
|
|
147
|
+
"tailwind-merge": "3.3.1",
|
|
148
|
+
"vite-intlayer": "7.0.0-canary.2"
|
|
130
149
|
},
|
|
131
150
|
"engines": {
|
|
132
151
|
"node": ">=14.18"
|
|
133
152
|
},
|
|
134
153
|
"bug": {
|
|
135
154
|
"url": "https://github.com/aymericzip/intlayer/issues"
|
|
136
|
-
},
|
|
137
|
-
"scripts": {
|
|
138
|
-
"build": "pnpm build:client && pnpm build:server",
|
|
139
|
-
"build:ci": "pnpm build:client:ci && pnpm build:server:ci",
|
|
140
|
-
"build:client": "pnpm clean:client && pnpm build:client:ci",
|
|
141
|
-
"build:client:ci": "vite build --config ./client/vite.config.ts",
|
|
142
|
-
"build:server": "pnpm clean:server && pnpm build:server:ci",
|
|
143
|
-
"build:server:ci": "tsup \"server/src/**/*.ts\" --config ./server/tsup.config.ts --tsconfig ./server/tsconfig.json && pnpm build:types",
|
|
144
|
-
"build:types": "tsc --project ./server/tsconfig.types.json && tsc-alias --project ./server/tsconfig.types.json",
|
|
145
|
-
"clean": "pnpm clean:client && pnpm clean:server",
|
|
146
|
-
"clean:client": "rimraf ./client/dist",
|
|
147
|
-
"clean:server": "rimraf ./server/dist",
|
|
148
|
-
"dev:client": "vite dev --config ./client/vite.config.ts",
|
|
149
|
-
"dev:server": "node --import=tsx --watch ./server/src/index.ts",
|
|
150
|
-
"lint": "eslint . --cache",
|
|
151
|
-
"lint:fix": "eslint . --cache --fix",
|
|
152
|
-
"preview": "vite preview --config ./client/vite.config.ts",
|
|
153
|
-
"start": "node server/dist/esm/index.mjs",
|
|
154
|
-
"start:client": "vite preview --config ./client/vite.config.ts",
|
|
155
|
-
"start:server": "node --watch ./server/dist/esm/index.mjs",
|
|
156
|
-
"test": "vitest run",
|
|
157
|
-
"test:watch": "vitest",
|
|
158
|
-
"typecheck": "tsc --project ./server/tsconfig.types.json --noEmit"
|
|
159
155
|
}
|
|
160
|
-
}
|
|
156
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
+
key = keys[i];
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
+
get: ((k) => from[k]).bind(null, key),
|
|
13
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
19
|
+
value: mod,
|
|
20
|
+
enumerable: true
|
|
21
|
+
}) : target, mod));
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
|
|
25
|
+
exports.__toESM = __toESM;
|
|
@@ -1,55 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var configuration_controller_exports = {};
|
|
20
|
-
__export(configuration_controller_exports, {
|
|
21
|
-
getConfiguration: () => getConfiguration
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(configuration_controller_exports);
|
|
24
|
-
var import_config = require("@intlayer/config");
|
|
25
|
-
var import_responseData = require('./../utils/responseData.cjs');
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_utils_responseData = require('../utils/responseData.cjs');
|
|
3
|
+
let __intlayer_config = require("@intlayer/config");
|
|
4
|
+
__intlayer_config = require_rolldown_runtime.__toESM(__intlayer_config);
|
|
5
|
+
|
|
6
|
+
//#region server/src/controllers/configuration.controller.ts
|
|
7
|
+
/**
|
|
8
|
+
* Get the Intlayer configuration
|
|
9
|
+
*/
|
|
26
10
|
const getConfiguration = async (_req, res, _next) => {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
res.json(formattedErrorResponse);
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
11
|
+
try {
|
|
12
|
+
const formattedResponse = require_utils_responseData.formatResponse({ data: (0, __intlayer_config.getConfiguration)() });
|
|
13
|
+
res.json(formattedResponse);
|
|
14
|
+
return;
|
|
15
|
+
} catch (err) {
|
|
16
|
+
const errorMessage = err ?? {
|
|
17
|
+
message: "Internal Server Error",
|
|
18
|
+
status: 500
|
|
19
|
+
};
|
|
20
|
+
const formattedErrorResponse = require_utils_responseData.formatResponse({
|
|
21
|
+
error: {
|
|
22
|
+
message: errorMessage.message ?? "Internal Server Error",
|
|
23
|
+
code: "INTERNAL_SERVER_ERROR",
|
|
24
|
+
title: "Internal Server Error"
|
|
25
|
+
},
|
|
26
|
+
status: errorMessage.status ?? 500
|
|
27
|
+
});
|
|
28
|
+
res.json(formattedErrorResponse);
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
50
31
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
});
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.getConfiguration = getConfiguration;
|
|
55
35
|
//# sourceMappingURL=configuration.controller.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/controllers/configuration.controller.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"configuration.controller.cjs","names":["formatResponse"],"sources":["../../src/controllers/configuration.controller.ts"],"sourcesContent":["import { getConfiguration as getApplicationConfiguration } from '@intlayer/config';\nimport type { IntlayerConfig } from '@intlayer/types';\nimport { formatResponse, type ResponseData } from '@utils/responseData';\nimport type { NextFunction, Request, Response } from 'express';\n\nexport type GetConfigurationResult = ResponseData<IntlayerConfig>;\n\n/**\n * Get the Intlayer configuration\n */\nexport const getConfiguration = async (\n _req: Request,\n res: Response<GetConfigurationResult>,\n _next: NextFunction\n): Promise<void> => {\n try {\n const config = getApplicationConfiguration();\n\n const formattedResponse = formatResponse<IntlayerConfig>({\n data: config,\n });\n\n res.json(formattedResponse);\n return;\n } catch (err) {\n const errorMessage = (err as { message?: string; status?: number }) ?? {\n message: 'Internal Server Error',\n status: 500,\n };\n\n const formattedErrorResponse = formatResponse<IntlayerConfig>({\n error: {\n message: errorMessage.message ?? 'Internal Server Error',\n code: 'INTERNAL_SERVER_ERROR',\n title: 'Internal Server Error',\n },\n status: errorMessage.status ?? 500,\n });\n\n res.json(formattedErrorResponse);\n return;\n }\n};\n"],"mappings":";;;;;;;;;AAUA,MAAa,mBAAmB,OAC9B,MACA,KACA,UACkB;AAClB,KAAI;EAGF,MAAM,oBAAoBA,0CAA+B,EACvD,+CAH0C,EAI3C,CAAC;AAEF,MAAI,KAAK,kBAAkB;AAC3B;UACO,KAAK;EACZ,MAAM,eAAgB,OAAiD;GACrE,SAAS;GACT,QAAQ;GACT;EAED,MAAM,yBAAyBA,0CAA+B;GAC5D,OAAO;IACL,SAAS,aAAa,WAAW;IACjC,MAAM;IACN,OAAO;IACR;GACD,QAAQ,aAAa,UAAU;GAChC,CAAC;AAEF,MAAI,KAAK,uBAAuB;AAChC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { ResponseData } from "../utils/responseData.js";
|
|
2
|
+
import { IntlayerConfig } from "@intlayer/types";
|
|
3
|
+
import { NextFunction, Request, Response } from "express";
|
|
4
|
+
|
|
5
|
+
//#region server/src/controllers/configuration.controller.d.ts
|
|
6
|
+
type GetConfigurationResult = ResponseData<IntlayerConfig>;
|
|
5
7
|
/**
|
|
6
8
|
* Get the Intlayer configuration
|
|
7
9
|
*/
|
|
8
|
-
|
|
10
|
+
declare const getConfiguration: (_req: Request, res: Response<GetConfigurationResult>, _next: NextFunction) => Promise<void>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { GetConfigurationResult, getConfiguration };
|
|
9
13
|
//# sourceMappingURL=configuration.controller.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.controller.d.ts","
|
|
1
|
+
{"version":3,"file":"configuration.controller.d.ts","names":[],"sources":["../../src/controllers/configuration.controller.ts"],"sourcesContent":[],"mappings":";;;;;KAKY,sBAAA,GAAyB,aAAa;;AAAlD;AAKA;AACQ,cADK,gBACL,EAAA,CAAA,IAAA,EAAA,OAAA,EAAA,GAAA,EACD,QADC,CACQ,sBADR,CAAA,EAAA,KAAA,EAEC,YAFD,EAAA,GAGL,OAHK,CAAA,IAAA,CAAA"}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { formatResponse } from "../utils/responseData.mjs";
|
|
2
|
+
import { getConfiguration as getConfiguration$1 } from "@intlayer/config";
|
|
3
|
+
|
|
4
|
+
//#region server/src/controllers/configuration.controller.ts
|
|
5
|
+
/**
|
|
6
|
+
* Get the Intlayer configuration
|
|
7
|
+
*/
|
|
5
8
|
const getConfiguration = async (_req, res, _next) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
res.json(formattedErrorResponse);
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
getConfiguration
|
|
9
|
+
try {
|
|
10
|
+
const formattedResponse = formatResponse({ data: getConfiguration$1() });
|
|
11
|
+
res.json(formattedResponse);
|
|
12
|
+
return;
|
|
13
|
+
} catch (err) {
|
|
14
|
+
const errorMessage = err ?? {
|
|
15
|
+
message: "Internal Server Error",
|
|
16
|
+
status: 500
|
|
17
|
+
};
|
|
18
|
+
const formattedErrorResponse = formatResponse({
|
|
19
|
+
error: {
|
|
20
|
+
message: errorMessage.message ?? "Internal Server Error",
|
|
21
|
+
code: "INTERNAL_SERVER_ERROR",
|
|
22
|
+
title: "Internal Server Error"
|
|
23
|
+
},
|
|
24
|
+
status: errorMessage.status ?? 500
|
|
25
|
+
});
|
|
26
|
+
res.json(formattedErrorResponse);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
32
29
|
};
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
export { getConfiguration };
|
|
33
33
|
//# sourceMappingURL=configuration.controller.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/controllers/configuration.controller.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"configuration.controller.mjs","names":["getApplicationConfiguration"],"sources":["../../src/controllers/configuration.controller.ts"],"sourcesContent":["import { getConfiguration as getApplicationConfiguration } from '@intlayer/config';\nimport type { IntlayerConfig } from '@intlayer/types';\nimport { formatResponse, type ResponseData } from '@utils/responseData';\nimport type { NextFunction, Request, Response } from 'express';\n\nexport type GetConfigurationResult = ResponseData<IntlayerConfig>;\n\n/**\n * Get the Intlayer configuration\n */\nexport const getConfiguration = async (\n _req: Request,\n res: Response<GetConfigurationResult>,\n _next: NextFunction\n): Promise<void> => {\n try {\n const config = getApplicationConfiguration();\n\n const formattedResponse = formatResponse<IntlayerConfig>({\n data: config,\n });\n\n res.json(formattedResponse);\n return;\n } catch (err) {\n const errorMessage = (err as { message?: string; status?: number }) ?? {\n message: 'Internal Server Error',\n status: 500,\n };\n\n const formattedErrorResponse = formatResponse<IntlayerConfig>({\n error: {\n message: errorMessage.message ?? 'Internal Server Error',\n code: 'INTERNAL_SERVER_ERROR',\n title: 'Internal Server Error',\n },\n status: errorMessage.status ?? 500,\n });\n\n res.json(formattedErrorResponse);\n return;\n }\n};\n"],"mappings":";;;;;;;AAUA,MAAa,mBAAmB,OAC9B,MACA,KACA,UACkB;AAClB,KAAI;EAGF,MAAM,oBAAoB,eAA+B,EACvD,MAHaA,oBAA6B,EAI3C,CAAC;AAEF,MAAI,KAAK,kBAAkB;AAC3B;UACO,KAAK;EACZ,MAAM,eAAgB,OAAiD;GACrE,SAAS;GACT,QAAQ;GACT;EAED,MAAM,yBAAyB,eAA+B;GAC5D,OAAO;IACL,SAAS,aAAa,WAAW;IACjC,MAAM;IACN,OAAO;IACR;GACD,QAAQ,aAAa,UAAU;GAChC,CAAC;AAEF,MAAI,KAAK,uBAAuB;AAChC"}
|