@ykdz/template 0.0.31 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@ykdz/template-builtin-presets/dist/src/foundation.d.ts +10 -1
- package/node_modules/@ykdz/template-builtin-presets/dist/src/foundation.js +320 -161
- package/node_modules/@ykdz/template-builtin-presets/dist/src/rust-bin/definition.js +66 -9
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/development-container.d.ts +2 -0
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/development-container.js +35 -0
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/typescript.d.ts +13 -0
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/typescript.js +70 -0
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/vue.d.ts +2 -1
- package/node_modules/@ykdz/template-builtin-presets/dist/src/shared/vue.js +22 -7
- package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-cli/definition.js +4 -3
- package/node_modules/@ykdz/template-builtin-presets/dist/src/ts-lib/definition.js +4 -3
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vike-app/definition.js +82 -11
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-app/definition.js +9 -2
- package/node_modules/@ykdz/template-builtin-presets/dist/src/vue-hono-app/definition.js +27 -10
- package/node_modules/@ykdz/template-builtin-presets/package.json +1 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-deployment-diagnostics.yml +81 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-deployment.yml +55 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-diagnostics.yml +64 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check.yml +24 -5
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/devcontainer.json +3 -3
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/gitignore +1 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/turbo.json +1 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/typescript-config/base.json +15 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/typescript-config/turbo.json +4 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/devcontainer/rust.Dockerfile +3 -3
- package/node_modules/@ykdz/template-builtin-presets/templates/shared/devcontainer/browser-test.Dockerfile +1 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/shared/oxc/tsconfig.config.json +2 -12
- package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/tsconfig.app.json +6 -13
- package/node_modules/@ykdz/template-builtin-presets/templates/shared/vue/tsconfig.node.json +2 -12
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-cli/tsconfig.json +2 -6
- package/node_modules/@ykdz/template-builtin-presets/templates/ts-lib/tsconfig.json +3 -3
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db/tsconfig.json +2 -11
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db-migrations/tsconfig.json +2 -11
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/devcontainer/docker-client.Dockerfile +3 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/playwright.config.ts +1 -0
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/scripts/check-standalone-deployment.ts +67 -27
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.app.json +6 -12
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.node.json +2 -11
- package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/web/tsconfig.test.json +0 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-app/playwright.config.ts +2 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/api/tsconfig.json +2 -12
- package/node_modules/@ykdz/template-builtin-presets/templates/vue-hono-app/web/playwright.config.ts +2 -0
- package/node_modules/@ykdz/template-core/dist/ci-diagnostic-artifact.d.ts +19 -0
- package/node_modules/@ykdz/template-core/dist/ci-diagnostic-artifact.js +68 -0
- package/node_modules/@ykdz/template-core/dist/development-container-tool-layer.d.ts +56 -0
- package/node_modules/@ykdz/template-core/dist/development-container-tool-layer.js +361 -0
- package/node_modules/@ykdz/template-core/dist/package-contribution.d.ts +15 -1
- package/node_modules/@ykdz/template-core/dist/package-contribution.js +7 -0
- package/node_modules/@ykdz/template-core/dist/pnpm-workspace.yaml +1 -0
- package/node_modules/@ykdz/template-core/dist/project-github.d.ts +51 -15
- package/node_modules/@ykdz/template-core/dist/project-github.js +83 -96
- package/node_modules/@ykdz/template-core/dist/project-projection.d.ts +9 -0
- package/node_modules/@ykdz/template-core/dist/project-projection.js +84 -5
- package/node_modules/@ykdz/template-core/dist/renderer.d.ts +1 -0
- package/node_modules/@ykdz/template-core/dist/renderer.js +47 -7
- package/node_modules/@ykdz/template-core/dist/template-boundary-check.d.ts +15 -1
- package/node_modules/@ykdz/template-core/dist/template-boundary-check.js +183 -1
- package/package.json +1 -1
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-playwright.yml +0 -20
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check-rust.yml +0 -23
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check.dynamic.template +0 -19
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/rust/.vscode/extensions.json +0 -3
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/rust/.vscode/settings.json +0 -5
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/rust/devcontainer/devcontainer.json +0 -21
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/rust/devcontainer/rust.Dockerfile +0 -18
- package/node_modules/@ykdz/template-builtin-presets/templates/foundation/rust/rust-toolchain.toml +0 -3
- package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/devcontainer/devcontainer.json +0 -21
- package/node_modules/@ykdz/template-core/dist/devcontainer.d.ts +0 -83
- package/node_modules/@ykdz/template-core/dist/devcontainer.js +0 -217
- /package/node_modules/@ykdz/template-builtin-presets/templates/{shared → vike-app}/devcontainer/shellcheck.Dockerfile +0 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
name: Check
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
concurrency:
|
|
13
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
14
|
+
cancel-in-progress: true
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
check:
|
|
18
|
+
name: ${{ matrix.job_name }}
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
timeout-minutes: ${{ matrix.timeout_minutes }}
|
|
21
|
+
strategy:
|
|
22
|
+
fail-fast: false
|
|
23
|
+
matrix:
|
|
24
|
+
include:
|
|
25
|
+
- capability: root
|
|
26
|
+
job_name: Root Check
|
|
27
|
+
task_entrypoint: pnpm run check
|
|
28
|
+
timeout_minutes: 30
|
|
29
|
+
requires_docker: false
|
|
30
|
+
- capability: deployment
|
|
31
|
+
job_name: Deployment Check
|
|
32
|
+
task_entrypoint: pnpm run check:deployment
|
|
33
|
+
timeout_minutes: 45
|
|
34
|
+
requires_docker: true
|
|
35
|
+
steps:
|
|
36
|
+
- name: Checkout source
|
|
37
|
+
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
38
|
+
with:
|
|
39
|
+
persist-credentials: false
|
|
40
|
+
fetch-depth: 1
|
|
41
|
+
- name: Set up Node.js
|
|
42
|
+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
|
|
43
|
+
with:
|
|
44
|
+
node-version-file: package.json
|
|
45
|
+
- name: Set up pnpm
|
|
46
|
+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
|
|
47
|
+
with:
|
|
48
|
+
cache: true
|
|
49
|
+
- name: Set up Docker Buildx
|
|
50
|
+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
|
51
|
+
if: matrix.requires_docker
|
|
52
|
+
- name: Install dependencies
|
|
53
|
+
run: pnpm install --frozen-lockfile
|
|
54
|
+
- name: Run selected Check
|
|
55
|
+
run: ${{ matrix.task_entrypoint }}
|
|
56
|
+
- name: Stage Root Check diagnostics
|
|
57
|
+
if: failure() && matrix.capability == 'root'
|
|
58
|
+
env:
|
|
59
|
+
DIAGNOSTIC_OWNER_PATHS: |-
|
|
60
|
+
{{DIAGNOSTIC_OWNER_PATHS}}
|
|
61
|
+
run: |
|
|
62
|
+
rm -rf .template-ci-diagnostics
|
|
63
|
+
mkdir -p .template-ci-diagnostics
|
|
64
|
+
printf '%s\n' "$DIAGNOSTIC_OWNER_PATHS" | while IFS= read -r owner_path; do
|
|
65
|
+
for diagnostic_directory in test-results playwright-report; do
|
|
66
|
+
source_path="$owner_path/$diagnostic_directory"
|
|
67
|
+
destination_path=".template-ci-diagnostics/$owner_path/$diagnostic_directory"
|
|
68
|
+
if [ -d "$source_path" ]; then
|
|
69
|
+
mkdir -p "$(dirname "$destination_path")"
|
|
70
|
+
cp -R "$source_path" "$destination_path"
|
|
71
|
+
fi
|
|
72
|
+
done
|
|
73
|
+
done
|
|
74
|
+
- name: Upload Root Check diagnostics
|
|
75
|
+
if: failure() && matrix.capability == 'root'
|
|
76
|
+
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
|
|
77
|
+
with:
|
|
78
|
+
name: root-check-diagnostics
|
|
79
|
+
path: .template-ci-diagnostics
|
|
80
|
+
if-no-files-found: ignore
|
|
81
|
+
retention-days: 7
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: Check
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
concurrency:
|
|
13
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
14
|
+
cancel-in-progress: true
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
check:
|
|
18
|
+
name: ${{ matrix.job_name }}
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
timeout-minutes: ${{ matrix.timeout_minutes }}
|
|
21
|
+
strategy:
|
|
22
|
+
fail-fast: false
|
|
23
|
+
matrix:
|
|
24
|
+
include:
|
|
25
|
+
- capability: root
|
|
26
|
+
job_name: Root Check
|
|
27
|
+
task_entrypoint: pnpm run check
|
|
28
|
+
timeout_minutes: 30
|
|
29
|
+
requires_docker: false
|
|
30
|
+
- capability: deployment
|
|
31
|
+
job_name: Deployment Check
|
|
32
|
+
task_entrypoint: pnpm run check:deployment
|
|
33
|
+
timeout_minutes: 45
|
|
34
|
+
requires_docker: true
|
|
35
|
+
steps:
|
|
36
|
+
- name: Checkout source
|
|
37
|
+
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
38
|
+
with:
|
|
39
|
+
persist-credentials: false
|
|
40
|
+
fetch-depth: 1
|
|
41
|
+
- name: Set up Node.js
|
|
42
|
+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
|
|
43
|
+
with:
|
|
44
|
+
node-version-file: package.json
|
|
45
|
+
- name: Set up pnpm
|
|
46
|
+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
|
|
47
|
+
with:
|
|
48
|
+
cache: true
|
|
49
|
+
- name: Set up Docker Buildx
|
|
50
|
+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
|
51
|
+
if: matrix.requires_docker
|
|
52
|
+
- name: Install dependencies
|
|
53
|
+
run: pnpm install --frozen-lockfile
|
|
54
|
+
- name: Run selected Check
|
|
55
|
+
run: ${{ matrix.task_entrypoint }}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
name: Check
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
concurrency:
|
|
13
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
14
|
+
cancel-in-progress: true
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
check:
|
|
18
|
+
name: Root Check
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
timeout-minutes: 30
|
|
21
|
+
steps:
|
|
22
|
+
- name: Checkout source
|
|
23
|
+
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
24
|
+
with:
|
|
25
|
+
persist-credentials: false
|
|
26
|
+
fetch-depth: 1
|
|
27
|
+
- name: Set up Node.js
|
|
28
|
+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
|
|
29
|
+
with:
|
|
30
|
+
node-version-file: package.json
|
|
31
|
+
- name: Set up pnpm
|
|
32
|
+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
|
|
33
|
+
with:
|
|
34
|
+
cache: true
|
|
35
|
+
- name: Install dependencies
|
|
36
|
+
run: pnpm install --frozen-lockfile
|
|
37
|
+
- name: Run Root Check
|
|
38
|
+
run: pnpm run check
|
|
39
|
+
- name: Stage Root Check diagnostics
|
|
40
|
+
if: failure()
|
|
41
|
+
env:
|
|
42
|
+
DIAGNOSTIC_OWNER_PATHS: |-
|
|
43
|
+
{{DIAGNOSTIC_OWNER_PATHS}}
|
|
44
|
+
run: |
|
|
45
|
+
rm -rf .template-ci-diagnostics
|
|
46
|
+
mkdir -p .template-ci-diagnostics
|
|
47
|
+
printf '%s\n' "$DIAGNOSTIC_OWNER_PATHS" | while IFS= read -r owner_path; do
|
|
48
|
+
for diagnostic_directory in test-results playwright-report; do
|
|
49
|
+
source_path="$owner_path/$diagnostic_directory"
|
|
50
|
+
destination_path=".template-ci-diagnostics/$owner_path/$diagnostic_directory"
|
|
51
|
+
if [ -d "$source_path" ]; then
|
|
52
|
+
mkdir -p "$(dirname "$destination_path")"
|
|
53
|
+
cp -R "$source_path" "$destination_path"
|
|
54
|
+
fi
|
|
55
|
+
done
|
|
56
|
+
done
|
|
57
|
+
- name: Upload Root Check diagnostics
|
|
58
|
+
if: failure()
|
|
59
|
+
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
|
|
60
|
+
with:
|
|
61
|
+
name: root-check-diagnostics
|
|
62
|
+
path: .template-ci-diagnostics
|
|
63
|
+
if-no-files-found: ignore
|
|
64
|
+
retention-days: 7
|
package/node_modules/@ykdz/template-builtin-presets/templates/foundation/.github/workflows/check.yml
CHANGED
|
@@ -6,14 +6,33 @@ on:
|
|
|
6
6
|
branches:
|
|
7
7
|
- main
|
|
8
8
|
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
concurrency:
|
|
13
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
14
|
+
cancel-in-progress: true
|
|
15
|
+
|
|
9
16
|
jobs:
|
|
10
17
|
check:
|
|
18
|
+
name: Root Check
|
|
11
19
|
runs-on: ubuntu-latest
|
|
20
|
+
timeout-minutes: 30
|
|
12
21
|
steps:
|
|
13
|
-
-
|
|
14
|
-
|
|
22
|
+
- name: Checkout source
|
|
23
|
+
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
|
24
|
+
with:
|
|
25
|
+
persist-credentials: false
|
|
26
|
+
fetch-depth: 1
|
|
27
|
+
- name: Set up Node.js
|
|
28
|
+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
|
|
15
29
|
with:
|
|
16
30
|
node-version-file: package.json
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
31
|
+
- name: Set up pnpm
|
|
32
|
+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
|
|
33
|
+
with:
|
|
34
|
+
cache: true
|
|
35
|
+
- name: Install dependencies
|
|
36
|
+
run: pnpm install --frozen-lockfile
|
|
37
|
+
- name: Run Root Check
|
|
38
|
+
run: pnpm run check
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
"dockerfile": "Dockerfile",
|
|
5
5
|
"args": {
|
|
6
6
|
"NODE_VERSION": "{{NODE_LTS_MAJOR}}",
|
|
7
|
-
"PACKAGE_MANAGER_PIN": "{{PACKAGE_MANAGER_PIN}}"
|
|
8
|
-
"PLAYWRIGHT_CLI_PACKAGE": "{{PLAYWRIGHT_CLI_PACKAGE}}"
|
|
7
|
+
"PACKAGE_MANAGER_PIN": "{{PACKAGE_MANAGER_PIN}}"
|
|
9
8
|
}
|
|
10
9
|
},
|
|
11
10
|
"customizations": {
|
|
12
11
|
"vscode": {
|
|
13
12
|
"extensions": ["oxc.oxc-vscode"]
|
|
14
13
|
}
|
|
15
|
-
}
|
|
14
|
+
},
|
|
15
|
+
"mounts": []
|
|
16
16
|
}
|
package/node_modules/@ykdz/template-builtin-presets/templates/foundation/typescript-config/base.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"exactOptionalPropertyTypes": true,
|
|
4
|
+
"forceConsistentCasingInFileNames": true,
|
|
5
|
+
"isolatedModules": true,
|
|
6
|
+
"noEmitOnError": true,
|
|
7
|
+
"noFallthroughCasesInSwitch": true,
|
|
8
|
+
"noImplicitOverride": true,
|
|
9
|
+
"noImplicitReturns": true,
|
|
10
|
+
"noUncheckedIndexedAccess": true,
|
|
11
|
+
"skipLibCheck": false,
|
|
12
|
+
"strict": true,
|
|
13
|
+
"verbatimModuleSyntax": true
|
|
14
|
+
}
|
|
15
|
+
}
|
package/node_modules/@ykdz/template-builtin-presets/templates/rust-bin/devcontainer/rust.Dockerfile
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
ARG RUST_TOOLCHAIN
|
|
2
2
|
ENV RUSTUP_HOME=/usr/local/rustup
|
|
3
3
|
ENV CARGO_HOME=/usr/local/cargo
|
|
4
|
-
ENV PATH="/usr/local/cargo/bin:${PATH}"
|
|
5
4
|
|
|
6
5
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
7
6
|
ca-certificates \
|
|
@@ -13,6 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
13
12
|
&& git config --system init.defaultBranch main
|
|
14
13
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \
|
|
15
14
|
sh -s -- -y --profile minimal --default-toolchain none \
|
|
16
|
-
&& rustup toolchain install ${RUST_TOOLCHAIN} --profile minimal --component rustfmt --component clippy \
|
|
17
|
-
&& rustup default ${RUST_TOOLCHAIN} \
|
|
15
|
+
&& "${CARGO_HOME}/bin/rustup" toolchain install ${RUST_TOOLCHAIN} --profile minimal --component rustfmt --component clippy \
|
|
16
|
+
&& "${CARGO_HOME}/bin/rustup" default ${RUST_TOOLCHAIN} \
|
|
17
|
+
&& find "${CARGO_HOME}/bin" -maxdepth 1 -type f -exec ln -sf {} /usr/local/bin/ \; \
|
|
18
18
|
&& chmod -R a+w ${RUSTUP_HOME} ${CARGO_HOME}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
ARG PLAYWRIGHT_CLI_PACKAGE
|
|
2
|
-
RUN npx --yes --package "${PLAYWRIGHT_CLI_PACKAGE}" playwright install-deps chromium
|
|
2
|
+
RUN npx --yes --package "${PLAYWRIGHT_CLI_PACKAGE}" playwright install --with-deps chromium
|
package/node_modules/@ykdz/template-builtin-presets/templates/shared/oxc/tsconfig.config.json
CHANGED
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "./packages/typescript-config/base.json",
|
|
2
3
|
"compilerOptions": {
|
|
3
4
|
"customConditions": ["source"],
|
|
4
5
|
"erasableSyntaxOnly": true,
|
|
5
|
-
"exactOptionalPropertyTypes": true,
|
|
6
|
-
"forceConsistentCasingInFileNames": true,
|
|
7
|
-
"isolatedModules": true,
|
|
8
6
|
"module": "nodenext",
|
|
9
7
|
"moduleResolution": "nodenext",
|
|
10
|
-
"noEmitOnError": true,
|
|
11
|
-
"noFallthroughCasesInSwitch": true,
|
|
12
|
-
"noImplicitOverride": true,
|
|
13
|
-
"noImplicitReturns": true,
|
|
14
|
-
"noUncheckedIndexedAccess": true,
|
|
15
|
-
"skipLibCheck": false,
|
|
16
|
-
"strict": true,
|
|
17
8
|
"target": "es2023",
|
|
18
|
-
"types": ["node"]
|
|
19
|
-
"verbatimModuleSyntax": true
|
|
9
|
+
"types": ["node"]
|
|
20
10
|
}
|
|
21
11
|
}
|
|
@@ -1,25 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends":
|
|
2
|
+
"extends": [
|
|
3
|
+
"@vue/tsconfig/tsconfig.dom.json",
|
|
4
|
+
"{{TYPESCRIPT_CONFIG_PACKAGE}}/base.json"
|
|
5
|
+
],
|
|
3
6
|
"compilerOptions": {
|
|
4
7
|
"composite": true,
|
|
5
8
|
"customConditions": ["source"],
|
|
6
|
-
"exactOptionalPropertyTypes":
|
|
7
|
-
"forceConsistentCasingInFileNames": true,
|
|
8
|
-
"isolatedModules": true,
|
|
9
|
+
"exactOptionalPropertyTypes": false,
|
|
9
10
|
"module": "esnext",
|
|
10
11
|
"moduleResolution": "bundler",
|
|
11
|
-
"noEmitOnError": true,
|
|
12
|
-
"noFallthroughCasesInSwitch": true,
|
|
13
|
-
"noImplicitOverride": true,
|
|
14
|
-
"noImplicitReturns": true,
|
|
15
|
-
"noUncheckedIndexedAccess": true,
|
|
16
12
|
"rewriteRelativeImportExtensions": false,
|
|
17
|
-
"skipLibCheck": false,
|
|
18
|
-
"strict": true,
|
|
19
13
|
"target": "es2023",
|
|
20
14
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
21
|
-
"types": ["web-bluetooth"]
|
|
22
|
-
"verbatimModuleSyntax": true
|
|
15
|
+
"types": ["web-bluetooth"]
|
|
23
16
|
},
|
|
24
17
|
"include": ["env.d.ts", "src/**/*.ts", "src/**/*.vue"]
|
|
25
18
|
}
|
|
@@ -1,26 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "{{TYPESCRIPT_CONFIG_PACKAGE}}/base.json",
|
|
2
3
|
"compilerOptions": {
|
|
3
4
|
"composite": true,
|
|
4
5
|
"customConditions": ["source"],
|
|
5
6
|
"erasableSyntaxOnly": true,
|
|
6
|
-
"exactOptionalPropertyTypes": true,
|
|
7
|
-
"forceConsistentCasingInFileNames": true,
|
|
8
|
-
"isolatedModules": true,
|
|
9
7
|
"module": "esnext",
|
|
10
8
|
"moduleResolution": "bundler",
|
|
11
|
-
"noEmitOnError": true,
|
|
12
9
|
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
|
13
|
-
"noFallthroughCasesInSwitch": true,
|
|
14
|
-
"noImplicitOverride": true,
|
|
15
|
-
"noImplicitReturns": true,
|
|
16
|
-
"noUncheckedIndexedAccess": true,
|
|
17
10
|
"rewriteRelativeImportExtensions": false,
|
|
18
|
-
"skipLibCheck": false,
|
|
19
|
-
"strict": true,
|
|
20
11
|
"target": "es2023",
|
|
21
12
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
22
|
-
"types": ["node"]
|
|
23
|
-
"verbatimModuleSyntax": true
|
|
13
|
+
"types": ["node"]
|
|
24
14
|
},
|
|
25
15
|
"include": [
|
|
26
16
|
"playwright.config.ts",
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "{{TYPESCRIPT_CONFIG_PACKAGE}}/base.json",
|
|
2
3
|
"compilerOptions": {
|
|
3
4
|
"customConditions": ["source"],
|
|
4
5
|
"declaration": true,
|
|
5
6
|
"erasableSyntaxOnly": true,
|
|
6
|
-
"exactOptionalPropertyTypes": true,
|
|
7
|
-
"isolatedModules": true,
|
|
8
7
|
"module": "nodenext",
|
|
9
8
|
"moduleResolution": "nodenext",
|
|
10
|
-
"noUncheckedIndexedAccess": true,
|
|
11
9
|
"rewriteRelativeImportExtensions": true,
|
|
12
|
-
"strict": true,
|
|
13
10
|
"target": "es2023",
|
|
14
|
-
"types": ["node", "vitest/globals"]
|
|
15
|
-
"verbatimModuleSyntax": true
|
|
11
|
+
"types": ["node", "vitest/globals"]
|
|
16
12
|
},
|
|
17
13
|
"include": ["src/**/*.ts", "test/**/*.ts"]
|
|
18
14
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "{{TYPESCRIPT_CONFIG_PACKAGE}}/base.json",
|
|
2
3
|
"compilerOptions": {
|
|
3
4
|
"customConditions": ["source"],
|
|
4
5
|
"declaration": true,
|
|
5
6
|
"erasableSyntaxOnly": true,
|
|
6
7
|
"module": "nodenext",
|
|
7
8
|
"moduleResolution": "nodenext",
|
|
8
|
-
"
|
|
9
|
+
"rewriteRelativeImportExtensions": true,
|
|
9
10
|
"target": "es2023",
|
|
10
|
-
"types": ["node"]
|
|
11
|
-
"verbatimModuleSyntax": true
|
|
11
|
+
"types": ["node"]
|
|
12
12
|
},
|
|
13
13
|
"include": ["src/**/*.ts"]
|
|
14
14
|
}
|
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "{{TYPESCRIPT_CONFIG_PACKAGE}}/base.json",
|
|
2
3
|
"compilerOptions": {
|
|
3
4
|
"composite": true,
|
|
4
5
|
"customConditions": ["source"],
|
|
5
6
|
"declaration": true,
|
|
6
7
|
"declarationMap": true,
|
|
7
8
|
"erasableSyntaxOnly": true,
|
|
8
|
-
"exactOptionalPropertyTypes": true,
|
|
9
|
-
"forceConsistentCasingInFileNames": true,
|
|
10
|
-
"isolatedModules": true,
|
|
11
9
|
"module": "esnext",
|
|
12
10
|
"moduleResolution": "bundler",
|
|
13
|
-
"noEmitOnError": true,
|
|
14
|
-
"noFallthroughCasesInSwitch": true,
|
|
15
|
-
"noImplicitOverride": true,
|
|
16
|
-
"noImplicitReturns": true,
|
|
17
|
-
"noUncheckedIndexedAccess": true,
|
|
18
11
|
"rootDir": ".",
|
|
19
12
|
"skipLibCheck": true,
|
|
20
|
-
"strict": true,
|
|
21
13
|
"target": "es2023",
|
|
22
|
-
"types": ["node"]
|
|
23
|
-
"verbatimModuleSyntax": true
|
|
14
|
+
"types": ["node"]
|
|
24
15
|
},
|
|
25
16
|
"include": ["src/**/*.ts", "scripts/**/*.ts", "test/**/*.ts"]
|
|
26
17
|
}
|
package/node_modules/@ykdz/template-builtin-presets/templates/vike-app/db-migrations/tsconfig.json
CHANGED
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "{{TYPESCRIPT_CONFIG_PACKAGE}}/base.json",
|
|
2
3
|
"compilerOptions": {
|
|
3
4
|
"customConditions": ["source"],
|
|
4
5
|
"erasableSyntaxOnly": true,
|
|
5
|
-
"exactOptionalPropertyTypes": true,
|
|
6
|
-
"forceConsistentCasingInFileNames": true,
|
|
7
|
-
"isolatedModules": true,
|
|
8
6
|
"module": "esnext",
|
|
9
7
|
"moduleResolution": "bundler",
|
|
10
|
-
"noEmitOnError": true,
|
|
11
|
-
"noFallthroughCasesInSwitch": true,
|
|
12
|
-
"noImplicitOverride": true,
|
|
13
|
-
"noImplicitReturns": true,
|
|
14
|
-
"noUncheckedIndexedAccess": true,
|
|
15
8
|
"rootDir": ".",
|
|
16
9
|
"skipLibCheck": true,
|
|
17
|
-
"strict": true,
|
|
18
10
|
"target": "es2023",
|
|
19
|
-
"types": ["node"]
|
|
20
|
-
"verbatimModuleSyntax": true
|
|
11
|
+
"types": ["node"]
|
|
21
12
|
},
|
|
22
13
|
"include": ["drizzle.config.ts", "scripts/**/*.ts"]
|
|
23
14
|
}
|