@form8ion/github-workflows-core 2.0.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  function setupNode({versionDeterminedBy}) {
6
4
  return {
7
5
  name: 'Setup node',
@@ -20,7 +18,10 @@ function executeVerification() {
20
18
  }
21
19
 
22
20
  function installDependencies() {
23
- return {run: 'npm clean-install'};
21
+ return [
22
+ {run: 'npm clean-install'},
23
+ {run: 'npm audit signatures'}
24
+ ];
24
25
  }
25
26
 
26
27
  function checkout() {
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/steps/scaffolders.js"],"sourcesContent":["export function setupNode({versionDeterminedBy}) {\n return {\n name: 'Setup node',\n uses: 'actions/setup-node@v3',\n with: {\n ...'nvmrc' === versionDeterminedBy && {'node-version-file': '.nvmrc'},\n // eslint-disable-next-line no-template-curly-in-string\n ...'matrix' === versionDeterminedBy && {'node-version': '${{ matrix.node }}'},\n cache: 'npm'\n }\n };\n}\n\nexport function executeVerification() {\n return {run: 'npm test'};\n}\n\nexport function installDependencies() {\n return {run: 'npm clean-install'};\n}\n\nexport function checkout() {\n return {uses: 'actions/checkout@v3'};\n}\n"],"names":[],"mappings":";;;;AAAO,SAAS,SAAS,CAAC,CAAC,mBAAmB,CAAC,EAAE;AACjD,EAAE,OAAO;AACT,IAAI,IAAI,EAAE,YAAY;AACtB,IAAI,IAAI,EAAE,uBAAuB;AACjC,IAAI,IAAI,EAAE;AACV,MAAM,GAAG,OAAO,KAAK,mBAAmB,IAAI,CAAC,mBAAmB,EAAE,QAAQ,CAAC;AAC3E;AACA,MAAM,GAAG,QAAQ,KAAK,mBAAmB,IAAI,CAAC,cAAc,EAAE,oBAAoB,CAAC;AACnF,MAAM,KAAK,EAAE,KAAK;AAClB,KAAK;AACL,GAAG,CAAC;AACJ,CAAC;AACD;AACO,SAAS,mBAAmB,GAAG;AACtC,EAAE,OAAO,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;AAC3B,CAAC;AACD;AACO,SAAS,mBAAmB,GAAG;AACtC,EAAE,OAAO,CAAC,GAAG,EAAE,mBAAmB,CAAC,CAAC;AACpC,CAAC;AACD;AACO,SAAS,QAAQ,GAAG;AAC3B,EAAE,OAAO,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;AACvC;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/steps/scaffolders.js"],"sourcesContent":["export function setupNode({versionDeterminedBy}) {\n return {\n name: 'Setup node',\n uses: 'actions/setup-node@v3',\n with: {\n ...'nvmrc' === versionDeterminedBy && {'node-version-file': '.nvmrc'},\n // eslint-disable-next-line no-template-curly-in-string\n ...'matrix' === versionDeterminedBy && {'node-version': '${{ matrix.node }}'},\n cache: 'npm'\n }\n };\n}\n\nexport function executeVerification() {\n return {run: 'npm test'};\n}\n\nexport function installDependencies() {\n return [\n {run: 'npm clean-install'},\n {run: 'npm audit signatures'}\n ];\n}\n\nexport function checkout() {\n return {uses: 'actions/checkout@v3'};\n}\n"],"names":[],"mappings":";;AAAO,SAAS,SAAS,CAAC,CAAC,mBAAmB,CAAC,EAAE;AACjD,EAAE,OAAO;AACT,IAAI,IAAI,EAAE,YAAY;AACtB,IAAI,IAAI,EAAE,uBAAuB;AACjC,IAAI,IAAI,EAAE;AACV,MAAM,GAAG,OAAO,KAAK,mBAAmB,IAAI,CAAC,mBAAmB,EAAE,QAAQ,CAAC;AAC3E;AACA,MAAM,GAAG,QAAQ,KAAK,mBAAmB,IAAI,CAAC,cAAc,EAAE,oBAAoB,CAAC;AACnF,MAAM,KAAK,EAAE,KAAK;AAClB,KAAK;AACL,GAAG,CAAC;AACJ,CAAC;AACD;AACO,SAAS,mBAAmB,GAAG;AACtC,EAAE,OAAO,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;AAC3B,CAAC;AACD;AACO,SAAS,mBAAmB,GAAG;AACtC,EAAE,OAAO;AACT,IAAI,CAAC,GAAG,EAAE,mBAAmB,CAAC;AAC9B,IAAI,CAAC,GAAG,EAAE,sBAAsB,CAAC;AACjC,GAAG,CAAC;AACJ,CAAC;AACD;AACO,SAAS,QAAQ,GAAG;AAC3B,EAAE,OAAO,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;AACvC;;;;;;;"}
package/lib/index.mjs CHANGED
@@ -16,7 +16,10 @@ function executeVerification() {
16
16
  }
17
17
 
18
18
  function installDependencies() {
19
- return {run: 'npm clean-install'};
19
+ return [
20
+ {run: 'npm clean-install'},
21
+ {run: 'npm audit signatures'}
22
+ ];
20
23
  }
21
24
 
22
25
  function checkout() {
package/lib/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../src/steps/scaffolders.js"],"sourcesContent":["export function setupNode({versionDeterminedBy}) {\n return {\n name: 'Setup node',\n uses: 'actions/setup-node@v3',\n with: {\n ...'nvmrc' === versionDeterminedBy && {'node-version-file': '.nvmrc'},\n // eslint-disable-next-line no-template-curly-in-string\n ...'matrix' === versionDeterminedBy && {'node-version': '${{ matrix.node }}'},\n cache: 'npm'\n }\n };\n}\n\nexport function executeVerification() {\n return {run: 'npm test'};\n}\n\nexport function installDependencies() {\n return {run: 'npm clean-install'};\n}\n\nexport function checkout() {\n return {uses: 'actions/checkout@v3'};\n}\n"],"names":[],"mappings":"AAAO,SAAS,SAAS,CAAC,CAAC,mBAAmB,CAAC,EAAE;AACjD,EAAE,OAAO;AACT,IAAI,IAAI,EAAE,YAAY;AACtB,IAAI,IAAI,EAAE,uBAAuB;AACjC,IAAI,IAAI,EAAE;AACV,MAAM,GAAG,OAAO,KAAK,mBAAmB,IAAI,CAAC,mBAAmB,EAAE,QAAQ,CAAC;AAC3E;AACA,MAAM,GAAG,QAAQ,KAAK,mBAAmB,IAAI,CAAC,cAAc,EAAE,oBAAoB,CAAC;AACnF,MAAM,KAAK,EAAE,KAAK;AAClB,KAAK;AACL,GAAG,CAAC;AACJ,CAAC;AACD;AACO,SAAS,mBAAmB,GAAG;AACtC,EAAE,OAAO,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;AAC3B,CAAC;AACD;AACO,SAAS,mBAAmB,GAAG;AACtC,EAAE,OAAO,CAAC,GAAG,EAAE,mBAAmB,CAAC,CAAC;AACpC,CAAC;AACD;AACO,SAAS,QAAQ,GAAG;AAC3B,EAAE,OAAO,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;AACvC;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../src/steps/scaffolders.js"],"sourcesContent":["export function setupNode({versionDeterminedBy}) {\n return {\n name: 'Setup node',\n uses: 'actions/setup-node@v3',\n with: {\n ...'nvmrc' === versionDeterminedBy && {'node-version-file': '.nvmrc'},\n // eslint-disable-next-line no-template-curly-in-string\n ...'matrix' === versionDeterminedBy && {'node-version': '${{ matrix.node }}'},\n cache: 'npm'\n }\n };\n}\n\nexport function executeVerification() {\n return {run: 'npm test'};\n}\n\nexport function installDependencies() {\n return [\n {run: 'npm clean-install'},\n {run: 'npm audit signatures'}\n ];\n}\n\nexport function checkout() {\n return {uses: 'actions/checkout@v3'};\n}\n"],"names":[],"mappings":"AAAO,SAAS,SAAS,CAAC,CAAC,mBAAmB,CAAC,EAAE;AACjD,EAAE,OAAO;AACT,IAAI,IAAI,EAAE,YAAY;AACtB,IAAI,IAAI,EAAE,uBAAuB;AACjC,IAAI,IAAI,EAAE;AACV,MAAM,GAAG,OAAO,KAAK,mBAAmB,IAAI,CAAC,mBAAmB,EAAE,QAAQ,CAAC;AAC3E;AACA,MAAM,GAAG,QAAQ,KAAK,mBAAmB,IAAI,CAAC,cAAc,EAAE,oBAAoB,CAAC;AACnF,MAAM,KAAK,EAAE,KAAK;AAClB,KAAK;AACL,GAAG,CAAC;AACJ,CAAC;AACD;AACO,SAAS,mBAAmB,GAAG;AACtC,EAAE,OAAO,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;AAC3B,CAAC;AACD;AACO,SAAS,mBAAmB,GAAG;AACtC,EAAE,OAAO;AACT,IAAI,CAAC,GAAG,EAAE,mBAAmB,CAAC;AAC9B,IAAI,CAAC,GAAG,EAAE,sBAAsB,CAAC;AACjC,GAAG,CAAC;AACJ,CAAC;AACD;AACO,SAAS,QAAQ,GAAG;AAC3B,EAAE,OAAO,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;AACvC;;;;"}
package/package.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "name": "@form8ion/github-workflows-core",
3
3
  "description": "core functionality for form8ion plugins that manage github workflows",
4
4
  "license": "MIT",
5
- "version": "2.0.0",
5
+ "version": "3.0.0",
6
6
  "type": "commonjs",
7
7
  "engines": {
8
- "node": "^14.17.0 || ^16.13.0 || >=18"
8
+ "node": "^14.18.0 || ^16.13.0 || >=18"
9
9
  },
10
10
  "author": "Matt Travi <npm@travi.org> (https://matt.travi.org)",
11
11
  "repository": "form8ion/github-workflows-core",
@@ -21,7 +21,7 @@
21
21
  "sideEffects": false,
22
22
  "scripts": {
23
23
  "test": "npm-run-all --print-label build --parallel lint:* --parallel test:*",
24
- "pretest:integration:base": "preview",
24
+ "pretest:integration:base": "run-s build",
25
25
  "lint:gherkin": "gherkin-lint",
26
26
  "test:integration": "run-s 'test:integration:base -- --profile noWip'",
27
27
  "test:integration:base": "NODE_OPTIONS=--enable-source-maps DEBUG=any cucumber-js test/integration --profile base",
@@ -53,39 +53,39 @@
53
53
  "lib/"
54
54
  ],
55
55
  "publishConfig": {
56
- "access": "public"
56
+ "access": "public",
57
+ "provenance": true
57
58
  },
58
59
  "devDependencies": {
59
- "@babel/register": "7.18.9",
60
- "@cucumber/cucumber": "8.7.0",
60
+ "@babel/register": "7.21.0",
61
+ "@cucumber/cucumber": "9.1.0",
61
62
  "@form8ion/babel-preset": "1.6.99",
62
- "@form8ion/commitlint-config": "1.0.38",
63
- "@form8ion/eslint-config": "5.0.12",
63
+ "@form8ion/commitlint-config": "1.0.49",
64
+ "@form8ion/eslint-config": "5.0.29",
64
65
  "@form8ion/eslint-config-cucumber": "1.4.1",
65
66
  "@form8ion/eslint-config-mocha": "2.0.3",
66
- "@form8ion/remark-lint-preset": "4.0.2",
67
- "@rollup/plugin-babel": "6.0.2",
68
- "@travi/any": "2.1.6",
67
+ "@form8ion/remark-lint-preset": "5.0.0",
68
+ "@rollup/plugin-babel": "6.0.3",
69
+ "@travi/any": "2.1.8",
69
70
  "babel-plugin-istanbul": "6.1.1",
70
- "ban-sensitive-files": "1.9.18",
71
- "c8": "7.12.0",
72
- "chai": "4.3.6",
71
+ "ban-sensitive-files": "1.9.19",
72
+ "c8": "7.13.0",
73
+ "chai": "4.3.7",
73
74
  "cross-env": "7.0.3",
74
75
  "cz-conventional-changelog": "3.3.0",
75
76
  "gherkin-lint": "4.2.2",
76
- "husky": "8.0.1",
77
- "lockfile-lint": "4.9.6",
78
- "ls-engines": "0.7.0",
79
- "mocha": "10.1.0",
80
- "mock-fs": "5.1.4",
77
+ "husky": "8.0.3",
78
+ "lockfile-lint": "4.10.1",
79
+ "ls-engines": "0.9.0",
80
+ "mocha": "10.2.0",
81
+ "mock-fs": "5.2.0",
81
82
  "npm-run-all": "4.1.5",
82
- "package-preview": "4.0.0",
83
83
  "remark-cli": "11.0.0",
84
84
  "remark-toc": "8.0.1",
85
85
  "remark-usage": "10.0.1",
86
- "rimraf": "3.0.2",
87
- "rollup": "2.79.1",
86
+ "rimraf": "5.0.0",
87
+ "rollup": "3.20.6",
88
88
  "rollup-plugin-auto-external": "2.0.0",
89
- "sinon": "14.0.1"
89
+ "sinon": "15.0.4"
90
90
  }
91
91
  }