Skip to content

Commit d1574be

Browse files
committed
build: environment
1 parent 7556467 commit d1574be

8 files changed

+67
-0
lines changed

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# misc
2+
.DS_Store
3+
4+
# ide
5+
.idea/
6+
.vscode/
7+
8+
# node
9+
node_modules/

.node-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20.16.0

.tool-versions

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bun 1.1.24

bun.lockb

30.8 KB
Binary file not shown.

package.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "setup-fluttergen",
3+
"version": "0.1.0",
4+
"description": "GitHub Action to set up FlutterGen CLI",
5+
"author": "FlutterGen",
6+
"private": true,
7+
"license": "MIT",
8+
"main": "./src/index.ts",
9+
"exports": {
10+
".": "./dist/index.js"
11+
},
12+
"scripts": {
13+
"build": "bun build index.ts --outdir dist",
14+
"dev": "bun run index.ts"
15+
},
16+
"engines": {
17+
"node": ">=20"
18+
},
19+
"dependencies": {
20+
"@actions/cache": "^3.2.4",
21+
"@actions/core": "^1.10.1",
22+
"@actions/tool-cache": "^2.0.1",
23+
"execa": "^9.3.1",
24+
"semver": "^7.6.3"
25+
},
26+
"devDependencies": {
27+
"typescript": "^5.5.4"
28+
}
29+
}

src/index.ts

Whitespace-only changes.

tsconfig.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://json.schemastore.org/tsconfig",
3+
"compilerOptions": {
4+
"target": "es2020",
5+
"module": "nodenext",
6+
"moduleResolution": "nodenext",
7+
"baseUrl": "./",
8+
"rootDir": "./src",
9+
"outDir": "./dist",
10+
"strict": true,
11+
"sourceMap": true,
12+
"noImplicitAny": true,
13+
"esModuleInterop": true,
14+
"forceConsistentCasingInFileNames": true,
15+
"skipLibCheck": true
16+
},
17+
"exclude": ["./dist", "./node_modules", "./__tests__", "./coverage"]
18+
}

0 commit comments

Comments
 (0)