Skip to content

Commit 6b11e86

Browse files
authored
feat: properly detect wildcard accessing (#19)
1 parent 313a1dc commit 6b11e86

30 files changed

+18696
-24015
lines changed

.eslintignore

-7
This file was deleted.

.eslintrc.cjs

-1
This file was deleted.

.github/workflows/package.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,11 @@ jobs:
2121
secrets:
2222
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2323

24-
build:
25-
uses: skyleague/node-standards/.github/workflows/reusable-build.yml@main
26-
secrets:
27-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
28-
2924
release:
30-
needs: [typescript, build]
25+
needs: [typescript]
3126
uses: skyleague/node-standards/.github/workflows/reusable-release.yml@main
3227
with:
33-
build_artifact_name: ${{ needs.build.outputs.artifact_name }}
28+
build_artifact_name: ${{ needs.typescript.outputs.artifact-name }}
3429
beta_release: ${{ inputs.beta_release || false }}
3530
secrets:
3631
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
.*
22
__pycache__
33
node_modules
4-
yalc.lock
54

65
!.github
76
!.vscode
87
!.npmrc
8+
!.husky
99

1010
!.gitignore
1111
!.gitkeep
12-
!.eslintrc.*
13-
!.prettierignore
14-
!.eslintignore

.husky/commit-msg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no -- commitlint --edit $1

.husky/pre-commit

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no -- lint-staged --concurrent=true --allow-empty

.prettierignore

-11
This file was deleted.

.vscode/extensions.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["biomejs.biome"],
3+
"unwantedRecommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint"]
4+
}

.vscode/settings.json

+5-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
{
2-
"[json]": {
3-
"editor.tabSize": 2
4-
},
52
"debug.javascript.terminalOptions": {
63
"remoteRoot": null,
74
"skipFiles": ["<node_internals>/**"],
85
"sourceMaps": true
96
},
107
"editor.codeActionsOnSave": {
11-
"source.fixAll.eslint": "always"
8+
"source.organizeImports.biome": "explicit",
9+
"quickfix.biome": "explicit"
1210
},
11+
"editor.defaultFormatter": "biomejs.biome",
1312
"editor.formatOnSave": true,
1413
"editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?",
15-
"eslint.format.enable": true,
16-
"eslint.lintTask.enable": true,
17-
"eslint.validate": ["javascript", "typescript"],
1814
"files.eol": "\n",
1915
"files.exclude": {
2016
"**/.coverage": true,
@@ -35,11 +31,9 @@
3531
"**/node_modules/*/**": true,
3632
"src/**/*.d.ts": true
3733
},
38-
"typescript.format.semicolons": "remove",
3934
"typescript.implementationsCodeLens.enabled": true,
40-
"typescript.inlayHints.functionLikeReturnTypes.enabled": true,
41-
"typescript.inlayHints.parameterNames.enabled": "literals",
4235
"typescript.preferences.autoImportFileExcludePatterns": ["**/index.ts"],
4336
"typescript.referencesCodeLens.enabled": true,
44-
"typescript.tsdk": "./node_modules/typescript/lib"
37+
"typescript.tsdk": "./node_modules/typescript/lib",
38+
"typescript.enablePromptUseWorkspaceTsdk": true
4539
}

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2023, SkyLeague Technologies B.V.. 'SkyLeague' and the astronaut logo are trademarks of SkyLeague Technologies, registered at Chamber of Commerce in The Netherlands under number 86650564.
1+
Copyright (c) 2024, SkyLeague Technologies B.V.. 'SkyLeague' and the astronaut logo are trademarks of SkyLeague Technologies, registered at Chamber of Commerce in The Netherlands under number 86650564.
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

biome.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@skyleague/node-standards/biome"]
3+
}

build.config.ts

-24
This file was deleted.

commitlint.config.cjs

-1
This file was deleted.

commitlint.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default { extends: ['@commitlint/config-conventional'] }

docs/babel.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
2+
presets: ['@docusaurus/core/lib/babel/preset'],
33
}

docs/docusaurus.config.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
import path from 'node:path'
12
import type * as Preset from '@docusaurus/preset-classic'
23
import type { Config } from '@docusaurus/types'
3-
import path from 'node:path'
44
import { themes } from 'prism-react-renderer'
5-
import { description, homepage, name, repository } from '../package.json'
5+
import packageJSON from '../package.json'
6+
7+
const { description, homepage, name, repository } = packageJSON
68

79
const [organizationName, projectName] = name.replace('@', '').split('/')
810
const url = new URL(homepage)

0 commit comments

Comments
 (0)