Skip to content

Commit 7d36641

Browse files
Merge pull request #5 from ubiquity-os/development
Merge development into main
2 parents 1f1c9ce + 368f0cd commit 7d36641

22 files changed

+1068
-2643
lines changed

.cspell.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,32 @@
44
"ignorePaths": ["**/*.json", "**/*.css", "node_modules", "**/*.log"],
55
"useGitignore": true,
66
"language": "en",
7-
"words": ["dataurl", "devpool", "outdir", "servedir"],
7+
"words": [
8+
"dataurl",
9+
"devpool",
10+
"outdir",
11+
"servedir",
12+
"ubiquity",
13+
"ubiquity-os",
14+
"eslint",
15+
"esbuild",
16+
"prettier",
17+
"knip",
18+
"RuleTester",
19+
"tsconfig",
20+
"sonarjs",
21+
"workflows",
22+
"release-please",
23+
"tsnode",
24+
"prettierrc",
25+
"ZWNBSP",
26+
"FEFF",
27+
"ZWSP",
28+
"ZWNJ",
29+
"quasis",
30+
"TSES",
31+
"claration"
32+
],
833
"dictionaries": ["typescript", "node", "software-terms"],
934
"import": ["@cspell/dict-typescript/cspell-ext.json", "@cspell/dict-node/cspell-ext.json", "@cspell/dict-software-terms"],
1035
"ignoreRegExpList": ["[0-9a-fA-F]{6}"]

.github/knip.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import type { KnipConfig } from "knip";
22

33
const config: KnipConfig = {
4-
entry: ["build/index.ts", ".github/empty-string-checker.ts"],
4+
entry: ["src/index.ts"],
55
project: ["src/**/*.ts"],
66
ignore: ["src/types/config.ts", "**/__mocks__/**", "**/__fixtures__/**", "eslint.config.mjs"],
77
ignoreExportsUsedInFile: true,
8-
// eslint can also be safely ignored as per the docs: https://knip.dev/guides/handling-issues#eslint--jest
9-
ignoreDependencies: ["eslint-config-prettier", "eslint-plugin-prettier", "@types/jest", "@mswjs/data", "husky"],
8+
ignoreDependencies: [],
9+
ignoreBinaries: ["commitlint", "publish"],
1010
eslint: true,
1111
};
1212

.github/pull_request_template.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
## Related Issue
2+
23
<!-- Link to the issue or task (e.g., "Resolves #123" or "Resolves https://github.com/ubiquity/ts-template/issues/1") -->
34

45
## Summary
6+
57
<!-- Briefly summarize the changes in this PR -->
68

79
## Proof of Fix
10+
811
<!-- Attach a test URL, screenshot or video demonstrating the fix -->
912

1013
## Testing Steps
14+
1115
<!-- Steps to test this pull request locally (include any setup or environment changes) -->
1216

1317
## Post-merge Steps
18+
1419
<!-- Any steps required after merging (e.g., run migrations, clear cache) -->

.github/scripts/empty-string-checker.ts

Lines changed: 0 additions & 132 deletions
This file was deleted.

.github/workflows/bun-testing.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,4 @@ jobs:
2727
EXCLUDED_FILES: ""
2828
run: |
2929
bun install --frozen-lockfile
30-
bun test --reporter=junit --reporter-outfile=./bun.xml
31-
bun run scripts/bun-test-to-md.ts
32-
33-
- name: Add Test Report to Summary
34-
if: always()
35-
run: echo "$(cat test-dashboard.md)" >> $GITHUB_STEP_SUMMARY
30+
bun test

.github/workflows/cspell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Checkout code
1313
uses: actions/checkout@v4
14-
14+
1515
- name: Set up bun
1616
uses: oven-sh/setup-bun@v2
1717

.github/workflows/no-empty-strings.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/release-please.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,28 @@ on:
99
permissions:
1010
contents: write
1111
pull-requests: write
12+
issues: write
1213

1314
jobs:
1415
release-please:
1516
runs-on: ubuntu-latest
1617
steps:
1718
- uses: googleapis/release-please-action@v4
19+
id: release
1820
with:
19-
release-type: simple
21+
release-type: node
2022
target-branch: main
23+
24+
- uses: actions/checkout@v4
25+
26+
- uses: oven-sh/setup-bun@v2
27+
28+
- name: Build
29+
run: |
30+
bun install --frozen-lockfile
31+
if: ${{ steps.release.outputs.release_created }}
32+
33+
- run: bun publish --access public
34+
env:
35+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
36+
if: ${{ steps.release.outputs.release_created }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ node_modules
88
.pnp.loader.mjs
99
.env
1010
static/dist
11+
dist
1112
coverage
1213
junit.xml
1314
cypress/screenshots

0 commit comments

Comments
 (0)