Skip to content

Commit

Permalink
feat/ads reports (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
aman-riaz committed Nov 15, 2023
1 parent a52d469 commit 099c983
Show file tree
Hide file tree
Showing 25 changed files with 3,807 additions and 876 deletions.
4,271 changes: 3,395 additions & 876 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions reports/ads-engineering-meeting/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"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"
]
}
Empty file.
18 changes: 18 additions & 0 deletions reports/ads-engineering-meeting/src/main.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { RootAppWrapper, createRender } from '@cc-components/shared';
import { Report, configure } from '@cc-components/powerbi';

const MyApp = () => {
return (
<RootAppWrapper client={null}>
<Report
appKey={'ads-engineering-meeting'}
column={'ProjectMaster GUID'}
reportId={'ads-engineering-meeting'}
table={'Dim_ProjectMaster'}
/>
</RootAppWrapper>
);
};

export const render = createRender(MyApp, configure);
export default render;
22 changes: 22 additions & 0 deletions reports/ads-engineering-meeting/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"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"]
}
22 changes: 22 additions & 0 deletions reports/ads-engineering-meeting/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"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"
}
]
}
19 changes: 19 additions & 0 deletions reports/ads-engineering-meeting/vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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'],
},
},
});
22 changes: 22 additions & 0 deletions reports/ads-monthly-meeting/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"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"
]
}
Empty file.
18 changes: 18 additions & 0 deletions reports/ads-monthly-meeting/src/main.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { RootAppWrapper, createRender } from '@cc-components/shared';
import { Report, configure } from '@cc-components/powerbi';

const MyApp = () => {
return (
<RootAppWrapper client={null}>
<Report
appKey={'ads-monthly-meeting'}
column={'ProjectMaster GUID'}
reportId={'ads-monthly-meeting'}
table={'Dim_ProjectMaster'}
/>
</RootAppWrapper>
);
};

export const render = createRender(MyApp, configure);
export default render;
22 changes: 22 additions & 0 deletions reports/ads-monthly-meeting/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"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"]
}
22 changes: 22 additions & 0 deletions reports/ads-monthly-meeting/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"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"
}
]
}
19 changes: 19 additions & 0 deletions reports/ads-monthly-meeting/vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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'],
},
},
});
22 changes: 22 additions & 0 deletions reports/ads-offshore-installation/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "ads-offshore-installation",
"displayName": "ADS Offshore Installation",
"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"
]
}
Empty file.
18 changes: 18 additions & 0 deletions reports/ads-offshore-installation/src/main.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { RootAppWrapper, createRender } from '@cc-components/shared';
import { Report, configure } from '@cc-components/powerbi';

const MyApp = () => {
return (
<RootAppWrapper client={null}>
<Report
appKey={'ads-offshore-installation'}
column={'ProjectMaster GUID'}
reportId={'ads-offshore-installation-trends'}
table={'Dim_ProjectMaster'}
/>
</RootAppWrapper>
);
};

export const render = createRender(MyApp, configure);
export default render;
22 changes: 22 additions & 0 deletions reports/ads-offshore-installation/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"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"]
}
22 changes: 22 additions & 0 deletions reports/ads-offshore-installation/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"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"
}
]
}
19 changes: 19 additions & 0 deletions reports/ads-offshore-installation/vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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'],
},
},
});
22 changes: 22 additions & 0 deletions reports/ads-weekly-meeting/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"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"
]
}
Empty file.
18 changes: 18 additions & 0 deletions reports/ads-weekly-meeting/src/main.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { RootAppWrapper, createRender } from '@cc-components/shared';
import { Report, configure } from '@cc-components/powerbi';

const MyApp = () => {
return (
<RootAppWrapper client={null}>
<Report
appKey={'ads-weekly-meeting'}
column={'ProjectMaster GUID'}
reportId={'ads-weekly-meeting'}
table={'Dim_ProjectMaster'}
/>
</RootAppWrapper>
);
};

export const render = createRender(MyApp, configure);
export default render;
22 changes: 22 additions & 0 deletions reports/ads-weekly-meeting/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"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"]
}
Loading

0 comments on commit 099c983

Please sign in to comment.