summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-11 14:35:18 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-11 14:35:18 +1100
commit0a7cc460481fc262550e99326be79134dcaafa73 (patch)
treedbfef229230b0a5bb416d12afde85c458f058df6
downloadcaelestia-shell-0a7cc460481fc262550e99326be79134dcaafa73.tar.gz
caelestia-shell-0a7cc460481fc262550e99326be79134dcaafa73.tar.bz2
caelestia-shell-0a7cc460481fc262550e99326be79134dcaafa73.zip
Initial commit
-rw-r--r--.gitignore2
-rw-r--r--env.d.ts21
-rw-r--r--tsconfig.json18
3 files changed, 41 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c5d317c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+@girs/
+node_modules/
diff --git a/env.d.ts b/env.d.ts
new file mode 100644
index 0000000..2e051ce
--- /dev/null
+++ b/env.d.ts
@@ -0,0 +1,21 @@
+declare const SRC: string;
+
+declare module "inline:*" {
+ const content: string;
+ export default content;
+}
+
+declare module "*.scss" {
+ const content: string;
+ export default content;
+}
+
+declare module "*.blp" {
+ const content: string;
+ export default content;
+}
+
+declare module "*.css" {
+ const content: string;
+ export default content;
+}
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..6d3a83c
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,18 @@
+{
+ "$schema": "https://json.schemastore.org/tsconfig",
+ "compilerOptions": {
+ "experimentalDecorators": true,
+ "strict": true,
+ "target": "ES2022",
+ "module": "ES2022",
+ "moduleResolution": "Bundler",
+ // "checkJs": true,
+ // "allowJs": true,
+ "jsx": "react-jsx",
+ "jsxImportSource": "/usr/share/astal/gjs/gtk3",
+ "paths": {
+ "astal": ["/usr/share/astal/gjs"],
+ "astal/*": ["/usr/share/astal/gjs/*"]
+ }
+ }
+}