From 477724e751a9caf161ff678202f6f9e1c9bdf70d Mon Sep 17 00:00:00 2001 From: Gustav Eikaas Date: Thu, 30 Nov 2023 12:19:41 +0100 Subject: [PATCH 1/6] chore: :truck: moved to cc-reports --- reports/JCA-reports/README.md | 3 --- .../JCA-reports/jcainstallation/CHANGELOG.md | 16 ------------- reports/JCA-reports/jcainstallation/README.md | 3 --- .../jcainstallation/app-manifest.json | 10 -------- .../JCA-reports/jcainstallation/package.json | 23 ------------------- reports/JCA-reports/jcainstallation/prod.skip | 0 .../JCA-reports/jcainstallation/src/main.tsx | 18 --------------- .../jcainstallation/tsconfig.app.json | 22 ------------------ .../JCA-reports/jcainstallation/tsconfig.json | 22 ------------------ .../jcainstallation/vite.config.ts | 19 --------------- .../jcaprogresssummary/CHANGELOG.md | 3 --- .../JCA-reports/jcaprogresssummary/README.md | 3 --- .../jcaprogresssummary/package.json | 23 ------------------- .../JCA-reports/jcaprogresssummary/prod.skip | 0 .../jcaprogresssummary/src/main.tsx | 18 --------------- .../jcaprogresssummary/tsconfig.app.json | 22 ------------------ .../jcaprogresssummary/tsconfig.json | 22 ------------------ .../jcaprogresssummary/vite.config.ts | 19 --------------- reports/JCA-reports/jcaspools/CHANGELOG.md | 12 ---------- reports/JCA-reports/jcaspools/README.md | 3 --- reports/JCA-reports/jcaspools/package.json | 23 ------------------- reports/JCA-reports/jcaspools/prod.skip | 0 reports/JCA-reports/jcaspools/src/main.tsx | 18 --------------- .../JCA-reports/jcaspools/tsconfig.app.json | 22 ------------------ reports/JCA-reports/jcaspools/tsconfig.json | 22 ------------------ reports/JCA-reports/jcaspools/vite.config.ts | 19 --------------- .../jcaworkpreparation/CHANGELOG.md | 12 ---------- .../JCA-reports/jcaworkpreparation/README.md | 3 --- .../jcaworkpreparation/package.json | 23 ------------------- .../JCA-reports/jcaworkpreparation/prod.skip | 0 .../jcaworkpreparation/src/main.tsx | 18 --------------- .../jcaworkpreparation/tsconfig.app.json | 22 ------------------ .../jcaworkpreparation/tsconfig.json | 22 ------------------ .../jcaworkpreparation/vite.config.ts | 19 --------------- 34 files changed, 484 deletions(-) delete mode 100644 reports/JCA-reports/README.md delete mode 100644 reports/JCA-reports/jcainstallation/CHANGELOG.md delete mode 100644 reports/JCA-reports/jcainstallation/README.md delete mode 100644 reports/JCA-reports/jcainstallation/app-manifest.json delete mode 100644 reports/JCA-reports/jcainstallation/package.json delete mode 100644 reports/JCA-reports/jcainstallation/prod.skip delete mode 100644 reports/JCA-reports/jcainstallation/src/main.tsx delete mode 100644 reports/JCA-reports/jcainstallation/tsconfig.app.json delete mode 100644 reports/JCA-reports/jcainstallation/tsconfig.json delete mode 100644 reports/JCA-reports/jcainstallation/vite.config.ts delete mode 100644 reports/JCA-reports/jcaprogresssummary/CHANGELOG.md delete mode 100644 reports/JCA-reports/jcaprogresssummary/README.md delete mode 100644 reports/JCA-reports/jcaprogresssummary/package.json delete mode 100644 reports/JCA-reports/jcaprogresssummary/prod.skip delete mode 100644 reports/JCA-reports/jcaprogresssummary/src/main.tsx delete mode 100644 reports/JCA-reports/jcaprogresssummary/tsconfig.app.json delete mode 100644 reports/JCA-reports/jcaprogresssummary/tsconfig.json delete mode 100644 reports/JCA-reports/jcaprogresssummary/vite.config.ts delete mode 100644 reports/JCA-reports/jcaspools/CHANGELOG.md delete mode 100644 reports/JCA-reports/jcaspools/README.md delete mode 100644 reports/JCA-reports/jcaspools/package.json delete mode 100644 reports/JCA-reports/jcaspools/prod.skip delete mode 100644 reports/JCA-reports/jcaspools/src/main.tsx delete mode 100644 reports/JCA-reports/jcaspools/tsconfig.app.json delete mode 100644 reports/JCA-reports/jcaspools/tsconfig.json delete mode 100644 reports/JCA-reports/jcaspools/vite.config.ts delete mode 100644 reports/JCA-reports/jcaworkpreparation/CHANGELOG.md delete mode 100644 reports/JCA-reports/jcaworkpreparation/README.md delete mode 100644 reports/JCA-reports/jcaworkpreparation/package.json delete mode 100644 reports/JCA-reports/jcaworkpreparation/prod.skip delete mode 100644 reports/JCA-reports/jcaworkpreparation/src/main.tsx delete mode 100644 reports/JCA-reports/jcaworkpreparation/tsconfig.app.json delete mode 100644 reports/JCA-reports/jcaworkpreparation/tsconfig.json delete mode 100644 reports/JCA-reports/jcaworkpreparation/vite.config.ts diff --git a/reports/JCA-reports/README.md b/reports/JCA-reports/README.md deleted file mode 100644 index 9fc148bf7..000000000 --- a/reports/JCA-reports/README.md +++ /dev/null @@ -1,3 +0,0 @@ -## Johan Castberg reports - -All reports specific to Johan Castberg recides in this folder diff --git a/reports/JCA-reports/jcainstallation/CHANGELOG.md b/reports/JCA-reports/jcainstallation/CHANGELOG.md deleted file mode 100644 index 4ab00f5e6..000000000 --- a/reports/JCA-reports/jcainstallation/CHANGELOG.md +++ /dev/null @@ -1,16 +0,0 @@ -## Version 0.0.6 - -Add new module concepts to lower bundle size. -Inject process env correctly - -## Version 0.0.5 - -Inject process.env to dev build - -## Version 0.0.4 - -Test new rollup inject plugin - -## Version 0.0.3 - -Bump fusion-framework packages diff --git a/reports/JCA-reports/jcainstallation/README.md b/reports/JCA-reports/jcainstallation/README.md deleted file mode 100644 index 9d0aa0982..000000000 --- a/reports/JCA-reports/jcainstallation/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# jcainstallation - -Add readme diff --git a/reports/JCA-reports/jcainstallation/app-manifest.json b/reports/JCA-reports/jcainstallation/app-manifest.json deleted file mode 100644 index 84deedc43..000000000 --- a/reports/JCA-reports/jcainstallation/app-manifest.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "Installation", - "shortName": "installation", - "key": "jca-installation", - "version": { - "major": "0", - "minor": "0", - "patch": "6" - } -} diff --git a/reports/JCA-reports/jcainstallation/package.json b/reports/JCA-reports/jcainstallation/package.json deleted file mode 100644 index f0c0cc251..000000000 --- a/reports/JCA-reports/jcainstallation/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "jca-installation", - "displayName": "Installation", - "shortName": "installation", - "version": "0.0.8", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/JCA-reports/jcainstallation/prod.skip b/reports/JCA-reports/jcainstallation/prod.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/reports/JCA-reports/jcainstallation/src/main.tsx b/reports/JCA-reports/jcainstallation/src/main.tsx deleted file mode 100644 index 23c4abeda..000000000 --- a/reports/JCA-reports/jcainstallation/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - - - ); -}; - -export const render = createRender(MyApp, configure); -export default render; diff --git a/reports/JCA-reports/jcainstallation/tsconfig.app.json b/reports/JCA-reports/jcainstallation/tsconfig.app.json deleted file mode 100644 index 702b08d90..000000000 --- a/reports/JCA-reports/jcainstallation/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/JCA-reports/jcainstallation/tsconfig.json b/reports/JCA-reports/jcainstallation/tsconfig.json deleted file mode 100644 index 82c56a9ef..000000000 --- a/reports/JCA-reports/jcainstallation/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/JCA-reports/jcainstallation/vite.config.ts b/reports/JCA-reports/jcainstallation/vite.config.ts deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/reports/JCA-reports/jcainstallation/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/JCA-reports/jcaprogresssummary/CHANGELOG.md b/reports/JCA-reports/jcaprogresssummary/CHANGELOG.md deleted file mode 100644 index c7b0ef975..000000000 --- a/reports/JCA-reports/jcaprogresssummary/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -## Version 0.0.1 - -Init app diff --git a/reports/JCA-reports/jcaprogresssummary/README.md b/reports/JCA-reports/jcaprogresssummary/README.md deleted file mode 100644 index 3a29aa358..000000000 --- a/reports/JCA-reports/jcaprogresssummary/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# jca-reports-jcaprogresssummary - -Add readme diff --git a/reports/JCA-reports/jcaprogresssummary/package.json b/reports/JCA-reports/jcaprogresssummary/package.json deleted file mode 100644 index 8de40c124..000000000 --- a/reports/JCA-reports/jcaprogresssummary/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "jca-progress-summary", - "displayName": "Progress summary", - "shortName": "progress-summary", - "version": "0.0.1", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/JCA-reports/jcaprogresssummary/prod.skip b/reports/JCA-reports/jcaprogresssummary/prod.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/reports/JCA-reports/jcaprogresssummary/src/main.tsx b/reports/JCA-reports/jcaprogresssummary/src/main.tsx deleted file mode 100644 index 38f46e2ef..000000000 --- a/reports/JCA-reports/jcaprogresssummary/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const ProgressSummary = () => { - return ( - - - - ); -}; - -export const render = createRender(ProgressSummary, configure); -export default render; diff --git a/reports/JCA-reports/jcaprogresssummary/tsconfig.app.json b/reports/JCA-reports/jcaprogresssummary/tsconfig.app.json deleted file mode 100644 index 8effb71fe..000000000 --- a/reports/JCA-reports/jcaprogresssummary/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/JCA-reports/jcaprogresssummary/tsconfig.json b/reports/JCA-reports/jcaprogresssummary/tsconfig.json deleted file mode 100644 index 60752ddb9..000000000 --- a/reports/JCA-reports/jcaprogresssummary/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/JCA-reports/jcaprogresssummary/vite.config.ts b/reports/JCA-reports/jcaprogresssummary/vite.config.ts deleted file mode 100644 index 30db614d0..000000000 --- a/reports/JCA-reports/jcaprogresssummary/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/JCA-reports/jcaspools/CHANGELOG.md b/reports/JCA-reports/jcaspools/CHANGELOG.md deleted file mode 100644 index 240acc77b..000000000 --- a/reports/JCA-reports/jcaspools/CHANGELOG.md +++ /dev/null @@ -1,12 +0,0 @@ -## Version 0.0.4 - -Add new module concepts to lower bundle size. -Inject process env correctly - -## Version 0.0.3 - -Inject process.env to bundle - -## Version 0.0.2 - -Bump fusion-framework packages diff --git a/reports/JCA-reports/jcaspools/README.md b/reports/JCA-reports/jcaspools/README.md deleted file mode 100644 index 2351feef7..000000000 --- a/reports/JCA-reports/jcaspools/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# jcaspools - -Add readme diff --git a/reports/JCA-reports/jcaspools/package.json b/reports/JCA-reports/jcaspools/package.json deleted file mode 100644 index a0ffb9e74..000000000 --- a/reports/JCA-reports/jcaspools/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "jca-spools", - "displayName": "Spools", - "shortName": "spools", - "version": "0.0.5", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/JCA-reports/jcaspools/prod.skip b/reports/JCA-reports/jcaspools/prod.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/reports/JCA-reports/jcaspools/src/main.tsx b/reports/JCA-reports/jcaspools/src/main.tsx deleted file mode 100644 index 3ae39674e..000000000 --- a/reports/JCA-reports/jcaspools/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - - - ); -}; -export const render = createRender(MyApp, configure); -export default render; diff --git a/reports/JCA-reports/jcaspools/tsconfig.app.json b/reports/JCA-reports/jcaspools/tsconfig.app.json deleted file mode 100644 index 702b08d90..000000000 --- a/reports/JCA-reports/jcaspools/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/JCA-reports/jcaspools/tsconfig.json b/reports/JCA-reports/jcaspools/tsconfig.json deleted file mode 100644 index 82c56a9ef..000000000 --- a/reports/JCA-reports/jcaspools/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/JCA-reports/jcaspools/vite.config.ts b/reports/JCA-reports/jcaspools/vite.config.ts deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/reports/JCA-reports/jcaspools/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/JCA-reports/jcaworkpreparation/CHANGELOG.md b/reports/JCA-reports/jcaworkpreparation/CHANGELOG.md deleted file mode 100644 index 240acc77b..000000000 --- a/reports/JCA-reports/jcaworkpreparation/CHANGELOG.md +++ /dev/null @@ -1,12 +0,0 @@ -## Version 0.0.4 - -Add new module concepts to lower bundle size. -Inject process env correctly - -## Version 0.0.3 - -Inject process.env to bundle - -## Version 0.0.2 - -Bump fusion-framework packages diff --git a/reports/JCA-reports/jcaworkpreparation/README.md b/reports/JCA-reports/jcaworkpreparation/README.md deleted file mode 100644 index 94c3696b8..000000000 --- a/reports/JCA-reports/jcaworkpreparation/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# jcaworkpreparation - -Add readme diff --git a/reports/JCA-reports/jcaworkpreparation/package.json b/reports/JCA-reports/jcaworkpreparation/package.json deleted file mode 100644 index 112301191..000000000 --- a/reports/JCA-reports/jcaworkpreparation/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "jca-work-preparation", - "displayName": "Work Preparation", - "shortName": "work-preparation", - "version": "0.0.5", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/JCA-reports/jcaworkpreparation/prod.skip b/reports/JCA-reports/jcaworkpreparation/prod.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/reports/JCA-reports/jcaworkpreparation/src/main.tsx b/reports/JCA-reports/jcaworkpreparation/src/main.tsx deleted file mode 100644 index d8ec9f581..000000000 --- a/reports/JCA-reports/jcaworkpreparation/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const WorkPreparation = () => { - return ( - - - - ); -}; - -export const render = createRender(WorkPreparation, configure); -export default render; diff --git a/reports/JCA-reports/jcaworkpreparation/tsconfig.app.json b/reports/JCA-reports/jcaworkpreparation/tsconfig.app.json deleted file mode 100644 index 702b08d90..000000000 --- a/reports/JCA-reports/jcaworkpreparation/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/JCA-reports/jcaworkpreparation/tsconfig.json b/reports/JCA-reports/jcaworkpreparation/tsconfig.json deleted file mode 100644 index 82c56a9ef..000000000 --- a/reports/JCA-reports/jcaworkpreparation/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/JCA-reports/jcaworkpreparation/vite.config.ts b/reports/JCA-reports/jcaworkpreparation/vite.config.ts deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/reports/JCA-reports/jcaworkpreparation/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); From 387d9389d6bf2b913a1ac7a3b43a3a6e9611cfc7 Mon Sep 17 00:00:00 2001 From: Gustav Eikaas Date: Thu, 30 Nov 2023 13:50:03 +0100 Subject: [PATCH 2/6] chore: :truck: moved reports --- reports/ads-engineering-meeting/package.json | 22 ------------------- reports/ads-engineering-meeting/prod.skip | 0 reports/ads-engineering-meeting/src/main.tsx | 18 --------------- .../ads-engineering-meeting/tsconfig.app.json | 22 ------------------- reports/ads-engineering-meeting/tsconfig.json | 22 ------------------- .../ads-engineering-meeting/vite.config.ts | 19 ---------------- reports/ads-monthly-meeting/package.json | 22 ------------------- reports/ads-monthly-meeting/prod.skip | 0 reports/ads-monthly-meeting/src/main.tsx | 18 --------------- reports/ads-monthly-meeting/tsconfig.app.json | 22 ------------------- reports/ads-monthly-meeting/tsconfig.json | 22 ------------------- reports/ads-monthly-meeting/vite.config.ts | 19 ---------------- .../ads-offshore-installation/package.json | 22 ------------------- reports/ads-offshore-installation/prod.skip | 0 .../ads-offshore-installation/src/main.tsx | 18 --------------- .../tsconfig.app.json | 22 ------------------- .../ads-offshore-installation/tsconfig.json | 22 ------------------- .../ads-offshore-installation/vite.config.ts | 19 ---------------- reports/ads-schedule-viewer/CHANGELOG.md | 3 --- reports/ads-schedule-viewer/README.md | 3 --- reports/ads-schedule-viewer/package.json | 22 ------------------- reports/ads-schedule-viewer/prod.skip | 0 reports/ads-schedule-viewer/src/main.tsx | 18 --------------- reports/ads-schedule-viewer/tsconfig.app.json | 22 ------------------- reports/ads-schedule-viewer/tsconfig.json | 22 ------------------- reports/ads-schedule-viewer/vite.config.ts | 19 ---------------- reports/ads-weekly-meeting/package.json | 22 ------------------- reports/ads-weekly-meeting/prod.skip | 0 reports/ads-weekly-meeting/src/main.tsx | 18 --------------- reports/ads-weekly-meeting/tsconfig.app.json | 22 ------------------- reports/ads-weekly-meeting/tsconfig.json | 22 ------------------- reports/ads-weekly-meeting/vite.config.ts | 19 ---------------- 32 files changed, 521 deletions(-) delete mode 100644 reports/ads-engineering-meeting/package.json delete mode 100644 reports/ads-engineering-meeting/prod.skip delete mode 100644 reports/ads-engineering-meeting/src/main.tsx delete mode 100644 reports/ads-engineering-meeting/tsconfig.app.json delete mode 100644 reports/ads-engineering-meeting/tsconfig.json delete mode 100644 reports/ads-engineering-meeting/vite.config.ts delete mode 100644 reports/ads-monthly-meeting/package.json delete mode 100644 reports/ads-monthly-meeting/prod.skip delete mode 100644 reports/ads-monthly-meeting/src/main.tsx delete mode 100644 reports/ads-monthly-meeting/tsconfig.app.json delete mode 100644 reports/ads-monthly-meeting/tsconfig.json delete mode 100644 reports/ads-monthly-meeting/vite.config.ts delete mode 100644 reports/ads-offshore-installation/package.json delete mode 100644 reports/ads-offshore-installation/prod.skip delete mode 100644 reports/ads-offshore-installation/src/main.tsx delete mode 100644 reports/ads-offshore-installation/tsconfig.app.json delete mode 100644 reports/ads-offshore-installation/tsconfig.json delete mode 100644 reports/ads-offshore-installation/vite.config.ts delete mode 100644 reports/ads-schedule-viewer/CHANGELOG.md delete mode 100644 reports/ads-schedule-viewer/README.md delete mode 100644 reports/ads-schedule-viewer/package.json delete mode 100644 reports/ads-schedule-viewer/prod.skip delete mode 100644 reports/ads-schedule-viewer/src/main.tsx delete mode 100644 reports/ads-schedule-viewer/tsconfig.app.json delete mode 100644 reports/ads-schedule-viewer/tsconfig.json delete mode 100644 reports/ads-schedule-viewer/vite.config.ts delete mode 100644 reports/ads-weekly-meeting/package.json delete mode 100644 reports/ads-weekly-meeting/prod.skip delete mode 100644 reports/ads-weekly-meeting/src/main.tsx delete mode 100644 reports/ads-weekly-meeting/tsconfig.app.json delete mode 100644 reports/ads-weekly-meeting/tsconfig.json delete mode 100644 reports/ads-weekly-meeting/vite.config.ts diff --git a/reports/ads-engineering-meeting/package.json b/reports/ads-engineering-meeting/package.json deleted file mode 100644 index 6d92434ab..000000000 --- a/reports/ads-engineering-meeting/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "ads-engineering-meeting", - "displayName": "ADS Engineering Meeting", - "version": "0.0.1", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/ads-engineering-meeting/prod.skip b/reports/ads-engineering-meeting/prod.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/reports/ads-engineering-meeting/src/main.tsx b/reports/ads-engineering-meeting/src/main.tsx deleted file mode 100644 index e157b2347..000000000 --- a/reports/ads-engineering-meeting/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - - - ); -}; - -export const render = createRender(MyApp, configure); -export default render; diff --git a/reports/ads-engineering-meeting/tsconfig.app.json b/reports/ads-engineering-meeting/tsconfig.app.json deleted file mode 100644 index 8effb71fe..000000000 --- a/reports/ads-engineering-meeting/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/ads-engineering-meeting/tsconfig.json b/reports/ads-engineering-meeting/tsconfig.json deleted file mode 100644 index a6adc9189..000000000 --- a/reports/ads-engineering-meeting/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/ads-engineering-meeting/vite.config.ts b/reports/ads-engineering-meeting/vite.config.ts deleted file mode 100644 index 30db614d0..000000000 --- a/reports/ads-engineering-meeting/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/ads-monthly-meeting/package.json b/reports/ads-monthly-meeting/package.json deleted file mode 100644 index 45c007857..000000000 --- a/reports/ads-monthly-meeting/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "ads-monthly-meeting", - "displayName": "ADS Monthly Meeting", - "version": "0.0.1", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/ads-monthly-meeting/prod.skip b/reports/ads-monthly-meeting/prod.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/reports/ads-monthly-meeting/src/main.tsx b/reports/ads-monthly-meeting/src/main.tsx deleted file mode 100644 index 543cc8c2c..000000000 --- a/reports/ads-monthly-meeting/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - - - ); -}; - -export const render = createRender(MyApp, configure); -export default render; diff --git a/reports/ads-monthly-meeting/tsconfig.app.json b/reports/ads-monthly-meeting/tsconfig.app.json deleted file mode 100644 index 8effb71fe..000000000 --- a/reports/ads-monthly-meeting/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/ads-monthly-meeting/tsconfig.json b/reports/ads-monthly-meeting/tsconfig.json deleted file mode 100644 index a6adc9189..000000000 --- a/reports/ads-monthly-meeting/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/ads-monthly-meeting/vite.config.ts b/reports/ads-monthly-meeting/vite.config.ts deleted file mode 100644 index 30db614d0..000000000 --- a/reports/ads-monthly-meeting/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/ads-offshore-installation/package.json b/reports/ads-offshore-installation/package.json deleted file mode 100644 index 9dd1a7f8d..000000000 --- a/reports/ads-offshore-installation/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "ads-offshore-installation", - "displayName": "ADS Offshore Installation Trends", - "version": "0.0.1", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/ads-offshore-installation/prod.skip b/reports/ads-offshore-installation/prod.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/reports/ads-offshore-installation/src/main.tsx b/reports/ads-offshore-installation/src/main.tsx deleted file mode 100644 index 0a1f60efd..000000000 --- a/reports/ads-offshore-installation/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - - - ); -}; - -export const render = createRender(MyApp, configure); -export default render; diff --git a/reports/ads-offshore-installation/tsconfig.app.json b/reports/ads-offshore-installation/tsconfig.app.json deleted file mode 100644 index 8effb71fe..000000000 --- a/reports/ads-offshore-installation/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/ads-offshore-installation/tsconfig.json b/reports/ads-offshore-installation/tsconfig.json deleted file mode 100644 index a6adc9189..000000000 --- a/reports/ads-offshore-installation/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/ads-offshore-installation/vite.config.ts b/reports/ads-offshore-installation/vite.config.ts deleted file mode 100644 index 30db614d0..000000000 --- a/reports/ads-offshore-installation/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/ads-schedule-viewer/CHANGELOG.md b/reports/ads-schedule-viewer/CHANGELOG.md deleted file mode 100644 index c7b0ef975..000000000 --- a/reports/ads-schedule-viewer/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -## Version 0.0.1 - -Init app diff --git a/reports/ads-schedule-viewer/README.md b/reports/ads-schedule-viewer/README.md deleted file mode 100644 index c91014cff..000000000 --- a/reports/ads-schedule-viewer/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ads-schedule-viewer - -Add readme diff --git a/reports/ads-schedule-viewer/package.json b/reports/ads-schedule-viewer/package.json deleted file mode 100644 index bf2c9df3a..000000000 --- a/reports/ads-schedule-viewer/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "ads-schedule-viewer", - "displayName": "ADS Schedule Viewer", - "version": "0.0.1", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/ads-schedule-viewer/prod.skip b/reports/ads-schedule-viewer/prod.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/reports/ads-schedule-viewer/src/main.tsx b/reports/ads-schedule-viewer/src/main.tsx deleted file mode 100644 index 39fc06652..000000000 --- a/reports/ads-schedule-viewer/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - - - ); -}; - -export const render = createRender(MyApp, configure); -export default render; diff --git a/reports/ads-schedule-viewer/tsconfig.app.json b/reports/ads-schedule-viewer/tsconfig.app.json deleted file mode 100644 index 8effb71fe..000000000 --- a/reports/ads-schedule-viewer/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/ads-schedule-viewer/tsconfig.json b/reports/ads-schedule-viewer/tsconfig.json deleted file mode 100644 index a6adc9189..000000000 --- a/reports/ads-schedule-viewer/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/ads-schedule-viewer/vite.config.ts b/reports/ads-schedule-viewer/vite.config.ts deleted file mode 100644 index 30db614d0..000000000 --- a/reports/ads-schedule-viewer/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/ads-weekly-meeting/package.json b/reports/ads-weekly-meeting/package.json deleted file mode 100644 index cd2b7eb7f..000000000 --- a/reports/ads-weekly-meeting/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "ads-weekly-meeting", - "displayName": "ADS Weekly Meeting", - "version": "0.0.1", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/ads-weekly-meeting/prod.skip b/reports/ads-weekly-meeting/prod.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/reports/ads-weekly-meeting/src/main.tsx b/reports/ads-weekly-meeting/src/main.tsx deleted file mode 100644 index 803b3197a..000000000 --- a/reports/ads-weekly-meeting/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - - - ); -}; - -export const render = createRender(MyApp, configure); -export default render; diff --git a/reports/ads-weekly-meeting/tsconfig.app.json b/reports/ads-weekly-meeting/tsconfig.app.json deleted file mode 100644 index 8effb71fe..000000000 --- a/reports/ads-weekly-meeting/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/ads-weekly-meeting/tsconfig.json b/reports/ads-weekly-meeting/tsconfig.json deleted file mode 100644 index a6adc9189..000000000 --- a/reports/ads-weekly-meeting/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/ads-weekly-meeting/vite.config.ts b/reports/ads-weekly-meeting/vite.config.ts deleted file mode 100644 index 30db614d0..000000000 --- a/reports/ads-weekly-meeting/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); From fe19f54138c83113e78b4909c6df6862bc6c0a3f Mon Sep 17 00:00:00 2001 From: Gustav Eikaas Date: Thu, 30 Nov 2023 13:55:09 +0100 Subject: [PATCH 3/6] chore: :truck: move atex --- reports/atexinspection/CHANGELOG.md | 3 --- reports/atexinspection/README.md | 3 --- reports/atexinspection/package.json | 23 ----------------------- reports/atexinspection/src/main.tsx | 18 ------------------ reports/atexinspection/tsconfig.app.json | 22 ---------------------- reports/atexinspection/tsconfig.json | 22 ---------------------- reports/atexinspection/vite.config.ts | 19 ------------------- 7 files changed, 110 deletions(-) delete mode 100644 reports/atexinspection/CHANGELOG.md delete mode 100644 reports/atexinspection/README.md delete mode 100644 reports/atexinspection/package.json delete mode 100644 reports/atexinspection/src/main.tsx delete mode 100644 reports/atexinspection/tsconfig.app.json delete mode 100644 reports/atexinspection/tsconfig.json delete mode 100644 reports/atexinspection/vite.config.ts diff --git a/reports/atexinspection/CHANGELOG.md b/reports/atexinspection/CHANGELOG.md deleted file mode 100644 index 3f906a087..000000000 --- a/reports/atexinspection/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -## Version 0.0.1 - -Init app diff --git a/reports/atexinspection/README.md b/reports/atexinspection/README.md deleted file mode 100644 index 4b5d4a05b..000000000 --- a/reports/atexinspection/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# atexinspection - -Add readme diff --git a/reports/atexinspection/package.json b/reports/atexinspection/package.json deleted file mode 100644 index ef6e265ee..000000000 --- a/reports/atexinspection/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "atexinspection", - "displayName": "Atex inspection", - "shortName": "atex", - "version": "0.0.5", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/atexinspection/src/main.tsx b/reports/atexinspection/src/main.tsx deleted file mode 100644 index d21b581fb..000000000 --- a/reports/atexinspection/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const AtexInspection = () => { - return ( - - - - ); -}; - -export const render = createRender(AtexInspection, configure); -export default render; diff --git a/reports/atexinspection/tsconfig.app.json b/reports/atexinspection/tsconfig.app.json deleted file mode 100644 index 702b08d90..000000000 --- a/reports/atexinspection/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/atexinspection/tsconfig.json b/reports/atexinspection/tsconfig.json deleted file mode 100644 index 8377cebd0..000000000 --- a/reports/atexinspection/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/atexinspection/vite.config.ts b/reports/atexinspection/vite.config.ts deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/reports/atexinspection/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); From 35eb1474ec8d0a721fffb78e152b77fdcc566d5b Mon Sep 17 00:00:00 2001 From: Gustav Eikaas Date: Thu, 30 Nov 2023 14:49:11 +0100 Subject: [PATCH 4/6] chore: :truck: move reports --- reports/preservationanalytics/CHANGELOG.md | 3 --- reports/preservationanalytics/README.md | 3 --- reports/preservationanalytics/package.json | 23 ------------------- reports/preservationanalytics/prod.skip | 0 reports/preservationanalytics/src/main.tsx | 18 --------------- .../preservationanalytics/tsconfig.app.json | 22 ------------------ reports/preservationanalytics/tsconfig.json | 22 ------------------ reports/preservationanalytics/vite.config.ts | 19 --------------- reports/projectsafetybarriers/CHANGELOG.md | 3 --- reports/projectsafetybarriers/README.md | 3 --- reports/projectsafetybarriers/package.json | 23 ------------------- reports/projectsafetybarriers/src/main.tsx | 18 --------------- .../projectsafetybarriers/tsconfig.app.json | 22 ------------------ reports/projectsafetybarriers/tsconfig.json | 22 ------------------ reports/projectsafetybarriers/versions.md | 3 --- reports/projectsafetybarriers/vite.config.ts | 19 --------------- reports/query/CHANGELOG.md | 17 -------------- reports/query/README.md | 3 --- reports/query/package.json | 23 ------------------- reports/query/prod.skip | 0 reports/query/src/main.tsx | 18 --------------- reports/query/tsconfig.app.json | 22 ------------------ reports/query/tsconfig.json | 22 ------------------ reports/query/vite.config.ts | 19 --------------- reports/schedule-viewer/CHANGELOG.md | 3 --- reports/schedule-viewer/README.md | 3 --- reports/schedule-viewer/package.json | 23 ------------------- reports/schedule-viewer/prod.skip | 0 reports/schedule-viewer/src/main.tsx | 18 --------------- reports/schedule-viewer/tsconfig.app.json | 22 ------------------ reports/schedule-viewer/tsconfig.json | 22 ------------------ reports/schedule-viewer/versions.md | 3 --- reports/schedule-viewer/vite.config.ts | 19 --------------- reports/tags/CHANGELOG.md | 8 ------- reports/tags/README.md | 3 --- reports/tags/package.json | 17 -------------- reports/tags/src/main.tsx | 17 -------------- reports/tags/tsconfig.app.json | 22 ------------------ reports/tags/tsconfig.json | 22 ------------------ reports/tags/vite.config.ts | 19 --------------- reports/workorder-area-overview/package.json | 22 ------------------ reports/workorder-area-overview/src/main.tsx | 18 --------------- .../workorder-area-overview/tsconfig.app.json | 22 ------------------ reports/workorder-area-overview/tsconfig.json | 22 ------------------ .../workorder-area-overview/vite.config.ts | 19 --------------- 45 files changed, 671 deletions(-) delete mode 100644 reports/preservationanalytics/CHANGELOG.md delete mode 100644 reports/preservationanalytics/README.md delete mode 100644 reports/preservationanalytics/package.json delete mode 100644 reports/preservationanalytics/prod.skip delete mode 100644 reports/preservationanalytics/src/main.tsx delete mode 100644 reports/preservationanalytics/tsconfig.app.json delete mode 100644 reports/preservationanalytics/tsconfig.json delete mode 100644 reports/preservationanalytics/vite.config.ts delete mode 100644 reports/projectsafetybarriers/CHANGELOG.md delete mode 100644 reports/projectsafetybarriers/README.md delete mode 100644 reports/projectsafetybarriers/package.json delete mode 100644 reports/projectsafetybarriers/src/main.tsx delete mode 100644 reports/projectsafetybarriers/tsconfig.app.json delete mode 100644 reports/projectsafetybarriers/tsconfig.json delete mode 100644 reports/projectsafetybarriers/versions.md delete mode 100644 reports/projectsafetybarriers/vite.config.ts delete mode 100644 reports/query/CHANGELOG.md delete mode 100644 reports/query/README.md delete mode 100644 reports/query/package.json delete mode 100644 reports/query/prod.skip delete mode 100644 reports/query/src/main.tsx delete mode 100644 reports/query/tsconfig.app.json delete mode 100644 reports/query/tsconfig.json delete mode 100644 reports/query/vite.config.ts delete mode 100644 reports/schedule-viewer/CHANGELOG.md delete mode 100644 reports/schedule-viewer/README.md delete mode 100644 reports/schedule-viewer/package.json delete mode 100644 reports/schedule-viewer/prod.skip delete mode 100644 reports/schedule-viewer/src/main.tsx delete mode 100644 reports/schedule-viewer/tsconfig.app.json delete mode 100644 reports/schedule-viewer/tsconfig.json delete mode 100644 reports/schedule-viewer/versions.md delete mode 100644 reports/schedule-viewer/vite.config.ts delete mode 100644 reports/tags/CHANGELOG.md delete mode 100644 reports/tags/README.md delete mode 100644 reports/tags/package.json delete mode 100644 reports/tags/src/main.tsx delete mode 100644 reports/tags/tsconfig.app.json delete mode 100644 reports/tags/tsconfig.json delete mode 100644 reports/tags/vite.config.ts delete mode 100644 reports/workorder-area-overview/package.json delete mode 100644 reports/workorder-area-overview/src/main.tsx delete mode 100644 reports/workorder-area-overview/tsconfig.app.json delete mode 100644 reports/workorder-area-overview/tsconfig.json delete mode 100644 reports/workorder-area-overview/vite.config.ts diff --git a/reports/preservationanalytics/CHANGELOG.md b/reports/preservationanalytics/CHANGELOG.md deleted file mode 100644 index 3f906a087..000000000 --- a/reports/preservationanalytics/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -## Version 0.0.1 - -Init app diff --git a/reports/preservationanalytics/README.md b/reports/preservationanalytics/README.md deleted file mode 100644 index 23957a5cf..000000000 --- a/reports/preservationanalytics/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# preservationanalytics - -Add readme diff --git a/reports/preservationanalytics/package.json b/reports/preservationanalytics/package.json deleted file mode 100644 index efca61e1f..000000000 --- a/reports/preservationanalytics/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "preservation-workspace", - "displayName": "Preservation", - "shortName": "preservation", - "version": "0.0.9", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/preservationanalytics/prod.skip b/reports/preservationanalytics/prod.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/reports/preservationanalytics/src/main.tsx b/reports/preservationanalytics/src/main.tsx deleted file mode 100644 index 86cc9561d..000000000 --- a/reports/preservationanalytics/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const Preservation = () => { - return ( - - - - ); -}; - -export const render = createRender(Preservation, configure); -export default render; diff --git a/reports/preservationanalytics/tsconfig.app.json b/reports/preservationanalytics/tsconfig.app.json deleted file mode 100644 index 702b08d90..000000000 --- a/reports/preservationanalytics/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/preservationanalytics/tsconfig.json b/reports/preservationanalytics/tsconfig.json deleted file mode 100644 index 8377cebd0..000000000 --- a/reports/preservationanalytics/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/preservationanalytics/vite.config.ts b/reports/preservationanalytics/vite.config.ts deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/reports/preservationanalytics/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/projectsafetybarriers/CHANGELOG.md b/reports/projectsafetybarriers/CHANGELOG.md deleted file mode 100644 index c7b0ef975..000000000 --- a/reports/projectsafetybarriers/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -## Version 0.0.1 - -Init app diff --git a/reports/projectsafetybarriers/README.md b/reports/projectsafetybarriers/README.md deleted file mode 100644 index 90fa6a458..000000000 --- a/reports/projectsafetybarriers/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# projectsafetybarriers - -Add readme diff --git a/reports/projectsafetybarriers/package.json b/reports/projectsafetybarriers/package.json deleted file mode 100644 index 6356bfd30..000000000 --- a/reports/projectsafetybarriers/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "projectsafetybarriers", - "displayName": "Project Safety Barriers", - "shortName": "projectsafetybarriers", - "version": "0.0.2", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/projectsafetybarriers/src/main.tsx b/reports/projectsafetybarriers/src/main.tsx deleted file mode 100644 index c4488dea1..000000000 --- a/reports/projectsafetybarriers/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - - - ); -}; - -export const render = createRender(MyApp, configure); -export default render; diff --git a/reports/projectsafetybarriers/tsconfig.app.json b/reports/projectsafetybarriers/tsconfig.app.json deleted file mode 100644 index 8effb71fe..000000000 --- a/reports/projectsafetybarriers/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/projectsafetybarriers/tsconfig.json b/reports/projectsafetybarriers/tsconfig.json deleted file mode 100644 index a6adc9189..000000000 --- a/reports/projectsafetybarriers/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/projectsafetybarriers/versions.md b/reports/projectsafetybarriers/versions.md deleted file mode 100644 index 26da1d6f4..000000000 --- a/reports/projectsafetybarriers/versions.md +++ /dev/null @@ -1,3 +0,0 @@ - -CI: 0.0.2 -FPRD: 0.0.2 diff --git a/reports/projectsafetybarriers/vite.config.ts b/reports/projectsafetybarriers/vite.config.ts deleted file mode 100644 index 30db614d0..000000000 --- a/reports/projectsafetybarriers/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/query/CHANGELOG.md b/reports/query/CHANGELOG.md deleted file mode 100644 index 74989a5bf..000000000 --- a/reports/query/CHANGELOG.md +++ /dev/null @@ -1,17 +0,0 @@ -## Version 0.0.7 - -Bump workspace fusion 0.20.0 -Bump workspace ag grid 0.3.8 - -## Version 0.0.6 - -New sidesheet header design. -Injecting process env to bundle correctly. - -## Version 0.0.5 - -Inject process.env to bundle - -## Version 0.0.4 - -Bump fusion-framework packages diff --git a/reports/query/README.md b/reports/query/README.md deleted file mode 100644 index f9636c6a9..000000000 --- a/reports/query/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# query - -Add readme diff --git a/reports/query/package.json b/reports/query/package.json deleted file mode 100644 index d2396af5b..000000000 --- a/reports/query/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "query-workspace", - "displayName": "Query workspace", - "shortName": "query", - "version": "0.0.9", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/query/prod.skip b/reports/query/prod.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/reports/query/src/main.tsx b/reports/query/src/main.tsx deleted file mode 100644 index 212145509..000000000 --- a/reports/query/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const Query = () => { - return ( - - - - ); -}; - -export const render = createRender(Query, configure); -export default render; diff --git a/reports/query/tsconfig.app.json b/reports/query/tsconfig.app.json deleted file mode 100644 index 702b08d90..000000000 --- a/reports/query/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/query/tsconfig.json b/reports/query/tsconfig.json deleted file mode 100644 index 8377cebd0..000000000 --- a/reports/query/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/query/vite.config.ts b/reports/query/vite.config.ts deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/reports/query/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/schedule-viewer/CHANGELOG.md b/reports/schedule-viewer/CHANGELOG.md deleted file mode 100644 index 3f906a087..000000000 --- a/reports/schedule-viewer/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -## Version 0.0.1 - -Init app diff --git a/reports/schedule-viewer/README.md b/reports/schedule-viewer/README.md deleted file mode 100644 index fe43afaa1..000000000 --- a/reports/schedule-viewer/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# schedule-viewer - -Add readme diff --git a/reports/schedule-viewer/package.json b/reports/schedule-viewer/package.json deleted file mode 100644 index 6ff721eed..000000000 --- a/reports/schedule-viewer/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "schedule-viewer", - "displayName": "Schedule viewer", - "shortName": "schedule-viewer", - "version": "0.0.2", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/schedule-viewer/prod.skip b/reports/schedule-viewer/prod.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/reports/schedule-viewer/src/main.tsx b/reports/schedule-viewer/src/main.tsx deleted file mode 100644 index 7c2ac8cb5..000000000 --- a/reports/schedule-viewer/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - - - ); -}; - -export const render = createRender(MyApp, configure); -export default render; diff --git a/reports/schedule-viewer/tsconfig.app.json b/reports/schedule-viewer/tsconfig.app.json deleted file mode 100644 index 702b08d90..000000000 --- a/reports/schedule-viewer/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/schedule-viewer/tsconfig.json b/reports/schedule-viewer/tsconfig.json deleted file mode 100644 index 8377cebd0..000000000 --- a/reports/schedule-viewer/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/schedule-viewer/versions.md b/reports/schedule-viewer/versions.md deleted file mode 100644 index f55a8c79c..000000000 --- a/reports/schedule-viewer/versions.md +++ /dev/null @@ -1,3 +0,0 @@ - -CI: 0.0.2 -FPRD: null diff --git a/reports/schedule-viewer/vite.config.ts b/reports/schedule-viewer/vite.config.ts deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/reports/schedule-viewer/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/tags/CHANGELOG.md b/reports/tags/CHANGELOG.md deleted file mode 100644 index e0a67c8bc..000000000 --- a/reports/tags/CHANGELOG.md +++ /dev/null @@ -1,8 +0,0 @@ -## Version 0.0.2 - -Add new module concepts to lower bundle size. -Inject process env correctly - -## Version 0.0.1 - -Init app diff --git a/reports/tags/README.md b/reports/tags/README.md deleted file mode 100644 index a0a9c9a82..000000000 --- a/reports/tags/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# tags - -Add readme diff --git a/reports/tags/package.json b/reports/tags/package.json deleted file mode 100644 index f085f3a44..000000000 --- a/reports/tags/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "tags", - "version": "0.0.5", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - } -} diff --git a/reports/tags/src/main.tsx b/reports/tags/src/main.tsx deleted file mode 100644 index cd430e4c5..000000000 --- a/reports/tags/src/main.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const Tags = () => { - return ( - - - - ); -}; - -export default createRender(Tags, configure); diff --git a/reports/tags/tsconfig.app.json b/reports/tags/tsconfig.app.json deleted file mode 100644 index 702b08d90..000000000 --- a/reports/tags/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/tags/tsconfig.json b/reports/tags/tsconfig.json deleted file mode 100644 index 8377cebd0..000000000 --- a/reports/tags/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/tags/vite.config.ts b/reports/tags/vite.config.ts deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/reports/tags/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/workorder-area-overview/package.json b/reports/workorder-area-overview/package.json deleted file mode 100644 index 75ff2aedc..000000000 --- a/reports/workorder-area-overview/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "workorder-area-overview", - "displayName": "Workorder Area Overview", - "version": "0.0.1", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/workorder-area-overview/src/main.tsx b/reports/workorder-area-overview/src/main.tsx deleted file mode 100644 index 1b5a3085c..000000000 --- a/reports/workorder-area-overview/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - - - ); -}; - -export const render = createRender(MyApp, configure); -export default render; diff --git a/reports/workorder-area-overview/tsconfig.app.json b/reports/workorder-area-overview/tsconfig.app.json deleted file mode 100644 index 8effb71fe..000000000 --- a/reports/workorder-area-overview/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/workorder-area-overview/tsconfig.json b/reports/workorder-area-overview/tsconfig.json deleted file mode 100644 index a6adc9189..000000000 --- a/reports/workorder-area-overview/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/workorder-area-overview/vite.config.ts b/reports/workorder-area-overview/vite.config.ts deleted file mode 100644 index 30db614d0..000000000 --- a/reports/workorder-area-overview/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); From 9c8436df2df552a06fd6f13203a41cf9ff97889b Mon Sep 17 00:00:00 2001 From: Gustav Eikaas Date: Thu, 30 Nov 2023 14:56:23 +0100 Subject: [PATCH 5/6] chore: :fire: remove reports config and utils from monorepo --- libs/plugins/generators.json | 5 -- .../files/package.json__template__ | 22 ------ .../files/src/main.tsx__template__ | 18 ----- .../files/tsconfig.app.json__template__ | 22 ------ .../files/tsconfig.json__template__ | 22 ------ .../files/vite.config.ts__template__ | 19 ----- .../fusion-report-generator/generator.ts | 75 ------------------- .../fusion-report-generator/schema.json | 42 ----------- pnpm-workspace.yaml | 1 - 9 files changed, 226 deletions(-) delete mode 100644 libs/plugins/src/generators/fusion-report-generator/files/package.json__template__ delete mode 100644 libs/plugins/src/generators/fusion-report-generator/files/src/main.tsx__template__ delete mode 100644 libs/plugins/src/generators/fusion-report-generator/files/tsconfig.app.json__template__ delete mode 100644 libs/plugins/src/generators/fusion-report-generator/files/tsconfig.json__template__ delete mode 100644 libs/plugins/src/generators/fusion-report-generator/files/vite.config.ts__template__ delete mode 100644 libs/plugins/src/generators/fusion-report-generator/generator.ts delete mode 100644 libs/plugins/src/generators/fusion-report-generator/schema.json diff --git a/libs/plugins/generators.json b/libs/plugins/generators.json index 38ad6e6b3..e565dba80 100644 --- a/libs/plugins/generators.json +++ b/libs/plugins/generators.json @@ -8,11 +8,6 @@ "schema": "./src/generators/fusion-app-generator/schema.json", "description": "fusion-app-generator generator" }, - "fusion-report-generator": { - "factory": "./src/generators/fusion-report-generator/generator", - "schema": "./src/generators/fusion-report-generator/schema.json", - "description": "fusion-report-generator generator" - }, "app-library": { "factory": "./src/generators/app-library/generator", "schema": "./src/generators/app-library/schema.json", diff --git a/libs/plugins/src/generators/fusion-report-generator/files/package.json__template__ b/libs/plugins/src/generators/fusion-report-generator/files/package.json__template__ deleted file mode 100644 index 554d2c7cf..000000000 --- a/libs/plugins/src/generators/fusion-report-generator/files/package.json__template__ +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "<%= projectName %>", - "displayName": "<%= displayName %>", - "version": "0.0.1", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/libs/plugins/src/generators/fusion-report-generator/files/src/main.tsx__template__ b/libs/plugins/src/generators/fusion-report-generator/files/src/main.tsx__template__ deleted file mode 100644 index 5c1f9801e..000000000 --- a/libs/plugins/src/generators/fusion-report-generator/files/src/main.tsx__template__ +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - "} - column={'ProjectMaster GUID'} - reportId={"<%= reportId %>"} - table={'Dim_ProjectMaster'} - /> - - ); -}; - -export const render = createRender(MyApp, configure); -export default render; diff --git a/libs/plugins/src/generators/fusion-report-generator/files/tsconfig.app.json__template__ b/libs/plugins/src/generators/fusion-report-generator/files/tsconfig.app.json__template__ deleted file mode 100644 index b1207166e..000000000 --- a/libs/plugins/src/generators/fusion-report-generator/files/tsconfig.app.json__template__ +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} \ No newline at end of file diff --git a/libs/plugins/src/generators/fusion-report-generator/files/tsconfig.json__template__ b/libs/plugins/src/generators/fusion-report-generator/files/tsconfig.json__template__ deleted file mode 100644 index 0e337ec17..000000000 --- a/libs/plugins/src/generators/fusion-report-generator/files/tsconfig.json__template__ +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} \ No newline at end of file diff --git a/libs/plugins/src/generators/fusion-report-generator/files/vite.config.ts__template__ b/libs/plugins/src/generators/fusion-report-generator/files/vite.config.ts__template__ deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/libs/plugins/src/generators/fusion-report-generator/files/vite.config.ts__template__ +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/libs/plugins/src/generators/fusion-report-generator/generator.ts b/libs/plugins/src/generators/fusion-report-generator/generator.ts deleted file mode 100644 index 96ef56c6f..000000000 --- a/libs/plugins/src/generators/fusion-report-generator/generator.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { - formatFiles, - generateFiles, - getWorkspaceLayout, - names, - offsetFromRoot, - Tree, - installPackagesTask, -} from '@nrwl/devkit'; -import * as path from 'path'; -import { FusionReportGeneratorGeneratorSchema } from './schema'; - -interface NormalizedSchema extends FusionReportGeneratorGeneratorSchema { - projectName: string; - projectRoot: string; - projectDirectory: string; - parsedTags: string[]; - displayName: string; - reportId: string; -} - -function normalizeOptions( - tree: Tree, - options: FusionReportGeneratorGeneratorSchema -): NormalizedSchema { - const name = names(options.appKey.trimEnd()).fileName; - const projectDirectory = options.directory - ? `${names(options.directory).fileName}/${name}` - : name; - const projectName = projectDirectory.replace(new RegExp('/', 'g'), '-'); - const projectRoot = `${getWorkspaceLayout(tree).appsDir.replace( - 'apps', - 'reports' - )}/${projectDirectory}`; - const parsedTags = ['powerbi']; - - return { - ...options, - projectName, - projectRoot, - projectDirectory, - parsedTags, - reportId: options.reportId.trimEnd(), - displayName: options.displayName.trimEnd(), - }; -} - -function addFiles(tree: Tree, options: NormalizedSchema) { - const templateOptions = { - ...options, - ...names(options.appKey), - - offsetFromRoot: offsetFromRoot(options.projectRoot), - template: '', - }; - generateFiles( - tree, - path.join(__dirname, 'files'), - options.projectRoot, - templateOptions - ); -} - -export default async function initGenerator( - tree: Tree, - options: FusionReportGeneratorGeneratorSchema -) { - const normalizedOptions = normalizeOptions(tree, options); - addFiles(tree, normalizedOptions); - await formatFiles(tree); - - return async () => { - installPackagesTask(tree, true, '.', 'pnpm'); - }; -} diff --git a/libs/plugins/src/generators/fusion-report-generator/schema.json b/libs/plugins/src/generators/fusion-report-generator/schema.json deleted file mode 100644 index 9bbd0df16..000000000 --- a/libs/plugins/src/generators/fusion-report-generator/schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "http://json-schema.org/schema", - "cli": "nx", - "$id": "FusionReportGenerator", - "title": "Create a Fusion Report", - "description": "Create a Fusion Report", - "type": "object", - "properties": { - "appKey": { - "type": "string", - "description": "", - "$default": { - "$source": "argv", - "index": 0 - }, - "x-prompt": "What appKey would you like to use?" - }, - "reportId": { - "type": "string", - "description": "", - "$default": { - "$source": "argv", - "index": 1 - }, - "x-prompt": "What is the global-identifier in Fusion Reports Admin?" - }, - "displayName": { - "type": "string", - "description": "", - "$default": { - "$source": "argv", - "index": 2 - }, - "x-prompt": "What is the display name in Fusion?" - }, - "directory": { - "type": "string", - "description": "A directory where the project is placed" - } - }, - "required": ["appKey", "reportId", "displayName"] -} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index c79cab7e8..480ce2b7a 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,6 +1,5 @@ packages: - 'libs/**' - 'apps/*' - - 'reports/**' - 'cli' - 'github-action' From c2f1232890009f69a8139858237a0b1ce55278b6 Mon Sep 17 00:00:00 2001 From: Gustav Eikaas Date: Thu, 30 Nov 2023 14:56:34 +0100 Subject: [PATCH 6/6] chore: :truck: move last reports --- reports/activities/CHANGELOG.MD | 12 ----------- reports/activities/README.md | 3 --- reports/activities/package.json | 17 --------------- reports/activities/src/main.tsx | 18 ---------------- reports/activities/tsconfig.app.json | 22 -------------------- reports/activities/tsconfig.json | 22 -------------------- reports/activities/vite.config.ts | 19 ----------------- reports/ccoverview/CHANGELOG.md | 12 ----------- reports/ccoverview/README.md | 3 --- reports/ccoverview/package.json | 23 --------------------- reports/ccoverview/src/main.tsx | 18 ---------------- reports/ccoverview/tsconfig.app.json | 22 -------------------- reports/ccoverview/tsconfig.json | 22 -------------------- reports/ccoverview/vite.config.ts | 19 ----------------- reports/checklist/CHANGELOG.md | 12 ----------- reports/checklist/README.md | 3 --- reports/checklist/package.json | 21 ------------------- reports/checklist/src/main.tsx | 18 ---------------- reports/checklist/tsconfig.app.json | 22 -------------------- reports/checklist/tsconfig.json | 22 -------------------- reports/checklist/vite.config.ts | 19 ----------------- reports/commissioningtask/CHANGELOG.md | 12 ----------- reports/commissioningtask/README.md | 3 --- reports/commissioningtask/package.json | 23 --------------------- reports/commissioningtask/src/main.tsx | 18 ---------------- reports/commissioningtask/tsconfig.app.json | 22 -------------------- reports/commissioningtask/tsconfig.json | 22 -------------------- reports/commissioningtask/vite.config.ts | 19 ----------------- 28 files changed, 468 deletions(-) delete mode 100644 reports/activities/CHANGELOG.MD delete mode 100644 reports/activities/README.md delete mode 100644 reports/activities/package.json delete mode 100644 reports/activities/src/main.tsx delete mode 100644 reports/activities/tsconfig.app.json delete mode 100644 reports/activities/tsconfig.json delete mode 100644 reports/activities/vite.config.ts delete mode 100644 reports/ccoverview/CHANGELOG.md delete mode 100644 reports/ccoverview/README.md delete mode 100644 reports/ccoverview/package.json delete mode 100644 reports/ccoverview/src/main.tsx delete mode 100644 reports/ccoverview/tsconfig.app.json delete mode 100644 reports/ccoverview/tsconfig.json delete mode 100644 reports/ccoverview/vite.config.ts delete mode 100644 reports/checklist/CHANGELOG.md delete mode 100644 reports/checklist/README.md delete mode 100644 reports/checklist/package.json delete mode 100644 reports/checklist/src/main.tsx delete mode 100644 reports/checklist/tsconfig.app.json delete mode 100644 reports/checklist/tsconfig.json delete mode 100644 reports/checklist/vite.config.ts delete mode 100644 reports/commissioningtask/CHANGELOG.md delete mode 100644 reports/commissioningtask/README.md delete mode 100644 reports/commissioningtask/package.json delete mode 100644 reports/commissioningtask/src/main.tsx delete mode 100644 reports/commissioningtask/tsconfig.app.json delete mode 100644 reports/commissioningtask/tsconfig.json delete mode 100644 reports/commissioningtask/vite.config.ts diff --git a/reports/activities/CHANGELOG.MD b/reports/activities/CHANGELOG.MD deleted file mode 100644 index 240acc77b..000000000 --- a/reports/activities/CHANGELOG.MD +++ /dev/null @@ -1,12 +0,0 @@ -## Version 0.0.4 - -Add new module concepts to lower bundle size. -Inject process env correctly - -## Version 0.0.3 - -Inject process.env to bundle - -## Version 0.0.2 - -Bump fusion-framework packages diff --git a/reports/activities/README.md b/reports/activities/README.md deleted file mode 100644 index 0b88ebc73..000000000 --- a/reports/activities/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# activities - -Add readme diff --git a/reports/activities/package.json b/reports/activities/package.json deleted file mode 100644 index 3ff216aff..000000000 --- a/reports/activities/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "activities", - "version": "0.0.9", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - } -} diff --git a/reports/activities/src/main.tsx b/reports/activities/src/main.tsx deleted file mode 100644 index f8eba0390..000000000 --- a/reports/activities/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - - - ); -}; - -export const render = createRender(MyApp, configure); -export default render; diff --git a/reports/activities/tsconfig.app.json b/reports/activities/tsconfig.app.json deleted file mode 100644 index 0f6a45ec7..000000000 --- a/reports/activities/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "rootDir": ".", - "types": ["node"] - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/activities/tsconfig.json b/reports/activities/tsconfig.json deleted file mode 100644 index 8377cebd0..000000000 --- a/reports/activities/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/activities/vite.config.ts b/reports/activities/vite.config.ts deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/reports/activities/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/ccoverview/CHANGELOG.md b/reports/ccoverview/CHANGELOG.md deleted file mode 100644 index c73b2f18b..000000000 --- a/reports/ccoverview/CHANGELOG.md +++ /dev/null @@ -1,12 +0,0 @@ -## Version 0.0.5 - -Add new module concepts to lower bundle size. -Inject process env correctly - -## Version 0.0.4 - -Inject process.env to bundle - -## Version 0.0.3 - -Bump fusion-framework packages diff --git a/reports/ccoverview/README.md b/reports/ccoverview/README.md deleted file mode 100644 index 08c4c83c3..000000000 --- a/reports/ccoverview/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ccoverview - -Add readme diff --git a/reports/ccoverview/package.json b/reports/ccoverview/package.json deleted file mode 100644 index ec5f4286e..000000000 --- a/reports/ccoverview/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "ccoverview", - "displayName": "CC overview", - "shortName": "ccoverview", - "version": "0.0.8", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/ccoverview/src/main.tsx b/reports/ccoverview/src/main.tsx deleted file mode 100644 index c70609b93..000000000 --- a/reports/ccoverview/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const CCOverview = () => { - return ( - - - - ); -}; - -export const render = createRender(CCOverview, configure); -export default render; diff --git a/reports/ccoverview/tsconfig.app.json b/reports/ccoverview/tsconfig.app.json deleted file mode 100644 index 702b08d90..000000000 --- a/reports/ccoverview/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/ccoverview/tsconfig.json b/reports/ccoverview/tsconfig.json deleted file mode 100644 index 8377cebd0..000000000 --- a/reports/ccoverview/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/ccoverview/vite.config.ts b/reports/ccoverview/vite.config.ts deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/reports/ccoverview/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/checklist/CHANGELOG.md b/reports/checklist/CHANGELOG.md deleted file mode 100644 index c73b2f18b..000000000 --- a/reports/checklist/CHANGELOG.md +++ /dev/null @@ -1,12 +0,0 @@ -## Version 0.0.5 - -Add new module concepts to lower bundle size. -Inject process env correctly - -## Version 0.0.4 - -Inject process.env to bundle - -## Version 0.0.3 - -Bump fusion-framework packages diff --git a/reports/checklist/README.md b/reports/checklist/README.md deleted file mode 100644 index 0ba506ed7..000000000 --- a/reports/checklist/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# checklist - -Add readme diff --git a/reports/checklist/package.json b/reports/checklist/package.json deleted file mode 100644 index ff12935d9..000000000 --- a/reports/checklist/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "checklist", - "version": "0.0.9", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/checklist/src/main.tsx b/reports/checklist/src/main.tsx deleted file mode 100644 index 4281fc6ef..000000000 --- a/reports/checklist/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import Report, { configure } from '@cc-components/powerbi'; - -const Checklist = () => { - return ( - - - - ); -}; - -export const render = createRender(Checklist, configure); -export default render; diff --git a/reports/checklist/tsconfig.app.json b/reports/checklist/tsconfig.app.json deleted file mode 100644 index 702b08d90..000000000 --- a/reports/checklist/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "types": ["node"], - "rootDir": "." - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/checklist/tsconfig.json b/reports/checklist/tsconfig.json deleted file mode 100644 index 8377cebd0..000000000 --- a/reports/checklist/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/checklist/vite.config.ts b/reports/checklist/vite.config.ts deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/reports/checklist/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -}); diff --git a/reports/commissioningtask/CHANGELOG.md b/reports/commissioningtask/CHANGELOG.md deleted file mode 100644 index c73b2f18b..000000000 --- a/reports/commissioningtask/CHANGELOG.md +++ /dev/null @@ -1,12 +0,0 @@ -## Version 0.0.5 - -Add new module concepts to lower bundle size. -Inject process env correctly - -## Version 0.0.4 - -Inject process.env to bundle - -## Version 0.0.3 - -Bump fusion-framework packages diff --git a/reports/commissioningtask/README.md b/reports/commissioningtask/README.md deleted file mode 100644 index cfed041fd..000000000 --- a/reports/commissioningtask/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# commissioningtask - -Add readme diff --git a/reports/commissioningtask/package.json b/reports/commissioningtask/package.json deleted file mode 100644 index e35b908f7..000000000 --- a/reports/commissioningtask/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "commissioning-task", - "displayName": "Commissioning task", - "shortName": "commissioning-task", - "version": "0.0.8", - "main": "/src/main.tsx", - "private": true, - "type": "module", - "scripts": { - "dev": "fusion-framework-cli app dev", - "build": "tsc -b -f", - "pr:deploy": "npx ts-node --esm ../../github-action/src/releasePr.ts release", - "fprd:deploy": "npx ts-node --esm ../../github-action/src/releaseMain.ts release" - }, - "dependencies": { - "@cc-components/powerbi": "workspace:^", - "@cc-components/shared": "workspace:^" - }, - "files": [ - "dist/app-bundle.js", - "app-manifest.json" - ] -} diff --git a/reports/commissioningtask/src/main.tsx b/reports/commissioningtask/src/main.tsx deleted file mode 100644 index 65763a351..000000000 --- a/reports/commissioningtask/src/main.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { RootAppWrapper, createRender } from '@cc-components/shared'; -import { Report, configure } from '@cc-components/powerbi'; - -const MyApp = () => { - return ( - - - - ); -}; - -export const render = createRender(MyApp, configure); -export default render; diff --git a/reports/commissioningtask/tsconfig.app.json b/reports/commissioningtask/tsconfig.app.json deleted file mode 100644 index 0f6a45ec7..000000000 --- a/reports/commissioningtask/tsconfig.app.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "rootDir": ".", - "types": ["node"] - }, - "exclude": [ - "jest.config.ts", - "**/*.spec.ts", - "**/*.test.ts", - "**/*.spec.tsx", - "**/*.test.tsx", - "**/*.spec.js", - "**/*.test.js", - "**/*.spec.jsx", - "**/*.test.jsx", - "dist", - "vite.config.ts" - ], - "include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] -} diff --git a/reports/commissioningtask/tsconfig.json b/reports/commissioningtask/tsconfig.json deleted file mode 100644 index 8377cebd0..000000000 --- a/reports/commissioningtask/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "jsx": "react-jsx", - "allowJs": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "noImplicitOverride": true, - "noPropertyAccessFromIndexSignature": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true - }, - "files": [], - "include": [], - "references": [ - { - "path": "./tsconfig.app.json" - } - ] -} diff --git a/reports/commissioningtask/vite.config.ts b/reports/commissioningtask/vite.config.ts deleted file mode 100644 index 7aaf6c6bc..000000000 --- a/reports/commissioningtask/vite.config.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defineConfig } from 'vite'; -import EnvironmentPlugin from 'vite-plugin-environment'; - -export default defineConfig({ - plugins: [ - EnvironmentPlugin({ - NODE_ENV: 'production', - }), - ], - appType: 'custom', - build: { - emptyOutDir: true, - lib: { - entry: './src/main.tsx', - fileName: 'app-bundle', - formats: ['es'], - }, - }, -});