diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 45288980..0bd58331 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,13 +7,7 @@ updates: interval: "daily" - package-ecosystem: "npm" - directory: "/NPM" - schedule: - interval: "daily" - versioning-strategy: increase - - - package-ecosystem: "npm" - directory: "/website" + directory: "/" schedule: interval: "daily" versioning-strategy: increase diff --git a/.github/workflows/NPM.yml b/.github/workflows/NPM.yml index 752d0e98..f8d70f3c 100644 --- a/.github/workflows/NPM.yml +++ b/.github/workflows/NPM.yml @@ -31,9 +31,9 @@ jobs: - run: npm install -g npm - - name: Publish ./NPM + - name: Publish . continue-on-error: true - working-directory: ./NPM + working-directory: . run: | npm install --legacy-peer-deps npm publish --legacy-peer-deps --provenance diff --git a/.github/workflows/Node.yml b/.github/workflows/Node.yml index ccb993fb..92403296 100644 --- a/.github/workflows/Node.yml +++ b/.github/workflows/Node.yml @@ -79,18 +79,18 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: "pnpm" - cache-dependency-path: ./NPM/pnpm-lock.yaml + cache-dependency-path: ./pnpm-lock.yaml - run: pnpm install - working-directory: ./NPM + working-directory: . - run: pnpm run prepublishOnly - working-directory: ./NPM + working-directory: . - uses: actions/upload-artifact@v3.1.2 with: name: .-NPM-Node-${{ matrix.node-version }}-Target - path: ./NPM/Target + path: ./Target - uses: actions/setup-node@v3.7.0 with: diff --git a/NPM/.npmignore b/.npmignore similarity index 100% rename from NPM/.npmignore rename to .npmignore diff --git a/NPM/CHANGELOG.md b/CHANGELOG.md similarity index 100% rename from NPM/CHANGELOG.md rename to CHANGELOG.md diff --git a/NPM/LICENSE b/LICENSE similarity index 100% rename from NPM/LICENSE rename to LICENSE diff --git a/NPM/README.md b/README.md similarity index 100% rename from NPM/README.md rename to README.md diff --git a/NPM/Source/Bin.ts b/Source/Bin.ts similarity index 100% rename from NPM/Source/Bin.ts rename to Source/Bin.ts diff --git a/NPM/Source/Command/Build.ts b/Source/Command/Build.ts similarity index 100% rename from NPM/Source/Command/Build.ts rename to Source/Command/Build.ts diff --git a/NPM/Source/Configuration/TypeScript.json b/Source/Configuration/TypeScript.json similarity index 100% rename from NPM/Source/Configuration/TypeScript.json rename to Source/Configuration/TypeScript.json diff --git a/NPM/Source/Configuration/esbuild.ts b/Source/Configuration/esbuild.ts similarity index 100% rename from NPM/Source/Configuration/esbuild.ts rename to Source/Configuration/esbuild.ts diff --git a/NPM/Source/Index.ts b/Source/Index.ts similarity index 100% rename from NPM/Source/Index.ts rename to Source/Index.ts diff --git a/NPM/Source/Library/File.ts b/Source/Library/File.ts similarity index 100% rename from NPM/Source/Library/File.ts rename to Source/Library/File.ts diff --git a/NPM/Source/Library/JSON.ts b/Source/Library/JSON.ts similarity index 100% rename from NPM/Source/Library/JSON.ts rename to Source/Library/JSON.ts diff --git a/NPM/Target/Bin.d.ts b/Target/Bin.d.ts similarity index 100% rename from NPM/Target/Bin.d.ts rename to Target/Bin.d.ts diff --git a/NPM/Target/Bin.js b/Target/Bin.js similarity index 100% rename from NPM/Target/Bin.js rename to Target/Bin.js diff --git a/NPM/Target/Command/Build.d.ts b/Target/Command/Build.d.ts similarity index 100% rename from NPM/Target/Command/Build.d.ts rename to Target/Command/Build.d.ts diff --git a/NPM/Target/Command/Build.js b/Target/Command/Build.js similarity index 100% rename from NPM/Target/Command/Build.js rename to Target/Command/Build.js diff --git a/NPM/Target/Configuration/TypeScript.json b/Target/Configuration/TypeScript.json similarity index 100% rename from NPM/Target/Configuration/TypeScript.json rename to Target/Configuration/TypeScript.json diff --git a/NPM/Target/Configuration/esbuild.d.ts b/Target/Configuration/esbuild.d.ts similarity index 100% rename from NPM/Target/Configuration/esbuild.d.ts rename to Target/Configuration/esbuild.d.ts diff --git a/NPM/Target/Configuration/esbuild.js b/Target/Configuration/esbuild.js similarity index 100% rename from NPM/Target/Configuration/esbuild.js rename to Target/Configuration/esbuild.js diff --git a/NPM/Target/Index.d.ts b/Target/Index.d.ts similarity index 100% rename from NPM/Target/Index.d.ts rename to Target/Index.d.ts diff --git a/NPM/Target/Index.js b/Target/Index.js similarity index 100% rename from NPM/Target/Index.js rename to Target/Index.js diff --git a/NPM/Target/Library/File.d.ts b/Target/Library/File.d.ts similarity index 100% rename from NPM/Target/Library/File.d.ts rename to Target/Library/File.d.ts diff --git a/NPM/Target/Library/File.js b/Target/Library/File.js similarity index 100% rename from NPM/Target/Library/File.js rename to Target/Library/File.js diff --git a/NPM/Target/Library/JSON.d.ts b/Target/Library/JSON.d.ts similarity index 100% rename from NPM/Target/Library/JSON.d.ts rename to Target/Library/JSON.d.ts diff --git a/NPM/Target/Library/JSON.js b/Target/Library/JSON.js similarity index 100% rename from NPM/Target/Library/JSON.js rename to Target/Library/JSON.js diff --git a/NPM/package.json b/package.json similarity index 100% rename from NPM/package.json rename to package.json diff --git a/NPM/tsconfig.json b/tsconfig.json similarity index 100% rename from NPM/tsconfig.json rename to tsconfig.json diff --git a/website/.gitignore b/website/.gitignore deleted file mode 100644 index ca8e4cae..00000000 --- a/website/.gitignore +++ /dev/null @@ -1,19 +0,0 @@ -# dependencies -package-lock.json -node_modules/ -.snowpack/ - -# logs -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# environment variables -.env -.env.production - -# macOS-specific files -.DS_Store - -Target/ -.astro diff --git a/website/.npmignore b/website/.npmignore deleted file mode 100644 index a5a46192..00000000 --- a/website/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -.github/ -.turbo/ -Source/ -public/ -CONTRIBUTING.md diff --git a/website/CHANGELOG.md b/website/CHANGELOG.md deleted file mode 100644 index 43d7b3de..00000000 --- a/website/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -## 0.0.1 - -- Initial version diff --git a/website/Public/robots.txt b/website/Public/robots.txt deleted file mode 100644 index eb053628..00000000 --- a/website/Public/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: diff --git a/website/Public/site.webmanifest b/website/Public/site.webmanifest deleted file mode 100644 index 6ea903b2..00000000 --- a/website/Public/site.webmanifest +++ /dev/null @@ -1,10 +0,0 @@ -{ - "background_color": "// TODO Set the background color of the app", - "categories": [], - "display": "minimal-ui", - "name": "// TODO Use the same title as in template.html", - "orientation": "landscape", - "short_name": "// TODO Title but lowercase", - "start_url": "/", - "theme_color": "// TODO Use the same theme color from template.html" -} \ No newline at end of file diff --git a/website/README.md b/website/README.md deleted file mode 100644 index 2240773f..00000000 --- a/website/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# [astro-starter-template] 📄 - -Starter template for AstroJS. - -[astro-starter-template]: https://npmjs.org/astro-starter-template diff --git a/website/Source/Layout/Base.astro b/website/Source/Layout/Base.astro deleted file mode 100644 index 4ee5431e..00000000 --- a/website/Source/Layout/Base.astro +++ /dev/null @@ -1,56 +0,0 @@ ---- -import "@Style/Base.css"; - -// TODO Place your title and description here -const { title = "", description = "" } = Astro.props; ---- - - - - - - - - {title} - - - - - - - - - - - - - - - - - - - -
-
- -
- -
- - diff --git a/website/Source/Library/Environment.ts b/website/Source/Library/Environment.ts deleted file mode 100644 index 8993cf38..00000000 --- a/website/Source/Library/Environment.ts +++ /dev/null @@ -1,10 +0,0 @@ -import * as dotenv from "dotenv"; -import { z } from "zod"; - -dotenv.config(); - -export default z - .object({ - GH_AUTH_TOKEN: z.string().default(""), - }) - .parse(process.env); diff --git a/website/Source/Script/FIREBASE.ts b/website/Source/Script/FIREBASE.ts deleted file mode 100644 index 894d86ff..00000000 --- a/website/Source/Script/FIREBASE.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { initializeApp as Initialize } from "firebase/app"; - -Initialize({ - apiKey: "", // TODO Replace with your API key - appId: "", // TODO Replace with your app ID - authDomain: "", // TODO Replace with your auth domain - databaseURL: "", // TODO Replace with your database URL - measurementId: "", // TODO Replace with your measurement ID - messagingSenderId: "", // TODO Replace with your messaging sender ID - projectId: "", // TODO Replace with your project ID - storageBucket: "", // TODO Replace with your storage bucket -}); diff --git a/website/Source/Style/Base.css b/website/Source/Style/Base.css deleted file mode 100644 index 510ff1d5..00000000 --- a/website/Source/Style/Base.css +++ /dev/null @@ -1,4 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; -@tailwind variants; diff --git a/website/Source/Style/Global.css b/website/Source/Style/Global.css deleted file mode 100644 index 47992c48..00000000 --- a/website/Source/Style/Global.css +++ /dev/null @@ -1,24 +0,0 @@ -html { - -webkit-tap-highlight-color: transparent; -} - -html, -body { - height: 100%; -} - -body { - @apply flex - flex-grow - flex-col - antialiased - dark:bg-black - dark:text-white - sm:subpixel-antialiased; -} - -img { - @apply inline-block - select-none - outline-none; -} diff --git a/website/Source/pages/index.astro b/website/Source/pages/index.astro deleted file mode 100644 index 7bc75b93..00000000 --- a/website/Source/pages/index.astro +++ /dev/null @@ -1,5 +0,0 @@ ---- -import Base from "@Layout/Base.astro"; ---- - - diff --git a/website/astro.config.ts b/website/astro.config.ts deleted file mode 100644 index abd4cefc..00000000 --- a/website/astro.config.ts +++ /dev/null @@ -1,33 +0,0 @@ -import PreFetch from "@astrojs/prefetch"; -import SiteMap from "@astrojs/sitemap"; -import Compress from "astro-compress"; -import Critters from "astro-critters"; -import ROME from "astro-rome"; -import { defineConfig } from "astro/config"; -import Worker from "astrojs-service-worker"; - -export default defineConfig({ - srcDir: "./Source", - publicDir: "./Public", - outDir: "./Target", - // TODO Place your site URL here - // site: "", - experimental: { - assets: true, - viewTransitions: true, - }, - compressHTML: true, - integrations: [ - import.meta.env.MODE === "production" ? Worker() : null, - SiteMap(), - Critters({ Logger: 1 }), - PreFetch(), - ROME({ Logger: 1 }), - Compress({ Logger: 1 }), - ], - vite: { - build: { - sourcemap: true, - }, - }, -}); diff --git a/website/package.json b/website/package.json deleted file mode 100644 index c2461191..00000000 --- a/website/package.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "syclone-web", - "version": "2.0.0", - "private": false, - "description": "", - "keywords": [ - "astro", - "starter" - ], - "homepage": "https://github.com/NikolaRHristov/Syclone#readme", - "bugs": { - "url": "https://github.com/NikolaRHristov/Syclone/issues" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/NikolaRHristov/Syclone.git", - "directory": "website" - }, - "scripts": { - "build": "astro check && astro build", - "start": "astro dev" - }, - "devDependencies": { - "@astrojs/prefetch": "0.3.0", - "@astrojs/sitemap": "2.0.1", - "@tailwindcss/aspect-ratio": "0.4.2", - "@tailwindcss/forms": "0.5.4", - "@tailwindcss/typography": "0.5.9", - "astro": "2.10.7", - "astro-compress": "2.0.5", - "astro-critters": "2.0.4", - "astro-rome": "2.0.1", - "astrojs-service-worker": "1.0.0", - "autoprefixer": "10.4.14", - "cssnano": "6.0.1", - "cssnano-preset-advanced": "6.0.1", - "dotenv": "16.3.1", - "firebase": "10.1.0", - "postcss": "8.4.27", - "postcss-combine-duplicated-selectors": "10.0.3", - "postcss-combine-media-query": "1.0.1", - "postcss-import": "15.1.0", - "postcss-reporter": "7.0.5", - "postcss-url": "10.1.3", - "tailwindcss": "3.3.3", - "zod": "3.21.4" - }, - "publishConfig": { - "access": "public" - } -} diff --git a/website/postcss.config.js b/website/postcss.config.js deleted file mode 100644 index 569db63d..00000000 --- a/website/postcss.config.js +++ /dev/null @@ -1,17 +0,0 @@ -// @ts-nocheck -module.exports = { - plugins: [ - require("postcss-import"), - require("postcss-url"), - require("tailwindcss/nesting"), - require("tailwindcss")("./tailwind.config.js"), - require("postcss-combine-media-query"), - require("postcss-combine-duplicated-selectors")({ - removeDuplicatedProperties: true, - removeDuplicatedValues: false, - }), - require("autoprefixer"), - require("cssnano")({ preset: "advanced" }), - require("postcss-reporter"), - ], -}; diff --git a/website/tailwind.config.js b/website/tailwind.config.js deleted file mode 100644 index c9de3266..00000000 --- a/website/tailwind.config.js +++ /dev/null @@ -1,29 +0,0 @@ -module.exports = { - content: [ - "./Public/**/*.html", - "./Source/**/*.{astro,js,jsx,ts,tsx,vue,svelte}", - ], - darkMode: "media", - theme: { - container: { - center: true, - }, - extend: { - typography: { - DEFAULT: { - css: { - a: { - "font-weight": "400", - }, - }, - }, - }, - }, - }, - variants: {}, - plugins: [ - require("@tailwindcss/forms"), - require("@tailwindcss/typography"), - require("@tailwindcss/aspect-ratio"), - ], -}; diff --git a/website/tsconfig.json b/website/tsconfig.json deleted file mode 100644 index 51baa8b4..00000000 --- a/website/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": "./", - "moduleResolution": "bundler", - "paths": { - "@Asset/*": ["Source/Asset/*"], - "@Component/*": ["Source/Component/*"], - "@Layout/*": ["Source/Layout/*"], - "@Library/*": ["Source/Library/*"], - "@Option/*": ["Source/Option/*"], - "@Page/*": ["Source/pages/*"], - "@Script/*": ["Source/Script/*"], - "@Style/*": ["Source/Style/*"] - }, - "types": ["astro/client", "astro/client-image", "astro/env"] - }, - "extends": "syclone/Source/Configuration/TypeScript", -}