diff --git a/.github/ISSUE_TEMPLATE/BUG.yml b/.github/ISSUE_TEMPLATE/BUG.yml new file mode 100644 index 0000000..94cfb27 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/BUG.yml @@ -0,0 +1,90 @@ +name: Bug report +description: Report a bug for ts-tree-tools +title: '[BUG]' +labels: [bug] + +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + + - type: input + id: title + attributes: + label: Bug Title + description: A clear and concise title for the bug + placeholder: Bug title + validations: + required: true + + - type: textarea + id: description + attributes: + label: Description + description: A clear and concise description of what the bug is. + placeholder: Describe the bug + validations: + required: true + + - type: input + id: version + attributes: + label: Version + description: The version of ts-tree-tools where the bug was found + placeholder: 1.0.0 + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps to Reproduce + description: | + Steps to reproduce the behavior: + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + placeholder: Steps to reproduce the bug + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + placeholder: Expected behavior + validations: + required: true + + - type: textarea + id: actual + attributes: + label: Actual behavior + description: A clear and concise description of what actually happened. + placeholder: Actual behavior + validations: + required: true + + - type: textarea + id: logs + attributes: + label: Logs + description: Any relevant logs, error messages, or screenshots. + placeholder: Logs, error messages, or screenshots + + - type: dropdown + id: severity + attributes: + label: Severity + description: How severe is the bug? + options: + - Critical + - High + - Medium + - Low + default: 2 + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/FEATURE.yml b/.github/ISSUE_TEMPLATE/FEATURE.yml new file mode 100644 index 0000000..26336b2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/FEATURE.yml @@ -0,0 +1,53 @@ +name: Feature request +description: Suggest a feature for ts-tree-tools +title: '[FEATURE]' +labels: [enhancement] + +body: + - type: markdown + attributes: + value: | + Thanks for suggesting a new feature! + + - type: input + id: title + attributes: + label: Feature Title + description: A clear and concise title for the feature request + placeholder: Feature title + validations: + required: true + + - type: textarea + id: description + attributes: + label: Description + description: A clear and concise description of what the feature is and the problem it solves. + placeholder: Describe the feature + validations: + required: true + + - type: textarea + id: motivation + attributes: + label: Motivation + description: Explain why this feature should be added and how it would be useful. + placeholder: Why do you want this feature? + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Alternatives + description: Describe any alternative solutions or features you've considered. + placeholder: Describe alternative solutions + validations: + required: true + + - type: textarea + id: additional + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. + placeholder: Additional context diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/package.json b/package.json index 675c623..a0c265d 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,6 @@ "release": "release-it" }, "dependencies": { - "tree-tool": "^1.1.8" }, "devDependencies": { "@antfu/eslint-config": "^2.23.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f9727d4..abb22fc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,11 +4,6 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false -dependencies: - tree-tool: - specifier: ^1.1.8 - version: 1.1.8 - devDependencies: '@antfu/eslint-config': specifier: ^2.23.2 @@ -278,6 +273,7 @@ packages: /@babel/highlight@7.24.7: resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} engines: {node: '>=6.9.0'} + requiresBuild: true dependencies: '@babel/helper-validator-identifier': 7.24.7 chalk: 2.4.2 @@ -1993,7 +1989,7 @@ packages: /@vue/compiler-sfc@3.4.33: resolution: {integrity: sha512-7rk7Vbkn21xMwIUpHQR4hCVejwE6nvhBOiDgoBcR03qvGqRKA7dCBSsHZhwhYUsmjlbJ7OtD5UFIyhP6BY+c8A==} dependencies: - '@babel/parser': 7.24.8 + '@babel/parser': 7.25.4 '@vue/compiler-core': 3.4.33 '@vue/compiler-dom': 3.4.33 '@vue/compiler-ssr': 3.4.33 @@ -2141,6 +2137,7 @@ packages: /ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} engines: {node: '>=4'} + requiresBuild: true dependencies: color-convert: 1.9.3 dev: true @@ -2385,6 +2382,7 @@ packages: /chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} + requiresBuild: true dependencies: ansi-styles: 3.2.1 escape-string-regexp: 1.0.5 @@ -2501,6 +2499,7 @@ packages: /color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} + requiresBuild: true dependencies: color-name: 1.1.3 dev: true @@ -2514,6 +2513,7 @@ packages: /color-name@1.1.3: resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} + requiresBuild: true dev: true /color-name@1.1.4: @@ -4113,6 +4113,7 @@ packages: /has-flag@3.0.0: resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} engines: {node: '>=4'} + requiresBuild: true dev: true /has-flag@4.0.0: @@ -4497,6 +4498,7 @@ packages: /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + requiresBuild: true dev: true /js-yaml@4.1.0: @@ -6351,6 +6353,7 @@ packages: /supports-color@5.5.0: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} engines: {node: '>=4'} + requiresBuild: true dependencies: has-flag: 3.0.0 dev: true @@ -6459,10 +6462,6 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /tree-tool@1.1.8: - resolution: {integrity: sha512-jiBzqXM7Yimk274Fl8Zq39Yg1xkFBxrlwDIpl9mQr9fgYzXfP2n9bGfGsrsCBg3t6FJ03NGrDZbXrYQQLNBBBQ==} - dev: false - /ts-api-utils@1.3.0(typescript@5.5.4): resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} engines: {node: '>=16'}