Skip to content

Commit 4c89aa6

Browse files
committed
v0.1.0
0 parents  commit 4c89aa6

File tree

9 files changed

+103
-0
lines changed

9 files changed

+103
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Publish GitHub release
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
jobs:
9+
Publish:
10+
permissions:
11+
contents: write
12+
if: startsWith(github.ref, 'refs/tags/v')
13+
uses: cubing/actions-workflows/.github/workflows/publish-github-release.yaml@main

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/node_modules

Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.PHONY: setup
2+
setup:
3+
bun install --frozen-lockfile
4+
5+
.PHONY: publish
6+
publish:
7+
npm publish
8+
9+
.PHONY: clean
10+
clean:
11+
# no-op
12+
13+
.PHONY: reset
14+
reset: clean
15+
rm -rf ./node_modules

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# dev-config
2+
3+
To install dependencies:
4+
5+
```bash
6+
bun install
7+
```
8+
9+
To run:
10+
11+
```bash
12+
bun run index.ts
13+
```
14+
15+
This project was created using `bun init` in bun v1.2.11. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log("Hello via Bun!");

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "@cubing/dev-config",
3+
"version": "0.1.0"
4+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"lib": ["es2022"],
5+
}
6+
}

ts/es2022-types/tsconfig.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"compilerOptions": {
3+
"lib": ["es2022", "DOM"],
4+
"target": "es2022",
5+
"module": "es2022",
6+
"moduleResolution": "bundler",
7+
8+
"outDir": "dist/types",
9+
"declaration": true,
10+
"emitDeclarationOnly": true,
11+
12+
"verbatimModuleSyntax": true,
13+
"strict": true,
14+
"noFallthroughCasesInSwitch": true,
15+
"noUnusedLocals": true,
16+
"noUnusedParameters": true,
17+
"noPropertyAccessFromIndexSignature": true,
18+
"strictNullChecks": true
19+
}
20+
}

tsconfig.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"compilerOptions": {
3+
// Environment setup & latest features
4+
"lib": ["ESNext"],
5+
"target": "ESNext",
6+
"module": "ESNext",
7+
"moduleDetection": "force",
8+
"jsx": "react-jsx",
9+
"allowJs": true,
10+
11+
// Bundler mode
12+
"moduleResolution": "bundler",
13+
"allowImportingTsExtensions": true,
14+
"verbatimModuleSyntax": true,
15+
"noEmit": true,
16+
17+
// Best practices
18+
"strict": true,
19+
"skipLibCheck": true,
20+
"noFallthroughCasesInSwitch": true,
21+
"noUncheckedIndexedAccess": true,
22+
23+
// Some stricter flags (disabled by default)
24+
"noUnusedLocals": false,
25+
"noUnusedParameters": false,
26+
"noPropertyAccessFromIndexSignature": false
27+
}
28+
}

0 commit comments

Comments
 (0)