prettier-plugin-bq 0.2.60 → 1.0.0-beta.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.
package/package.json CHANGED
@@ -1,31 +1,19 @@
1
1
  {
2
2
  "name": "prettier-plugin-bq",
3
- "version": "0.2.60",
3
+ "version": "1.0.0-beta.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
- "scripts": {
7
- "test": "eslint-config-prettier src/index.ts && eslint ./src && prettier --check ./src && tsc && NODE_OPTIONS='--experimental-vm-modules' jest",
8
- "latest-bq2cst": "rm -rf ./node_modules/bq2cst && gh run download -R dr666m1/bq2cst -n pkg -D ./node_modules/bq2cst"
9
- },
10
6
  "keywords": [],
11
- "author": "kitta65 <skndr666m1@gmail.com>",
7
+ "author": "kitta65 <kitta65kitta@gmail.com>",
12
8
  "license": "MIT",
13
- "devDependencies": {
14
- "@types/jest": "^29.0.0",
15
- "@types/node": "^22.1.0",
16
- "@typescript-eslint/eslint-plugin": "^8.0.1",
17
- "@typescript-eslint/parser": "^8.0.1",
18
- "eslint": "^9.11.1",
19
- "eslint-config-prettier": "^10.1.5",
20
- "eslint-plugin-unicorn": "^59.0.0",
21
- "jest": "^29.0.0",
22
- "ts-jest": "^29.0.0",
23
- "typescript": "^5.8.3"
24
- },
9
+ "devDependencies": {},
25
10
  "dependencies": {
26
- "bq2cst": "0.5.11"
11
+ "bq2cst": "1.0.0-beta.1"
27
12
  },
28
13
  "peerDependencies": {
29
14
  "prettier": "^3.2.4"
15
+ },
16
+ "scripts": {
17
+ "test": "eslint-config-prettier src/index.ts && eslint ./src && prettier --check ./src && tsc && NODE_OPTIONS='--experimental-vm-modules' jest"
30
18
  }
31
- }
19
+ }
package/README.md DELETED
@@ -1,41 +0,0 @@
1
- # prettier-plugin-bq
2
-
3
- `prettier-plugin-bq` is a [prettier](https://prettier.io/) plugin for **GoogleSQL**, which is a dialect of BigQuery.
4
-
5
- ## Install
6
-
7
- ```
8
- npm install --save-dev prettier prettier-plugin-bq
9
- ```
10
-
11
- ## Usage
12
-
13
- You can format `.sql` and `.bq` file by the following command.
14
-
15
- ```
16
- npx prettier --write ./xxx.sql --plugin=prettier-plugin-bq
17
- ```
18
-
19
- For more information, please read the prettier document.
20
-
21
- ## Configuration
22
-
23
- Below are the options that `prettier-plugin-bq` currently supports.
24
-
25
- | API Option | CLI Option | Default | Description |
26
- | ----------------------------- | ---------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
27
- | formatMultilineComment | format-multiline-comment | false | (experimental) Print multiline commnets in ["starred-block"](https://eslint.org/docs/rules/multiline-comment-style) style. |
28
- | indentCte | indent-cte | true | Indent CTEs in with clause. |
29
- | printBlankLineAfterCte | print-blank-line-after-cte | false | Print blank line after CTE in with clause. |
30
- | printKeywordsInUpperCase | print-keywords-in-upper-case | true | Print [reserved keywords](https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical#reserved_keywords) and functions in upper case. |
31
- | printPseudoColumnsInUpperCase | print-pseudo-columns-in-upper-case | true | Print pseudo columns (e.g. `_PARTITIONDATE`, `_PARTITIONTIME`) in upper case. When `printKeywordsInUpperCase` is `false`, this option is ignored. |
32
-
33
- ## Coding style
34
-
35
- This plugin doesn't follow any famous style guides,
36
- because none of them satisfies me.
37
-
38
- ## Feedback
39
-
40
- I'm not ready to accept pull requests, but your feedback is always welcome.
41
- If you find any bugs, please feel free to create an issue.