@docouno/devkit 0.0.0-stage → 0.3.1
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/LICENSE +21 -0
- package/README.md +117 -2
- package/devkit +0 -0
- package/notices/NOTICE.txt +395 -0
- package/notices/cargo/adler2-2.0.1-238207d3/notice-001.txt +12 -0
- package/notices/cargo/adler2-2.0.1-238207d3/notice-002.txt +201 -0
- package/notices/cargo/adler2-2.0.1-238207d3/notice-003.txt +23 -0
- package/notices/cargo/aho-corasick-1.1.5-90cd2b64/notice-001.txt +3 -0
- package/notices/cargo/aho-corasick-1.1.5-90cd2b64/notice-002.txt +21 -0
- package/notices/cargo/aho-corasick-1.1.5-90cd2b64/notice-003.txt +24 -0
- package/notices/cargo/annotate-snippets-0.12.17-e17d8c74/notice-001.txt +202 -0
- package/notices/cargo/annotate-snippets-0.12.17-e17d8c74/notice-002.txt +19 -0
- package/notices/cargo/anstyle-1.0.14-f65811ba/notice-001.txt +202 -0
- package/notices/cargo/anstyle-1.0.14-f65811ba/notice-002.txt +19 -0
- package/notices/cargo/anyhow-1.0.104-dc6381fb/notice-001.txt +176 -0
- package/notices/cargo/anyhow-1.0.104-dc6381fb/notice-002.txt +23 -0
- package/notices/cargo/arraydeque-0.5.1-42a9cc56/notice-001.txt +21 -0
- package/notices/cargo/autocfg-1.5.1-41f0cbe6/notice-001.txt +201 -0
- package/notices/cargo/autocfg-1.5.1-41f0cbe6/notice-002.txt +25 -0
- package/notices/cargo/base64-0.22.1-26575a7c/notice-001.txt +201 -0
- package/notices/cargo/base64-0.22.1-26575a7c/notice-002.txt +21 -0
- package/notices/cargo/base64-0.23.1-9f42fcbf/notice-001.txt +201 -0
- package/notices/cargo/base64-0.23.1-9f42fcbf/notice-002.txt +21 -0
- package/notices/cargo/bitflags-2.13.2-a49cf0c5/notice-001.txt +201 -0
- package/notices/cargo/bitflags-2.13.2-a49cf0c5/notice-002.txt +25 -0
- package/notices/cargo/block-buffer-0.10.4-0a748df3/notice-001.txt +201 -0
- package/notices/cargo/block-buffer-0.10.4-0a748df3/notice-002.txt +25 -0
- package/notices/cargo/bytes-1.12.1-e3524fe6/notice-001.txt +25 -0
- package/notices/cargo/cc-1.10.0-cda055ec/notice-001.txt +201 -0
- package/notices/cargo/cc-1.10.0-cda055ec/notice-002.txt +25 -0
- package/notices/cargo/cfg-if-1.0.5-cd0760fa/notice-001.txt +201 -0
- package/notices/cargo/cfg-if-1.0.5-cd0760fa/notice-002.txt +25 -0
- package/notices/cargo/core_detect-1.0.0-7ba90a69/notice-001.txt +201 -0
- package/notices/cargo/core_detect-1.0.0-7ba90a69/notice-002.txt +25 -0
- package/notices/cargo/cpufeatures-0.2.17-bcd8b7c7/notice-001.txt +201 -0
- package/notices/cargo/cpufeatures-0.2.17-bcd8b7c7/notice-002.txt +25 -0
- package/notices/cargo/crc32fast-1.5.3-6de55ffd/notice-001.txt +202 -0
- package/notices/cargo/crc32fast-1.5.3-6de55ffd/notice-002.txt +21 -0
- package/notices/cargo/crypto-common-0.1.7-d182dd5c/notice-001.txt +201 -0
- package/notices/cargo/crypto-common-0.1.7-d182dd5c/notice-002.txt +25 -0
- package/notices/cargo/digest-0.10.7-c92dfead/notice-001.txt +201 -0
- package/notices/cargo/digest-0.10.7-c92dfead/notice-002.txt +25 -0
- package/notices/cargo/encoding_rs-0.8.42-46195b9c/notice-001.txt +17 -0
- package/notices/cargo/encoding_rs-0.8.42-46195b9c/notice-002.txt +202 -0
- package/notices/cargo/encoding_rs-0.8.42-46195b9c/notice-003.txt +25 -0
- package/notices/cargo/encoding_rs-0.8.42-46195b9c/notice-004.txt +26 -0
- package/notices/cargo/encoding_rs_io-0.1.8-60e8f178/notice-001.txt +8 -0
- package/notices/cargo/encoding_rs_io-0.1.8-60e8f178/notice-002.txt +201 -0
- package/notices/cargo/encoding_rs_io-0.1.8-60e8f178/notice-003.txt +21 -0
- package/notices/cargo/equivalent-1.0.3-2193bbe7/notice-001.txt +201 -0
- package/notices/cargo/equivalent-1.0.3-2193bbe7/notice-002.txt +25 -0
- package/notices/cargo/errno-0.3.14-3ca95530/notice-001.txt +201 -0
- package/notices/cargo/errno-0.3.14-3ca95530/notice-002.txt +25 -0
- package/notices/cargo/fastrand-2.5.0-f2fd8a52/notice-001.txt +201 -0
- package/notices/cargo/fastrand-2.5.0-f2fd8a52/notice-002.txt +23 -0
- package/notices/cargo/filetime-0.2.29-d64063cd/notice-001.txt +201 -0
- package/notices/cargo/filetime-0.2.29-d64063cd/notice-002.txt +25 -0
- package/notices/cargo/find-msvc-tools-0.1.15-7bf23a75/notice-001.txt +201 -0
- package/notices/cargo/find-msvc-tools-0.1.15-7bf23a75/notice-002.txt +25 -0
- package/notices/cargo/flate2-1.1.10-8985ab4e/notice-001.txt +201 -0
- package/notices/cargo/flate2-1.1.10-8985ab4e/notice-002.txt +25 -0
- package/notices/cargo/foldhash-0.2.0-3ee6d7fb/notice-001.txt +19 -0
- package/notices/cargo/generic-array-0.14.7-31bd8478/notice-001.txt +21 -0
- package/notices/cargo/getrandom-0.2.17-766fa84f/notice-001.txt +201 -0
- package/notices/cargo/getrandom-0.2.17-766fa84f/notice-002.txt +26 -0
- package/notices/cargo/getrandom-0.4.3-4f1c9ebb/notice-001.txt +201 -0
- package/notices/cargo/getrandom-0.4.3-4f1c9ebb/notice-002.txt +26 -0
- package/notices/cargo/granit-parser-2.0.0-65bc2836/notice-001.txt +15 -0
- package/notices/cargo/hashbrown-0.17.1-97fc3cc1/notice-001.txt +201 -0
- package/notices/cargo/hashbrown-0.17.1-97fc3cc1/notice-002.txt +25 -0
- package/notices/cargo/http-1.5.0-6a40d4c4/notice-001.txt +201 -0
- package/notices/cargo/http-1.5.0-6a40d4c4/notice-002.txt +25 -0
- package/notices/cargo/httparse-1.10.1-cfa5aaf5/notice-001.txt +201 -0
- package/notices/cargo/httparse-1.10.1-cfa5aaf5/notice-002.txt +20 -0
- package/notices/cargo/indexmap-2.14.2-a08229e1/notice-001.txt +201 -0
- package/notices/cargo/indexmap-2.14.2-a08229e1/notice-002.txt +25 -0
- package/notices/cargo/itoa-1.0.18-b22a1f7a/notice-001.txt +176 -0
- package/notices/cargo/itoa-1.0.18-b22a1f7a/notice-002.txt +23 -0
- package/notices/cargo/libc-0.2.191-18856c2b/notice-001.txt +176 -0
- package/notices/cargo/libc-0.2.191-18856c2b/notice-002.txt +25 -0
- package/notices/cargo/linux-raw-sys-0.12.1-270748a5/notice-001.txt +29 -0
- package/notices/cargo/linux-raw-sys-0.12.1-270748a5/notice-002.txt +201 -0
- package/notices/cargo/linux-raw-sys-0.12.1-270748a5/notice-003.txt +220 -0
- package/notices/cargo/linux-raw-sys-0.12.1-270748a5/notice-004.txt +23 -0
- package/notices/cargo/log-0.4.34-23464387/notice-001.txt +201 -0
- package/notices/cargo/log-0.4.34-23464387/notice-002.txt +25 -0
- package/notices/cargo/memchr-2.8.3-9c6980a5/notice-001.txt +3 -0
- package/notices/cargo/memchr-2.8.3-9c6980a5/notice-002.txt +21 -0
- package/notices/cargo/memchr-2.8.3-9c6980a5/notice-003.txt +24 -0
- package/notices/cargo/miniz_oxide-0.9.1-d0d7eacf/notice-001.txt +25 -0
- package/notices/cargo/miniz_oxide-0.9.1-d0d7eacf/notice-002.txt +177 -0
- package/notices/cargo/miniz_oxide-0.9.1-d0d7eacf/notice-003.txt +24 -0
- package/notices/cargo/miniz_oxide-0.9.1-d0d7eacf/notice-004.txt +14 -0
- package/notices/cargo/multiversion_no_op-1.0.0-1ef14dda/notice-001.txt +15 -0
- package/notices/cargo/multiversion_no_op-1.0.0-1ef14dda/notice-002.txt +202 -0
- package/notices/cargo/multiversion_no_op-1.0.0-1ef14dda/notice-003.txt +25 -0
- package/notices/cargo/nohash-hasher-0.2.0-8ab2027b/notice-001.txt +202 -0
- package/notices/cargo/nohash-hasher-0.2.0-8ab2027b/notice-002.txt +18 -0
- package/notices/cargo/num-traits-0.2.19-d58f8d42/notice-001.txt +201 -0
- package/notices/cargo/num-traits-0.2.19-d58f8d42/notice-002.txt +25 -0
- package/notices/cargo/once_cell-1.21.4-4a678fe2/notice-001.txt +201 -0
- package/notices/cargo/once_cell-1.21.4-4a678fe2/notice-002.txt +23 -0
- package/notices/cargo/percent-encoding-2.3.2-9472d0b5/notice-001.txt +201 -0
- package/notices/cargo/percent-encoding-2.3.2-9472d0b5/notice-002.txt +25 -0
- package/notices/cargo/proc-macro2-1.0.107-ccabd92a/notice-001.txt +176 -0
- package/notices/cargo/proc-macro2-1.0.107-ccabd92a/notice-002.txt +23 -0
- package/notices/cargo/quote-1.0.47-0f6442d5/notice-001.txt +176 -0
- package/notices/cargo/quote-1.0.47-0f6442d5/notice-002.txt +23 -0
- package/notices/cargo/regex-1.13.1-3a9e4453/notice-001.txt +201 -0
- package/notices/cargo/regex-1.13.1-3a9e4453/notice-002.txt +25 -0
- package/notices/cargo/regex-automata-0.4.18-8f2fdfe1/notice-001.txt +201 -0
- package/notices/cargo/regex-automata-0.4.18-8f2fdfe1/notice-002.txt +25 -0
- package/notices/cargo/regex-syntax-0.8.11-22c58573/notice-001.txt +201 -0
- package/notices/cargo/regex-syntax-0.8.11-22c58573/notice-002.txt +25 -0
- package/notices/cargo/regex-syntax-0.8.11-22c58573/notice-003.txt +57 -0
- package/notices/cargo/ring-0.17.14-a2ecd079/notice-001.txt +9 -0
- package/notices/cargo/ring-0.17.14-a2ecd079/notice-002.txt +272 -0
- package/notices/cargo/ring-0.17.14-a2ecd079/notice-003.txt +13 -0
- package/notices/cargo/ring-0.17.14-a2ecd079/notice-004.txt +201 -0
- package/notices/cargo/ring-0.17.14-a2ecd079/notice-005.txt +23 -0
- package/notices/cargo/ring-0.17.14-a2ecd079/notice-006.txt +15 -0
- package/notices/cargo/rustix-1.1.5-75031891/notice-001.txt +29 -0
- package/notices/cargo/rustix-1.1.5-75031891/notice-002.txt +201 -0
- package/notices/cargo/rustix-1.1.5-75031891/notice-003.txt +220 -0
- package/notices/cargo/rustix-1.1.5-75031891/notice-004.txt +23 -0
- package/notices/cargo/rustls-0.23.46-d439923c/notice-001.txt +201 -0
- package/notices/cargo/rustls-0.23.46-d439923c/notice-002.txt +15 -0
- package/notices/cargo/rustls-0.23.46-d439923c/notice-003.txt +25 -0
- package/notices/cargo/rustls-pki-types-1.15.1-0cee9399/notice-001.txt +201 -0
- package/notices/cargo/rustls-pki-types-1.15.1-0cee9399/notice-002.txt +25 -0
- package/notices/cargo/rustls-webpki-0.103.16-8f5bb5a5/notice-001.txt +19 -0
- package/notices/cargo/rustversion-1.0.23-84eb0e4f/notice-001.txt +176 -0
- package/notices/cargo/rustversion-1.0.23-84eb0e4f/notice-002.txt +23 -0
- package/notices/cargo/scopeguard-1.2.0-ccdf1abe/notice-001.txt +201 -0
- package/notices/cargo/scopeguard-1.2.0-ccdf1abe/notice-002.txt +25 -0
- package/notices/cargo/serde-1.0.229-f2b8eb6e/notice-001.txt +176 -0
- package/notices/cargo/serde-1.0.229-f2b8eb6e/notice-002.txt +23 -0
- package/notices/cargo/serde-saphyr-2.0.0-6dbd70ad/notice-001.txt +176 -0
- package/notices/cargo/serde-saphyr-2.0.0-6dbd70ad/notice-002.txt +23 -0
- package/notices/cargo/serde_core-1.0.229-08cccc74/notice-001.txt +176 -0
- package/notices/cargo/serde_core-1.0.229-08cccc74/notice-002.txt +23 -0
- package/notices/cargo/serde_derive-1.0.229-db09cb76/notice-001.txt +176 -0
- package/notices/cargo/serde_derive-1.0.229-db09cb76/notice-002.txt +23 -0
- package/notices/cargo/serde_json-1.0.154-084efbf1/notice-001.txt +176 -0
- package/notices/cargo/serde_json-1.0.154-084efbf1/notice-002.txt +23 -0
- package/notices/cargo/serde_spanned-1.1.2-13274efe/notice-001.txt +202 -0
- package/notices/cargo/serde_spanned-1.1.2-13274efe/notice-002.txt +19 -0
- package/notices/cargo/sha1-0.10.7-be2212b4/notice-001.txt +201 -0
- package/notices/cargo/sha1-0.10.7-be2212b4/notice-002.txt +27 -0
- package/notices/cargo/sha2-0.10.9-be6ca6b4/notice-001.txt +201 -0
- package/notices/cargo/sha2-0.10.9-be6ca6b4/notice-002.txt +27 -0
- package/notices/cargo/shell-words-1.1.1-0d55474b/notice-001.txt +201 -0
- package/notices/cargo/shell-words-1.1.1-0d55474b/notice-002.txt +25 -0
- package/notices/cargo/shlex-2.0.1-39c59096/notice-001.txt +13 -0
- package/notices/cargo/shlex-2.0.1-39c59096/notice-002.txt +21 -0
- package/notices/cargo/signal-hook-0.3.18-a332e163/notice-001.txt +201 -0
- package/notices/cargo/signal-hook-0.3.18-a332e163/notice-002.txt +25 -0
- package/notices/cargo/signal-hook-registry-1.4.8-497004d4/notice-001.txt +201 -0
- package/notices/cargo/signal-hook-registry-1.4.8-497004d4/notice-002.txt +25 -0
- package/notices/cargo/simd-adler32-0.3.10-938489e4/notice-001.txt +21 -0
- package/notices/cargo/simdutf8-0.1.5-2b987c0c/notice-001.txt +177 -0
- package/notices/cargo/simdutf8-0.1.5-2b987c0c/notice-002.txt +19 -0
- package/notices/cargo/smallvec-1.16.4-cc422042/notice-001.txt +201 -0
- package/notices/cargo/smallvec-1.16.4-cc422042/notice-002.txt +25 -0
- package/notices/cargo/subtle-2.6.1-380cc33b/notice-001.txt +29 -0
- package/notices/cargo/syn-3.0.9-7a98808e/notice-001.txt +176 -0
- package/notices/cargo/syn-3.0.9-7a98808e/notice-002.txt +23 -0
- package/notices/cargo/tar-0.4.46-d72ec350/notice-001.txt +201 -0
- package/notices/cargo/tar-0.4.46-d72ec350/notice-002.txt +25 -0
- package/notices/cargo/tempfile-3.27.0-1f0bd317/notice-001.txt +201 -0
- package/notices/cargo/tempfile-3.27.0-1f0bd317/notice-002.txt +25 -0
- package/notices/cargo/toml-1.1.8-spec-1.1.0-ee8a4c7b/notice-001.txt +202 -0
- package/notices/cargo/toml-1.1.8-spec-1.1.0-ee8a4c7b/notice-002.txt +19 -0
- package/notices/cargo/toml_datetime-1.1.2-spec-1.1.0-f08fbf1e/notice-001.txt +202 -0
- package/notices/cargo/toml_datetime-1.1.2-spec-1.1.0-f08fbf1e/notice-002.txt +19 -0
- package/notices/cargo/toml_parser-1.1.5-spec-1.1.0-a11a62b2/notice-001.txt +202 -0
- package/notices/cargo/toml_parser-1.1.5-spec-1.1.0-a11a62b2/notice-002.txt +19 -0
- package/notices/cargo/toml_writer-1.1.3-spec-1.1.0-62b81a9a/notice-001.txt +202 -0
- package/notices/cargo/toml_writer-1.1.3-spec-1.1.0-62b81a9a/notice-002.txt +19 -0
- package/notices/cargo/typenum-1.20.1-6cdf3ca9/notice-001.txt +1 -0
- package/notices/cargo/typenum-1.20.1-6cdf3ca9/notice-002.txt +201 -0
- package/notices/cargo/typenum-1.20.1-6cdf3ca9/notice-003.txt +21 -0
- package/notices/cargo/unicode-ident-1.0.27-0f0691b5/notice-001.txt +176 -0
- package/notices/cargo/unicode-ident-1.0.27-0f0691b5/notice-002.txt +23 -0
- package/notices/cargo/unicode-ident-1.0.27-0f0691b5/notice-003.txt +39 -0
- package/notices/cargo/unicode-width-0.2.2-39fb3891/notice-001.txt +7 -0
- package/notices/cargo/unicode-width-0.2.2-39fb3891/notice-002.txt +201 -0
- package/notices/cargo/unicode-width-0.2.2-39fb3891/notice-003.txt +25 -0
- package/notices/cargo/untrusted-0.9.0-67ed8671/notice-001.txt +13 -0
- package/notices/cargo/ureq-3.5.0-13110b1a/notice-001.txt +201 -0
- package/notices/cargo/ureq-3.5.0-13110b1a/notice-002.txt +21 -0
- package/notices/cargo/ureq-proto-0.6.5-5c45f89a/notice-001.txt +202 -0
- package/notices/cargo/ureq-proto-0.6.5-5c45f89a/notice-002.txt +7 -0
- package/notices/cargo/utf8-zero-0.8.1-cf839cb2/notice-001.txt +176 -0
- package/notices/cargo/utf8-zero-0.8.1-cf839cb2/notice-002.txt +23 -0
- package/notices/cargo/uuid-1.29.0-9339a6aa/notice-001.txt +201 -0
- package/notices/cargo/uuid-1.29.0-9339a6aa/notice-002.txt +26 -0
- package/notices/cargo/version_check-0.9.5-13f5a7bf/notice-001.txt +201 -0
- package/notices/cargo/version_check-0.9.5-13f5a7bf/notice-002.txt +19 -0
- package/notices/cargo/webpki-roots-1.0.11-98a8d969/notice-001.txt +61 -0
- package/notices/cargo/winnow-1.0.4-06523b18/notice-001.txt +18 -0
- package/notices/cargo/zeroize-1.9.1-23ddc90c/notice-001.txt +202 -0
- package/notices/cargo/zeroize-1.9.1-23ddc90c/notice-002.txt +25 -0
- package/notices/cargo/zmij-1.0.23-bfa80998/notice-001.txt +23 -0
- package/notices/notice-set.json +2779 -0
- package/notices/rust/COPYRIGHT-library.html +29357 -0
- package/notices/rust/licenses/Apache-2.0.txt +73 -0
- package/notices/rust/licenses/BSD-2-Clause.txt +9 -0
- package/notices/rust/licenses/CC-BY-SA-4.0.txt +427 -0
- package/notices/rust/licenses/GCC-exception-3.1.txt +30 -0
- package/notices/rust/licenses/GPL-2.0-only.txt +133 -0
- package/notices/rust/licenses/GPL-3.0-or-later.txt +202 -0
- package/notices/rust/licenses/ISC.txt +7 -0
- package/notices/rust/licenses/LLVM-exception.txt +15 -0
- package/notices/rust/licenses/MIT.txt +9 -0
- package/notices/rust/licenses/NCSA.txt +29 -0
- package/notices/rust/licenses/OFL-1.1.txt +43 -0
- package/notices/rust/licenses/Unicode-3.0.txt +39 -0
- package/npm/docouno-env-0.3.1.tgz +0 -0
- package/package.json +27 -4
- package/release.json +1249 -0
- package/runtime/LICENSE +21 -0
- package/runtime/compose.tools.yaml +102 -0
- package/runtime/desktop-seccomp.json +1262 -0
- package/runtime/desktop.Dockerfile +29 -0
- package/runtime/devkit.mk +81 -0
- package/runtime/devkit.sh +87 -0
- package/runtime/licenses/Apache-2.0.txt +202 -0
- package/runtime/licenses/moby-profiles.NOTICE +4 -0
- package/runtime/rust.Dockerfile +8 -0
- package/runtime/toolchains.env +8 -0
- package/templates/electron-react/LICENSE +21 -0
- package/templates/electron-react/electron-builder.config.cjs +11 -0
- package/templates/electron-react/electron.vite.config.cjs +20 -0
- package/templates/electron-react/eslint.config.mjs +2 -0
- package/templates/electron-react/package-lock.json +7106 -0
- package/templates/electron-react/package.json +57 -0
- package/templates/electron-react/prettier.config.mjs +1 -0
- package/templates/electron-react/src/bridge.ts +10 -0
- package/templates/electron-react/src/main/api.test.ts +26 -0
- package/templates/electron-react/src/main/api.ts +38 -0
- package/templates/electron-react/src/main/index.ts +118 -0
- package/templates/electron-react/src/main/renderer-url.test.ts +18 -0
- package/templates/electron-react/src/main/renderer-url.ts +21 -0
- package/templates/electron-react/src/preload/index.ts +7 -0
- package/templates/electron-react/src/renderer/index.html +16 -0
- package/templates/electron-react/src/renderer/src/ClientApp.test.tsx +41 -0
- package/templates/electron-react/src/renderer/src/ClientApp.tsx +75 -0
- package/templates/electron-react/src/renderer/src/api.test.ts +15 -0
- package/templates/electron-react/src/renderer/src/api.ts +17 -0
- package/templates/electron-react/src/renderer/src/env.d.ts +6 -0
- package/templates/electron-react/src/renderer/src/main.tsx +24 -0
- package/templates/electron-react/src/renderer/src/style.css +71 -0
- package/templates/electron-react/tsconfig.json +8 -0
- package/templates/electron-react/tsconfig.node.json +13 -0
- package/templates/electron-react/tsconfig.test.json +7 -0
- package/templates/electron-react/variants/shared/files/src/renderer/src/main.tsx +24 -0
- package/templates/electron-react/variants/shared/variant.json +7 -0
- package/templates/electron-react/vitest.config.mjs +19 -0
- package/templates/node-api/LICENSE +21 -0
- package/templates/node-api/eslint.config.mjs +2 -0
- package/templates/node-api/package-lock.json +1989 -0
- package/templates/node-api/package.json +41 -0
- package/templates/node-api/prettier.config.mjs +1 -0
- package/templates/node-api/src/greeting.test.ts +14 -0
- package/templates/node-api/src/greeting.ts +8 -0
- package/templates/node-api/src/http.test.ts +64 -0
- package/templates/node-api/src/http.ts +46 -0
- package/templates/node-api/src/index.ts +26 -0
- package/templates/node-api/tsconfig.build.json +5 -0
- package/templates/node-api/tsconfig.json +9 -0
- package/templates/react-client/LICENSE +21 -0
- package/templates/react-client/eslint.config.mjs +2 -0
- package/templates/react-client/package-lock.json +3758 -0
- package/templates/react-client/package.json +68 -0
- package/templates/react-client/prettier.config.mjs +1 -0
- package/templates/react-client/src/ClientApp.test.tsx +41 -0
- package/templates/react-client/src/ClientApp.tsx +75 -0
- package/templates/react-client/src/index.ts +2 -0
- package/templates/react-client/src/style.css +71 -0
- package/templates/react-client/tsconfig.build.json +10 -0
- package/templates/react-client/tsconfig.json +8 -0
- package/templates/react-client/tsconfig.test.json +7 -0
- package/templates/react-client/vitest.config.mjs +19 -0
- package/templates/react-web/LICENSE +21 -0
- package/templates/react-web/eslint.config.mjs +2 -0
- package/templates/react-web/index.html +12 -0
- package/templates/react-web/package-lock.json +3754 -0
- package/templates/react-web/package.json +50 -0
- package/templates/react-web/prettier.config.mjs +1 -0
- package/templates/react-web/src/ClientApp.test.tsx +41 -0
- package/templates/react-web/src/ClientApp.tsx +75 -0
- package/templates/react-web/src/api.test.ts +24 -0
- package/templates/react-web/src/api.ts +29 -0
- package/templates/react-web/src/main.tsx +15 -0
- package/templates/react-web/src/style.css +71 -0
- package/templates/react-web/tsconfig.json +8 -0
- package/templates/react-web/tsconfig.test.json +7 -0
- package/templates/react-web/variants/shared/files/src/main.tsx +15 -0
- package/templates/react-web/variants/shared/variant.json +3 -0
- package/templates/react-web/vite.config.mjs +14 -0
- package/templates/react-web/vitest.config.mjs +19 -0
- package/templates/rust-api/Cargo.lock +476 -0
- package/templates/rust-api/Cargo.toml +22 -0
- package/templates/rust-api/LICENSE +21 -0
- package/templates/rust-api/rust-toolchain.toml +3 -0
- package/templates/rust-api/rustfmt.toml +2 -0
- package/templates/rust-api/src/lib.rs +68 -0
- package/templates/rust-api/src/main.rs +23 -0
- package/templates/rust-api/tests/api.rs +85 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
FROM node:24.22.1-bookworm-slim@sha256:55fb5f5a527ea2c5c4a95f963e48ef90aa38c7b346054fdc8ee9957a2b55d205
|
|
2
|
+
|
|
3
|
+
# Match the Debian snapshot used to produce the pinned Node base image.
|
|
4
|
+
# Signed Release metadata is still verified; only the archival expiry is ignored.
|
|
5
|
+
RUN printf '%s\n' \
|
|
6
|
+
'Types: deb' \
|
|
7
|
+
'URIs: http://snapshot.debian.org/archive/debian/20261020T213255Z/' \
|
|
8
|
+
'Suites: bookworm bookworm-updates' \
|
|
9
|
+
'Components: main' \
|
|
10
|
+
'Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg' \
|
|
11
|
+
'Check-Valid-Until: no' \
|
|
12
|
+
'' \
|
|
13
|
+
'Types: deb' \
|
|
14
|
+
'URIs: http://snapshot.debian.org/archive/debian-security/20261020T213255Z/' \
|
|
15
|
+
'Suites: bookworm-security' \
|
|
16
|
+
'Components: main' \
|
|
17
|
+
'Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg' \
|
|
18
|
+
'Check-Valid-Until: no' \
|
|
19
|
+
> /etc/apt/sources.list.d/debian.sources \
|
|
20
|
+
&& apt-get update \
|
|
21
|
+
&& apt-get install -y --no-install-recommends \
|
|
22
|
+
libgtk-3-0 libnss3 libxss1 libasound2 libgbm1 libdrm2 \
|
|
23
|
+
libx11-xcb1 libxshmfence1 libatk1.0-0 libatk-bridge2.0-0 \
|
|
24
|
+
libatspi2.0-0 libxrandr2 libxkbcommon0 libcups2 \
|
|
25
|
+
fonts-liberation xvfb xauth util-linux tar gzip \
|
|
26
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
27
|
+
|
|
28
|
+
USER node
|
|
29
|
+
WORKDIR /workspace
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# The project owns its root Makefile. Component registration is a managed projection.
|
|
2
|
+
.DEFAULT_GOAL := help
|
|
3
|
+
export DEVKIT_APP := $(app)
|
|
4
|
+
export DEVKIT_PACKAGE := $(package)
|
|
5
|
+
export DEVKIT_FOLLOW := $(follow)
|
|
6
|
+
export DEVKIT_TAIL := $(tail)
|
|
7
|
+
export DEVKIT_HEADLESS := $(or $(headless),0)
|
|
8
|
+
export DEVKIT_TARGET_COMPONENT :=
|
|
9
|
+
export DEVKIT_EXPECTED_MANIFEST := $(word 1,$(shell sha256sum .devkit/manifest.json 2>/dev/null))
|
|
10
|
+
|
|
11
|
+
devkit_loader := .devkit/runtime/devkit.sh
|
|
12
|
+
include .devkit/project.mk
|
|
13
|
+
|
|
14
|
+
devkit_selected_apps := $(if $(strip $(app)),$(app),$(DEVKIT_REGISTERED_APPS))
|
|
15
|
+
devkit_selected_packages := $(if $(strip $(package)),$(package),$(DEVKIT_REGISTERED_PACKAGES))
|
|
16
|
+
devkit_targets = $(if $(strip $(app)),$(addprefix $(1)-,$(app)),$(if $(strip $(package)),$(addprefix $(1)/packages/,$(package)),$(addprefix $(1)-,$(DEVKIT_REGISTERED_APPS)) $(addprefix $(1)/packages/,$(DEVKIT_REGISTERED_PACKAGES))))
|
|
17
|
+
|
|
18
|
+
.PHONY: help doctor setup check fix test build dev up down logs status package setup-node-workspace
|
|
19
|
+
# One Make invocation shares dependencies/output paths, even when -j is inherited.
|
|
20
|
+
# Native tools may still parallelize internally; separate invocations use admission.
|
|
21
|
+
.NOTPARALLEL:
|
|
22
|
+
|
|
23
|
+
help doctor down logs status:
|
|
24
|
+
@exec sh $(devkit_loader) $@
|
|
25
|
+
|
|
26
|
+
setup: $(call devkit_targets,setup)
|
|
27
|
+
check: $(call devkit_targets,check)
|
|
28
|
+
fix: $(call devkit_targets,fix)
|
|
29
|
+
test: $(call devkit_targets,test)
|
|
30
|
+
build: $(call devkit_targets,build)
|
|
31
|
+
setup check fix test build:
|
|
32
|
+
@exec sh $(devkit_loader) snapshot
|
|
33
|
+
|
|
34
|
+
dev up: $(addprefix dev-,$(devkit_selected_apps))
|
|
35
|
+
dev up:
|
|
36
|
+
@exec sh $(devkit_loader) snapshot
|
|
37
|
+
package: $(if $(strip $(package)),,$(addprefix package-,$(if $(strip $(app)),$(app),$(DEVKIT_DESKTOP_APPS))))
|
|
38
|
+
@exec sh $(devkit_loader) package-snapshot
|
|
39
|
+
setup-node-workspace:
|
|
40
|
+
@exec sh $(devkit_loader) setup-node
|
|
41
|
+
setup-node-workspace: export DEVKIT_TARGET_COMPONENT :=
|
|
42
|
+
|
|
43
|
+
.PHONY: $(foreach command,setup check fix test build dev package,$(addprefix $(command)-,$(DEVKIT_REGISTERED_APPS)))
|
|
44
|
+
.PHONY: $(foreach command,setup check fix test build,$(addprefix $(command)/packages/,$(DEVKIT_REGISTERED_PACKAGES)))
|
|
45
|
+
$(foreach command,setup check fix test build dev package,$(addprefix $(command)-,$(DEVKIT_REGISTERED_APPS))): export DEVKIT_TARGET_COMPONENT = apps/$*
|
|
46
|
+
$(foreach command,setup check fix test build,$(addprefix $(command)/packages/,$(DEVKIT_REGISTERED_PACKAGES))): export DEVKIT_TARGET_COMPONENT = packages/$*
|
|
47
|
+
|
|
48
|
+
$(addprefix setup-,$(DEVKIT_REGISTERED_APPS)): setup-%:
|
|
49
|
+
@exec sh $(devkit_loader) setup
|
|
50
|
+
$(addprefix check-,$(DEVKIT_REGISTERED_APPS)): check-%:
|
|
51
|
+
@exec sh $(devkit_loader) check
|
|
52
|
+
$(addprefix fix-,$(DEVKIT_REGISTERED_APPS)): fix-%:
|
|
53
|
+
@exec sh $(devkit_loader) fix
|
|
54
|
+
$(addprefix test-,$(DEVKIT_REGISTERED_APPS)): test-%:
|
|
55
|
+
@exec sh $(devkit_loader) test
|
|
56
|
+
$(addprefix build-,$(DEVKIT_REGISTERED_APPS)): build-%:
|
|
57
|
+
@exec sh $(devkit_loader) build
|
|
58
|
+
$(addprefix dev-,$(DEVKIT_REGISTERED_APPS)): dev-%:
|
|
59
|
+
@exec sh $(devkit_loader) dev
|
|
60
|
+
$(addprefix package-,$(DEVKIT_REGISTERED_APPS)): package-%:
|
|
61
|
+
@exec sh $(devkit_loader) package
|
|
62
|
+
|
|
63
|
+
$(addprefix setup/packages/,$(DEVKIT_REGISTERED_PACKAGES)): setup/packages/%:
|
|
64
|
+
@exec sh $(devkit_loader) setup
|
|
65
|
+
$(addprefix check/packages/,$(DEVKIT_REGISTERED_PACKAGES)): check/packages/%:
|
|
66
|
+
@exec sh $(devkit_loader) check
|
|
67
|
+
$(addprefix fix/packages/,$(DEVKIT_REGISTERED_PACKAGES)): fix/packages/%:
|
|
68
|
+
@exec sh $(devkit_loader) fix
|
|
69
|
+
$(addprefix test/packages/,$(DEVKIT_REGISTERED_PACKAGES)): test/packages/%:
|
|
70
|
+
@exec sh $(devkit_loader) test
|
|
71
|
+
$(addprefix build/packages/,$(DEVKIT_REGISTERED_PACKAGES)): build/packages/%:
|
|
72
|
+
@exec sh $(devkit_loader) build
|
|
73
|
+
|
|
74
|
+
# command= uses shellwords syntax without expansions. Exact argv: devkit exec -- ...
|
|
75
|
+
export DEVKIT_EXEC_COMMAND := $(value command)
|
|
76
|
+
export DEVKIT_EXEC_WRITE := $(or $(write),0)
|
|
77
|
+
export DEVKIT_EXEC_NETWORK := $(or $(network),none)
|
|
78
|
+
export DEVKIT_EXEC_PREPARE := $(or $(prepare),0)
|
|
79
|
+
.PHONY: exec
|
|
80
|
+
exec:
|
|
81
|
+
@exec sh $(devkit_loader) exec
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# Initial transfer and delegation only; all project operations run in the ELF.
|
|
3
|
+
set -eu
|
|
4
|
+
mode=project
|
|
5
|
+
version=0.3.1
|
|
6
|
+
expected=87bb1bbf8617aa8b3d8c1ddbb3973aaac56e67ef437d2eb9d9a60062c4b6ca15
|
|
7
|
+
target=x86_64-unknown-linux-musl
|
|
8
|
+
asset=devkit-x86_64-unknown-linux-musl
|
|
9
|
+
fail() { printf 'devkit: %s\n' "$*" >&2; exit 1; }
|
|
10
|
+
[ "$(uname -s):$(uname -m)" = Linux:x86_64 ] || fail 'this release requires Linux x86_64'
|
|
11
|
+
command=${1:-help}
|
|
12
|
+
if [ "$mode" = project ] && [ "$command" = help ]; then
|
|
13
|
+
printf '%s\n' 'make setup | doctor | check | fix | test | build | dev | up | down | logs | status | package' \
|
|
14
|
+
'Select finite tasks with app=NAME or package=NAME; down stops the project.' \
|
|
15
|
+
'Use devkit --help for project creation, updates and native exec.'
|
|
16
|
+
exit 0
|
|
17
|
+
fi
|
|
18
|
+
cache=${DEVKIT_CACHE_DIR:-${XDG_CACHE_HOME:-${HOME:?HOME or XDG_CACHE_HOME is required}/.cache}/docouno/devkit}
|
|
19
|
+
case "$cache" in /*) ;; *) fail 'the cache directory must be absolute' ;; esac
|
|
20
|
+
cache=$(realpath -ms -- "$cache")
|
|
21
|
+
[ "$(realpath -m -- "$cache")" = "$cache" ] || fail 'the cache path contains a symbolic link'
|
|
22
|
+
engine=$cache/engines/$target/$version/$expected/devkit
|
|
23
|
+
if [ -n "${DEVKIT_ENGINE_PATH:-}" ]; then
|
|
24
|
+
engine=$DEVKIT_ENGINE_PATH
|
|
25
|
+
fi
|
|
26
|
+
valid_engine() {
|
|
27
|
+
[ -f "$engine" ] && [ ! -L "$engine" ] && [ -x "$engine" ] || return 1
|
|
28
|
+
observed=$(sha256sum -- "$engine")
|
|
29
|
+
[ "${observed%% *}" = "$expected" ]
|
|
30
|
+
}
|
|
31
|
+
if ! valid_engine; then
|
|
32
|
+
[ ! -e "$engine" ] && [ ! -L "$engine" ] || fail "cached engine integrity differs: $engine"
|
|
33
|
+
[ -z "${DEVKIT_ENGINE_PATH:-}" ] || fail 'DEVKIT_ENGINE_PATH does not select the accepted engine'
|
|
34
|
+
[ "$mode" = bootstrap ] || [ "$command" = setup ] || fail 'the accepted engine is unavailable; run make setup'
|
|
35
|
+
parent=${engine%/*}
|
|
36
|
+
[ "$(realpath -m -- "$parent")" = "$(realpath -ms -- "$parent")" ] || fail 'the engine cache path contains a symbolic link'
|
|
37
|
+
umask 077
|
|
38
|
+
mkdir -p -- "$parent"
|
|
39
|
+
temporary=$(mktemp "$parent/.engine.XXXXXXXX")
|
|
40
|
+
download_pid=
|
|
41
|
+
cleanup() {
|
|
42
|
+
if [ -n "$download_pid" ]; then
|
|
43
|
+
kill -TERM "$download_pid" 2>/dev/null || :
|
|
44
|
+
wait "$download_pid" 2>/dev/null || :
|
|
45
|
+
fi
|
|
46
|
+
rm -f -- "$temporary"
|
|
47
|
+
}
|
|
48
|
+
trap cleanup 0
|
|
49
|
+
trap 'exit 130' INT
|
|
50
|
+
trap 'exit 143' TERM
|
|
51
|
+
curl --disable --fail --silent --show-error --location --max-redirs 5 \
|
|
52
|
+
--proto '=https' --proto-redir '=https' --connect-timeout 10 --max-time 90 \
|
|
53
|
+
--max-filesize 134217728 --output "$temporary" \
|
|
54
|
+
"https://github.com/docouno/devkit/releases/download/v$version/$asset" &
|
|
55
|
+
download_pid=$!
|
|
56
|
+
if wait "$download_pid"; then
|
|
57
|
+
download_pid=
|
|
58
|
+
else
|
|
59
|
+
status=$?
|
|
60
|
+
download_pid=
|
|
61
|
+
exit "$status"
|
|
62
|
+
fi
|
|
63
|
+
observed=$(sha256sum -- "$temporary")
|
|
64
|
+
[ "${observed%% *}" = "$expected" ] || fail 'downloaded engine checksum differs'
|
|
65
|
+
chmod 755 -- "$temporary"
|
|
66
|
+
# Creating this link is atomic and cannot replace a concurrent installation.
|
|
67
|
+
ln -- "$temporary" "$engine" 2>/dev/null || :
|
|
68
|
+
valid_engine || fail 'the accepted engine could not be installed'
|
|
69
|
+
cleanup
|
|
70
|
+
trap - 0 INT TERM
|
|
71
|
+
fi
|
|
72
|
+
if [ "$mode" = bootstrap ]; then
|
|
73
|
+
DEVKIT_BOOTSTRAP_INTERACTIVE=1
|
|
74
|
+
export DEVKIT_BOOTSTRAP_INTERACTIVE
|
|
75
|
+
exec "$engine" "$@"
|
|
76
|
+
fi
|
|
77
|
+
root=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd -P)
|
|
78
|
+
if [ "$command" = exec ]; then
|
|
79
|
+
for flag in "${DEVKIT_EXEC_WRITE:-0}" "${DEVKIT_EXEC_PREPARE:-0}"; do
|
|
80
|
+
[ "$flag" = 0 ] || [ "$flag" = 1 ] || fail 'write and prepare must be 0 or 1'
|
|
81
|
+
done
|
|
82
|
+
set -- exec --root "$root" --network "${DEVKIT_EXEC_NETWORK:-none}"
|
|
83
|
+
[ "${DEVKIT_EXEC_WRITE:-0}" = 0 ] || set -- "$@" --write
|
|
84
|
+
[ "${DEVKIT_EXEC_PREPARE:-0}" = 0 ] || set -- "$@" --prepare
|
|
85
|
+
exec "$engine" "$@"
|
|
86
|
+
fi
|
|
87
|
+
exec "$engine" task "$command" --root "$root"
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
desktop-seccomp.json derives from Moby profiles, licensed under Apache-2.0.
|
|
2
|
+
Source: https://github.com/moby/profiles/blob/4b8214fc4971e06172938a1f1554ccff6647ee80/seccomp/default.json
|
|
3
|
+
Changes: retain the default deny policy; permit Chromium USER/PID/NET namespace clone flags, unshare(CLONE_NEWUSER), and chroot with kernel capability checks intact.
|
|
4
|
+
The full Apache License 2.0 is in Apache-2.0.txt.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
FROM rust:1.99.1-slim-bookworm@sha256:86234e857a413004348b471d11a4ebe1aa92d2eae2b6b143cac68fd1ac3c48be
|
|
2
|
+
|
|
3
|
+
ARG DEVKIT_RECIPE_SHA
|
|
4
|
+
LABEL io.docouno.devkit.rust-recipe="${DEVKIT_RECIPE_SHA}"
|
|
5
|
+
|
|
6
|
+
RUN rustup component add --toolchain 1.99.1 rustfmt clippy
|
|
7
|
+
|
|
8
|
+
ENV RUSTUP_AUTO_INSTALL=0
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
DEVKIT_DESKTOP_RECIPE_HASH=52f3561339b0fb7d8154b307bda086c9b5cac8ddffaae422e1ad330380f39429
|
|
2
|
+
DEVKIT_ENGINE_SHA256=87bb1bbf8617aa8b3d8c1ddbb3973aaac56e67ef437d2eb9d9a60062c4b6ca15
|
|
3
|
+
DEVKIT_ENGINE_TARGET=x86_64-unknown-linux-musl
|
|
4
|
+
DEVKIT_NODE_IMAGE=node:24.22.1-bookworm-slim@sha256:55fb5f5a527ea2c5c4a95f963e48ef90aa38c7b346054fdc8ee9957a2b55d205
|
|
5
|
+
DEVKIT_NODE_VERSION=24.22.1
|
|
6
|
+
DEVKIT_RUST_RECIPE_HASH=88b4dfb67f04eb6639988453a62e3489bc2492aade0e811e32983ceca5abab94
|
|
7
|
+
DEVKIT_RUST_VERSION=1.99.1
|
|
8
|
+
DEVKIT_VERSION=0.3.1
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Devkit contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const { dirname, join } = require('node:path');
|
|
2
|
+
module.exports = {
|
|
3
|
+
appId: 'org.example.desktop',
|
|
4
|
+
productName: 'Desktop',
|
|
5
|
+
directories: { output: 'release' },
|
|
6
|
+
files: ['dist/**', 'package.json'],
|
|
7
|
+
asar: true,
|
|
8
|
+
npmRebuild: false,
|
|
9
|
+
electronDist: join(dirname(require.resolve('electron/package.json')), 'dist'),
|
|
10
|
+
linux: { executableName: 'app', target: ['dir'] },
|
|
11
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const { resolve } = require('node:path');
|
|
2
|
+
module.exports = async () => {
|
|
3
|
+
const { default: react } = await import('@vitejs/plugin-react');
|
|
4
|
+
return {
|
|
5
|
+
main: { build: { outDir: 'dist/main' } },
|
|
6
|
+
preload: {
|
|
7
|
+
build: {
|
|
8
|
+
outDir: 'dist/preload',
|
|
9
|
+
rolldownOptions: { output: { entryFileNames: 'index.cjs', format: 'cjs' } },
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
renderer: {
|
|
13
|
+
plugins: [react()],
|
|
14
|
+
cacheDir: resolve(__dirname, 'node_modules/.cache/devkit-electron-vite'),
|
|
15
|
+
resolve: { dedupe: ['react', 'react-dom'] },
|
|
16
|
+
server: { port: 5173, strictPort: true },
|
|
17
|
+
build: { outDir: resolve(__dirname, 'dist/renderer'), minify: true },
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
};
|