@sverka/compiler 0.1.5 → 0.1.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/plugin/types.ts","../src/plugin/factory.ts","../src/plugin/capabilities.ts","../src/plugin/errors.ts","../src/github/pinning.ts","../src/github/types.ts","../src/github/target.ts","../src/gitlab/types.ts","../src/gitlab/target.ts"],"mappings":";;KAQY;UAQK;WACN,SAAS;WACT;WACA;;KAGC,qBAAqB,eAAe,oBAAoB;UAEnD;WACN;WACA,SAAS;WACT;WACA;WACA;;UAOM;WACN;WACA;;UAGM;WACN;EACT,UAAU,OAAO,kBAAkB;;UAGpB;WACN;EACT,SAAS,OAAO,2BAA2B;;UAG5B;WACN;EACT,QAAQ,OAAO,kBAAkB;;UAGlB;WACN;aAA+B;aAAuB;;WACtD,sBAAsB;;UAGhB;WACN;EACT,MAAM,gBAAgB;;UAGP;WACN;EACT,QAAQ;;UAGO;WACN;EACT,OAAO;;UAGQ;WACN;WACA;WACA;WACA;;UAOM;;WAEN;WACA;;WAEA,cAAc,SAAS;;KAGtB;WACG;WAAuB;;WACvB;WAAwB;WAAuB;;WAE/C;WACA;aAAqB;aAAsB;;;UAGzC;WACN,kBAAkB;WAClB;;;;;;;UAQM;EACf,aAAa,iBAAiB;EAC9B,SACE,cACA,OAAO,SAAS,2BACf,QAAQ;EACX,YAAY;;UAOG;WACN;WACA;WACA,eAAe;WACf,iBAAiB;WACjB,sBAAsB;WACtB,sBAAsB;WACtB,mBAAmB;WACnB,qBAAqB;WACrB,mBAAmB;WACnB,sBAAsB;WACtB,sBAAsB;;WAEtB,QAAQ;;UAGF;YACL;;UAGK;WACN;;UAOM;EACf,SAAS,QAAQ;WACR,kBAAkB;EAC3B,mBAAmB;;;;;;;;;;;;;;;wBC5IL,mBACd,UAAU,UAAU,eAAe,OAAO,eAAe,cACzD,UAAU,gBACT;;;;wBA+Da,wBAAwB;;;;;;;wBCqUxB,mBAAmB,OAAO,kBAAkB;;;;;;wBA6D5C,oBACd,OAAO,iBACP,oBAAoB,gCACV;;;KCtdA;qBAKC,oBAAoB;WACtB,MAAM;WACG;EAEN,YAAA,iBAAiB,MAAM,iBAAiB;;;;;UCDrC;YACL;;;UAIK;;WAEN;;WAEA,WAAW;;;;;;;;;;;;;wBAgBN,aAAa,aAAa,UAAU;;;;wBAwBpC,uBAAuB;;;UC1BtB;WACN;WACA;WACA;WACA;WACA,OAAO;WACP,MAAM;WACN;WACA;WACA;WACA;;UAoEM;WACN;WACA;;UAGM;WACN;WACA,SAAS;WACT;WACA;WACA;;UAGM;WACN,oBAAoB;WACpB,sBAAsB;;;;;UAMhB;;WAEN,UAAU;;;;;;WAMV,iBAAiB;;WAEjB,eAAe;;;;;;;wBCgBV,cACd,OAAO,iBACP,SAAS,qBACR;;;UCVc;WACN;WACA;;UAGM;WACN;WACA,SAAS;WACT;WACA;WACA;;UAGM;WACN,oBAAoB;WACpB,sBAAsB;;;;;;;wBCvGjB,cAAc,OAAO,kBAAkB"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/plugin/types.ts","../src/plugin/factory.ts","../src/plugin/capabilities.ts","../src/plugin/errors.ts","../src/github/pinning.ts","../src/github/types.ts","../src/github/target.ts","../src/gitlab/types.ts","../src/gitlab/target.ts"],"mappings":";;KAQY;UAGK;WACN,SAAS;WACT;WACA;;KAGC,qBAAqB,eAE/B,oBAAoB;UAGL;WACN;WACA,SAAS;WACT;WACA;WACA;;UAOM;WACN;WACA;;UAGM;WACN;EACT,UAAU,OAAO,kBAAkB;;UAGpB;WACN;EACT,SAAS,OAAO,2BAA2B;;UAG5B;WACN;EACT,QAAQ,OAAO,kBAAkB;;UAGlB;WACN;aACE;aACA;;WAEF,sBAAsB;;UAGhB;WACN;EACT,MAAM,gBAAgB;;UAGP;WACN;EACT,QAAQ;;UAGO;WACN;EACT,OAAO;;UAGQ;WACN;WACA;WACA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
package/dist/index.mjs CHANGED
@@ -446,7 +446,7 @@ const githubCapabilities = {
446
446
  "deployment.environment.tier": "unsupported",
447
447
  "artifact.retention": "native",
448
448
  "artifact.access": "unsupported",
449
- "cache": "lowered",
449
+ cache: "lowered",
450
450
  "cache.policy": "lowered",
451
451
  "cache.fallbackKeys": "lowered",
452
452
  "concurrency.group": "native",
@@ -1062,16 +1062,16 @@ function resolveJobIf(step, jobIdMap) {
1062
1062
  */
1063
1063
  const WRITE_KIND_TO_GHA_PERMISSION = {
1064
1064
  "pull-request": "pull-requests: write",
1065
- "comment": "issues: write",
1066
- "deploy": "deployments: write",
1067
- "push": "contents: write",
1065
+ comment: "issues: write",
1066
+ deploy: "deployments: write",
1067
+ push: "contents: write",
1068
1068
  "id-token": "id-token: write",
1069
- "pages": "pages: write"
1069
+ pages: "pages: write"
1070
1070
  };
1071
1071
  function resolveJobPermissions(step) {
1072
1072
  if (step.operations.some((op) => op.kind === "deployPages")) return {
1073
1073
  permissions: {
1074
- "pages": "write",
1074
+ pages: "write",
1075
1075
  "id-token": "write"
1076
1076
  },
1077
1077
  environment: { name: "github-pages" }
@@ -1922,7 +1922,7 @@ const gitlabCapabilities = {
1922
1922
  "deployment.environment.tier": "native",
1923
1923
  "artifact.retention": "native",
1924
1924
  "artifact.access": "native",
1925
- "cache": "native",
1925
+ cache: "native",
1926
1926
  "cache.policy": "native",
1927
1927
  "cache.fallbackKeys": "native",
1928
1928
  "concurrency.group": "native",