@lage-run/cli 0.35.1 → 0.35.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.
@@ -22,7 +22,8 @@ function getOutputFiles(root, target, outputGlob, packageTree) {
22
22
  const sourceControlledFiles = new Set(packageTree.getPackageFiles(target.packageName ?? "", patterns));
23
23
  const outputs = (0, _globby.glob)(patterns, {
24
24
  cwd: target.cwd,
25
- gitignore: false
25
+ gitignore: false,
26
+ dot: true
26
27
  }).map((file)=>_path.default.relative(root, _path.default.join(target.cwd, file))).filter((file)=>!sourceControlledFiles.has(file));
27
28
  return outputs;
28
29
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/commands/server/getOutputFiles.ts"],"sourcesContent":["import type { CacheOptions } from \"@lage-run/config\";\nimport { glob } from \"@lage-run/globby\";\nimport type { PackageTree } from \"@lage-run/hasher\";\nimport type { Target } from \"@lage-run/target-graph\";\n\nimport path from \"path\";\n\nexport function getOutputFiles(root: string, target: Target, outputGlob: CacheOptions[\"outputGlob\"], packageTree: PackageTree): string[] {\n const patterns = target.outputs ?? outputGlob ?? [\"**/*\"];\n\n const sourceControlledFiles = new Set(packageTree.getPackageFiles(target.packageName ?? \"\", patterns));\n const outputs = glob(patterns, { cwd: target.cwd, gitignore: false })\n .map((file) => path.relative(root, path.join(target.cwd, file)))\n .filter((file) => !sourceControlledFiles.has(file));\n\n return outputs;\n}\n"],"names":["getOutputFiles","root","target","outputGlob","packageTree","patterns","outputs","sourceControlledFiles","Set","getPackageFiles","packageName","glob","cwd","gitignore","map","file","path","relative","join","filter","has"],"mappings":";;;;+BAOgBA;;;eAAAA;;;wBANK;6DAIJ;;;;;;AAEV,SAASA,eAAeC,IAAY,EAAEC,MAAc,EAAEC,UAAsC,EAAEC,WAAwB;IAC3H,MAAMC,WAAWH,OAAOI,OAAO,IAAIH,cAAc;QAAC;KAAO;IAEzD,MAAMI,wBAAwB,IAAIC,IAAIJ,YAAYK,eAAe,CAACP,OAAOQ,WAAW,IAAI,IAAIL;IAC5F,MAAMC,UAAUK,IAAAA,YAAI,EAACN,UAAU;QAAEO,KAAKV,OAAOU,GAAG;QAAEC,WAAW;IAAM,GAChEC,GAAG,CAAC,CAACC,OAASC,aAAI,CAACC,QAAQ,CAAChB,MAAMe,aAAI,CAACE,IAAI,CAAChB,OAAOU,GAAG,EAAEG,QACxDI,MAAM,CAAC,CAACJ,OAAS,CAACR,sBAAsBa,GAAG,CAACL;IAE/C,OAAOT;AACT"}
1
+ {"version":3,"sources":["../../../src/commands/server/getOutputFiles.ts"],"sourcesContent":["import type { CacheOptions } from \"@lage-run/config\";\nimport { glob } from \"@lage-run/globby\";\nimport type { PackageTree } from \"@lage-run/hasher\";\nimport type { Target } from \"@lage-run/target-graph\";\n\nimport path from \"path\";\n\nexport function getOutputFiles(root: string, target: Target, outputGlob: CacheOptions[\"outputGlob\"], packageTree: PackageTree): string[] {\n const patterns = target.outputs ?? outputGlob ?? [\"**/*\"];\n\n const sourceControlledFiles = new Set(packageTree.getPackageFiles(target.packageName ?? \"\", patterns));\n const outputs = glob(patterns, { cwd: target.cwd, gitignore: false, dot: true })\n .map((file) => path.relative(root, path.join(target.cwd, file)))\n .filter((file) => !sourceControlledFiles.has(file));\n\n return outputs;\n}\n"],"names":["getOutputFiles","root","target","outputGlob","packageTree","patterns","outputs","sourceControlledFiles","Set","getPackageFiles","packageName","glob","cwd","gitignore","dot","map","file","path","relative","join","filter","has"],"mappings":";;;;+BAOgBA;;;eAAAA;;;wBANK;6DAIJ;;;;;;AAEV,SAASA,eAAeC,IAAY,EAAEC,MAAc,EAAEC,UAAsC,EAAEC,WAAwB;IAC3H,MAAMC,WAAWH,OAAOI,OAAO,IAAIH,cAAc;QAAC;KAAO;IAEzD,MAAMI,wBAAwB,IAAIC,IAAIJ,YAAYK,eAAe,CAACP,OAAOQ,WAAW,IAAI,IAAIL;IAC5F,MAAMC,UAAUK,IAAAA,YAAI,EAACN,UAAU;QAAEO,KAAKV,OAAOU,GAAG;QAAEC,WAAW;QAAOC,KAAK;IAAK,GAC3EC,GAAG,CAAC,CAACC,OAASC,aAAI,CAACC,QAAQ,CAACjB,MAAMgB,aAAI,CAACE,IAAI,CAACjB,OAAOU,GAAG,EAAEI,QACxDI,MAAM,CAAC,CAACJ,OAAS,CAACT,sBAAsBc,GAAG,CAACL;IAE/C,OAAOV;AACT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lage-run/cli",
3
- "version": "0.35.1",
3
+ "version": "0.35.2",
4
4
  "description": "Command Line Interface for Lage",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,16 +23,16 @@
23
23
  "lint": "monorepo-scripts lint"
24
24
  },
25
25
  "dependencies": {
26
- "@lage-run/cache": "^1.4.10",
26
+ "@lage-run/cache": "^1.4.11",
27
27
  "@lage-run/config": "^0.9.2",
28
28
  "@lage-run/format-hrtime": "^0.1.9",
29
- "@lage-run/globby": "^13.0.1",
30
- "@lage-run/hasher": "^1.9.6",
29
+ "@lage-run/globby": "^13.0.2",
30
+ "@lage-run/hasher": "^1.9.7",
31
31
  "@lage-run/logger": "^1.3.3",
32
32
  "@lage-run/reporters": "^1.5.1",
33
33
  "@lage-run/rpc": "^1.4.4",
34
34
  "@lage-run/runners": "^1.4.1",
35
- "@lage-run/scheduler": "^1.5.22",
35
+ "@lage-run/scheduler": "^1.5.23",
36
36
  "@lage-run/scheduler-types": "^0.3.32",
37
37
  "@lage-run/target-graph": "^0.14.1",
38
38
  "@lage-run/worker-threads-pool": "^0.9.4",