Skip to content

Commit

Permalink
Added info on workflows
Browse files Browse the repository at this point in the history
Updates on github-actions
  • Loading branch information
BFT\a.rogalskii committed Jul 3, 2021
1 parent 666e7cf commit f001bd4
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 5 deletions.
3 changes: 3 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@
},
"publish": {
"npmClient": "npm",
"bump": "patch",
"conventionalCommits": true,
"forcePublish": true,
"skipGit": true,
"allowBranch": ["main", "master"],
"message": "chore(release): 🤖 publish package",
"registry": "https://registry.npmjs.org/"
},
"version": {
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"semantic-release": "semantic-release",
"gitlog": "node ./scripts/changelog.js",
"ls": "git ls-files",
"plop": "plop",
"lerna:deps": "lerna bootstrap && lerna run --parallel --stream deps",
"lerna:build": "lerna bootstrap && lerna run --parallel --stream all",
"lerna:test": "lerna bootstrap && lerna run --parallel --stream test:all",
Expand Down Expand Up @@ -73,18 +74,15 @@
"eslint-plugin-unicorn": "^33.0.1",
"husky": "^5.0.8",
"jest": "^27.0.4",
"jest-cli": "27.0.4",
"jest-circus": "^27.0.4",
"jest-cli": "27.0.4",
"jest-emotion": "^11.0.0",
"jsonlint": "^1.6.3",
"lerna": "^2.2.0",
"license-checker": "^25.0.1",
"lint-staged": "^10.1.6",
"markdown-link-check": "^3.8.6",
"stylelint": "~13.13.1",
"stylelint-config-standard": "~22.0.0",
"stylelint-order": "^4.0.0",
"stylelint-scss": "^3.18.0",
"plop": "^2.7.4",
"prettier": "^2.1.2",
"pretty-quick": "^3.1.0",
"remark-cli": "^9.0.0",
Expand All @@ -93,6 +91,10 @@
"remark-preset-davidtheclark": "^0.12.0",
"remark-validate-links": "^10.0.2",
"semantic-release": ">=17.2.3",
"stylelint": "~13.13.1",
"stylelint-config-standard": "~22.0.0",
"stylelint-order": "^4.0.0",
"stylelint-scss": "^3.18.0",
"ts-jest": "^27.0.2",
"ts-node": ">=9.0.0",
"typescript": "^4.1.3",
Expand Down
50 changes: 50 additions & 0 deletions plopfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
module.exports = function (plop) {
// Add new js trigger
plop.setGenerator(`js-trigger`, {
description: `This sets up the basic files for a new package.`,
prompts: [
{
type: `input`,
name: `name`,
message: `name of new package`,
},
{
type: `input`,
name: `author`,
message: `Your name/email for putting in the package.json of the new package`,
},
],
actions: (data) => [
{
type: `addMany`,
destination: `packages/actionsflow-trigger-{{snakeCase name}}`,
templateFiles: "**/*",
base: `plop-templates/js-trigger`,
},
],
});
// Add new js trigger
plop.setGenerator(`ts-trigger`, {
description: `This sets up the basic files for a new package.`,
prompts: [
{
type: `input`,
name: `name`,
message: `name of new package`,
},
{
type: `input`,
name: `author`,
message: `Your name/email for putting in the package.json of the new package`,
},
],
actions: (data) => [
{
type: `addMany`,
destination: `packages/actionsflow-trigger-{{snakeCase name}}`,
templateFiles: "**/*",
base: `plop-templates/ts-trigger`,
},
],
});
};

0 comments on commit f001bd4

Please sign in to comment.