@procore/hammer-lib-tsup 0.7.3 → 0.8.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 +11 -0
- package/dist/index.mjs +3 -3
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
-
import process2 from "
|
|
2
|
+
import process2 from "process";
|
|
3
3
|
|
|
4
4
|
// src/base-configs.ts
|
|
5
5
|
import { postcssModules, sassPlugin } from "esbuild-sass-plugin";
|
|
@@ -68,7 +68,7 @@ function toHighlightedString(input) {
|
|
|
68
68
|
|
|
69
69
|
// src/clean-output.ts
|
|
70
70
|
import { resolve } from "pathe";
|
|
71
|
-
import { rm } from "
|
|
71
|
+
import { rm } from "fs/promises";
|
|
72
72
|
import c from "picocolors";
|
|
73
73
|
async function cleanOutput(rootDir, buildOptions) {
|
|
74
74
|
for (const buildOption of buildOptions) {
|
|
@@ -114,7 +114,7 @@ import { updatePackageJsonFromTemplate } from "@procore/hammer-utils";
|
|
|
114
114
|
// src/validate-package.ts
|
|
115
115
|
import { readRootPackageJson } from "@procore/hammer-utils";
|
|
116
116
|
import c3 from "picocolors";
|
|
117
|
-
import fs from "
|
|
117
|
+
import fs from "fs";
|
|
118
118
|
var errorIsNotExisted = (name) => `The property ${c3.yellow(name)} doesn't exist in the package.json.`;
|
|
119
119
|
var errorFileIsNotExisted = (name) => `The file from ${c3.yellow(name)} property doesn't exist in the dist folder.
|
|
120
120
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@procore/hammer-lib-tsup",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.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",
|
|
@@ -52,28 +52,28 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@procore/hammer-types": "^0.6.0",
|
|
55
|
-
"@procore/hammer-utils": "^0.
|
|
55
|
+
"@procore/hammer-utils": "^0.3.0",
|
|
56
56
|
"cli-highlight": "^2.1.11",
|
|
57
|
-
"esbuild": "^0.25.
|
|
57
|
+
"esbuild": "^0.25.5",
|
|
58
58
|
"esbuild-sass-plugin": "^3.3.1",
|
|
59
|
-
"pathe": "^2.0.
|
|
59
|
+
"pathe": "^2.0.3",
|
|
60
60
|
"picocolors": "^1.1.1",
|
|
61
|
-
"sass-embedded": "^1.
|
|
62
|
-
"tsup": "^8.
|
|
61
|
+
"sass-embedded": "^1.89.2",
|
|
62
|
+
"tsup": "^8.5.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@procore/eslint-config": "^15.2.1",
|
|
66
|
-
"@procore/hammer-test-utils": "^0.
|
|
66
|
+
"@procore/hammer-test-utils": "^0.2.0",
|
|
67
67
|
"@procore/prettier-config": "^1.1.1",
|
|
68
68
|
"@procore/typescript-config": "^2.0.0",
|
|
69
|
-
"@types/node": "^20.
|
|
70
|
-
"@vitest/coverage-v8": "^3.
|
|
69
|
+
"@types/node": "^20.19.1",
|
|
70
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
71
71
|
"del-cli": "^6.0.0",
|
|
72
|
-
"eslint": "^9.
|
|
73
|
-
"postcss": "^8.5.
|
|
74
|
-
"prettier": "^3.
|
|
72
|
+
"eslint": "^9.29.0",
|
|
73
|
+
"postcss": "^8.5.6",
|
|
74
|
+
"prettier": "^3.6.0",
|
|
75
75
|
"strip-ansi": "^7.1.0",
|
|
76
76
|
"typescript": "~5.5.4",
|
|
77
|
-
"vitest": "^3.
|
|
77
|
+
"vitest": "^3.2.4"
|
|
78
78
|
}
|
|
79
79
|
}
|