@capgo/cli 3.14.65 → 3.14.67

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.
@@ -10,34 +10,32 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
  name: "Build code and release"
12
12
  steps:
13
- - name: Check out
14
- uses: actions/checkout@v3
15
- - uses: pnpm/action-setup@v2
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
16
15
  with:
17
- version: 8
18
- - name: Use Node.js
19
- uses: actions/setup-node@v3
16
+ fetch-depth: 0
17
+ - name: Setup bun
18
+ uses: oven-sh/setup-bun@v1.1.1
20
19
  with:
21
- node-version: 18
22
- cache: "pnpm"
20
+ bun-version: latest
23
21
  - name: Install dependencies
24
22
  id: install_code
25
- run: pnpm install --frozen-lockfile
23
+ run: bun install --frozen-lockfile
26
24
  - name: Lint
27
25
  id: lint_code
28
- run: pnpm lint
26
+ run: bun lint
29
27
  - name: Build
30
28
  id: build_code
31
- run: pnpm build
29
+ run: bun run build
32
30
  - name: Run
33
31
  id: run_cli
34
32
  run: node dist/index.js --help
35
33
  - uses: rxfork/npm-publish@v1
36
- if: "!contains(github.ref, '-alpha.')"
34
+ if: ${{ !contains(github.ref, '-alpha.') }}
37
35
  with:
38
36
  token: ${{ secrets.NPM_TOKEN }}
39
37
  - uses: rxfork/npm-publish@v1
40
- if: "contains(github.ref, '-alpha.')"
38
+ if: ${{ contains(github.ref, '-alpha.') }}
41
39
  with:
42
40
  token: ${{ secrets.NPM_TOKEN }}
43
41
  tag: next
@@ -8,26 +8,22 @@ on:
8
8
 
9
9
  jobs:
10
10
  bump-version:
11
- if: "!startsWith(github.event.head_commit.message, 'chore(release):')"
11
+ if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') }}
12
12
  runs-on: ubuntu-latest
13
13
  name: "Bump version and create changelog with standard version"
14
14
  steps:
15
- - name: Check out
16
- uses: actions/checkout@v3
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
17
  with:
18
18
  fetch-depth: 0
19
19
  token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
20
- - uses: pnpm/action-setup@v2
20
+ - name: Setup bun
21
+ uses: oven-sh/setup-bun@v1.1.1
21
22
  with:
22
- version: 8
23
- - name: Use Node.js
24
- uses: actions/setup-node@v3
25
- with:
26
- node-version: 18
27
- cache: "pnpm"
23
+ bun-version: latest
28
24
  - name: Install dependencies
29
25
  id: install_code
30
- run: pnpm install --frozen-lockfile
26
+ run: bun install --frozen-lockfile
31
27
  - name: Git config
32
28
  run: |
33
29
  git config --local user.name "github-actions[bot]"
@@ -45,19 +41,16 @@ jobs:
45
41
  git pull $remote_repo $CURRENT_BRANCH
46
42
  git push $remote_repo HEAD:$CURRENT_BRANCH --follow-tags --tags
47
43
  create-cache:
48
- if: "!startsWith(github.event.head_commit.message, 'chore(release):')"
44
+ if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') }}
49
45
  runs-on: ubuntu-latest
50
46
  name: "Create global cache on main branch"
51
47
  steps:
52
- - uses: actions/checkout@v3
53
- - uses: pnpm/action-setup@v2
54
- with:
55
- version: 8
56
- - name: Use Node.js
57
- uses: actions/setup-node@v3
48
+ - name: Checkout
49
+ uses: actions/checkout@v4
50
+ - name: Setup bun
51
+ uses: oven-sh/setup-bun@v1.1.1
58
52
  with:
59
- node-version: 18
60
- cache: "pnpm"
53
+ bun-version: latest
61
54
  - name: Install dependencies
62
55
  id: install_code
63
- run: pnpm install --frozen-lockfile
56
+ run: bun install --frozen-lockfile
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [3.14.67](https://github.com/Cap-go/capgo-cli/compare/v3.14.66...v3.14.67) (2024-02-10)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * CI build ([6fcba71](https://github.com/Cap-go/capgo-cli/commit/6fcba71280864d81b0ddab6c62b1d3289fd0aa11))
11
+
12
+ ### 3.14.66 (2024-02-10)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * CI ([c57026d](https://github.com/Cap-go/capgo-cli/commit/c57026d07d9d5d2d26725d37f79a0ed3b1f860a3))
18
+
5
19
  ### [3.14.65](https://github.com/Cap-go/capgo-cli/compare/v3.14.64...v3.14.65) (2024-02-08)
6
20
 
7
21
 
package/build.mjs ADDED
@@ -0,0 +1,23 @@
1
+ import * as esbuild from 'esbuild'
2
+
3
+ // Replace 'your-external-dependencies-here' with actual externals from your project
4
+ const external = [];
5
+
6
+ esbuild.build({
7
+ entryPoints: ['src/index.ts'],
8
+ bundle: true,
9
+ platform: 'node',
10
+ target: 'node20',
11
+ external,
12
+ outdir: 'dist',
13
+ sourcemap: process.env.NODE_ENV === 'development',
14
+ banner: {
15
+ js: '#!/usr/bin/env node',
16
+ },
17
+ define: {
18
+ 'process.env.SUPA_DB': '"production"',
19
+ },
20
+ loader: {
21
+ '.ts': 'ts',
22
+ },
23
+ }).catch(() => process.exit(1));
package/bun.lockb CHANGED
Binary file