@automattic/jetpack-image-guide 1.0.3 → 1.0.6

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/package.json +21 -20
package/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.0.6] - 2025-08-21
9
+ ### Added
10
+ - Added typecheck script to ensure that the TS files are type-checked. [#44795]
11
+
12
+ ## [1.0.5] - 2025-08-05
13
+ ### Changed
14
+ - Internal updates.
15
+
16
+ ## [1.0.4] - 2025-07-23
17
+ ### Changed
18
+ - Update package dependencies. [#44356]
19
+
8
20
  ## [1.0.3] - 2025-07-08
9
21
  ### Changed
10
22
  - Build with new React JSX transform. [#44128]
@@ -189,6 +201,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
189
201
  ### Removed
190
202
  - Minor package.json change - removing private entry.
191
203
 
204
+ [1.0.6]: https://github.com/Automattic/jetpack-image-guide/compare/v1.0.5...v1.0.6
205
+ [1.0.5]: https://github.com/Automattic/jetpack-image-guide/compare/v1.0.4...v1.0.5
206
+ [1.0.4]: https://github.com/Automattic/jetpack-image-guide/compare/v1.0.3...v1.0.4
192
207
  [1.0.3]: https://github.com/Automattic/jetpack-image-guide/compare/v1.0.2...v1.0.3
193
208
  [1.0.2]: https://github.com/Automattic/jetpack-image-guide/compare/v1.0.1...v1.0.2
194
209
  [1.0.1]: https://github.com/Automattic/jetpack-image-guide/compare/v1.0.0...v1.0.1
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-image-guide",
3
- "version": "1.0.3",
3
+ "version": "1.0.6",
4
4
  "description": "Go through the dom to analyze image size on screen vs actual file size.",
5
5
  "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/image-guide/#readme",
6
- "type": "module",
7
6
  "bugs": {
8
7
  "url": "https://github.com/Automattic/jetpack/labels/[JS Package] Image Guide"
9
8
  },
@@ -14,26 +13,35 @@
14
13
  },
15
14
  "license": "GPL-2.0-or-later",
16
15
  "author": "Automattic",
16
+ "type": "module",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./build/index.d.ts",
20
+ "default": "./build/index.js"
21
+ }
22
+ },
23
+ "main": "./src/index.ts",
24
+ "browser": {
25
+ "@automattic/jetpack-image-guide": false
26
+ },
17
27
  "scripts": {
18
28
  "build": "rollup -c && tsc --emitDeclarationOnly",
19
29
  "build-concurrently": "pnpm run clear-dist && concurrently 'pnpm:validate-ts' 'rollup -c'",
20
30
  "build-development": "pnpm run build-concurrently",
21
31
  "build-production": "NODE_ENV=production BABEL_ENV=production pnpm run build-concurrently",
22
- "validate-ts": "tsc --pretty --strict false",
23
- "dev-validate-ts": "tsc --watch --pretty --strict false # Note: Disable Strict mode to avoid noisy development, while keeping strict errors visible in IDEs.",
24
- "dev-compile": "pnpm run clear-dist && rollup -c -w",
25
- "dev": "concurrently 'pnpm:dev-validate-ts' 'pnpm:dev-compile'",
26
- "watch": "pnpm run dev",
27
32
  "clear-dist": "rm -rf app/assets/dist/*",
33
+ "dev": "concurrently 'pnpm:dev-validate-ts' 'pnpm:dev-compile'",
34
+ "dev-compile": "pnpm run clear-dist && rollup -c -w",
35
+ "dev-validate-ts": "tsc --watch --pretty --strict false # Note: Disable Strict mode to avoid noisy development, while keeping strict errors visible in IDEs.",
36
+ "test": "NODE_OPTIONS=--experimental-vm-modules jest --config=tests/jest.config.cjs",
28
37
  "test-coverage": "pnpm run test --coverage",
29
- "test": "NODE_OPTIONS=--experimental-vm-modules jest --config=tests/jest.config.cjs"
30
- },
31
- "browser": {
32
- "@automattic/jetpack-image-guide": false
38
+ "typecheck": "tsc --noEmit",
39
+ "validate-ts": "tsc --pretty --strict false",
40
+ "watch": "pnpm run dev"
33
41
  },
34
42
  "devDependencies": {
35
43
  "@babel/core": "^7.0.0",
36
- "@babel/preset-env": "7.27.2",
44
+ "@babel/preset-env": "7.28.0",
37
45
  "@babel/preset-react": "7.27.1",
38
46
  "@babel/preset-typescript": "7.27.1",
39
47
  "@rollup/plugin-babel": "6.0.4",
@@ -56,12 +64,5 @@
56
64
  "typescript": "5.8.3",
57
65
  "webpack": "5.94.0",
58
66
  "webpack-cli": "6.0.1"
59
- },
60
- "exports": {
61
- ".": {
62
- "types": "./build/index.d.ts",
63
- "default": "./build/index.js"
64
- }
65
- },
66
- "main": "./src/index.ts"
67
+ }
67
68
  }