Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Feb 5, 2025
1 parent f6da0c3 commit 6a1dcde
Show file tree
Hide file tree
Showing 24 changed files with 31 additions and 55 deletions.
2 changes: 1 addition & 1 deletion Target/Class/Maintain.js

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

4 changes: 2 additions & 2 deletions Target/Command/Clean.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/
declare const _default: (Repositories?: string[]) => Promise<void>;
export default _default;
export declare const Request: (Where: string, With?: {}, Type?: string) => Promise<import("@octokit/types").OctokitResponse<any, number> | any>;
export declare const User: string;
export declare const Request: any;
export declare const User: any;
export declare const All: {
Organizations: {
Name: string;
Expand Down
2 changes: 1 addition & 1 deletion Target/Command/Clean.js

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

4 changes: 2 additions & 2 deletions Target/Command/Cloudflare.js

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

2 changes: 1 addition & 1 deletion Target/Command/Complexity.js

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

4 changes: 2 additions & 2 deletions Target/Command/Dependabot.js

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

2 changes: 1 addition & 1 deletion Target/Command/Dispatch.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
*/
declare const _default: (Repository?: string[] | Set<string>) => Promise<void>;
export default _default;
export declare const _Request: (Where: string, With?: {}, Type?: string) => Promise<import("@octokit/types").OctokitResponse<any, number> | any>;
export declare const _Request: any;
2 changes: 1 addition & 1 deletion Target/Command/Dispatch.js

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

2 changes: 1 addition & 1 deletion Target/Command/Edit.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
*/
declare const _default: (_Repository?: string[] | Set<string>) => Promise<void>;
export default _default;
export declare const Request: (Where: string, With?: {}, Type?: string) => Promise<import("@octokit/types").OctokitResponse<any, number> | any>;
export declare const Request: any;
2 changes: 1 addition & 1 deletion Target/Command/Edit.js

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

2 changes: 1 addition & 1 deletion Target/Command/GitHub.js

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

4 changes: 2 additions & 2 deletions Target/Command/NPM.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var m=async()=>await(async f=>{for(const{Path:o,Name:s,File:w}of f)for(const[l,d]of await(await import("../Function/Directory.js")).default(await(await import("../Function/Package.js")).default("NPM"))){const i=`${l}/.github`,t=await w();if(o==="/workflows/"&&s==="NPM.yml")for(const a of d){const e=(await import("path")).dirname(a).replace(l,""),y=(await(await import("fs/promises")).readFile(a,"utf-8")).toString(),p=(await(await import("../Function/Type.js")).default()).get(a.split("/").pop());try{if(typeof p<"u"&&p==="NPM"){const r=JSON.parse(y);for(const c in r)if(Object.prototype.hasOwnProperty.call(r,c)){const u=r[c];if(c==="scripts")for(const n in u)Object.prototype.hasOwnProperty.call(u,n)&&(n==="build"&&t.add(`
var m=async()=>await(async f=>{for(const{Path:o,Name:s,File:w}of f)for(const[l,d]of await(await import("@Function/Directory.js")).default(await(await import("@Function/Package.js")).default("NPM"))){const i=`${l}/.github`,t=await w();if(o==="/workflows/"&&s==="NPM.yml")for(const a of d){const e=(await import("path")).dirname(a).replace(l,""),y=(await(await import("fs/promises")).readFile(a,"utf-8")).toString(),p=(await(await import("@Function/Type.js")).default()).get(a.split("/").pop());try{if(typeof p<"u"&&p==="NPM"){const r=JSON.parse(y);for(const c in r)if(Object.prototype.hasOwnProperty.call(r,c)){const u=r[c];if(c==="scripts")for(const n in u)Object.prototype.hasOwnProperty.call(u,n)&&(n==="build"&&t.add(`
- name: Publish .${e}
continue-on-error: true
working-directory: .${e}
Expand All @@ -22,4 +22,4 @@ var m=async()=>await(async f=>{for(const{Path:o,Name:s,File:w}of f)for(const[l,d
npm publish --legacy-peer-deps --provenance --ignore-scripts
env:
NODE_AUTH_TOKEN: \${{ secrets.NPM_TOKEN }}
`))}}}catch(r){console.log(`Could not create: ${a}`),console.log(r)}}if(t.size>1){try{await(await import("fs/promises")).mkdir(`${i}${o}`,{recursive:!0})}catch{console.log(`Could not create: ${i}${o}`)}try{await(await import("fs/promises")).writeFile(`${i}${o}${s}`,`${[...t].join("")}`)}catch{console.log(`Could not create workflow for: ${i}/workflows/NPM.yml`)}}}})((await import("../Variable/NPM.js")).default);export{m as default};
`))}}}catch(r){console.log(`Could not create: ${a}`),console.log(r)}}if(t.size>1){try{await(await import("fs/promises")).mkdir(`${i}${o}`,{recursive:!0})}catch{console.log(`Could not create: ${i}${o}`)}try{await(await import("fs/promises")).writeFile(`${i}${o}${s}`,`${[...t].join("")}`)}catch{console.log(`Could not create workflow for: ${i}/workflows/NPM.yml`)}}}})((await import("@Variable/NPM.js")).default);export{m as default};
Loading

0 comments on commit 6a1dcde

Please sign in to comment.