@procore/hammer-lib-tsup 0.5.0 → 0.5.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,73 @@
1
+ # @procore/hammer-lib-tsup
2
+
3
+ ## 0.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 40b7081: Updated some dependencies.
8
+ - Updated dependencies [007e20f]
9
+ - @procore/hammer-types@0.4.0
10
+
11
+ ## 0.5.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [f1e20cc]
16
+ - Updated dependencies [aab4a72]
17
+ - @procore/hammer-types@0.3.1
18
+
19
+ ## 0.5.0
20
+
21
+ ### Minor Changes
22
+
23
+ - c831dd1: Upgrades package dependencies.
24
+
25
+ ### Patch Changes
26
+
27
+ - 787e04f: Fixes "Cannot find module 'postcss-modules'" error.
28
+
29
+ ## 0.4.0
30
+
31
+ ### Minor Changes
32
+
33
+ - b5fd3e6: Adjusts API between lib:\* commands and plugins so that they use the correct types for plugin options and CLI options.
34
+ - 825ea36: Converts all node:path imports to OS-neutral pathe imports.
35
+ - f386c32: - added sass support
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [ccdff59]
40
+ - Updated dependencies [b5fd3e6]
41
+ - Updated dependencies [b5fd3e6]
42
+ - Updated dependencies [ae7df8b]
43
+ - @procore/hammer-types@0.3.0
44
+
45
+ ## 0.3.1
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies [d82dd04]
50
+ - @procore/hammer-types@0.2.0
51
+
52
+ ## 0.3.0
53
+
54
+ ### Minor Changes
55
+
56
+ - c5d3685: Switches to using @procore/hammer-types TypeScript types.
57
+
58
+ ### Patch Changes
59
+
60
+ - Updated dependencies [c5d3685]
61
+ - @procore/hammer-types@0.1.0
62
+
63
+ ## 0.2.0
64
+
65
+ ### Minor Changes
66
+
67
+ - 9e9fef7: Upgrades package dependencies.
68
+
69
+ ## 0.1.0
70
+
71
+ ### Minor Changes
72
+
73
+ - 8fde584: feat: implements initial hammer command, and lib:\* commands.
package/dist/index.js CHANGED
@@ -96,7 +96,7 @@ function toHighlightedString(input) {
96
96
  const inputAsString = JSON.stringify(
97
97
  input,
98
98
  function(_key, value) {
99
- return typeof value === "function" ? value.toString() : value;
99
+ return typeof value === "function" ? value.name : value;
100
100
  },
101
101
  2
102
102
  );
package/dist/index.mjs CHANGED
@@ -59,7 +59,7 @@ function toHighlightedString(input) {
59
59
  const inputAsString = JSON.stringify(
60
60
  input,
61
61
  function(_key, value) {
62
- return typeof value === "function" ? value.toString() : value;
62
+ return typeof value === "function" ? value.name : value;
63
63
  },
64
64
  2
65
65
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procore/hammer-lib-tsup",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
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",
@@ -42,15 +42,6 @@
42
42
  "test:ci": "vitest run --coverage",
43
43
  "test:watch": "vitest"
44
44
  },
45
- "dependencies": {
46
- "@procore/hammer-types": "^0.3.0",
47
- "cli-highlight": "^2.1.11",
48
- "esbuild-sass-plugin": "^3.3.0",
49
- "pathe": "^1.1.2",
50
- "picocolors": "^1.0.1",
51
- "postcss-modules": "^6.0.0",
52
- "tsup": "^8.0.2"
53
- },
54
45
  "peerDependencies": {
55
46
  "postcss": "^8.0.0"
56
47
  },
@@ -59,20 +50,30 @@
59
50
  "optional": true
60
51
  }
61
52
  },
53
+ "dependencies": {
54
+ "@procore/hammer-types": "^0.4.0",
55
+ "cli-highlight": "^2.1.11",
56
+ "esbuild": "^0.21.5",
57
+ "esbuild-sass-plugin": "^3.3.1",
58
+ "pathe": "^1.1.2",
59
+ "picocolors": "^1.0.1",
60
+ "sass-embedded": "^1.77.5",
61
+ "tsup": "^8.1.0"
62
+ },
62
63
  "devDependencies": {
63
- "@procore/prettier-config": "^1.1.0",
64
- "@types/node": "^20.12.12",
65
- "@typescript-eslint/eslint-plugin": "^7.10.0",
66
- "@typescript-eslint/parser": "^7.10.0",
64
+ "@procore/eslint-config": "^15.2.1",
65
+ "@procore/prettier-config": "^1.1.1",
66
+ "@procore/typescript-config": "^2.0.0",
67
+ "@types/node": "^20.14.10",
67
68
  "@vitest/coverage-v8": "^1.6.0",
68
69
  "eslint": "^8.57.0",
69
- "eslint-define-config": "^2.1.0",
70
- "lint-staged": "^15.2.4",
71
- "prettier": "^3.2.5",
72
- "rimraf": "^5.0.7",
70
+ "lint-staged": "^15.2.7",
71
+ "postcss": "^8.4.39",
72
+ "prettier": "^3.3.2",
73
+ "rimraf": "^6.0.0",
73
74
  "strip-ansi": "^7.1.0",
74
- "typescript": "^5.4.5",
75
+ "typescript": "^5.5.3",
75
76
  "vitest": "^1.6.0",
76
77
  "vitest-mock-process": "^1.0.4"
77
78
  }
78
- }
79
+ }