@todoist/prettier-config 0.0.0-stage → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/README.md +27 -2
- package/index.json +8 -0
- package/package.json +19 -5
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
## 4.0.2 (unreleased)
|
|
2
|
+
|
|
3
|
+
- Publish future releases as `@todoist/prettier-config`; preserve the existing configuration and Prettier peer range.
|
|
4
|
+
- Prepare one retained tarball for npm and GitHub Packages, including first-publication and exact-artifact retry paths.
|
|
5
|
+
|
|
6
|
+
## 4.0.0 (August 4, 2023)
|
|
7
|
+
|
|
8
|
+
- Updated `prettier` to `^3.0.0` [#21](https://github.com/Doist/prettier-config/pull/21)
|
|
9
|
+
|
|
10
|
+
## 3.0.5 (July 7, 2020)
|
|
11
|
+
|
|
12
|
+
- Published to npm [#10](https://github.com/Doist/prettier-config/pull/10), [#11](https://github.com/Doist/prettier-config/pull/11), [#12](https://github.com/Doist/prettier-config/pull/12), [#13](https://github.com/Doist/prettier-config/pull/13)
|
|
13
|
+
|
|
14
|
+
## 3.0.0 (July 7, 2020)
|
|
15
|
+
|
|
16
|
+
- Pinned `prettier` as a peer dependency at `^2.0.0` [#9](https://github.com/Doist/prettier-config/pull/9)
|
|
17
|
+
|
|
18
|
+
## 2.1.0 (June 23, 2020)
|
|
19
|
+
|
|
20
|
+
- Set `arrowParens` to `always` [#8](https://github.com/Doist/prettier-config/pull/8)
|
|
21
|
+
|
|
22
|
+
## 2.0.0 (June 4, 2020)
|
|
23
|
+
|
|
24
|
+
- Added documentation for release process [#7](https://github.com/Doist/prettier-config/pull/7)
|
|
25
|
+
- Set `trailingComma` to `all` [#5](https://github.com/Doist/prettier-config/pull/5)
|
|
26
|
+
|
|
27
|
+
## 1.0.0 (May 26, 2020)
|
|
28
|
+
|
|
29
|
+
- Initial release
|
package/README.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@todoist/prettier-config`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Doist global [prettier](https://prettier.io) config.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
**Install**:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install --save-dev @todoist/prettier-config
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
**Edit `package.json`**:
|
|
14
|
+
|
|
15
|
+
```jsonc
|
|
16
|
+
{
|
|
17
|
+
// ...
|
|
18
|
+
"prettier": "@todoist/prettier-config"
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Release a new package
|
|
23
|
+
|
|
24
|
+
This project uses [semantic versioning](https://semver.org/), explicit version commits, and `v<version>` tags. Add an entry to [CHANGELOG.md](CHANGELOG.md) for each release.
|
|
25
|
+
|
|
26
|
+
Tags now **pack only**. An authorized maintainer publishes the retained tarball to npm and GitHub Packages through a separate manual workflow. Both registries receive the same artifact and version; retries never bump a version or repack it.
|
|
27
|
+
|
|
28
|
+
Follow the [release runbook](https://github.com/todoist/prettier-config/blob/main/docs/releasing.md) for the first real `@todoist/prettier-config@4.0.2` publication, npm trusted-publisher setup, and subsequent releases. The package has no build step or migrated toolchain dependency; `.prettierrc.js` reads the local configuration directly.
|
package/index.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
"name": "@todoist/prettier-config",
|
|
3
|
+
"version": "4.0.2",
|
|
4
|
+
"description": "Doist global [prettier](https://prettier.io) config.",
|
|
5
|
+
"main": "index.json",
|
|
6
|
+
"repository": "https://github.com/todoist/prettier-config",
|
|
7
|
+
"author": "David Miotti <davidm@doist.com>",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/todoist/prettier-config/issues"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/todoist/prettier-config#readme",
|
|
13
|
+
"peerDependencies": {
|
|
14
|
+
"prettier": "^3.0.0"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"index.json",
|
|
18
|
+
"CHANGELOG.md"
|
|
19
|
+
]
|
|
20
|
+
}
|