@adbayb/create 0.5.0 → 0.9.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/CHANGELOG.md CHANGED
@@ -3,6 +3,37 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.9.0](https://github.com/adbayb/stack/compare/v0.8.0...v0.9.0) (2021-11-23)
7
+
8
+ **Note:** Version bump only for package @adbayb/create
9
+
10
+
11
+
12
+
13
+
14
+ # [0.8.0](https://github.com/adbayb/stack/compare/v0.7.0...v0.8.0) (2021-11-23)
15
+
16
+
17
+ ### Features
18
+
19
+ * **create:** use husky v4 ([982c8be](https://github.com/adbayb/stack/commit/982c8bea835f1610d578175071b6d52e83cc8e92))
20
+
21
+
22
+
23
+
24
+
25
+ # [0.7.0](https://github.com/adbayb/stack/compare/v0.6.1...v0.7.0) (2021-07-17)
26
+
27
+ ### Features
28
+
29
+ - update dependencies ([6efb186](https://github.com/adbayb/stack/commit/6efb1864152fc7c1a2a697e0795fd2f104cfd09e))
30
+
31
+ # [0.6.0](https://github.com/adbayb/stack/compare/v0.5.0...v0.6.0) (2021-04-05)
32
+
33
+ ### Features
34
+
35
+ - **terminal-kit:** add library ([4c515b0](https://github.com/adbayb/stack/commit/4c515b0094beadf12d7169dc658a7de8917bfbde))
36
+
6
37
  # [0.5.0](https://github.com/adbayb/create/compare/v0.4.0...v0.5.0) (2021-04-03)
7
38
 
8
39
  ### Bug Fixes
package/README.md CHANGED
@@ -4,12 +4,6 @@
4
4
  </div>
5
5
  <p></p>
6
6
 
7
- Custom configuration presets including:
8
-
9
- - [✍️ Linting](../eslint-config)
10
- - [💄 Formatting](../prettier-config)
11
- - [⚙️ Typing](../ts-config)
12
-
13
7
  ## Usage
14
8
 
15
9
  - `cd my-project-root-folder`
package/cli/index.js CHANGED
@@ -39,12 +39,10 @@ const processPkg = async () => {
39
39
  },
40
40
  license: "MIT",
41
41
  scripts: {
42
- "check:format":
43
- "prettier . --ignore-path .gitignore --ignore-path .prettierignore",
44
- "check:lint": "eslint . --ignore-path .gitignore",
45
- "check:types": "tsc --noEmit",
46
- format: "yarn check:format --write",
47
- lint: "yarn check:lint --fix",
42
+ verify: "yarn lint & tsc --noEmit",
43
+ fix: "yarn lint --fix",
44
+ lint: "eslint . --ignore-path .gitignore",
45
+ format: "prettier . --ignore-path .gitignore --ignore-path .prettierignore --write",
48
46
  },
49
47
  prettier: "@adbayb/prettier-config",
50
48
  eslintConfig: {
@@ -102,14 +100,21 @@ const copyTemplates = async () => {
102
100
  };
103
101
 
104
102
  const install = async () => {
103
+ await exec("yarn add typescript@latest --dev");
104
+ await exec("yarn add eslint@latest --dev");
105
+ await exec("yarn add prettier@latest --dev");
105
106
  await exec("yarn add @adbayb/eslint-config@latest --dev");
106
107
  await exec("yarn add @adbayb/prettier-config@latest --dev");
107
108
  await exec("yarn add @adbayb/ts-config@latest --dev");
108
109
  };
109
110
 
110
111
  const clean = async () => {
111
- await exec("yarn lint");
112
- await exec("yarn format");
112
+ try {
113
+ await exec("yarn lint");
114
+ await exec("yarn format");
115
+ } catch (error) {
116
+ // @note: encapsulate lint/format logic to be error tolerant in case of new project without any files
117
+ }
113
118
  };
114
119
 
115
120
  const run = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adbayb/create",
3
- "version": "0.5.0",
3
+ "version": "0.9.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -21,14 +21,14 @@
21
21
  },
22
22
  "repository": {
23
23
  "type": "git",
24
- "url": "https://github.com/adbayb/create.git",
24
+ "url": "https://github.com/adbayb/stack.git",
25
25
  "directory": "packages/create"
26
26
  },
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "husky": "5.2.0",
30
- "lint-staged": "10.5.4",
31
- "ora": "5.4.0"
29
+ "husky": "4.3.8",
30
+ "lint-staged": "12.1.2",
31
+ "ora": "5.4.1"
32
32
  },
33
- "gitHead": "f2e36811dcb21f91adc529915bad31212b605259"
33
+ "gitHead": "71fd3ed9468b258ea3134103913d7cceec9bedfd"
34
34
  }