@form8ion/project 13.0.7 → 13.1.1

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.
Files changed (2) hide show
  1. package/README.md +6 -3
  2. package/package.json +20 -21
package/README.md CHANGED
@@ -79,7 +79,6 @@ import {lift, scaffold, questionNames} from '@form8ion/project';
79
79
  #### Execute
80
80
 
81
81
  ```javascript
82
- (async () => {
83
82
  await scaffold({
84
83
  decisions: {
85
84
  [questionNames.PROJECT_NAME]: 'my-project',
@@ -96,8 +95,12 @@ import {lift, scaffold, questionNames} from '@form8ion/project';
96
95
  }
97
96
  });
98
97
 
99
- await lift({projectRoot: process.cwd(), results: {}});
100
- })();
98
+ await lift({
99
+ projectRoot: process.cwd(),
100
+ results: {},
101
+ enhancers: {foo: {test: () => true, lift: () => ({})}},
102
+ vcs: {}
103
+ });
101
104
  ```
102
105
 
103
106
  ### API
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@form8ion/project",
3
3
  "description": "opinionated scaffolder for new projects",
4
- "version": "13.0.7",
4
+ "version": "13.1.1",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.mjs",
7
7
  "exports": {
@@ -33,21 +33,21 @@
33
33
  "test:integration:base": "NODE_OPTIONS=\"--loader=testdouble --enable-source-maps\" cucumber-js test/integration",
34
34
  "test:integration:wip": "run-s 'test:integration:base -- --profile wip'",
35
35
  "test:integration:focus": "run-s 'test:integration:base -- --profile focus'",
36
- "pretest:integration:base": "preview",
36
+ "pretest:integration:base": "run-s build",
37
37
  "test:integration": "run-s 'test:integration:base -- --profile noWip'",
38
38
  "pregenerate:md": "run-s build",
39
39
  "generate:md": "remark . --output",
40
40
  "build:js": "rollup -c",
41
41
  "build": "run-s clean build:*",
42
42
  "watch": "run-s 'build:js -- --watch'",
43
- "prepublishOnly": "run-s build",
43
+ "prepack": "run-s build",
44
44
  "prepare": "husky install"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
49
  "engines": {
50
- "node": "^14.15"
50
+ "node": "^14.15 || ^16"
51
51
  },
52
52
  "files": [
53
53
  "lib/",
@@ -60,15 +60,14 @@
60
60
  },
61
61
  "devDependencies": {
62
62
  "@babel/register": "7.17.7",
63
- "@cucumber/cucumber": "8.2.1",
64
- "@form8ion/babel-preset": "1.6.89",
65
- "@form8ion/commitlint-config": "1.0.33",
63
+ "@cucumber/cucumber": "8.2.2",
64
+ "@form8ion/babel-preset": "1.6.90",
65
+ "@form8ion/commitlint-config": "1.0.35",
66
66
  "@form8ion/eslint-config": "5.0.3",
67
67
  "@form8ion/eslint-config-cucumber": "1.4.1",
68
- "@form8ion/eslint-config-mocha": "2.0.1",
69
- "@form8ion/remark-lint-preset": "1.0.13",
68
+ "@form8ion/eslint-config-mocha": "2.0.2",
69
+ "@form8ion/remark-lint-preset": "4.0.0",
70
70
  "@travi/any": "2.0.20",
71
- "babel-plugin-transform-object-rest-spread": "6.26.0",
72
71
  "c8": "7.11.3",
73
72
  "chai": "4.3.6",
74
73
  "chai-as-promised": "7.1.1",
@@ -77,19 +76,19 @@
77
76
  "gherkin-lint": "4.2.2",
78
77
  "husky": "8.0.1",
79
78
  "lockfile-lint": "4.7.4",
80
- "ls-engines": "0.6.6",
79
+ "ls-engines": "0.7.0",
81
80
  "make-dir": "3.1.0",
82
- "mdast-util-from-markdown": "0.8.5",
83
- "mdast-util-heading-range": "2.1.5",
84
- "mdast-zone": "4.0.1",
81
+ "mdast-util-from-markdown": "1.2.0",
82
+ "mdast-util-heading-range": "3.1.0",
83
+ "mdast-zone": "5.1.0",
85
84
  "mocha": "10.0.0",
86
85
  "mock-fs": "5.1.2",
87
86
  "npm-run-all": "4.1.5",
88
- "package-preview": "4.0.0",
89
- "remark-cli": "9.0.0",
90
- "remark-toc": "7.2.0",
91
- "remark-usage": "9.0.0",
92
- "rollup": "2.74.1",
87
+ "remark-cli": "10.0.1",
88
+ "remark-toc": "8.0.1",
89
+ "remark-usage": "10.0.1",
90
+ "rimraf": "3.0.2",
91
+ "rollup": "2.75.5",
93
92
  "rollup-plugin-auto-external": "2.0.0",
94
93
  "sinon": "14.0.0",
95
94
  "testdouble": "3.16.5",
@@ -97,9 +96,9 @@
97
96
  },
98
97
  "dependencies": {
99
98
  "@form8ion/core": "^1.6.0-alpha.2",
100
- "@form8ion/nodegit-wrapper": "^1.0.0",
99
+ "@form8ion/nodegit-wrapper": "^1.1.0-alpha.1",
101
100
  "@form8ion/overridable-prompts": "^1.1.0",
102
- "@form8ion/readme": "2.0.0",
101
+ "@form8ion/readme": "2.0.1",
103
102
  "@form8ion/results-reporter": "^1.1.0",
104
103
  "@hapi/hoek": "^10.0.0",
105
104
  "@travi/cli-messages": "1.0.5",