From 2415c3e2c694228a8d4db73f2996c11a4c520071 Mon Sep 17 00:00:00 2001 From: "Colby M. White" Date: Tue, 28 Feb 2023 19:54:28 -0600 Subject: [PATCH] chore: add changelog --- CHANGELOG.md | 22 ++++++++++++++++++++++ package.json | 3 ++- remix.init/index.js | 10 ++++++++-- 3 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..ef8adfa --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,22 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.2.0] - 2023-02-28 + +### Changed + +- Updated to [Remix v1.13.0](https://github.com/remix-run/remix/releases/tag/remix%401.13.0) + +### Added + +- Leverage Remix's built-in Tailwind support + +## [0.1.0] - 2019-02-15 + +### Added + +- Minimal Remix stack to serve as a starting point for demos and debugging diff --git a/package.json b/package.json index c67000e..2f10d49 100644 --- a/package.json +++ b/package.json @@ -64,5 +64,6 @@ }, "engines": { "node": ">=14" - } + }, + "version": "0.2.0" } diff --git a/remix.init/index.js b/remix.init/index.js index 4e11084..8f576e0 100644 --- a/remix.init/index.js +++ b/remix.init/index.js @@ -20,10 +20,16 @@ async function main({ rootDirectory }) { const packageJson = await fs.readFile(PACKAGE_JSON_PATH, "utf-8"); - // Parse the package file and rename the application name + // remove CHANGELOG + const CHANGELOG_PATH = path.join(rootDirectory, "CHANGELOG.md"); + await fs.rm(CHANGELOG_PATH, { force: true }); + + // Parse the package file and + // - rename the application name + // - remove version const newPackageJson = JSON.stringify( - sort({ ...JSON.parse(packageJson), name: APP_NAME }), + sort({ ...JSON.parse(packageJson), name: APP_NAME, version: undefined }), null, 2 ) + "\n";