@getcommunity/config-prettier 0.0.4 → 0.0.6

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,16 +1,25 @@
1
1
  {
2
2
  "name": "@getcommunity/config-prettier",
3
3
  "description": "",
4
- "version": "0.0.4",
5
- "author": "@GetCommunity <ryan@getcommunity.com> (https://github.com/GetCommunity)",
4
+ "version": "0.0.6",
5
+ "author": "@GetCommunity <joey@getcommunity.com> (https://github.com/GetCommunity)",
6
6
  "contributors": [
7
7
  "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)"
8
8
  ],
9
+ "exports": {
10
+ "./prettier-config.json": "./src/prettier-config.json",
11
+ "./app.js": "./src/app.js",
12
+ "./app-tailwind.js": "./src/app-tailwind.js",
13
+ "./package.js": "./src/package.js"
14
+ },
15
+ "files": [
16
+ "src"
17
+ ],
9
18
  "keywords": [],
10
19
  "license": "ISC",
11
- "main": "./prettier-config.json",
12
20
  "peerDependencies": {
13
- "prettier": "^3.3.3"
21
+ "prettier": "^3.4.2",
22
+ "prettier-plugin-tailwindcss": "^0.6.11"
14
23
  },
15
24
  "private": false,
16
25
  "publishConfig": {
@@ -0,0 +1,14 @@
1
+ const config = {
2
+ $schema: "http://json.schemastore.org/prettier",
3
+ endOfLine: "lf",
4
+ semi: false,
5
+ singleQuote: false,
6
+ jsxSingleQuote: false,
7
+ tabWidth: 2,
8
+ useTabs: false,
9
+ printWidth: 88,
10
+ trailingComma: "none",
11
+ plugins: ["prettier-plugin-tailwindcss"]
12
+ }
13
+
14
+ export default config
package/src/app.js ADDED
@@ -0,0 +1,13 @@
1
+ const config = {
2
+ $schema: "http://json.schemastore.org/prettier",
3
+ endOfLine: "lf",
4
+ semi: false,
5
+ singleQuote: false,
6
+ jsxSingleQuote: false,
7
+ tabWidth: 2,
8
+ useTabs: false,
9
+ printWidth: 88,
10
+ trailingComma: "none"
11
+ }
12
+
13
+ export default config
package/src/package.js ADDED
@@ -0,0 +1,13 @@
1
+ const config = {
2
+ $schema: "http://json.schemastore.org/prettier",
3
+ endOfLine: "lf",
4
+ semi: false,
5
+ singleQuote: false,
6
+ jsxSingleQuote: false,
7
+ tabWidth: 2,
8
+ useTabs: false,
9
+ printWidth: 88,
10
+ trailingComma: "none"
11
+ }
12
+
13
+ export default config
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/prettierrc",
3
+ "endOfLine": "lf",
4
+ "semi": false,
5
+ "singleQuote": false,
6
+ "jsxSingleQuote": false,
7
+ "tabWidth": 2,
8
+ "useTabs": false,
9
+ "printWidth": 88,
10
+ "trailingComma": "none"
11
+ }
package/CHANGELOG.md DELETED
@@ -1,25 +0,0 @@
1
- # @getcommunity/config-prettier
2
-
3
- ## 0.0.4
4
-
5
- ### Patch Changes
6
-
7
- - 3f2dafd: updated package dependencies
8
-
9
- ## 0.0.3
10
-
11
- ### Patch Changes
12
-
13
- - updated config
14
-
15
- ## 0.0.2
16
-
17
- ### Patch Changes
18
-
19
- - resolved eslinting and shared tsconfig, working on ssr implementation
20
-
21
- ## 0.0.1
22
-
23
- ### Patch Changes
24
-
25
- - updated all packages to gcui
@@ -1,10 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/prettierrc",
3
- "semi": true,
4
- "trailingComma": "es5",
5
- "singleQuote": true,
6
- "jsxSingleQuote": true,
7
- "printWidth": 88,
8
- "tabWidth": 2,
9
- "useTabs": false
10
- }