@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 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
- # Temporary Holding Version
1
+ # `@todoist/prettier-config`
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
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
@@ -0,0 +1,8 @@
1
+ {
2
+ "tabWidth": 4,
3
+ "printWidth": 100,
4
+ "semi": false,
5
+ "singleQuote": true,
6
+ "trailingComma": "all",
7
+ "arrowParens": "always"
8
+ }
package/package.json CHANGED
@@ -1,6 +1,20 @@
1
1
  {
2
- "name": "@todoist/prettier-config",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
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
+ }