mirror of
https://github.com/ivuorinen/sysvinit-service-generator.git
synced 2026-03-03 10:58:41 +00:00
Compare commits
118 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b333a9d071 | ||
|
|
ee7ad4d020 | ||
|
|
c14e08a48a | ||
|
|
7717965866 | ||
|
|
dadf56c001 | ||
|
|
d659f207d5 | ||
|
|
35519ce421 | ||
|
|
a634f38aa9 | ||
|
|
503eb03ffd | ||
|
|
c133e82a53 | ||
|
|
57bfad1ccd | ||
|
|
c40f64acac | ||
|
|
1b96b1b181 | ||
|
|
ecd221cff9 | ||
|
|
887702fd0a | ||
|
|
e29e936a24 | ||
|
|
4fdbf48630 | ||
|
|
59a8d3c8b1 | ||
|
|
2ec306ce5e | ||
|
|
9ffc0b6763 | ||
|
|
daec86c0bb | ||
| 5824496e2b | |||
|
|
7f02c61739 | ||
|
|
b2f1655a5d | ||
|
|
e47d49b67b | ||
|
|
c6109a1f0e | ||
|
|
47b239fa8b | ||
|
|
99af367517 | ||
| 6f9d43df63 | |||
|
|
fad3056d41 | ||
|
|
ae5a7f3ad3 | ||
|
|
5eb32add4e | ||
|
|
c6d94c4ad7 | ||
| cd9516ff9a | |||
|
|
58672b5f31 | ||
|
|
7925010038 | ||
|
|
72986c40d6 | ||
|
|
2d1ba2a736 | ||
|
|
2eebe7f264 | ||
|
|
173d1830f7 | ||
|
|
2d8bfc031a | ||
|
|
9d9f9fe878 | ||
|
|
dfee955f8e | ||
|
|
19b0f3f92b | ||
|
|
27093c16b5 | ||
|
|
9d57813a70 | ||
|
|
c6bcf394fe | ||
|
|
6d97399ffc | ||
|
|
0df62244c8 | ||
|
|
1b2a5755b7 | ||
|
|
dcd2928050 | ||
|
|
8ef9a80828 | ||
|
|
d4a1d1727b | ||
|
|
fa86a4afa0 | ||
|
|
3b0565eb2f | ||
|
|
12e20277eb | ||
|
|
9f9f9eb108 | ||
|
|
cda7712585 | ||
|
|
bd7bb84d08 | ||
|
|
43197d118c | ||
|
|
8a54bf1346 | ||
|
|
9e059722e5 | ||
|
|
8f1c34814b | ||
|
|
391fd9186f | ||
|
|
e27bf828cb | ||
|
|
53ea55f075 | ||
|
|
de70393bef | ||
|
|
a0a0f3328b | ||
|
|
8862bde8aa | ||
|
|
1712b57a58 | ||
| eb99c59225 | |||
|
|
c1bbce8b54 | ||
| 068bcad08b | |||
| 1913e9a043 | |||
|
|
d97cca7269 | ||
|
|
482819fb4b | ||
| 4d4801e7eb | |||
|
|
aaba9966b1 | ||
| 37b1e9b51e | |||
|
|
a1828fa502 | ||
|
|
85bff2569e | ||
|
|
88a10bd237 | ||
|
|
72f505cba2 | ||
|
|
2fba87ef8d | ||
|
|
7c18758f61 | ||
|
|
bfcc129c1c | ||
|
|
d8d089effb | ||
|
|
c8c1981cee | ||
|
|
8bc699b32e | ||
|
|
4e5b19ca52 | ||
|
|
25fc98d1bb | ||
|
|
349c7b1751 | ||
|
|
7bb0a967da | ||
|
|
6c570b43d5 | ||
|
|
2d433c2e5d | ||
|
|
df62c282ad | ||
|
|
64cc803482 | ||
| 9bccda20fb | |||
| fc15197ab1 | |||
|
|
624a2cbeb0 | ||
|
|
4427ffda5e | ||
|
|
260bbd3bce | ||
|
|
65c3ea586f | ||
|
|
1069f47f67 | ||
| 793b962f0e | |||
| f57a0c60a4 | |||
| ea3239535f | |||
|
|
e108ee0030 | ||
|
|
185f02622e | ||
|
|
e70a193fa0 | ||
|
|
87e73f0b42 | ||
|
|
fcd992911e | ||
| 19474e4873 | |||
|
|
b9f1933af0 | ||
| 9cbdcd104b | |||
| ecb89369ac | |||
| 4e0423b45d | |||
| 1f90a9d5c1 |
10
.github/workflows/build-and-deploy.yml
vendored
10
.github/workflows/build-and-deploy.yml
vendored
@@ -33,9 +33,9 @@ jobs:
|
|||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
|
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
node-version-file: '.nvmrc'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
@@ -45,12 +45,12 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
|
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
|
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
|
||||||
with:
|
with:
|
||||||
# Upload entire repository
|
# Upload entire repository
|
||||||
path: './dist/'
|
path: './dist/'
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
|
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
|
||||||
|
|||||||
12
.github/workflows/compress-images.yml
vendored
12
.github/workflows/compress-images.yml
vendored
@@ -1,11 +1,9 @@
|
|||||||
---
|
---
|
||||||
# Compress images on demand (workflow_dispatch), and at 11pm every Sunday (schedule).
|
# Compress images on demand (workflow_dispatch).
|
||||||
# Open a Pull Request if any images can be compressed.
|
# Open a Pull Request if any images can be compressed.
|
||||||
name: Compress Images on Demand
|
name: Compress Images on Demand
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
|
||||||
- cron: "00 23 * * 0"
|
|
||||||
|
|
||||||
permissions: read-all
|
permissions: read-all
|
||||||
|
|
||||||
@@ -17,19 +15,19 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
|
||||||
|
|
||||||
- name: Compress Images
|
- name: Compress Images
|
||||||
id: calibre
|
id: calibre
|
||||||
uses: calibreapp/image-actions@737ceeaeed61e17b8d358358a303f1b8d177b779 # 1.1.0
|
uses: calibreapp/image-actions@f32575787d333b0579f0b7d506ff03be63a669d1 # 1.4.1
|
||||||
with:
|
with:
|
||||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Create New Pull Request If Needed
|
- name: Create New Pull Request If Needed
|
||||||
if: steps.calibre.outputs.markdown != ''
|
if: steps.calibre.outputs.markdown != ''
|
||||||
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7
|
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
|
||||||
with:
|
with:
|
||||||
title: Compressed Images Nightly
|
title: Compressed Images
|
||||||
branch-suffix: timestamp
|
branch-suffix: timestamp
|
||||||
commit-message: Compressed Images
|
commit-message: Compressed Images
|
||||||
body: ${{ steps.calibre.outputs.markdown }}
|
body: ${{ steps.calibre.outputs.markdown }}
|
||||||
|
|||||||
4
.github/workflows/dependency-review.yml
vendored
4
.github/workflows/dependency-review.yml
vendored
@@ -21,9 +21,9 @@ jobs:
|
|||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout Repository'
|
- name: 'Checkout Repository'
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
|
||||||
|
|
||||||
- name: 'Dependency Review'
|
- name: 'Dependency Review'
|
||||||
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4
|
uses: actions/dependency-review-action@05fe4576374b728f0c523d6a13d64c25081e0803 # v4.8.3
|
||||||
with:
|
with:
|
||||||
comment-summary-in-pr: always
|
comment-summary-in-pr: always
|
||||||
|
|||||||
7
.github/workflows/pr-build.yml
vendored
7
.github/workflows/pr-build.yml
vendored
@@ -14,13 +14,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
|
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
|
||||||
with:
|
with:
|
||||||
node-version-file: '.nvmrc'
|
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm ci
|
- run: npm ci || npm install
|
||||||
shell: bash
|
shell: bash
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
4
.github/workflows/pr-compress-images.yml
vendored
4
.github/workflows/pr-compress-images.yml
vendored
@@ -21,9 +21,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
|
||||||
|
|
||||||
- name: Compress Images
|
- name: Compress Images
|
||||||
uses: calibreapp/image-actions@737ceeaeed61e17b8d358358a303f1b8d177b779 # 1.1.0
|
uses: calibreapp/image-actions@f32575787d333b0579f0b7d506ff03be63a669d1 # 1.4.1
|
||||||
with:
|
with:
|
||||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
29
.github/workflows/pr-lint.yml
vendored
29
.github/workflows/pr-lint.yml
vendored
@@ -1,26 +1,37 @@
|
|||||||
---
|
---
|
||||||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||||
name: Lint Code Base
|
name: PR Lint
|
||||||
|
|
||||||
env:
|
|
||||||
MAIN_BRANCH: main
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches: [master, main]
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master, main]
|
branches: [master, main]
|
||||||
|
|
||||||
permissions: read-all
|
permissions: {}
|
||||||
|
|
||||||
|
env: # Comment env block if you don't want to apply fixes
|
||||||
|
# Apply linter fixes configuration
|
||||||
|
APPLY_FIXES: all
|
||||||
|
APPLY_FIXES_EVENT: all
|
||||||
|
APPLY_FIXES_MODE: commit
|
||||||
|
SARIF_REPORTER: true
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.ref }}-${{ github.workflow }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
statuses: write
|
contents: write
|
||||||
contents: read
|
issues: write
|
||||||
packages: read
|
packages: read
|
||||||
|
pull-requests: write
|
||||||
|
security-events: write
|
||||||
|
statuses: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# https://github.com/ivuorinen/actions
|
# https://github.com/ivuorinen/actions
|
||||||
- uses: ivuorinen/actions/pr-lint@85811a09abc994fcc6bdb7930faab3678ca9655a # 25.3.13
|
- uses: ivuorinen/actions/pr-lint@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
|
||||||
|
|||||||
2
.github/workflows/release-drafter.yml
vendored
2
.github/workflows/release-drafter.yml
vendored
@@ -23,6 +23,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 🚀 Run Release Drafter
|
- name: 🚀 Run Release Drafter
|
||||||
uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6.1.0
|
uses: release-drafter/release-drafter@6db134d15f3909ccc9eefd369f02bd1e9cffdf97 # v6.2.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
30
.github/workflows/stale.yml
vendored
30
.github/workflows/stale.yml
vendored
@@ -4,7 +4,7 @@ name: Stale
|
|||||||
# yamllint disable-line rule:truthy
|
# yamllint disable-line rule:truthy
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 8 * * *'
|
- cron: "0 8 * * *"
|
||||||
workflow_call:
|
workflow_call:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
@@ -12,36 +12,10 @@ permissions: read-all
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
name: 🧹 Clean up stale issues and PRs
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # only for delete-branch option
|
contents: write # only for delete-branch option
|
||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: 🚀 Run stale
|
- uses: ivuorinen/actions/stale@8faacf8a1cae049c1471708dcb408a167e91afaf # v2026.02.24
|
||||||
uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
|
|
||||||
with:
|
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
days-before-stale: 30
|
|
||||||
days-before-close: 7
|
|
||||||
remove-stale-when-updated: true
|
|
||||||
stale-issue-label: 'stale'
|
|
||||||
exempt-issue-labels: 'no-stale,help-wanted'
|
|
||||||
stale-issue-message: >
|
|
||||||
There hasn't been any activity on this issue recently, so we
|
|
||||||
clean up some of the older and inactive issues.
|
|
||||||
|
|
||||||
Please make sure to update to the latest version and
|
|
||||||
check if that solves the issue. Let us know if that works for you
|
|
||||||
by leaving a comment 👍
|
|
||||||
|
|
||||||
This issue has now been marked as stale and will be closed if no
|
|
||||||
further activity occurs. Thanks!
|
|
||||||
stale-pr-label: 'stale'
|
|
||||||
exempt-pr-labels: 'no-stale'
|
|
||||||
stale-pr-message: >
|
|
||||||
There hasn't been any activity on this pull request recently. This
|
|
||||||
pull request has been automatically marked as stale because of that
|
|
||||||
and will be closed if no further activity occurs within 7 days.
|
|
||||||
Thank you for your contributions.
|
|
||||||
|
|||||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -28,3 +28,8 @@ coverage
|
|||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
|
|
||||||
|
# Yarn
|
||||||
|
.yarn/
|
||||||
|
yarn.lock
|
||||||
|
.pnp.*
|
||||||
|
|||||||
5
.mega-linter.yml
Normal file
5
.mega-linter.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# MegaLinter config
|
||||||
|
# Merged with workflow settings
|
||||||
|
|
||||||
|
DISABLE_LINTERS:
|
||||||
|
- REPOSITORY_GRYPE
|
||||||
1
.yarnrc.yml
Normal file
1
.yarnrc.yml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
nodeLinker: node-modules
|
||||||
28
AGENTS.md
Normal file
28
AGENTS.md
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Project Overview
|
||||||
|
|
||||||
|
This repo hosts a small Vue 3 + TypeScript web app built with Vite. The source lives in `src/` and is served via `index.html`. Static assets are under `public/`. Config files include `vite.config.ts` for build settings, `tsconfig.*.json` for TypeScript, and `eslint.config.mjs` for lint rules.
|
||||||
|
|
||||||
|
# Guidelines
|
||||||
|
|
||||||
|
- Use **semantic commit messages** (e.g. `feat:`, `fix:`, `docs:`) and the same format for PR titles.
|
||||||
|
- Use **Yarn** for installing packages.
|
||||||
|
- Run linting and type checks before committing any code changes.
|
||||||
|
- Skip linting and type checks when editing only documentation or comments.
|
||||||
|
- Follow the style rules defined by Prettier and ESLint. Prettier settings: no semicolons, single quotes, width 100, two spaces.
|
||||||
|
- Node.js version is controlled via `.nvmrc` (22.17.0).
|
||||||
|
|
||||||
|
# Linting & Formatting
|
||||||
|
|
||||||
|
Install dependencies and run tools with Yarn:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yarn install # once
|
||||||
|
|
||||||
|
yarn lint # runs ESLint with autofix
|
||||||
|
yarn type-lint # checks TypeScript using ts-standard
|
||||||
|
yarn type-fix # fixes TypeScript style issues
|
||||||
|
|
||||||
|
yarn format # formats using Prettier
|
||||||
|
```
|
||||||
|
|
||||||
|
No automated tests are defined.
|
||||||
16
README.md
16
README.md
@@ -13,6 +13,22 @@ This Vue 3 app generates templates for sysvinit services.
|
|||||||
7. ???
|
7. ???
|
||||||
8. Profit!
|
8. Profit!
|
||||||
|
|
||||||
|
## Development
|
||||||
|
|
||||||
|
Install dependencies and run the dev server with Yarn:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yarn install
|
||||||
|
yarn dev
|
||||||
|
|
||||||
|
# check code before committing
|
||||||
|
yarn lint
|
||||||
|
yarn type-lint
|
||||||
|
|
||||||
|
# build the app
|
||||||
|
yarn build
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
||||||
|
|||||||
2
env.d.ts
vendored
2
env.d.ts
vendored
@@ -1 +1 @@
|
|||||||
/// <reference types="vite/client" />
|
import 'vite/client'
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
import pluginVue from 'eslint-plugin-vue'
|
import pluginVue from 'eslint-plugin-vue'
|
||||||
import vueTsEslintConfig from '@vue/eslint-config-typescript'
|
import {
|
||||||
|
defineConfigWithVueTs,
|
||||||
|
vueTsConfigs
|
||||||
|
} from '@vue/eslint-config-typescript'
|
||||||
import { includeIgnoreFile } from '@eslint/compat'
|
import { includeIgnoreFile } from '@eslint/compat'
|
||||||
import path from 'node:path'
|
import path from 'node:path'
|
||||||
import { fileURLToPath } from 'node:url'
|
import { fileURLToPath } from 'node:url'
|
||||||
@@ -8,19 +11,24 @@ const __filename = fileURLToPath(import.meta.url)
|
|||||||
const __dirname = path.dirname(__filename)
|
const __dirname = path.dirname(__filename)
|
||||||
const gitignorePath = path.resolve(__dirname, '.gitignore')
|
const gitignorePath = path.resolve(__dirname, '.gitignore')
|
||||||
|
|
||||||
export default [
|
export default defineConfigWithVueTs([
|
||||||
includeIgnoreFile(gitignorePath),
|
includeIgnoreFile(gitignorePath),
|
||||||
{
|
{
|
||||||
// your overrides
|
// your overrides
|
||||||
},
|
},
|
||||||
...pluginVue.configs['flat/essential'],
|
...pluginVue.configs['flat/essential'],
|
||||||
...vueTsEslintConfig({
|
vueTsConfigs.recommendedTypeChecked,
|
||||||
extends: ['recommended']
|
|
||||||
}),
|
|
||||||
{
|
{
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
ecmaVersion: 'latest',
|
ecmaVersion: 'latest',
|
||||||
sourceType: 'script'
|
sourceType: 'script',
|
||||||
|
parserOptions: {
|
||||||
|
project: [
|
||||||
|
'./tsconfig.json',
|
||||||
|
'./tsconfig.node.json',
|
||||||
|
'./tsconfig.eslint.json'
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
|
])
|
||||||
|
|||||||
12
index.html
12
index.html
@@ -1,7 +1,10 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
|
||||||
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="description" content="sysvinit service generator" />
|
||||||
|
<meta name="keywords" content="sysvinit, service, generator" />
|
||||||
<link rel="icon" href="favicon.ico" />
|
<link rel="icon" href="favicon.ico" />
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />
|
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
|
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
|
||||||
@@ -9,10 +12,11 @@
|
|||||||
<link rel="manifest" href="site.webmanifest" />
|
<link rel="manifest" href="site.webmanifest" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>sysvinit service generator</title>
|
<title>sysvinit service generator</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<script type="module" src="/src/main.ts"></script>
|
<script type="module" src="/src/main.ts"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
6194
package-lock.json
generated
6194
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
31
package.json
31
package.json
@@ -10,28 +10,33 @@
|
|||||||
"build-only": "vite build",
|
"build-only": "vite build",
|
||||||
"type-check": "vue-tsc --build --force",
|
"type-check": "vue-tsc --build --force",
|
||||||
"lint": "eslint . --fix",
|
"lint": "eslint . --fix",
|
||||||
|
"type-lint": "vue-tsc --noEmit -p tsconfig.lint.json",
|
||||||
|
"type-fix": "ts-standard --fix --project tsconfig.lint.json",
|
||||||
"format": "prettier --write src/ index.html .github/ .vscode/"
|
"format": "prettier --write src/ index.html .github/ .vscode/"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue": "^3.4.21"
|
"vue": "^3.4.21"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/compat": "^1.2.0",
|
"@eslint/compat": "^2.0.0",
|
||||||
"@eslint/eslintrc": "^3.1.0",
|
"@eslint/eslintrc": "^3.1.0",
|
||||||
"@eslint/js": "^9.12.0",
|
"@eslint/js": "^10.0.0",
|
||||||
"@tsconfig/node22": "^22",
|
"@tsconfig/node24": "^24.0.0",
|
||||||
"@types/node": "^22",
|
"@types/node": "^24.0.0",
|
||||||
"@vitejs/plugin-vue": "^5.0.4",
|
"@vitejs/plugin-vue": "^6.0.0",
|
||||||
"@vue/eslint-config-prettier": "^10",
|
"@vue/eslint-config-prettier": "^10",
|
||||||
"@vue/eslint-config-typescript": "^14",
|
"@vue/eslint-config-typescript": "^14",
|
||||||
"@vue/tsconfig": "^0.7.0",
|
"@vue/tsconfig": "^0.8.0",
|
||||||
"eslint": "^9",
|
"@vue/typescript-plugin": "^3.0.1",
|
||||||
"eslint-plugin-vue": "^9.28.0",
|
"eslint": "^10.0.0",
|
||||||
"npm-run-all2": "^7.0.0",
|
"eslint-plugin-vue": "^10",
|
||||||
|
"npm-run-all2": "^8.0.0",
|
||||||
"prettier": "^3.0.3",
|
"prettier": "^3.0.3",
|
||||||
"typescript": "~5.8.0",
|
"ts-standard": "^12.0.2",
|
||||||
"vite": "^6",
|
"typescript": "~5.9.0",
|
||||||
"vite-plugin-vue-devtools": "^7.0.18",
|
"vite": "^7.1.11",
|
||||||
"vue-tsc": "^2.0.6"
|
"vite-plugin-vue-devtools": "^8.0.0",
|
||||||
|
"vue-eslint-parser": "^10.2.0",
|
||||||
|
"vue-tsc": "^3.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,13 +1,27 @@
|
|||||||
{
|
{
|
||||||
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
||||||
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
|
"include": [
|
||||||
"exclude": ["src/**/__tests__/*"],
|
"env.d.ts",
|
||||||
|
"vite.config.ts",
|
||||||
|
"src/**/*",
|
||||||
|
"src/**/*.vue"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"src/**/__tests__/*"
|
||||||
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"composite": true,
|
"composite": true,
|
||||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
||||||
|
"strict": true,
|
||||||
|
"strictNullChecks": true,
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": [
|
||||||
|
"./src/*"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"vueCompilerOptions": {
|
||||||
|
"plugins": ["@vue/typescript-plugin"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
24
tsconfig.eslint.json
Normal file
24
tsconfig.eslint.json
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"include": [
|
||||||
|
"src/**/*.ts",
|
||||||
|
"src/**/*.tsx",
|
||||||
|
"src/**/*.vue",
|
||||||
|
"env.d.ts",
|
||||||
|
"eslint.config.mjs",
|
||||||
|
"vite.config.ts"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"node_modules"
|
||||||
|
],
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2022",
|
||||||
|
"lib": ["es2023"],
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "Bundler",
|
||||||
|
"strict": true,
|
||||||
|
"strictNullChecks": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"types": ["node"]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -6,6 +6,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "./tsconfig.app.json"
|
"path": "./tsconfig.app.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "./tsconfig.eslint.json"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
14
tsconfig.lint.json
Normal file
14
tsconfig.lint.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"extends": "./tsconfig.app.json",
|
||||||
|
"include": [
|
||||||
|
"env.d.ts",
|
||||||
|
"src/**/*",
|
||||||
|
"src/**/*.vue",
|
||||||
|
"eslint.config.mjs",
|
||||||
|
"vite.config.ts"
|
||||||
|
],
|
||||||
|
"compilerOptions": {
|
||||||
|
"strict": true,
|
||||||
|
"strictNullChecks": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"extends": "@tsconfig/node22/tsconfig.json",
|
|
||||||
"include": [
|
"include": [
|
||||||
"vite.config.*",
|
"vite.config.*",
|
||||||
"vitest.config.*",
|
"vitest.config.*",
|
||||||
@@ -8,11 +7,17 @@
|
|||||||
"playwright.config.*"
|
"playwright.config.*"
|
||||||
],
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"target": "ES2022",
|
||||||
|
"strict": true,
|
||||||
|
"strictNullChecks": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"moduleResolution": "Bundler",
|
||||||
"composite": true,
|
"composite": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
||||||
|
"lib": ["es2023"],
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"moduleResolution": "Bundler",
|
|
||||||
"types": [
|
"types": [
|
||||||
"node"
|
"node"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user