@dk/jolly 0.1.1 → 0.1.3

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/agent.js CHANGED
@@ -1,5 +1,4 @@
1
- #!/usr/bin/env bun
2
- // @bun
1
+ #!/usr/bin/env node
3
2
 
4
3
  // src/agents/setup.ts
5
4
  import { writeFileSync, mkdirSync, existsSync } from "fs";
package/dist/bootstrap.js CHANGED
@@ -1,5 +1,4 @@
1
- #!/usr/bin/env bun
2
- // @bun
1
+ #!/usr/bin/env node
3
2
 
4
3
  // src/api/client.ts
5
4
  class SaleorCloudClient {
package/dist/index.js CHANGED
@@ -1,5 +1,4 @@
1
- #!/usr/bin/env bun
2
- // @bun
1
+ #!/usr/bin/env node
3
2
  import { createRequire } from "node:module";
4
3
  var __create = Object.create;
5
4
  var __getProtoOf = Object.getPrototypeOf;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dk/jolly",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Saleor project bootstrapper and agent configurator",
5
5
  "type": "module",
6
6
  "bin": {
@@ -10,9 +10,14 @@
10
10
  },
11
11
  "scripts": {
12
12
  "build": "bun build src/cli/index.ts --outdir=dist --target=node --external yargs --external dotenv && bun build src/cli/bootstrap.ts --outdir=dist --target=node --external yargs --external dotenv && bun build src/cli/agent.ts --outdir=dist --target=node --external yargs --external dotenv",
13
+ "prepublishOnly": "bun run build",
14
+ "jolly": "bun src/cli/index.ts",
13
15
  "dev": "bun --watch src/cli/index.ts",
14
16
  "test": "bun test",
15
- "typecheck": "bun tsc --noEmit"
17
+ "typecheck": "bun tsc --noEmit",
18
+ "release": "npm version patch && npm publish",
19
+ "release:minor": "npm version minor && npm publish",
20
+ "release:major": "npm version major && npm publish"
16
21
  },
17
22
  "dependencies": {
18
23
  "dotenv": "^17.4.0",
package/src/cli/agent.ts CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env bun
1
+ #!/usr/bin/env node
2
2
  import { setupAgent, installSkillsCommand } from '../agents/setup.js';
3
3
 
4
4
  async function main() {
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env bun
1
+ #!/usr/bin/env node
2
2
  import { createStore } from '../commands/store.js';
3
3
 
4
4
  async function main() {
package/src/cli/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env bun
1
+ #!/usr/bin/env node
2
2
  import yargs from 'yargs';
3
3
  import { hideBin } from 'yargs/helpers';
4
4
  import { storeCommands } from './commands/store.js';