From 1c3194a03b7041d0ff01b71f9f2464f385b0109f Mon Sep 17 00:00:00 2001 From: trickypr <23250792+trickypr@users.noreply.github.com> Date: Mon, 13 Nov 2023 19:27:42 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Move=20config=20files=20into=20`?= =?UTF-8?q?.config`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .prettierignore => .config/.prettierignore | 0 .prettierrc => .config/.prettierrc | 0 {.webpack => .config}/webpack.config.cjs | 1 - package.json | 4 ++-- src/content/tests/search/index.ts | 0 src/content/tests/tests.ts | 7 ------- 6 files changed, 2 insertions(+), 10 deletions(-) rename .prettierignore => .config/.prettierignore (100%) rename .prettierrc => .config/.prettierrc (100%) rename {.webpack => .config}/webpack.config.cjs (98%) delete mode 100644 src/content/tests/search/index.ts delete mode 100644 src/content/tests/tests.ts diff --git a/.prettierignore b/.config/.prettierignore similarity index 100% rename from .prettierignore rename to .config/.prettierignore diff --git a/.prettierrc b/.config/.prettierrc similarity index 100% rename from .prettierrc rename to .config/.prettierrc diff --git a/.webpack/webpack.config.cjs b/.config/webpack.config.cjs similarity index 98% rename from .webpack/webpack.config.cjs rename to .config/webpack.config.cjs index d7b618c..81700f9 100644 --- a/.webpack/webpack.config.cjs +++ b/.config/webpack.config.cjs @@ -28,7 +28,6 @@ exports.default = (env, argv) => { { title: 'Settings', folder: 'settings', outFolder: 'settings' }, { title: 'Bookmarks', folder: 'bookmarks', outFolder: 'bookmarks' }, { title: 'Credits', folder: 'credits', outFolder: 'credits' }, - { title: 'Unit Tests', folder: 'tests', outFolder: 'tests' }, ], dev, ) diff --git a/package.json b/package.json index 6c8a6bf..70b7059 100644 --- a/package.json +++ b/package.json @@ -12,11 +12,11 @@ "app:start": "MOZ_ENABLE_WAYLAND=1 ./.store/rt/quark-runtime -no-remote", "app:startX": "./.store/rt/quark-runtime -no-remote", "build": "rm -rf dist && concurrently -c auto pnpm:build-*", - "build-content": "webpack --mode production", + "build-content": "webpack --mode production -c ./.config/webpack.conf.cjs", "build-modules": "tsc -p ./tsconfigs/tsconfig.modules.json", "build-actors": "tsc -p ./tsconfigs/tsconfig.actors.json", "dev": "concurrently -c auto pnpm:dev-*", - "dev-content": "webpack serve --mode development", + "dev-content": "webpack serve --mode development -c ./.config/webpack.config.cjs", "dev-modules": "tsc -w -p ./tsconfigs/tsconfig.modules.json", "dev-actors": "tsc -w -p ./tsconfigs/tsconfig.actors.json", "rt:slink": "rm --force ./.store/artifact.tar.bz2 && ln -s ../../experiment-runtime/dist/experiment-runtime-1.0.0.en-US.linux-x86_64.tar.bz2 ./.store/artifact.tar.bz2", diff --git a/src/content/tests/search/index.ts b/src/content/tests/search/index.ts deleted file mode 100644 index e69de29..0000000 diff --git a/src/content/tests/tests.ts b/src/content/tests/tests.ts deleted file mode 100644 index 7ece5b9..0000000 --- a/src/content/tests/tests.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { setup, run } from 'mocha' - -setup('bdd') - -import './search' - -run()