@dmkishi/css-reset 1.1.1 → 1.2.1

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,46 @@ 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
18
  @import '@dmkishi/css-reset/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.1 (2026-4-3)
32
+ - Set publishConfig access to public for scoped package.
33
+
34
+ ### v1.2.0 (2026-4-3)
35
+ - Add preserve comment w/ project name, version, and link to reset CSS.
36
+ - Switch to PNPM.
37
+ - Improve README.
38
+
19
39
  ### v1.1.1 (2025-3-30)
20
- #### Others
21
40
  - Fix missing "description" property.
22
41
 
23
42
  ### v1.1.0 (2025-3-30)
24
- #### Features
25
43
  - Add rule for `<address>`.
26
- #### Others
27
44
  - Add support for NPM.
28
45
 
29
46
  ### v1.0.0 (2025-3-28)
30
- Initial release.
47
+ - Initial release.
31
48
 
32
49
  Acknowledgments
33
50
  --------------------------------------------------------------------------------
@@ -1,3 +1,7 @@
1
+ /*!
2
+ * @dmkishi/css-reset v1.2.1
3
+ * <https://github.com/dmkishi/css-reset>
4
+ */
1
5
  /*******************************************************************************
2
6
  * Global
3
7
  ******************************************************************************/
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.1",
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
  }