Skip to content

Releases: alvis/presetter

v3.4.1

10 Aug 13:26
89d06c0
Compare
Choose a tag to compare

🐛 Bug Fixes

  • preset-esm: correct filenames in source maps (7867971)
  • preset-essentials: correct test files' path pattern (1746203)
  • preset-react: correct test files' path pattern (a1c37ea)
  • preset-web: remove graphql to avoid conflict between packages (d12a3f8)
  • presetter: make new keys merged in the end of an object (9832af0)
  • presetter: merge arrays only if the values are all primitive (961f30c)
  • update packages (ec8307d)

📦 Code Refactoring

  • presetter: move mergeTemplate to template.ts (9e46132)

v3.4.0

02 Aug 18:35
2b0eee4
Compare
Choose a tag to compare

✨ Features

  • presetter: add a template merge mode options (df847a8)

🐛 Bug Fixes

  • presetter: resolve presets as a tree not a list (0db5ff3)
  • presetter: skip installation within presetter package (2a973af)

v3.3.0

12 Jul 13:26
7eaabf6
Compare
Choose a tag to compare

✨ Features

  • presetter: support scripts to be applied at the end (d3ec950)
  • support dual commonjs/esm exports (a8c3ca1)

📚 Documentation

  • update dependencies badges (94c084d)

v3.2.0

24 May 10:48
aef9950
Compare
Choose a tag to compare

✨ Features

  • preset-essentials: remove babel in favorite of tsc (dd62e01)

🐛 Bug Fixes

  • preset-essentials: add husky to the build toolset (2a24fa9)
  • preset-essentials: allow type indexes (c735879)
  • preset-essentials: mark # as an internal path prefix (e0feb56)
  • preset-react: allow react components to be bulkier (091b305)
  • preset-react: mark testing-library rules as provided (3446e25)

📦 Code Refactoring

♻️ Chores

  • update package dependencies (4e50e0d)

v3.1.1

29 Dec 10:26
8e1aecb
Compare
Choose a tag to compare

🐛 Bug Fixes

  • preset-web: update eslint-plugin-tailwindcss to v3 (e9adbc0)

v3.1.0

28 Dec 19:05
113b374
Compare
Choose a tag to compare

✨ Features

  • preset-essentials: add dotenv to the build toolset (2e5ceb3)
  • preset-react: add testing library to the build toolset (c7a9b78)
  • preset-react: use react-jsx transform for React v17+ (4d2b688)
  • preset-web: add testing library to the build toolset (1dae1c2)
  • presetter/package: support private registry (c4eed24)
  • presetter/preset: support supplementary ignores from presets (58cbd64)

🐛 Bug Fixes

  • preset-react: add back the missing DOM.Iterable to tsconfig.json (533d24d)
  • preset-web: update tailwindcss to v3 (ce9f102)
  • preset/lint: update eslint to v8 (f8cfa4d)
  • preset: lint code before committing (e7219b2)

💎 Styles

  • preset-react: remove the unnecessary quotation mark (40caccf)
  • presetter: reorder types definitions for clarity (d7b54eb)

v3.0.3

03 Nov 10:25
3c1640d
Compare
Choose a tag to compare

🐛 Bug Fixes

  • presetter: disable workspace for npm<7 environment (fbdaabf)

v3.0.2

03 Nov 08:52
3c22351
Compare
Choose a tag to compare

🐛 Bug Fixes

  • presetter: declare the usage of read-pkg for npm<7 environment (fcd8022)

v3.0.1

14 Oct 08:23
fcdb544
Compare
Choose a tag to compare

🐛 Bug Fixes

  • preset-essentials/lint: run prettier at the end (b8faeb5)
  • preset-essentials: warn for unused variables instead (3b9dca5)
  • preset-strict: correct the template paths for bootstrapping (f71bf8f)
  • preset-web: correct the eslint supplementary config template (1e11abf)
  • preset: add back the missing gitignore entries (70ac386)
  • presetter/preset: don't read .presetterrc under presetter use (8b49b8b), closes #8
  • presetter/preset: ensure outputs are stored under the target (c638944)

📚 Documentation

  • use full package name to improve clarity (d9414bd), closes #8

v3.0.0

04 Oct 13:40
9bd9399
Compare
Choose a tag to compare

✨ Features

  • prefix/lint: ensure that import type is always used (1c2b76f)
  • preset-react: provide a preset for a react project (a9577e2)
  • preset-rollup: provide a preset for code bundling via rollup (b0704b0)
  • preset-strict: extends preset-essentials for a stricter rules (d7a73f8)
  • preset-web: provide a preset for a web project (4f6c033)
  • preset/build: add babel node to the build toolset (cc830bd)
  • preset/build: add babel-plugin-module-resolver custom paths (d9b5ff6)
  • preset/build: add cross-env into the build toolset (2f119c1)
  • preset/lint: add rules for import/export statements (17cbe1b)
  • preset/lint: require file header with a summary (ab793f4)
  • preset/lint: update eslint-plugin-sonarjs to v0.10 (b84f89d)
  • preset/lint: update prettier to v2.4 (70a3b61)
  • preset/lint: use husky and lint-staged for quick precommit QA (3c7e04f)
  • preset/test: update jest to v27 (85bde44)
  • preset: allow users to add additional scripts (8409840)
  • preset: allow users to ignore certain template configs (f0a7947)
  • preset: export types and utilities (0a2a7a3)
  • preset: modularise preset helpers (9b9bef6)
  • preset: provide a .gitignore template again (356fae1)
  • presetter/cli: support multiple presets initialisation (6e6fd71)
  • presetter/preset: show progress for presetter use (efe939b)
  • presetter: add .presetterrc a .json extension by default (61c0aad)
  • presetter: add a loader for potentially dynamic content (c17abc2)
  • presetter: allow preset to further extends other presets (6eacf2f)
  • presetter: allow preset to supply supplementary config (d4d85af)
  • presetter: export types for other presets (c6d326d)
  • presetter: make target information available to preset (090c341)
  • presetter: provider helpers for parsing directives in config (b3ee728)
  • presetter: support dynamic symlinks creation (158a8ad)
  • presetter: use arborist for installing peer dependences (50ec8ae)
  • preset: use target's package name as part of the output path (2eaea0a)
  • simplify preset with common features moved to presetter (044a132)

🐛 Bug Fixes

  • preset/build: exclude node_modules at all levels (af17788)
  • preset/build: explicitly declare loose mode to ignore warnings (b3fa0b4)
  • preset: allow file path(s) to be specified to the lint script (1dc69da)
  • preset: ensure that an object in a list is correctly merged (46555e4)
  • preset: remove .gitignore as symlink is removed since git 2.32 (3d4098b)
  • preset: replace target value as long as the value is defined (0fdb597)
  • presetter: allow config files to be placed other than the root (4153314)
  • presetter: detect preset name reliably (44d586b)
  • presetter: ensure all packages are there before bootstrapping (c6ad0f0)
  • presetter: ensure that a list is attached uniquely (7091053)
  • presetter: make runner resolution reliable (b7a529c)
  • presetter: merge any new presets to the existing .presetterrc (33b9d99)
  • presetter: narrow types in directive's argument (c6de804)
  • presetter: use the latest .presetterrc after setting it up (2820e21)
  • presetter: warn for any invalid shell scripts (6f083e7)

🛠 Builds

  • fully replace lerna with npm workspace (343ee59)
  • use presetter-preset-strict wherever possible (4ff72a1)

📦 Code Refactoring

  • preset/lint: reorder rules with plugin first (c4840b5)
  • preset: abstract away pupa from resolving the template (5b572e6)
  • preset: allow flexible template loading (356c857)
  • preset: relax rules to make it just an essential set (74b5bd8)
  • preset: take the default out from the main function (237a1e4)
  • presetter: pass an empty config by default (d6a5d71)
  • rename presetter-preset to presetter-preset-essentials (b799587)

📚 Documentation

  • describe how a preset can be made (4735d54)
  • enrich README (8509f41)
  • update status on eslint-plugin-sonarjs (0a43ed8)

🚨 Tests

  • preset: make sure all templates are used (50b6644)

⚙️ Continuous Integrations

  • reduce the complexity of style and coverage checks (2df3587)

♻️ Chores

  • clean up unused configurations (866c5ac)
  • presetter: adopt .json extension for presetterrc (b48edbd)

💎 Styles

Read more