@amedia/prettier-config
Advanced tools
Comparing version 0.0.0-SNAPSHOT-20240830181555 to 0.0.0-flatconf-20241107121126
# @amedia/prettier-config | ||
## 0.0.0-SNAPSHOT-20240830181555 | ||
## 0.0.0-flatconf-20241107121126 | ||
### Major Changes | ||
- b75c21c: configuration overhaul | ||
this migrates all configuration to ESM where applicable, this causes | ||
breaking changes for configuration files. | ||
there are no cli changes. | ||
E.g. new eslint configuration file is: | ||
eslint.config.js | ||
And looks like: | ||
``` | ||
import eslintConfig from '@amedia/eslint-config'; | ||
export default eslintConfig(); | ||
``` | ||
An object can be passed to `eslintConfig()` to enable or disable project | ||
configuration. | ||
- cc0bb37: break out eslint-config-prettier to its own package | ||
- c758e8f: move to esm configuration for prettier | ||
Prettier 3.x has support for ESM configuration, and at Amedia we have | ||
standardised on using ESM. This change aligns Prettier with our | ||
standards. | ||
Clients that reference `prettier.config.cjs` will require updates, and | ||
situations where ESM wil fail, need to make adjustments. | ||
Generally this should be a transparent change, but marked as major as it | ||
does remove CJS files and resolution. | ||
### Patch Changes | ||
- 2722a78: bump prettier-plugin-svelte to 3.2.6 | ||
- eee534f: add recommended eslint config for eslintrc | ||
- Updated dependencies [b75c21c] | ||
- Updated dependencies [cc0bb37] | ||
- Updated dependencies [eee534f] | ||
- Updated dependencies [c758e8f] | ||
- @amedia/prettier-config-base@0.0.0-flatconf-20241107121126 | ||
@@ -9,0 +51,0 @@ ## 1.0.6 |
{ | ||
"name": "@amedia/prettier-config", | ||
"version": "0.0.0-SNAPSHOT-20240830181555", | ||
"version": "0.0.0-flatconf-20241107121126", | ||
"description": "Prettier config for Amedia", | ||
"type": "commonjs", | ||
"main": "./index.cjs", | ||
"type": "module", | ||
"module": "./index.js", | ||
"exports": { | ||
".": { | ||
"import": "./index.js" | ||
} | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@amedia/kragl-utils": "1.2.1", | ||
"@amedia/prettier-config-base": "1.0.2", | ||
"prettier-plugin-svelte": "3.2.6" | ||
"@amedia/prettier-config-base": "0.0.0-flatconf-20241107121126", | ||
"prettier-plugin-svelte": "3.2.7" | ||
}, | ||
"devDependencies": { | ||
"prettier": "3.1.0" | ||
}, | ||
"peerDependencies": { | ||
@@ -18,0 +19,0 @@ "prettier": "3.x" |
8504
3
0
6
Yes
14
+ Added@amedia/prettier-config-base@0.0.0-flatconf-20241107121126(transitive)
+ Addedprettier-plugin-svelte@3.2.7(transitive)
- Removed@amedia/kragl-utils@1.2.1
- Removed@amedia/kragl-utils@1.2.1(transitive)
- Removed@amedia/prettier-config-base@1.0.2(transitive)
- Removed@nodelib/fs.scandir@2.1.5(transitive)
- Removed@nodelib/fs.stat@2.0.5(transitive)
- Removed@nodelib/fs.walk@1.2.8(transitive)
- Removedbraces@3.0.3(transitive)
- Removedcross-spawn@7.0.6(transitive)
- Removedexeca@6.1.0(transitive)
- Removedfast-glob@3.2.11(transitive)
- Removedfastq@1.19.0(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedget-stream@6.0.1(transitive)
- Removedglob-parent@5.1.2(transitive)
- Removedhuman-signals@3.0.1(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedis-number@7.0.0(transitive)
- Removedis-stream@3.0.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedmerge-stream@2.0.0(transitive)
- Removedmerge2@1.4.1(transitive)
- Removedmicromatch@4.0.8(transitive)
- Removedmimic-fn@4.0.0(transitive)
- Removednpm-run-path@5.3.0(transitive)
- Removedonetime@6.0.0(transitive)
- Removedpath-key@3.1.14.0.0(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedprettier-plugin-svelte@3.2.6(transitive)
- Removedqueue-microtask@1.2.3(transitive)
- Removedreusify@1.0.4(transitive)
- Removedrun-parallel@1.2.0(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstrip-final-newline@3.0.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedwhich@2.0.2(transitive)
Updated@amedia/prettier-config-base@0.0.0-flatconf-20241107121126
Updatedprettier-plugin-svelte@3.2.7