- Generate a
GPGkey (see here)
gpg --full-generate-key- Save the
GPGpassphrase to secrets asGPG_KEY_PASSPHRASE
| # Syntactic Grammar for ECMAScript | |
| ecma-script-module ::= { top-level | ignorable } | |
| top-level ::= statement | |
| | function-declaration | |
| | class-declaration | |
| function-declaration ::= [ "async" ] "function" identifier function-params-postfix compound-statement |
| { | |
| "extends": "@flex-development" | |
| } |
| # Add To Project | |
| # | |
| # Add new issues and pull requests to the project board. | |
| # | |
| # References: | |
| # | |
| # - https://docs.github.com/actions/learn-github-actions/contexts | |
| # - https://docs.github.com/actions/learn-github-actions/expressions | |
| # - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#issues | |
| # - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#pull_request |
This document lists comment styles and languages (and dialects) that use it. The list is based on the one used in NERD commenter.
Comment types are grouped by the types of symbols used. Each example is organised as a comment block followed by a list of languages.
Note1: the number of languages is quite large, and much of this
| const childProcess = require("child_process"); | |
| // https://vercel.com/support/articles/how-do-i-use-the-ignored-build-step-field-on-vercel | |
| const ABORT_BUILD_CODE = 0; | |
| const CONTINUE_BUILD_CODE = 1; | |
| const continueBuild = () => process.exit(CONTINUE_BUILD_CODE); | |
| const abortBuild = () => process.exit(ABORT_BUILD_CODE); | |
| const app = process.argv[2] || path.basename(path.resolve()); |
The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.await import(…) from CommonJS instead of require(…).So you want to commit changes generated by a GitHub Actions workflow back to your repo, and have that commit signed automatically?
Here's one way this is possible, using the REST API, the auto-generated GITHUB_TOKEN, and the GitHub CLI, gh, which is pre-installed on GitHub's hosted Actions runners.
You don't have to configure the git client, just add a step like the one below... Be sure to edit FILE_TO_COMMIT and DESTINATION_BRANCH to suit your needs.
| /** Internet Explorer */ | |
| @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { | |
| div { | |
| display: block; | |
| } | |
| } | |
| /** Microsoft Edge */ | |
| @supports (-ms-ime-align: auto) { | |
| div { |
This is a quick-and-dirty walkthrough to set up a fresh project with Storybook Controls. It's also an introduction to Storybook Args, which is a major update to Storybook's Component Story Format (CSF): a more portable and ergonomic way to write stories.
This walkthrough gives you: