@toptal/davinci-syntax 14.0.9-alpha-fx-try-engines-version-dependency.7 → 15.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 15.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#1504](https://github.com/toptal/davinci/pull/1504) [`d6c5b84d`](https://github.com/toptal/davinci/commit/d6c5b84d1fe1af9f57ce591a1d4b7e88b50f3371) Thanks [@denieler](https://github.com/denieler)! - Remove `davinci syntax init` command
8
+
3
9
  ## 14.0.8
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -6,16 +6,6 @@ Helps to check the style of your code. Provides basic linting, prettier function
6
6
 
7
7
  Use it by installing `yarn add @toptal/davinci` in your project.
8
8
 
9
- ### Init
10
-
11
- Important: If you've bootstrapped your projects by using `davinci` CLI there is _NO NEED to run `init`_ in your project because `syntax` package already set up.
12
-
13
- But if you are using `syntax` as a standalone package, before using it you have to run
14
-
15
- `davinci syntax init`
16
-
17
- Under the hood, it will prepare `.estlintrc`, `.eslintignore`, `.prettierrc`, `.stylelintrc`, `.editorconfig` files in your project, and set up hooks to check your code on commits.
18
-
19
9
  #### Commands
20
10
 
21
11
  - [`lint code`](./docs/lint-code.md): lint the project's code
@@ -2,13 +2,11 @@
2
2
 
3
3
  const cliEngine = require('@toptal/davinci-cli-shared')
4
4
 
5
- const initCommandCreator = require('../src/commands/init')
6
5
  const lintCodeCommandCreator = require('../src/commands/lint-code')
7
6
  const lintStylesCommandCreator = require('../src/commands/lint-styles')
8
7
  const lintDirsCommandCreator = require('../src/commands/lint-dirs')
9
8
 
10
9
  cliEngine.loadCommands([
11
- initCommandCreator,
12
10
  lintCodeCommandCreator,
13
11
  lintStylesCommandCreator,
14
12
  lintDirsCommandCreator,
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@toptal/davinci-syntax",
3
+ "version": "15.0.0",
4
+ "description": "Lint and prettier support",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "keywords": [
9
+ "lint"
10
+ ],
11
+ "author": "Toptal",
12
+ "homepage": "https://github.com/toptal/davinci/tree/master/packages/syntax#readme",
13
+ "license": "ISC",
14
+ "main": "src/index.js",
15
+ "bin": {
16
+ "davinci-syntax": "bin/davinci-syntax.js"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/toptal/davinci.git"
21
+ },
22
+ "scripts": {
23
+ "build:package": "../../bin/build-package.js",
24
+ "prepublishOnly": "../../bin/prepublish.js",
25
+ "lint:path": "eslint --ext=.js,.jsx,.ts,.tsx --color --fix",
26
+ "lint": "yarn run lint:path .",
27
+ "test": "echo \"Error: run tests from root\" && exit 1"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/toptal/davinci/issues"
31
+ },
32
+ "dependencies": {
33
+ "@stylelint/postcss-css-in-js": "^0.37.2",
34
+ "@toptal/davinci-cli-shared": "1.5.4",
35
+ "@toptal/davinci-dir-lint": "^0.1.0",
36
+ "@toptal/eslint-plugin-davinci": "5.3.1",
37
+ "@typescript-eslint/eslint-plugin": "^5.19.0",
38
+ "@typescript-eslint/parser": "^5.30.7",
39
+ "eslint": "^8.19.0",
40
+ "eslint-config-prettier": "^8.5.0",
41
+ "eslint-config-prettier-standard": "^4.0.1",
42
+ "eslint-plugin-cypress": "^2.12.1",
43
+ "eslint-plugin-import": "^2.26.0",
44
+ "eslint-plugin-jest": "^26.4.5",
45
+ "eslint-plugin-jest-formatting": "^3.1.0",
46
+ "eslint-plugin-no-inline-styles": "^1.0.5",
47
+ "eslint-plugin-node": "^11.1.0",
48
+ "eslint-plugin-prettier": "^4.0.0",
49
+ "eslint-plugin-promise": "^6.0.0",
50
+ "eslint-plugin-react": "^7.29.4",
51
+ "eslint-plugin-react-hooks": "^4.4.0",
52
+ "eslint-plugin-todo-plz": "^1.2.1",
53
+ "eslint-plugin-unused-imports": "2.0.0",
54
+ "husky": "^7.0.4",
55
+ "lint-staged": "^13.0.2",
56
+ "postcss-syntax": "^0.36.2",
57
+ "prettier": "^2.6.2",
58
+ "prettier-config-standard": "^5.0.0",
59
+ "stylelint": "^14.9.1",
60
+ "stylelint-config-standard": "^26.0.0",
61
+ "stylelint-config-styled-components": "^0.1.1",
62
+ "stylelint-processor-styled-components": "^1.10.0"
63
+ },
64
+ "devDependencies": {
65
+ "json5": "^2.2.0"
66
+ },
67
+ "peerDependencies": {
68
+ "typescript": "^3 || ^4"
69
+ }
70
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-syntax",
3
- "version": "14.0.9-alpha-fx-try-engines-version-dependency.7+1ab55c36",
3
+ "version": "15.0.0",
4
4
  "description": "Lint and prettier support",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@stylelint/postcss-css-in-js": "^0.37.2",
34
- "@toptal/davinci-cli-shared": "1.5.5-alpha-fx-try-engines-version-dependency.96+1ab55c36",
35
- "@toptal/davinci-dir-lint": "0.1.1-alpha-fx-try-engines-version-dependency.212+1ab55c36",
36
- "@toptal/eslint-plugin-davinci": "5.3.2-alpha-fx-try-engines-version-dependency.21+1ab55c36",
34
+ "@toptal/davinci-cli-shared": "1.5.4",
35
+ "@toptal/davinci-dir-lint": "^0.1.0",
36
+ "@toptal/eslint-plugin-davinci": "5.3.1",
37
37
  "@typescript-eslint/eslint-plugin": "^5.19.0",
38
38
  "@typescript-eslint/parser": "^5.30.7",
39
39
  "eslint": "^8.19.0",
@@ -66,6 +66,5 @@
66
66
  },
67
67
  "peerDependencies": {
68
68
  "typescript": "^3 || ^4"
69
- },
70
- "gitHead": "1ab55c36588f5e392ab539300b6f0c15313f913e"
69
+ }
71
70
  }