{"id":28578423,"url":"https://github.com/powerappsdarren/basicpcf","last_synced_at":"2025-06-11T01:10:12.317Z","repository":{"id":293502992,"uuid":"984247586","full_name":"PowerAppsDarren/BasicPCF","owner":"PowerAppsDarren","description":"As basic as it gets","archived":false,"fork":false,"pushed_at":"2025-05-15T16:43:38.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T17:42:09.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PowerAppsDarren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-15T16:11:58.000Z","updated_at":"2025-05-15T16:43:42.000Z","dependencies_parsed_at":"2025-05-15T17:53:51.413Z","dependency_job_id":null,"html_url":"https://github.com/PowerAppsDarren/BasicPCF","commit_stats":null,"previous_names":["powerappsdarren/basicpcf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2FBasicPCF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2FBasicPCF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2FBasicPCF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2FBasicPCF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PowerAppsDarren","download_url":"https://codeload.github.com/PowerAppsDarren/BasicPCF/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerAppsDarren%2FBasicPCF/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259178542,"owners_count":22817389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-11T01:10:10.239Z","updated_at":"2025-06-11T01:10:12.300Z","avatar_url":"https://github.com/PowerAppsDarren.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BasicPCF\nAs basic as it gets\n\n```\n# Notes to walk you through all this\n# https://workflowy.com/s/practical-walkthroug/9TjQngDeg46GK4Ul\n#\n# Create this file for your workspace\nvscode.code-workspace\n\npac pcf init --namespace YOUR_NAMESPACE_HERE --name YOUR_PCF_COMPONENT_NAME --template field\n#pac pcf init --namespace SuperPowerLabs --name BasicPCF --template field\n# Another Example\n# pac pcf init --namespace PCTroubleShooter --name basicPCF --template field\n\nnpm install\n\n# Add this to the top of index.tx - line 4, right after the class definition\nprivate _container: HTMLDivElement;\n# And add this to the init function\nthis._container = container;\nconst helloDiv = document.createElement(\"div\");\nhelloDiv.innerText = \"Hello, World!\";\nthis._container.appendChild(helloDiv);\n\n# Time to run and play\nnpm run build\nnpm start\n\n# Create a PowerShell script to build and deploy!\n# deploy.ps1\n\n$timestamp = (Get-Date).ToString('yyyy-MM-dd-hh-mm-ss-tt')\n$simpleDir = \"./SolutionPackages/PCF_COMPONENT_NAME\"                # \u003c-- REPLACE TOKEN! #️⃣ \n$finalDir = \"./SolutionPackages/PCF_COMPONENT_NAME-$timestamp\"      # \u003c-- REPLACE TOKEN! #️⃣ \nNew-Item -ItemType Directory -Path $simpleDir -Force\nPush-Location $simpleDir\n# #️⃣ REPLACE TOKENS! ⬇️\npac solution init --publisher-name \"YOUR_PUBLISHER_NAME\" --publisher-prefix \"YOUR_PUBLISHER_PREFIX\"\npac solution add-reference --path \"../..\"\nPop-Location\nNew-Item -ItemType Directory -Path $finalDir -Force\nMove-Item -Path \"$simpleDir/*\" -Destination $finalDir\nRemove-Item -Path $simpleDir -Force\nmsbuild /t:build /restore\n# #️⃣ REPLACE TOKENS! ⬇️\npac auth create --environment \"ENVIRONMENT_NAME\"\n# #️⃣ REPLACE TOKENS! ⬇️\npac pcf push --publisher-prefix YOUR_PUBLISHER_PREFIX\n\n```\n\n![screen shot](play.png)\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowerappsdarren%2Fbasicpcf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpowerappsdarren%2Fbasicpcf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpowerappsdarren%2Fbasicpcf/lists"}