Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: connect to nx cloud #43

Merged
merged 3 commits into from
May 2, 2024
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "nx/presets/npm.json",
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"nxCloudAccessToken": "NjJiMzdhZWItZmJlYy00NjBiLWE1M2QtNTdiNjJhNzEyOWE1fHJlYWQtd3JpdGU=",
"targetDefaults": {
"build": {
"outputs": ["{projectRoot}/output"],
Expand All @@ -19,5 +18,8 @@
},
"workspaceLayout": {
"projectNameAndRootFormat": "as-provided"
}
},
"useInferencePlugins": false,
"nxCloudAccessToken": "MWIzNjZmNjQtMTQyNC00MzE2LWJhOTktMmY4NGE5MDk2YzNlfHJlYWQ=",
"nxCloudUrl": "https://staging.nx.app"
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"@types/node": "^20.6.3"
},
"devDependencies": {
"@nx/js": "17.1.3",
"@nx/js": "18.3.4",
"esbuild": "^0.19.8",
"husky": "^8.0.3",
"install": "^0.13.0",
"lint-staged": "^15.2.0",
"nx": "17.1.3",
"nx": "18.3.4",
"prettier": "^3.1.0",
"typescript": "^5.3.3"
"typescript": "5.4.5"
},
"lint-staged": {
"*.{ts,js,json,md}": [
Expand Down
50 changes: 23 additions & 27 deletions workflow-steps/cache/output/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ var require_balanced_match = __commonJS({
}
});

// ../../node_modules/brace-expansion/index.js
// ../../node_modules/minimatch/node_modules/brace-expansion/index.js
var require_brace_expansion = __commonJS({
"../../node_modules/brace-expansion/index.js"(exports, module2) {
"../../node_modules/minimatch/node_modules/brace-expansion/index.js"(exports, module2) {
var concatMap = require_concat_map();
var balanced = require_balanced_match();
module2.exports = expandTop;
Expand Down Expand Up @@ -1185,8 +1185,6 @@ var require_path_is_absolute = __commonJS({
// ../../node_modules/glob/common.js
var require_common = __commonJS({
"../../node_modules/glob/common.js"(exports) {
exports.alphasort = alphasort;
exports.alphasorti = alphasorti;
exports.setopts = setopts;
exports.ownProp = ownProp;
exports.makeAbs = makeAbs;
Expand All @@ -1197,15 +1195,13 @@ var require_common = __commonJS({
function ownProp(obj, field) {
return Object.prototype.hasOwnProperty.call(obj, field);
}
var fs2 = require("fs");
var path = require("path");
var minimatch = require_minimatch();
var isAbsolute = require_path_is_absolute();
var Minimatch = minimatch.Minimatch;
function alphasorti(a, b) {
return a.toLowerCase().localeCompare(b.toLowerCase());
}
function alphasort(a, b) {
return a.localeCompare(b);
return a.localeCompare(b, "en");
}
function setupIgnores(self, options) {
self.ignore = options.ignore || [];
Expand Down Expand Up @@ -1254,6 +1250,7 @@ var require_common = __commonJS({
self.stat = !!options.stat;
self.noprocess = !!options.noprocess;
self.absolute = !!options.absolute;
self.fs = options.fs || fs2;
self.maxLength = options.maxLength || Infinity;
self.cache = options.cache || /* @__PURE__ */ Object.create(null);
self.statCache = options.statCache || /* @__PURE__ */ Object.create(null);
Expand All @@ -1277,6 +1274,7 @@ var require_common = __commonJS({
self.nomount = !!options.nomount;
options.nonegate = true;
options.nocomment = true;
options.allowWindowsEscape = false;
self.minimatch = new Minimatch(pattern, options);
self.options = self.minimatch.options;
}
Expand Down Expand Up @@ -1306,7 +1304,7 @@ var require_common = __commonJS({
if (!nou)
all = Object.keys(all);
if (!self.nosort)
all = all.sort(self.nocase ? alphasorti : alphasort);
all = all.sort(alphasort);
if (self.mark) {
for (var i = 0; i < all.length; i++) {
all[i] = self._mark(all[i]);
Expand Down Expand Up @@ -1383,7 +1381,6 @@ var require_sync = __commonJS({
"../../node_modules/glob/sync.js"(exports, module2) {
module2.exports = globSync;
globSync.GlobSync = GlobSync;
var fs2 = require("fs");
var rp = require_fs();
var minimatch = require_minimatch();
var Minimatch = minimatch.Minimatch;
Expand All @@ -1393,8 +1390,6 @@ var require_sync = __commonJS({
var assert2 = require("assert");
var isAbsolute = require_path_is_absolute();
var common = require_common();
var alphasort = common.alphasort;
var alphasorti = common.alphasorti;
var setopts = common.setopts;
var ownProp = common.ownProp;
var childrenIgnored = common.childrenIgnored;
Expand Down Expand Up @@ -1422,7 +1417,7 @@ var require_sync = __commonJS({
this._finish();
}
GlobSync.prototype._finish = function() {
assert2(this instanceof GlobSync);
assert2.ok(this instanceof GlobSync);
if (this.realpath) {
var self = this;
this.matches.forEach(function(matchset, index) {
Expand All @@ -1444,7 +1439,7 @@ var require_sync = __commonJS({
common.finish(this);
};
GlobSync.prototype._process = function(pattern, index, inGlobStar) {
assert2(this instanceof GlobSync);
assert2.ok(this instanceof GlobSync);
var n = 0;
while (typeof pattern[n] === "string") {
n++;
Expand All @@ -1465,7 +1460,9 @@ var require_sync = __commonJS({
var read;
if (prefix === null)
read = ".";
else if (isAbsolute(prefix) || isAbsolute(pattern.join("/"))) {
else if (isAbsolute(prefix) || isAbsolute(pattern.map(function(p) {
return typeof p === "string" ? p : "[*]";
}).join("/"))) {
if (!prefix || !isAbsolute(prefix))
prefix = "/" + prefix;
read = prefix;
Expand Down Expand Up @@ -1561,7 +1558,7 @@ var require_sync = __commonJS({
var lstat;
var stat;
try {
lstat = fs2.lstatSync(abs);
lstat = this.fs.lstatSync(abs);
} catch (er) {
if (er.code === "ENOENT") {
return null;
Expand All @@ -1587,7 +1584,7 @@ var require_sync = __commonJS({
return c;
}
try {
return this._readdirEntries(abs, fs2.readdirSync(abs));
return this._readdirEntries(abs, this.fs.readdirSync(abs));
} catch (er) {
this._readdirError(abs, er);
return null;
Expand Down Expand Up @@ -1696,7 +1693,7 @@ var require_sync = __commonJS({
if (!stat) {
var lstat;
try {
lstat = fs2.lstatSync(abs);
lstat = this.fs.lstatSync(abs);
} catch (er) {
if (er && (er.code === "ENOENT" || er.code === "ENOTDIR")) {
this.statCache[abs] = false;
Expand All @@ -1705,7 +1702,7 @@ var require_sync = __commonJS({
}
if (lstat && lstat.isSymbolicLink()) {
try {
stat = fs2.statSync(abs);
stat = this.fs.statSync(abs);
} catch (er) {
stat = lstat;
}
Expand Down Expand Up @@ -1858,7 +1855,6 @@ var require_inflight = __commonJS({
var require_glob = __commonJS({
"../../node_modules/glob/glob.js"(exports, module2) {
module2.exports = glob2;
var fs2 = require("fs");
var rp = require_fs();
var minimatch = require_minimatch();
var Minimatch = minimatch.Minimatch;
Expand All @@ -1869,8 +1865,6 @@ var require_glob = __commonJS({
var isAbsolute = require_path_is_absolute();
var globSync = require_sync();
var common = require_common();
var alphasort = common.alphasort;
var alphasorti = common.alphasorti;
var setopts = common.setopts;
var ownProp = common.ownProp;
var inflight = require_inflight();
Expand Down Expand Up @@ -2090,7 +2084,9 @@ var require_glob = __commonJS({
var read;
if (prefix === null)
read = ".";
else if (isAbsolute(prefix) || isAbsolute(pattern.join("/"))) {
else if (isAbsolute(prefix) || isAbsolute(pattern.map(function(p) {
return typeof p === "string" ? p : "[*]";
}).join("/"))) {
if (!prefix || !isAbsolute(prefix))
prefix = "/" + prefix;
read = prefix;
Expand Down Expand Up @@ -2203,7 +2199,7 @@ var require_glob = __commonJS({
var self = this;
var lstatcb = inflight(lstatkey, lstatcb_);
if (lstatcb)
fs2.lstat(abs, lstatcb);
self.fs.lstat(abs, lstatcb);
function lstatcb_(er, lstat) {
if (er && er.code === "ENOENT")
return cb();
Expand Down Expand Up @@ -2232,7 +2228,7 @@ var require_glob = __commonJS({
return cb(null, c);
}
var self = this;
fs2.readdir(abs, readdirCb(this, abs, cb));
self.fs.readdir(abs, readdirCb(this, abs, cb));
};
function readdirCb(self, abs, cb) {
return function(er, entries) {
Expand Down Expand Up @@ -2376,10 +2372,10 @@ var require_glob = __commonJS({
var self = this;
var statcb = inflight("stat\0" + abs, lstatcb_);
if (statcb)
fs2.lstat(abs, statcb);
self.fs.lstat(abs, statcb);
function lstatcb_(er, lstat) {
if (lstat && lstat.isSymbolicLink()) {
return fs2.stat(abs, function(er2, stat2) {
return self.fs.stat(abs, function(er2, stat2) {
if (er2)
self._stat2(f, abs, null, lstat, cb);
else
Expand Down