Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions canary-publish/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53848,7 +53848,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getChangedAllFiles = getChangedAllFiles;
exports.findNearestPackageJson = findNearestPackageJson;
const path_1 = __importDefault(__nccwpck_require__(1017));
const path = __importStar(__nccwpck_require__(1017));
const core = __importStar(__nccwpck_require__(6108));
const github = __importStar(__nccwpck_require__(1645));
const fs_extra_1 = __importDefault(__nccwpck_require__(77));
Expand Down Expand Up @@ -53884,13 +53884,13 @@ function getChangedAllFiles(_a) {
});
}
function findNearestPackageJson(filePath) {
let currentDir = path_1.default.dirname(filePath);
while (currentDir !== path_1.default.parse(currentDir).root) {
const packageJsonPath = path_1.default.join(currentDir, 'package.json');
let currentDir = path.dirname(filePath);
while (currentDir !== path.parse(currentDir).root) {
const packageJsonPath = path.join(currentDir, 'package.json');
if (fs_extra_1.default.existsSync(packageJsonPath)) {
return packageJsonPath;
}
currentDir = path_1.default.dirname(currentDir);
currentDir = path.dirname(currentDir);
}
return undefined;
}
Expand Down
10 changes: 5 additions & 5 deletions detect-add/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34094,7 +34094,7 @@ var __asyncValues = (this && this.__asyncValues) || function (o) {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getChangedAllFiles = getChangedAllFiles;
exports.findNearestPackageJson = findNearestPackageJson;
const path_1 = __nccwpck_require__(1017);
const path = __nccwpck_require__(1017);
const core = __nccwpck_require__(6108);
const github = __nccwpck_require__(1645);
const fs_extra_1 = __nccwpck_require__(77);
Expand Down Expand Up @@ -34130,13 +34130,13 @@ function getChangedAllFiles(_a) {
});
}
function findNearestPackageJson(filePath) {
let currentDir = path_1.default.dirname(filePath);
while (currentDir !== path_1.default.parse(currentDir).root) {
const packageJsonPath = path_1.default.join(currentDir, 'package.json');
let currentDir = path.dirname(filePath);
while (currentDir !== path.parse(currentDir).root) {
const packageJsonPath = path.join(currentDir, 'package.json');
if (fs_extra_1.default.existsSync(packageJsonPath)) {
return packageJsonPath;
}
currentDir = path_1.default.dirname(currentDir);
currentDir = path.dirname(currentDir);
}
return undefined;
}
Expand Down
2 changes: 1 addition & 1 deletion libs/utils/files.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from 'path'
import * as path from 'path'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이게 실제 변경이므니다


import * as core from '@actions/core'
import * as github from '@actions/github'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^20.14.9",
"@types/fs-extra": "^8.0.0"
},
"packageManager": "pnpm@9.4.0",
"packageManager": "pnpm@9.13.2",
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
Expand Down
9 changes: 1 addition & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions publish/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63779,7 +63779,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getChangedAllFiles = getChangedAllFiles;
exports.findNearestPackageJson = findNearestPackageJson;
const path_1 = __importDefault(__nccwpck_require__(71017));
const path = __importStar(__nccwpck_require__(71017));
const core = __importStar(__nccwpck_require__(6108));
const github = __importStar(__nccwpck_require__(31645));
const fs_extra_1 = __importDefault(__nccwpck_require__(20077));
Expand Down Expand Up @@ -63815,13 +63815,13 @@ function getChangedAllFiles(_a) {
});
}
function findNearestPackageJson(filePath) {
let currentDir = path_1.default.dirname(filePath);
while (currentDir !== path_1.default.parse(currentDir).root) {
const packageJsonPath = path_1.default.join(currentDir, 'package.json');
let currentDir = path.dirname(filePath);
while (currentDir !== path.parse(currentDir).root) {
const packageJsonPath = path.join(currentDir, 'package.json');
if (fs_extra_1.default.existsSync(packageJsonPath)) {
return packageJsonPath;
}
currentDir = path_1.default.dirname(currentDir);
currentDir = path.dirname(currentDir);
}
return undefined;
}
Expand Down
Loading