Skip to content

Commit 2415c3e

Browse files
committed
chore: add changelog
1 parent e482e0a commit 2415c3e

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.2.0] - 2023-02-28
9+
10+
### Changed
11+
12+
- Updated to [Remix v1.13.0](https://github.com/remix-run/remix/releases/tag/remix%401.13.0)
13+
14+
### Added
15+
16+
- Leverage Remix's built-in Tailwind support
17+
18+
## [0.1.0] - 2019-02-15
19+
20+
### Added
21+
22+
- Minimal Remix stack to serve as a starting point for demos and debugging

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@
6464
},
6565
"engines": {
6666
"node": ">=14"
67-
}
67+
},
68+
"version": "0.2.0"
6869
}

remix.init/index.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,16 @@ async function main({ rootDirectory }) {
2020

2121
const packageJson = await fs.readFile(PACKAGE_JSON_PATH, "utf-8");
2222

23-
// Parse the package file and rename the application name
23+
// remove CHANGELOG
24+
const CHANGELOG_PATH = path.join(rootDirectory, "CHANGELOG.md");
25+
await fs.rm(CHANGELOG_PATH, { force: true });
26+
27+
// Parse the package file and
28+
// - rename the application name
29+
// - remove version
2430
const newPackageJson =
2531
JSON.stringify(
26-
sort({ ...JSON.parse(packageJson), name: APP_NAME }),
32+
sort({ ...JSON.parse(packageJson), name: APP_NAME, version: undefined }),
2733
null,
2834
2
2935
) + "\n";

0 commit comments

Comments
 (0)