Giter VIP home page Giter VIP logo

powershell-builder's Introduction

Oh, Hello ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on building APIs to help me keep track of everything.
  • ๐ŸŒฑ Iโ€™m currently learning Flask.
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on anything!
  • ๐Ÿ’ฌ Ask me about PowerShell - I've written tools for everything under then sun.
  • โšก Fun fact: Wish I had a fun fact.

powershell-builder's People

Contributors

devynspencer avatar

Stargazers

 avatar

Watchers

 avatar  avatar

powershell-builder's Issues

New function - pipeline

An opinionated template for a PowerShell function built to support pipeline input and process multiple possible input types gracefully. The big one.

Publish-OrgModule.ps1

Wrapper for all publishing tasks - could alternatively resemble a build tool like gulp/npm.

  • Run tests -- be a hero

  • Update CHANGELOG.md -- if this could be done automatically based on a summary of git commits, it would blow my fucking mind

  • Increment semantic version (maybe with a prompt for what kind of changes were made/how much it should be incremented by with examples for simplicity in the moment) -- update module manifest, anywhere else?

  • Package the module, probably as a nuget package, and without superfluous/non-production artifacts like tests, docs, and examples

  • Notify change control, SharePoint list/power app, Teams channel

New function - basic

Tiny functions that do need parameters but (maybe) don't need comment-based help.

PowerShell Module Template

Template repository for quickly developing a new PowerShell module that integrates with a standard toolchain and development pipeline.

  • Basic module tests -- template task already created somewhere
  • Module profile/repository on package server -- probably not necessary before a nuget front-end
  • Git repository setup script -- all local or could also create the repo on GitHub
  • Publishing script(s)
  • Documentation generator script(s)
  • Directory structure (with placeholder folders?)
  • Packaging script(s) -- include only the module code (no tests/docs/tools/licenses/changelogs); bundle separate files into psm1?
  • README.md template -- or even better, generate/update it programmatically via a script
  • CHANGELOG.md template -- again, generate/update programmatically via a script
  • packaging metadata template -- whatever metadata nuget needs; might be superfluous with publishing/packaging scripts
  • Dependencies on (yet-to-exist) helper module -- build-related functions and scripts distributed together as a module, if it makes sense
  • Dependencies on non-build helper modules (logging, configuration, dsc integration) -- just an idea, but thinking of things like modules for formatting/sanitization/data structures/config data/remoting/encryption?
  • Travis CI or similar configuration
  • GitHub issue templates and other .github stuff
  • VS Code per-project config files
  • README.md files in private and public module directories -- generated from comment-based help and function names; is this overkill?
  • Populate project URIs in module manifest -- i.e. the raw link to the GitHub repo, LICENSE file etc; should be able to customize endpoints for both personal and work projects
  • gitignore excluding secrets
  • psake or similar 'front-door' for issuing project-specific build commands

Resources

Generated manifest not following best practices

Manifest generates with each of the ToExport properties set to '*'. This isn't best practice and hurts load performance from what I understand. I believe it should generate those properties as empty arrays instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.