@dmkishi/css-reset 1.1.1 → 1.2.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/README.md CHANGED
@@ -5,29 +5,50 @@ CSS Reset
5
5
  Install
6
6
  --------------------------------------------------------------------------------
7
7
  ```sh
8
+ pnpm add @dmkishi/css-reset
8
9
  npm install @dmkishi/css-reset
9
10
  ```
10
11
 
11
12
  Usage
12
13
  --------------------------------------------------------------------------------
14
+ CSS imports from `node_modules` requires a bundler such as Vite or
15
+ [`postcss-import`](https://www.npmjs.com/package/postcss-import).
16
+
13
17
  ```css
14
- @import '@dmkishi/css-reset/reset.css' layer(reset);
18
+ @import '@dmkishi/css-reset/dist/reset.css' layer(reset);
15
19
  ```
16
20
 
21
+ Develop
22
+ --------------------------------------------------------------------------------
23
+ 1. Install: `git clone https://github.com/dmkishi/css-reset.git && pnpm install`
24
+ 1. Edit and lint with `pnpm lint`
25
+ 1. Update version numbers and changelog and commit
26
+ 1. Publish: `git push && pnpm publish`
27
+ - Both actions run the linter and builder as necessary.
28
+
17
29
  Changelog
18
30
  --------------------------------------------------------------------------------
31
+ ### v1.2.2 (2026-4-4)
32
+ - Fix usage example in README.
33
+ - Remove `<ol>` reset.
34
+
35
+ ### v1.2.1 (2026-4-3)
36
+ - Set publishConfig access to public for scoped package.
37
+
38
+ ### v1.2.0 (2026-4-3)
39
+ - Add preserve comment w/ project name, version, and link to reset CSS.
40
+ - Switch to PNPM.
41
+ - Improve README.
42
+
19
43
  ### v1.1.1 (2025-3-30)
20
- #### Others
21
44
  - Fix missing "description" property.
22
45
 
23
46
  ### v1.1.0 (2025-3-30)
24
- #### Features
25
47
  - Add rule for `<address>`.
26
- #### Others
27
48
  - Add support for NPM.
28
49
 
29
50
  ### v1.0.0 (2025-3-28)
30
- Initial release.
51
+ - Initial release.
31
52
 
32
53
  Acknowledgments
33
54
  --------------------------------------------------------------------------------
@@ -1,3 +1,7 @@
1
+ /*!
2
+ * @dmkishi/css-reset v1.2.2
3
+ * <https://github.com/dmkishi/css-reset>
4
+ */
1
5
  /*******************************************************************************
2
6
  * Global
3
7
  ******************************************************************************/
@@ -99,7 +103,6 @@ address {
99
103
  * Other
100
104
  ******************************************************************************/
101
105
  /* Opt-in to decorated lists. */
102
- ol,
103
106
  ul {
104
107
  list-style: none;
105
108
  }
package/package.json CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
2
  "name": "@dmkishi/css-reset",
3
- "version": "1.1.1",
3
+ "version": "1.2.2",
4
4
  "description": "DM Kishi's custom CSS reset",
5
+ "homepage": "https://github.com/dmkishi/css-reset",
6
+ "author": "DM Kishi <dm.kishi@gmail.com>",
7
+ "packageManager": "pnpm@10.24.0",
5
8
  "scripts": {
6
- "lint": "npx stylelint reset.css",
7
- "prepare": "husky"
9
+ "build": "node build.mjs",
10
+ "lint": "pnpm exec stylelint src/reset.css",
11
+ "prepare": "pnpm exec husky",
12
+ "prepublishOnly": "pnpm lint && pnpm build"
8
13
  },
9
14
  "devDependencies": {
10
15
  "@stylistic/stylelint-config": "^2.0.0",
@@ -13,5 +18,8 @@
13
18
  "stylelint": "^16.17.0",
14
19
  "stylelint-config-standard": "^37.0.0"
15
20
  },
16
- "files": ["reset.css"]
21
+ "files": ["dist/reset.css"],
22
+ "publishConfig": {
23
+ "access": "public"
24
+ }
17
25
  }