From 02b0a134f5aa88583c86070a1235a148d6e51996 Mon Sep 17 00:00:00 2001 From: HexaField Date: Tue, 6 Aug 2024 09:12:33 +1000 Subject: [PATCH] remove code specific project files --- .mocharc.js | 47 --------------------------------------------- package.json | 24 ----------------------- tests/dummy.test.ts | 24 ----------------------- tests/mocha.env.js | 37 ----------------------------------- tsconfig.json | 36 ---------------------------------- 5 files changed, 168 deletions(-) delete mode 100644 .mocharc.js delete mode 100644 package.json delete mode 100644 tests/dummy.test.ts delete mode 100644 tests/mocha.env.js delete mode 100644 tsconfig.json diff --git a/.mocharc.js b/.mocharc.js deleted file mode 100644 index 2388b4f..0000000 --- a/.mocharc.js +++ /dev/null @@ -1,47 +0,0 @@ - -/* -CPAL-1.0 License - -The contents of this file are subject to the Common Public Attribution License -Version 1.0. (the "License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at -https://github.com/EtherealEngine/etherealengine/blob/dev/LICENSE. -The License is based on the Mozilla Public License Version 1.1, but Sections 14 -and 15 have been added to cover use of software over a computer network and -provide for limited attribution for the Original Developer. In addition, -Exhibit A has been modified to be consistent with Exhibit B. - -Software distributed under the License is distributed on an "AS IS" basis, -WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the -specific language governing rights and limitations under the License. - -The Original Code is Ethereal Engine. - -The Original Developer is the Initial Developer. The Initial Developer of the -Original Code is the Ethereal Engine team. - -All portions of the code written by the Ethereal Engine team are Copyright © 2021-2023 -Ethereal Engine. All Rights Reserved. -*/ - -module.exports = { - failZero: false, - parallel: false, - require: [ - 'tests/mocha.env', // init env here - 'jsdom-global/register' - ], - spec: [ - './**/*.test.ts', - './**/*.test.tsx' - ], - extension: [ - 'ts', - 'tsx' - ], - bail: true, - exit: true, - recursive: true, - jobs: '1', - timeout: '60000' -}; diff --git a/package.json b/package.json deleted file mode 100644 index 3737ff4..0000000 --- a/package.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "ir-vfx", - "version": "0.0.0", - "scripts": { - "test": "mocha --config .mocharc.js", - "check-errors": "tsc --noemit", - "format": "prettier --write \"**/*.{ts,tsx}\"", - "format-scss": "stylelint \"**/*.scss\" --fix", - "format-staged": "lint-staged", - "precommit": "no-master-commits -b master" - }, - "license": "ISC", - "pre-commit": [ - "format-staged" - ], - "lint-staged": { - "*.{ts,tsx}": [ - "prettier --write" - ], - "*.scss": [ - "stylelint --fix" - ] - } -} \ No newline at end of file diff --git a/tests/dummy.test.ts b/tests/dummy.test.ts deleted file mode 100644 index 1cbd7e6..0000000 --- a/tests/dummy.test.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* -CPAL-1.0 License - -The contents of this file are subject to the Common Public Attribution License -Version 1.0. (the "License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at -https://github.com/EtherealEngine/etherealengine/blob/dev/LICENSE. -The License is based on the Mozilla Public License Version 1.1, but Sections 14 -and 15 have been added to cover use of software over a computer network and -provide for limited attribution for the Original Developer. In addition, -Exhibit A has been modified to be consistent with Exhibit B. - -Software distributed under the License is distributed on an "AS IS" basis, -WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the -specific language governing rights and limitations under the License. - -The Original Code is Ethereal Engine. - -The Original Developer is the Initial Developer. The Initial Developer of the -Original Code is the Ethereal Engine team. - -All portions of the code written by the Ethereal Engine team are Copyright © 2021-2023 -Ethereal Engine. All Rights Reserved. -*/ diff --git a/tests/mocha.env.js b/tests/mocha.env.js deleted file mode 100644 index e944856..0000000 --- a/tests/mocha.env.js +++ /dev/null @@ -1,37 +0,0 @@ - -/* -CPAL-1.0 License - -The contents of this file are subject to the Common Public Attribution License -Version 1.0. (the "License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at -https://github.com/EtherealEngine/etherealengine/blob/dev/LICENSE. -The License is based on the Mozilla Public License Version 1.1, but Sections 14 -and 15 have been added to cover use of software over a computer network and -provide for limited attribution for the Original Developer. In addition, -Exhibit A has been modified to be consistent with Exhibit B. - -Software distributed under the License is distributed on an "AS IS" basis, -WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the -specific language governing rights and limitations under the License. - -The Original Code is Ethereal Engine. - -The Original Developer is the Initial Developer. The Initial Developer of the -Original Code is the Ethereal Engine team. - -All portions of the code written by the Ethereal Engine team are Copyright © 2021-2023 -Ethereal Engine. All Rights Reserved. -*/ - -process.env.APP_ENV = 'test' -process.env.NODE_ENV = 'test' -process.env.NODE_TLS_REJECT_UNAUTHORIZED='0' - -require("ts-node").register({ - project: './tsconfig.json', - files: true, - swc: true -}) - -require("fix-esm").register() diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index 272b271..0000000 --- a/tsconfig.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "compilerOptions": { - "target": "esnext", - "lib": ["esnext", "dom", "dom.iterable", "WebWorker"], - "allowJs": true, - "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true, - "module": "CommonJS", - "strict": false, - "strictNullChecks": true, - "strictBindCallApply": true, - "noImplicitAny": false, - "resolveJsonModule": true, - "esModuleInterop": true, - "moduleResolution": "node", - "sourceMap": true, - "jsx": "react", - "isolatedModules": true, - "experimentalDecorators": true, - "allowSyntheticDefaultImports": true, - "emitDecoratorMetadata": true, - "declaration": true, - "outDir": "./lib", - "types": ["vite/client", "mocha"] - }, - "exclude": [ - "**/node_modules/**" - ], - "include": [ - "../../../../__global.d.ts", - "../../../server-core/src/*", - "../**/*.ts", - "../**/*.tsx" - ] -}