gummy-cli 0.0.41 → 0.0.42
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.
- package/dist/index.d.ts +1 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { }
|
|
1
|
+
#!/usr/bin/env node
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import{Command as e}from"commander";import{Command as r}from"commander";var n=new r().name("migrate").action(async()=>{console.log("Migrate!!!!!!!!!!")});process.on("SIGINT",()=>process.exit(0));process.on("SIGTERM",()=>process.exit(0));async function m(){let o=new e;o.addCommand(n),o.parse()}m();
|
|
2
3
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/commands/migrate.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/commands/migrate.ts"],"sourcesContent":["#!/usr/bin/env node\n\nimport { Command } from 'commander'\n\nimport { migrate } from './commands/migrate'\n\nprocess.on('SIGINT', () => process.exit(0))\nprocess.on('SIGTERM', () => process.exit(0))\n\nasync function main() {\n const program = new Command()\n\n program.addCommand(migrate)\n\n program.parse()\n}\n\nmain()\n","import { Command } from 'commander'\n\nexport const migrate = new Command().name('migrate').action(async () => {\n console.log('Migrate!!!!!!!!!!')\n})\n"],"mappings":";AAEA,OAAS,WAAAA,MAAe,YCFxB,OAAS,WAAAC,MAAe,YAEjB,IAAMC,EAAU,IAAID,EAAQ,EAAE,KAAK,SAAS,EAAE,OAAO,SAAY,CACtE,QAAQ,IAAI,mBAAmB,CACjC,CAAC,EDED,QAAQ,GAAG,SAAU,IAAM,QAAQ,KAAK,CAAC,CAAC,EAC1C,QAAQ,GAAG,UAAW,IAAM,QAAQ,KAAK,CAAC,CAAC,EAE3C,eAAeE,GAAO,CACpB,IAAMC,EAAU,IAAIC,EAEpBD,EAAQ,WAAWE,CAAO,EAE1BF,EAAQ,MAAM,CAChB,CAEAD,EAAK","names":["Command","Command","migrate","main","program","Command","migrate"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gummy-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsup",
|
|
15
|
-
"migrate": "node ./dist/index.
|
|
15
|
+
"migrate": "node ./dist/index.cjs migrate",
|
|
16
16
|
"pack": "(npm pack --pack-destination) && rm -f package.tgz && mv *.tgz package.tgz",
|
|
17
17
|
"publish": "npm publish package.tgz --access public"
|
|
18
18
|
},
|