mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
* Implement dowload of mobile native deps - Add a spinner animation to `pnpm prep` - Change abandoned dependency @iarna/toml with smol-toml - Validate cargo config.toml after generating it from mustache template - Disabled HTTP2 downloads with udici, it is very broken * Initial ios native deps xcframework logic * Remove logic for handling dynamic iOS libs, using static libs now * Fix PATH in build-rust.sh - Remove app.json * Restore crates/images/src/pdf.rs * minor fix .editorconfig * Finally ios successfully compiles with ffmpeg enabled - Change SDCore.podspec to add extra libraries required by ffmpeg - Fix heif linking for ios in config.toml template - Add symlink logic for extra libraries required to compile ios in build-rust.sh
32 lines
736 B
JavaScript
32 lines
736 B
JavaScript
const path = require('node:path');
|
|
|
|
/**
|
|
* {@type require('prettier').Config}
|
|
*/
|
|
module.exports = {
|
|
useTabs: true,
|
|
printWidth: 100,
|
|
singleQuote: true,
|
|
trailingComma: 'none',
|
|
bracketSameLine: false,
|
|
semi: true,
|
|
quoteProps: 'consistent',
|
|
importOrder: [
|
|
// external packages
|
|
'<THIRD_PARTY_MODULES>',
|
|
// spacedrive packages
|
|
'^@sd/(interface|client|ui)(/.*)?$',
|
|
// internal packages
|
|
'^@/',
|
|
'^~/',
|
|
'',
|
|
// relative
|
|
'^[../]',
|
|
'^[./]'
|
|
],
|
|
importOrderParserPlugins: ['typescript', 'jsx', 'decorators'],
|
|
importOrderTypeScriptVersion: '5.0.0',
|
|
tailwindConfig: path.resolve(path.join(__dirname, 'packages/ui/tailwind.config.js')),
|
|
plugins: ['@ianvs/prettier-plugin-sort-imports', 'prettier-plugin-tailwindcss']
|
|
};
|