@2digits/prettier-config 4.0.46 → 4.0.48
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/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +9 -10
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
let e=require("@2digits/constants"),t=require("local-pkg");const n={"@2digits/tsconfig":`workspace:*`,"@arethetypeswrong/core":`catalog:`,"@types/node":`catalog:`,
|
|
1
|
+
let e=require("@2digits/constants"),t=require("local-pkg");const n={"@2digits/tsconfig":`workspace:*`,"@arethetypeswrong/core":`catalog:`,"@types/node":`catalog:`,prettier:`catalog:`,publint:`catalog:`,typescript:`catalog:`,"vite-plus":`catalog:`}.typescript.replace(/^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)$/,``);function r(){return(0,t.getPackageInfoSync)(`typescript`)?.version??n}var i={printWidth:120,trailingComma:`all`,bracketSameLine:!0,singleQuote:!0,experimentalOperatorPosition:`start`,importOrder:[`<BUILTIN_MODULES>`,``,`^(react/(.*)$)|^(react$)`,`^(react-native/(.*)$)|^(react-native$)`,``,`^(next/(.*)$)|^(next$)`,``,`^(expo/(.*)$)|^(expo$)|^(expo-(.*)$)|^(@expo/(.*)$)`,``,`<THIRD_PARTY_MODULES>`,``,`^@2digits/`,`^@mod/`,``,`^@/`,`^(@[A-Z](.*))`,``,`.json$`,``,`^[./]`],importOrderTypeScriptVersion:r(),tailwindFunctions:e.tailwindFunctions,plugins:[require.resolve(`@prettier/plugin-xml`),require.resolve(`@ianvs/prettier-plugin-sort-imports`),require.resolve(`prettier-plugin-jsdoc`),require.resolve(`@prettier/plugin-oxc`),require.resolve(`prettier-plugin-tailwindcss`)],overrides:[{files:[`pnpm-lock.yaml`],options:{requirePragma:!0}}]};module.exports=i;
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createRequire as e}from"node:module";import{tailwindFunctions as t}from"@2digits/constants";import{getPackageInfoSync as n}from"local-pkg";var r=e(import.meta.url);const i={"@2digits/tsconfig":`workspace:*`,"@arethetypeswrong/core":`catalog:`,"@types/node":`catalog:`,
|
|
1
|
+
import{createRequire as e}from"node:module";import{tailwindFunctions as t}from"@2digits/constants";import{getPackageInfoSync as n}from"local-pkg";var r=e(import.meta.url);const i={"@2digits/tsconfig":`workspace:*`,"@arethetypeswrong/core":`catalog:`,"@types/node":`catalog:`,prettier:`catalog:`,publint:`catalog:`,typescript:`catalog:`,"vite-plus":`catalog:`}.typescript.replace(/^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)$/,``);function a(){return n(`typescript`)?.version??i}var o={printWidth:120,trailingComma:`all`,bracketSameLine:!0,singleQuote:!0,experimentalOperatorPosition:`start`,importOrder:[`<BUILTIN_MODULES>`,``,`^(react/(.*)$)|^(react$)`,`^(react-native/(.*)$)|^(react-native$)`,``,`^(next/(.*)$)|^(next$)`,``,`^(expo/(.*)$)|^(expo$)|^(expo-(.*)$)|^(@expo/(.*)$)`,``,`<THIRD_PARTY_MODULES>`,``,`^@2digits/`,`^@mod/`,``,`^@/`,`^(@[A-Z](.*))`,``,`.json$`,``,`^[./]`],importOrderTypeScriptVersion:a(),tailwindFunctions:t,plugins:[r.resolve(`@prettier/plugin-xml`),r.resolve(`@ianvs/prettier-plugin-sort-imports`),r.resolve(`prettier-plugin-jsdoc`),r.resolve(`@prettier/plugin-oxc`),r.resolve(`prettier-plugin-tailwindcss`)],overrides:[{files:[`pnpm-lock.yaml`],options:{requirePragma:!0}}]};export{o as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2digits/prettier-config",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.48",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"prettier-config"
|
|
6
6
|
],
|
|
@@ -29,23 +29,22 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
+
"@2digits/constants": "1.1.20",
|
|
32
33
|
"@ianvs/prettier-plugin-sort-imports": "4.7.1",
|
|
33
34
|
"@prettier/plugin-oxc": "0.2.2",
|
|
34
35
|
"@prettier/plugin-xml": "3.4.2",
|
|
35
36
|
"local-pkg": "1.2.1",
|
|
36
37
|
"prettier-plugin-jsdoc": "1.8.1",
|
|
37
|
-
"prettier-plugin-tailwindcss": "0.8.1"
|
|
38
|
-
"@2digits/constants": "1.1.18"
|
|
38
|
+
"prettier-plugin-tailwindcss": "0.8.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
+
"@2digits/tsconfig": "0.8.8",
|
|
41
42
|
"@arethetypeswrong/core": "0.18.5",
|
|
42
|
-
"@types/node": "24.13.
|
|
43
|
-
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
43
|
+
"@types/node": "24.13.4",
|
|
44
44
|
"prettier": "3.9.6",
|
|
45
|
-
"publint": "0.3.
|
|
46
|
-
"typescript": "
|
|
47
|
-
"vite-plus": "0.2
|
|
48
|
-
"@2digits/tsconfig": "0.8.7"
|
|
45
|
+
"publint": "0.3.24",
|
|
46
|
+
"typescript": "7.0.2",
|
|
47
|
+
"vite-plus": "0.3.2"
|
|
49
48
|
},
|
|
50
49
|
"peerDependencies": {
|
|
51
50
|
"prettier": "3.9.6"
|
|
@@ -54,6 +53,6 @@
|
|
|
54
53
|
"scripts": {
|
|
55
54
|
"build": "vp pack --minify --config-loader unconfig",
|
|
56
55
|
"dev": "vp pack --watch --config-loader unconfig",
|
|
57
|
-
"types": "
|
|
56
|
+
"types": "tsc --noEmit"
|
|
58
57
|
}
|
|
59
58
|
}
|