@procore/hammer-lib-tsup 0.9.1 → 1.0.0
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 +14 -0
- package/README.md +13 -13
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @procore/hammer-lib-tsup
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- d10edb3: First general release. No breaking changes from prior releases.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- d6e8e38: Upgrades dependencies.
|
|
12
|
+
- Updated dependencies [d6e8e38]
|
|
13
|
+
- Updated dependencies [d10edb3]
|
|
14
|
+
- @procore/hammer-utils@1.0.0
|
|
15
|
+
- @procore/hammer-types@1.0.0
|
|
16
|
+
|
|
3
17
|
## 0.9.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -34,6 +34,19 @@ export default {
|
|
|
34
34
|
you find that you are doing a lot of customization, or the same change in
|
|
35
35
|
multiple projects, consider reviewing your configuration with the UI Foundations team.
|
|
36
36
|
|
|
37
|
+
### Using `lib:build --analyze`
|
|
38
|
+
|
|
39
|
+
When you run `hammer lib:build --analyze`, it generates the following output files:
|
|
40
|
+
|
|
41
|
+
- `metafile-esm.json`: Metadata for the ESM (ECMAScript Module) output.
|
|
42
|
+
- `metafile-cjs.json`: Metadata for the CJS (CommonJS) output.
|
|
43
|
+
|
|
44
|
+
These files can be used to analyze the bundle, understand the size of individual modules, and identify optimizations.
|
|
45
|
+
|
|
46
|
+
For more detailed information on how the metadata works, refer to the [Tsup Metafile Documentation][tsup-metafile].
|
|
47
|
+
|
|
48
|
+
Additionally, you can use tools like [Bundle Buddy][bundle-buddy] to visualize the output and track down duplicate dependencies or optimize your bundle for better performance.
|
|
49
|
+
|
|
37
50
|
## Development
|
|
38
51
|
|
|
39
52
|
This project uses [`yarn`][yarn], and supports the following commands:
|
|
@@ -48,19 +61,6 @@ This project uses [`yarn`][yarn], and supports the following commands:
|
|
|
48
61
|
- `test:ci`: run the unit test suite, reporting coverage.
|
|
49
62
|
- `lib:build --analyze`: builds the library and generates metadata for bundle analysis.
|
|
50
63
|
|
|
51
|
-
### Using `lib:build --analyze`
|
|
52
|
-
|
|
53
|
-
When you run `hammer lib:build --analyze`, it generates the following output files:
|
|
54
|
-
|
|
55
|
-
- `metafile-esm.json`: Metadata for the ESM (ECMAScript Module) output.
|
|
56
|
-
- `metafile-cjs.json`: Metadata for the CJS (CommonJS) output.
|
|
57
|
-
|
|
58
|
-
These files can be used to analyze the bundle, understand the size of individual modules, and identify optimizations.
|
|
59
|
-
|
|
60
|
-
For more detailed information on how the metadata works, refer to the [Tsup Metafile Documentation][tsup-metafile].
|
|
61
|
-
|
|
62
|
-
Additionally, you can use tools like [Bundle Buddy][bundle-buddy] to visualize the output and track down duplicate dependencies or optimize your bundle for better performance.
|
|
63
|
-
|
|
64
64
|
[bundle-buddy]: https://www.bundle-buddy.com/esbuild
|
|
65
65
|
[eslint]: https://eslint.org/
|
|
66
66
|
[prettier]: https://prettier.io/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@procore/hammer-lib-tsup",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Hammer library builder, tsup-style",
|
|
5
5
|
"author": "Procore Technologies, Inc",
|
|
6
6
|
"homepage": "https://github.com/procore/hammer/packages/lib-tsup",
|
|
@@ -51,25 +51,25 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@procore/hammer-types": "^0.
|
|
55
|
-
"@procore/hammer-utils": "^0.
|
|
54
|
+
"@procore/hammer-types": "^1.0.0",
|
|
55
|
+
"@procore/hammer-utils": "^1.0.0",
|
|
56
56
|
"cli-highlight": "^2.1.11",
|
|
57
|
-
"esbuild": "^0.25.
|
|
57
|
+
"esbuild": "^0.25.9",
|
|
58
58
|
"esbuild-sass-plugin": "^3.3.1",
|
|
59
59
|
"pathe": "^2.0.3",
|
|
60
60
|
"picocolors": "^1.1.1",
|
|
61
|
-
"sass-embedded": "^1.
|
|
61
|
+
"sass-embedded": "^1.92.0",
|
|
62
62
|
"tsup": "^8.5.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@procore/eslint-config": "^15.3.2",
|
|
66
|
-
"@procore/hammer-test-utils": "^0.
|
|
66
|
+
"@procore/hammer-test-utils": "^1.0.0",
|
|
67
67
|
"@procore/prettier-config": "^1.1.1",
|
|
68
68
|
"@procore/typescript-config": "^2.1.0",
|
|
69
|
-
"@types/node": "^20.19.
|
|
69
|
+
"@types/node": "^20.19.13",
|
|
70
70
|
"@vitest/coverage-v8": "^3.2.4",
|
|
71
71
|
"del-cli": "^6.0.0",
|
|
72
|
-
"eslint": "^9.
|
|
72
|
+
"eslint": "^9.35.0",
|
|
73
73
|
"postcss": "^8.5.6",
|
|
74
74
|
"prettier": "^3.6.2",
|
|
75
75
|
"strip-ansi": "^7.1.0",
|