Skip to content

Commit 8451a54

Browse files
committed
refactor: move typescript to scripts folder
1 parent 03e63bc commit 8451a54

24 files changed

+652
-415
lines changed

.github/workflows/package.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,9 @@ on: push
55
jobs:
66
typescript:
77
uses: skyleague/node-standards/.github/workflows/reusable-typescript.yml@main
8-
secrets:
9-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
10-
11-
build:
12-
uses: skyleague/node-standards/.github/workflows/reusable-build.yml@main
13-
secrets:
14-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
15-
16-
release:
17-
needs: [typescript, build]
18-
uses: skyleague/node-standards/.github/workflows/reusable-release.yml@main
19-
with:
20-
build_artifact_name: ${{ needs.build.outputs.artifact_name }}
8+
defaults:
9+
run:
10+
shell: bash
11+
working-directory: scripts
2112
secrets:
2213
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"folders": [
3+
{
4+
"path": ".."
5+
},
6+
{
7+
"path": "../scripts"
8+
}
9+
],
10+
"settings": {
11+
"typescript.implementationsCodeLens.enabled": true,
12+
"typescript.referencesCodeLens.enabled": true,
13+
"typescript.tsdk": "node_modules/typescript/lib",
14+
"debug.javascript.terminalOptions": {
15+
"skipFiles": ["<node_internals>/**"],
16+
"sourceMaps": true,
17+
"remoteRoot": null
18+
},
19+
"debug.javascript.autoAttachFilter": "smart"
20+
}
21+
}

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"**/.husky": true,
2222
"**/.dist": true,
2323
"src/**/*.d.ts": true,
24-
"**/node_modules": true
24+
"**/node_modules": true,
25+
"scripts": true
2526
},
2627
"files.watcherExclude": {
2728
"**/.git/objects/**": true,
File renamed without changes.

scripts/.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.*
2+
node_modules
3+
yalc.lock
4+
src/**/*.d.ts
5+
/index.d.ts
6+
7+
!.github
8+
!.vscode
9+
!.npmrc
10+
11+
!.gitignore
12+
!.gitkeep
13+
!.eslintrc.*
File renamed without changes.

scripts/LICENSE.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2022 SkyLeague.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)