@getcommunity/config-prettier 0.1.0 → 0.1.2

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,24 +1,42 @@
1
1
  {
2
2
  "name": "@getcommunity/config-prettier",
3
- "description": "",
4
- "version": "0.1.0",
5
- "author": "@GetCommunity <ryan@getcommunity.com> (https://github.com/GetCommunity)",
3
+ "description": "code formatting",
4
+ "version": "0.1.2",
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.8.3",
22
+ "prettier-plugin-organize-imports": "^4.3.0",
23
+ "prettier-plugin-tailwindcss": "^0.8.0"
24
+ },
25
+ "devDependencies": {
26
+ "prettier": "^3.8.3",
27
+ "prettier-plugin-organize-imports": "^4.3.0",
28
+ "prettier-plugin-tailwindcss": "^0.8.0"
14
29
  },
15
30
  "private": false,
16
31
  "publishConfig": {
17
32
  "access": "public"
18
33
  },
19
- "repository": "getcommunity/config-prettier.git",
20
- "type": "module",
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "git+https://github.com/getcommunity/config-prettier.git"
37
+ },
21
38
  "scripts": {
22
39
  "publish-manual": "npm publish"
23
- }
24
- }
40
+ },
41
+ "type": "module"
42
+ }
@@ -0,0 +1,17 @@
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: [
12
+ "prettier-plugin-tailwindcss",
13
+ "prettier-plugin-organize-imports"
14
+ ]
15
+ }
16
+
17
+ export default config
package/src/app.js ADDED
@@ -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-organize-imports"]
12
+ }
13
+
14
+ export default config
package/src/package.js ADDED
@@ -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-organize-imports"]
12
+ }
13
+
14
+ export default config
@@ -0,0 +1,14 @@
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
+ "plugins": [
12
+ "prettier-plugin-organize-imports"
13
+ ]
14
+ }
@@ -1,11 +0,0 @@
1
- # To get started with Dependabot version updates, you'll need to specify which
2
- # package ecosystems to update and where the package manifests are located.
3
- # Please see the documentation for all configuration options:
4
- # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5
-
6
- version: 2
7
- updates:
8
- - package-ecosystem: "github-actions" # See documentation for possible values
9
- directory: "/" # Location of package manifests
10
- schedule:
11
- interval: "monthly"
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
package/LICENSE.md DELETED
@@ -1,3 +0,0 @@
1
- # Get Community Core Library License
2
-
3
- NOT FOR REPRODUCTION, RESALE, OR DISTRIBUTION
@@ -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
- }