@2digits/prettier-config 4.0.9 → 4.0.11
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 +4 -4
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let c=require(`@2digits/constants`);c=s(c);let l=require(`local-pkg`);l=s(l);var u={"@2digits/tsconfig":`workspace:*`,prettier:`catalog:`,tsdown:`catalog:`,typescript:`catalog:`};const d=u.typescript.replace(/^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)$/,``);function f(){return(0,l.getPackageInfoSync)(`typescript`)?.version??d}var p={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:f(),tailwindFunctions:c.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=p;
|
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)
|
|
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:*`,prettier:`catalog:`,tsdown:`catalog:`,typescript:`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.11",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/2digits-agency/configs.git",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"public": true,
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ianvs/prettier-plugin-sort-imports": "4.
|
|
30
|
+
"@ianvs/prettier-plugin-sort-imports": "4.7.0",
|
|
31
31
|
"@prettier/plugin-oxc": "0.0.4",
|
|
32
32
|
"@prettier/plugin-xml": "3.4.2",
|
|
33
33
|
"local-pkg": "1.1.2",
|
|
34
34
|
"prettier-plugin-jsdoc": "1.3.3",
|
|
35
35
|
"prettier-plugin-tailwindcss": "0.6.14",
|
|
36
|
-
"@2digits/constants": "1.1.
|
|
36
|
+
"@2digits/constants": "1.1.8"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"prettier": "3.6.2",
|
|
40
|
-
"tsdown": "0.
|
|
40
|
+
"tsdown": "0.15.0",
|
|
41
41
|
"typescript": "5.9.2",
|
|
42
42
|
"@2digits/tsconfig": "0.8.2"
|
|
43
43
|
},
|