mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-09 10:41:22 +00:00
build(typescript): modify distribution files to be generated to dist
directory
This commit is contained in:
parent
d75cb1e4e6
commit
2acca605c4
@ -1,6 +1,6 @@
|
||||
{
|
||||
"root": true,
|
||||
"ignorePatterns": ["main"],
|
||||
"ignorePatterns": ["dist"],
|
||||
"extends": ["eslint:recommended", "prettier"],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2022,
|
||||
|
12
.github/workflows/test.yaml
vendored
12
.github/workflows/test.yaml
vendored
@ -66,7 +66,7 @@ jobs:
|
||||
with:
|
||||
sparse-checkout: |
|
||||
action.yaml
|
||||
main
|
||||
dist
|
||||
test
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
@ -100,7 +100,7 @@ jobs:
|
||||
with:
|
||||
sparse-checkout: |
|
||||
action.yaml
|
||||
main
|
||||
dist
|
||||
test
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
@ -129,7 +129,7 @@ jobs:
|
||||
with:
|
||||
sparse-checkout: |
|
||||
action.yaml
|
||||
main
|
||||
dist
|
||||
test
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
@ -153,7 +153,7 @@ jobs:
|
||||
with:
|
||||
sparse-checkout: |
|
||||
action.yaml
|
||||
main
|
||||
dist
|
||||
test
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
@ -177,7 +177,7 @@ jobs:
|
||||
with:
|
||||
sparse-checkout: |
|
||||
action.yaml
|
||||
main
|
||||
dist
|
||||
test
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
@ -206,7 +206,7 @@ jobs:
|
||||
with:
|
||||
sparse-checkout: |
|
||||
action.yaml
|
||||
main
|
||||
dist
|
||||
test
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
|
@ -52,4 +52,4 @@ outputs:
|
||||
value: ${{ steps.process-inputs.outputs.build-dir }}
|
||||
runs:
|
||||
using: node20
|
||||
main: main/index.mjs
|
||||
main: dist/index.mjs
|
||||
|
0
main/index.mjs → dist/index.mjs
generated
vendored
0
main/index.mjs → dist/index.mjs
generated
vendored
@ -3,8 +3,8 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc && ncc build src/main.mjs -o main",
|
||||
"format": "prettier --write . !main !README.md",
|
||||
"build": "tsc && ncc build src/main.mjs -o dist",
|
||||
"format": "prettier --write . !dist !README.md",
|
||||
"lint": "eslint --ignore-path .gitignore .",
|
||||
"test": "tsc && jest"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user