From ebae2390df1d04dbadc3448aa42db160d19941e1 Mon Sep 17 00:00:00 2001 From: Violet Millie Date: Mon, 22 Jan 2024 15:32:26 +0000 Subject: [PATCH] First commit --- .gitignore | 175 ++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 15 +++++ bun.lockb | Bin 0 -> 3525 bytes index.ts | 1 + package.json | 11 ++++ tsconfig.json | 22 +++++++ 6 files changed, 224 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100755 bun.lockb create mode 100644 index.ts create mode 100644 package.json create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..468f82a --- /dev/null +++ b/.gitignore @@ -0,0 +1,175 @@ +# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore + +# Logs + +logs +_.log +npm-debug.log_ +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Caches + +.cache + +# Diagnostic reports (https://nodejs.org/api/report.html) + +report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json + +# Runtime data + +pids +_.pid +_.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover + +lib-cov + +# Coverage directory used by tools like istanbul + +coverage +*.lcov + +# nyc test coverage + +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) + +.grunt + +# Bower dependency directory (https://bower.io/) + +bower_components + +# node-waf configuration + +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) + +build/Release + +# Dependency directories + +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) + +web_modules/ + +# TypeScript cache + +*.tsbuildinfo + +# Optional npm cache directory + +.npm + +# Optional eslint cache + +.eslintcache + +# Optional stylelint cache + +.stylelintcache + +# Microbundle cache + +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history + +.node_repl_history + +# Output of 'npm pack' + +*.tgz + +# Yarn Integrity file + +.yarn-integrity + +# dotenv environment variable files + +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# parcel-bundler cache (https://parceljs.org/) + +.parcel-cache + +# Next.js build output + +.next +out + +# Nuxt.js build / generate output + +.nuxt +dist + +# Gatsby files + +# Comment in the public line in if your project uses Gatsby and not Next.js + +# https://nextjs.org/blog/next-9-1#public-directory-support + +# public + +# vuepress build output + +.vuepress/dist + +# vuepress v2.x temp and cache directory + +.temp + +# Docusaurus cache and generated files + +.docusaurus + +# Serverless directories + +.serverless/ + +# FuseBox cache + +.fusebox/ + +# DynamoDB Local files + +.dynamodb/ + +# TernJS port file + +.tern-port + +# Stores VSCode versions used for testing VSCode extensions + +.vscode-test + +# yarn v2 + +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +# IntelliJ based IDEs +.idea + +# Finder (MacOS) folder config +.DS_Store diff --git a/README.md b/README.md new file mode 100644 index 0000000..14ec8d3 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# spotify-web-notifications + +To install dependencies: + +```bash +bun install +``` + +To run: + +```bash +bun run index.ts +``` + +This project was created using `bun init` in bun v1.0.23. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime. diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000000000000000000000000000000000000..7b8ecd0244e88425a81b1f4c3e1f47a5cfda0788 GIT binary patch literal 3525 zcmeHJYfuwc6izTGL@O;5JJ`V*47K>kCRqqV15~MfSSl4?SOI4sY{Ftl!tN#zd=v*% z?AX?4vA!vSD7FP!d{xo5Djg~<;&f04A9U0zqEH7P9WC_S&0dp^PGqz{{LwRW_uPB; zeBb@{p1Zq85u~!Qj4F*bt0=Qwo@O&kp(#xk{agcWqLc;;la?6Zhl)h`3g}6} zr-AnczaRV{@YTY&9Q;7HdBE`T2`^u5xzZ7KvZ4Q|gK_Fb-Saw(jYa;~M)+EyjGMSLmtf!5IjD(*u(Tw;(Pph&;tLl ziA7FccWOyh9(Q2W$l^bzZQQh8->L|G@oLQl$E=LV!hzWfB7O>tpKz0EnZ56%bO_Zo zKX(7!V@(&|Z|~M6+Xs06ogRH<;-{by^WwZA*^O0oixM$GG;H%ZdL zc$KLAc)_HmCgWY%~NT^_vx^(}9`ZJ%c8hv7T=8cP2&dlhz+E!G4-nyGPOZLXi zT&3{w>)CfZp)_(vNn%-0QFVRNRv-U@B_BrD&65ONsO|O-2gm+j3R6WyG+qPKF4{_Js`ro`1~Pm$;c_ob$^s_vC^Fh*{i=8J~Ll7Gb8l+QQh&^+iuyp%5fFdL6@hj zjc*KA9V}e;fx|mlRW!e5RnVQbLvce4?RneWc+ok=CMmOR{BqZO%^l<8u1#(dACjc3 zZrHI@H#yfB-#zt*h1-%&?UU{7D!D(H+OetjT=Po5LAKM0*~#LX^p8l#))TKLVWMZm z;~ZoEB(mJ!mnXshk9qVCR0$ujc`hd!qt$Mcr?r)!*v#}mt1#n zC59^}FQkABC&E0iJ&ai>U=HIvq9Ot8-{*j(vg{N?yqU{Uj5*abjbmuDF-ER&ZB2x0 zYj`}z>Un?oo~(>nvqFXnSv2Q&t~Bb#u7nreub!B0M_P98A zaF1Hhp%f}tI46(`&7)Gmuftj`9BptYbEq_>8FguWDo0!396PKOt7m8{H=ggRpp4Go zI4k>_O2tq{n&lV=VYX&vvV?^(s$4-TB??ud6onF;F%J!R1`p^5F#?#6=PAfA#38Vo zE$Nid&0%fkbXre8mfAfG*xiRp$YBIQq6Iu?d$1s&b68~rp(QlxzG0AFKq03j)r3X^ mSkH^O%X@^{a3_KDP&f~Q2j#950+nk3j~(hv4Sxcj!OK4qN}JdK literal 0 HcmV?d00001 diff --git a/index.ts b/index.ts new file mode 100644 index 0000000..f67b2c6 --- /dev/null +++ b/index.ts @@ -0,0 +1 @@ +console.log("Hello via Bun!"); \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..1e8a8a9 --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "spotify-web-notifications", + "module": "index.ts", + "type": "module", + "devDependencies": { + "@types/bun": "latest" + }, + "peerDependencies": { + "typescript": "^5.0.0" + } +} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..dcd8fc5 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "lib": ["ESNext"], + "target": "ESNext", + "module": "ESNext", + "moduleDetection": "force", + "jsx": "react-jsx", + "allowJs": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "verbatimModuleSyntax": true, + "noEmit": true, + + /* Linting */ + "skipLibCheck": true, + "strict": true, + "noFallthroughCasesInSwitch": true, + "forceConsistentCasingInFileNames": true + } +}