@zayne-labs/tsconfig 0.2.1 → 0.2.2
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/.github/workflows/{release-and-publish.yml → release-and-publish(changeset).yml} +12 -15
- package/CHANGELOG.md +6 -0
- package/base/tsconfig.base.json +28 -0
- package/bundler/tsconfig.dom.json +2 -24
- package/bundler/tsconfig.next.json +2 -24
- package/bundler/tsconfig.no-dom.json +2 -24
- package/package.json +6 -4
- package/tsc/dom/tsconfig.app.json +2 -24
- package/tsc/dom/tsconfig.library-monorepo.json +2 -24
- package/tsc/dom/tsconfig.library.json +2 -24
- package/tsc/no-dom/tsconfig.app.json +2 -24
- package/tsc/no-dom/tsconfig.library-monorepo.json +2 -24
- package/tsc/no-dom/tsconfig.library.json +2 -24
|
@@ -1,41 +1,38 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Changeset - Release and Publish
|
|
2
2
|
on:
|
|
3
3
|
push:
|
|
4
|
-
branches:
|
|
5
|
-
- main
|
|
6
|
-
|
|
7
|
-
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
|
4
|
+
branches: main
|
|
8
5
|
|
|
9
6
|
permissions:
|
|
10
7
|
contents: write
|
|
11
8
|
pull-requests: write
|
|
9
|
+
id-token: write
|
|
12
10
|
|
|
13
11
|
jobs:
|
|
14
12
|
release:
|
|
15
|
-
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
16
13
|
runs-on: ubuntu-latest
|
|
17
14
|
timeout-minutes: 15
|
|
18
15
|
strategy:
|
|
19
16
|
matrix:
|
|
20
17
|
node-version: [20.x]
|
|
18
|
+
|
|
21
19
|
steps:
|
|
22
|
-
- name:
|
|
23
|
-
uses: actions/checkout@v4
|
|
20
|
+
- name: Checkout repo
|
|
21
|
+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
|
|
24
22
|
with:
|
|
25
|
-
# This makes Actions fetch all Git history so that Changesets
|
|
26
|
-
# can generate changelogs with the correct commits.
|
|
23
|
+
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits.
|
|
27
24
|
fetch-depth: 0
|
|
28
25
|
|
|
29
26
|
- name: Setup pnpm
|
|
30
27
|
uses: pnpm/action-setup@v4
|
|
31
28
|
with:
|
|
32
|
-
version: 9.
|
|
29
|
+
version: 9.15.4
|
|
33
30
|
|
|
34
31
|
- name: Setup Node.js 20.x
|
|
35
|
-
uses: actions/setup-node@v4
|
|
32
|
+
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
|
|
36
33
|
with:
|
|
37
34
|
node-version: ${{ matrix.node-version }}
|
|
38
|
-
cache:
|
|
35
|
+
cache: pnpm
|
|
39
36
|
|
|
40
37
|
- name: Install dependencies
|
|
41
38
|
run: pnpm install --frozen-lockfile
|
|
@@ -43,8 +40,8 @@ jobs:
|
|
|
43
40
|
- name: Create Release Pull Request or Publish to npm
|
|
44
41
|
uses: changesets/action@v1
|
|
45
42
|
with:
|
|
46
|
-
commit: "ci:
|
|
47
|
-
title: "ci:
|
|
43
|
+
commit: "ci(changesets): version and release packages"
|
|
44
|
+
title: "ci(changesets): version and release packages"
|
|
48
45
|
publish: pnpm release
|
|
49
46
|
|
|
50
47
|
env:
|
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
/* Base Options: */
|
|
4
|
+
"esModuleInterop": true,
|
|
5
|
+
"skipLibCheck": true,
|
|
6
|
+
"resolveJsonModule": true,
|
|
7
|
+
"moduleDetection": "force",
|
|
8
|
+
"isolatedModules": true,
|
|
9
|
+
"verbatimModuleSyntax": true,
|
|
10
|
+
"useDefineForClassFields": true,
|
|
11
|
+
|
|
12
|
+
/* Don't allow importing JavaScript files by default, to avoid mistake "any" (burnt me before): */
|
|
13
|
+
"allowJs": false,
|
|
14
|
+
|
|
15
|
+
/* Linting: */
|
|
16
|
+
"strict": true,
|
|
17
|
+
"erasableSyntaxOnly": true,
|
|
18
|
+
"noImplicitOverride": true,
|
|
19
|
+
"noImplicitReturns": true,
|
|
20
|
+
"noImplicitThis": true,
|
|
21
|
+
"noFallthroughCasesInSwitch": true,
|
|
22
|
+
"allowUnreachableCode": false,
|
|
23
|
+
"allowSyntheticDefaultImports": true,
|
|
24
|
+
"forceConsistentCasingInFileNames": true,
|
|
25
|
+
"noErrorTruncation": true,
|
|
26
|
+
"noUncheckedIndexedAccess": true
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
/* Base Options: */
|
|
4
|
-
"esModuleInterop": true,
|
|
5
|
-
"skipLibCheck": true,
|
|
6
|
-
"resolveJsonModule": true,
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"isolatedModules": true,
|
|
9
|
-
"verbatimModuleSyntax": true,
|
|
10
|
-
"useDefineForClassFields": true,
|
|
11
|
-
|
|
12
|
-
/* Don't allow importing JavaScript files by default, to avoid mistake "any" (burnt me before): */
|
|
13
|
-
"allowJs": false,
|
|
14
|
-
|
|
15
|
-
/* Linting: */
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noImplicitOverride": true,
|
|
18
|
-
"noImplicitReturns": true,
|
|
19
|
-
"noImplicitThis": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"allowUnreachableCode": false,
|
|
22
|
-
"allowSyntheticDefaultImports": true,
|
|
23
|
-
"forceConsistentCasingInFileNames": true,
|
|
24
|
-
"noErrorTruncation": true,
|
|
25
|
-
"noUncheckedIndexedAccess": true,
|
|
2
|
+
"extends": ["./base/tsconfig.base.json"],
|
|
26
3
|
|
|
4
|
+
"compilerOptions": {
|
|
27
5
|
/* Bundler Mode: */
|
|
28
6
|
"module": "Preserve",
|
|
29
7
|
// "moduleResolution": "Bundler", // This is inferred from module: "Preserve"
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
/* Base Options: */
|
|
4
|
-
"esModuleInterop": true,
|
|
5
|
-
"skipLibCheck": true,
|
|
6
|
-
"resolveJsonModule": true,
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"useDefineForClassFields": true,
|
|
9
|
-
"isolatedModules": true,
|
|
10
|
-
"verbatimModuleSyntax": true,
|
|
11
|
-
|
|
12
|
-
/* Don't allow importing JavaScript files by default, to avoid mistake "any" (burnt me before): */
|
|
13
|
-
"allowJs": false,
|
|
14
|
-
|
|
15
|
-
/* Linting: */
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noImplicitOverride": true,
|
|
18
|
-
"noImplicitReturns": true,
|
|
19
|
-
"noImplicitThis": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"allowUnreachableCode": false,
|
|
22
|
-
"allowSyntheticDefaultImports": true,
|
|
23
|
-
"forceConsistentCasingInFileNames": true,
|
|
24
|
-
"noErrorTruncation": true,
|
|
25
|
-
"noUncheckedIndexedAccess": true,
|
|
2
|
+
"extends": ["./base/tsconfig.base.json"],
|
|
26
3
|
|
|
4
|
+
"compilerOptions": {
|
|
27
5
|
/* Bundler mode: */
|
|
28
6
|
"module": "Preserve",
|
|
29
7
|
"target": "ESNext",
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
/* Base Options: */
|
|
4
|
-
"esModuleInterop": true,
|
|
5
|
-
"skipLibCheck": true,
|
|
6
|
-
"resolveJsonModule": true,
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"isolatedModules": true,
|
|
9
|
-
"verbatimModuleSyntax": true,
|
|
10
|
-
"useDefineForClassFields": true,
|
|
11
|
-
|
|
12
|
-
/* Don't allow importing JavaScript files by default, to avoid mistake "any" (burnt me before): */
|
|
13
|
-
"allowJs": false,
|
|
14
|
-
|
|
15
|
-
/* Linting: */
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noImplicitOverride": true,
|
|
18
|
-
"noImplicitReturns": true,
|
|
19
|
-
"noImplicitThis": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"allowUnreachableCode": false,
|
|
22
|
-
"allowSyntheticDefaultImports": true,
|
|
23
|
-
"forceConsistentCasingInFileNames": true,
|
|
24
|
-
"noErrorTruncation": true,
|
|
25
|
-
"noUncheckedIndexedAccess": true,
|
|
2
|
+
"extends": ["./base/tsconfig.base.json"],
|
|
26
3
|
|
|
4
|
+
"compilerOptions": {
|
|
27
5
|
/* Bundler Mode: */
|
|
28
6
|
"module": "Preserve",
|
|
29
7
|
"target": "ESNext",
|
package/package.json
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zayne-labs/tsconfig",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A collection of TypeScript configurations for various projects, based on Total TypeScript's TSConfig Cheat Sheet, with a few additions.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/
|
|
8
|
+
"url": "https://github.com/zayne-labs/tsconfig"
|
|
9
9
|
},
|
|
10
10
|
"homepage": "https://github.com/ryan-zayne/tsconfig#readme",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"author": "Ryan Zayne",
|
|
13
13
|
"publishConfig": {
|
|
14
|
-
"access": "public"
|
|
14
|
+
"access": "public",
|
|
15
|
+
"registry": "https://registry.npmjs.org/",
|
|
16
|
+
"provenance": true
|
|
15
17
|
},
|
|
16
18
|
"exports": {
|
|
17
19
|
"./tsc": "./tsc/dom/tsconfig.app.json",
|
|
@@ -34,7 +36,7 @@
|
|
|
34
36
|
"./bundler/no-dom/library-monorepo": "./bundler/tsconfig.no-dom.json"
|
|
35
37
|
},
|
|
36
38
|
"devDependencies": {
|
|
37
|
-
"@changesets/cli": "^2.
|
|
39
|
+
"@changesets/cli": "^2.28.1"
|
|
38
40
|
},
|
|
39
41
|
"scripts": {
|
|
40
42
|
"release": "changeset publish"
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
/* Base Options: */
|
|
4
|
-
"esModuleInterop": true,
|
|
5
|
-
"skipLibCheck": true,
|
|
6
|
-
"resolveJsonModule": true,
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"isolatedModules": true,
|
|
9
|
-
"verbatimModuleSyntax": true,
|
|
10
|
-
"useDefineForClassFields": true,
|
|
11
|
-
|
|
12
|
-
/* Don't allow importing JavaScript files by default, to avoid mistake "any" (burnt me before): */
|
|
13
|
-
"allowJs": false,
|
|
14
|
-
|
|
15
|
-
/* Linting: */
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noImplicitOverride": true,
|
|
18
|
-
"noImplicitReturns": true,
|
|
19
|
-
"noImplicitThis": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"allowUnreachableCode": false,
|
|
22
|
-
"allowSyntheticDefaultImports": true,
|
|
23
|
-
"forceConsistentCasingInFileNames": true,
|
|
24
|
-
"noErrorTruncation": true,
|
|
25
|
-
"noUncheckedIndexedAccess": true,
|
|
2
|
+
"extends": ["./base/tsconfig.base.json"],
|
|
26
3
|
|
|
4
|
+
"compilerOptions": {
|
|
27
5
|
/* If transpiling with TypeScript: */
|
|
28
6
|
"module": "NodeNext",
|
|
29
7
|
"sourceMap": true,
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
/* Base Options: */
|
|
4
|
-
"esModuleInterop": true,
|
|
5
|
-
"skipLibCheck": true,
|
|
6
|
-
"resolveJsonModule": true,
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"isolatedModules": true,
|
|
9
|
-
"verbatimModuleSyntax": true,
|
|
10
|
-
"useDefineForClassFields": true,
|
|
11
|
-
|
|
12
|
-
/* Don't allow importing JavaScript files by default, to avoid mistake "any" (burnt me before): */
|
|
13
|
-
"allowJs": false,
|
|
14
|
-
|
|
15
|
-
/* Linting: */
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noImplicitOverride": true,
|
|
18
|
-
"noImplicitReturns": true,
|
|
19
|
-
"noImplicitThis": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"allowUnreachableCode": false,
|
|
22
|
-
"allowSyntheticDefaultImports": true,
|
|
23
|
-
"forceConsistentCasingInFileNames": true,
|
|
24
|
-
"noErrorTruncation": true,
|
|
25
|
-
"noUncheckedIndexedAccess": true,
|
|
2
|
+
"extends": ["./base/tsconfig.base.json"],
|
|
26
3
|
|
|
4
|
+
"compilerOptions": {
|
|
27
5
|
/* If transpiling with TypeScript: */
|
|
28
6
|
"module": "NodeNext",
|
|
29
7
|
"sourceMap": true,
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
/* Base Options: */
|
|
4
|
-
"esModuleInterop": true,
|
|
5
|
-
"skipLibCheck": true,
|
|
6
|
-
"resolveJsonModule": true,
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"isolatedModules": true,
|
|
9
|
-
"verbatimModuleSyntax": true,
|
|
10
|
-
"useDefineForClassFields": true,
|
|
11
|
-
|
|
12
|
-
/* Don't allow importing JavaScript files by default, to avoid mistake "any" (burnt me before): */
|
|
13
|
-
"allowJs": false,
|
|
14
|
-
|
|
15
|
-
/* Linting: */
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noImplicitOverride": true,
|
|
18
|
-
"noImplicitReturns": true,
|
|
19
|
-
"noImplicitThis": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"allowUnreachableCode": false,
|
|
22
|
-
"allowSyntheticDefaultImports": true,
|
|
23
|
-
"forceConsistentCasingInFileNames": true,
|
|
24
|
-
"noErrorTruncation": true,
|
|
25
|
-
"noUncheckedIndexedAccess": true,
|
|
2
|
+
"extends": ["./base/tsconfig.base.json"],
|
|
26
3
|
|
|
4
|
+
"compilerOptions": {
|
|
27
5
|
/* If transpiling with TypeScript: */
|
|
28
6
|
"module": "NodeNext",
|
|
29
7
|
"sourceMap": true,
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
/* Base Options: */
|
|
4
|
-
"esModuleInterop": true,
|
|
5
|
-
"skipLibCheck": true,
|
|
6
|
-
"resolveJsonModule": true,
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"isolatedModules": true,
|
|
9
|
-
"verbatimModuleSyntax": true,
|
|
10
|
-
"useDefineForClassFields": true,
|
|
11
|
-
|
|
12
|
-
/* Don't allow importing JavaScript files by default, to avoid mistake "any" (burnt me before): */
|
|
13
|
-
"allowJs": false,
|
|
14
|
-
|
|
15
|
-
/* Linting: */
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noImplicitOverride": true,
|
|
18
|
-
"noImplicitReturns": true,
|
|
19
|
-
"noImplicitThis": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"allowUnreachableCode": false,
|
|
22
|
-
"allowSyntheticDefaultImports": true,
|
|
23
|
-
"forceConsistentCasingInFileNames": true,
|
|
24
|
-
"noErrorTruncation": true,
|
|
25
|
-
"noUncheckedIndexedAccess": true,
|
|
2
|
+
"extends": ["./base/tsconfig.base.json"],
|
|
26
3
|
|
|
4
|
+
"compilerOptions": {
|
|
27
5
|
/* If transpiling with TypeScript: */
|
|
28
6
|
"module": "NodeNext",
|
|
29
7
|
"sourceMap": true,
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
/* Base Options: */
|
|
4
|
-
"esModuleInterop": true,
|
|
5
|
-
"skipLibCheck": true,
|
|
6
|
-
"resolveJsonModule": true,
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"isolatedModules": true,
|
|
9
|
-
"verbatimModuleSyntax": true,
|
|
10
|
-
"useDefineForClassFields": true,
|
|
11
|
-
|
|
12
|
-
/* Don't allow importing JavaScript files by default, to avoid mistake "any" (burnt me before): */
|
|
13
|
-
"allowJs": false,
|
|
14
|
-
|
|
15
|
-
/* Linting: */
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noImplicitOverride": true,
|
|
18
|
-
"noImplicitReturns": true,
|
|
19
|
-
"noImplicitThis": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"allowUnreachableCode": false,
|
|
22
|
-
"allowSyntheticDefaultImports": true,
|
|
23
|
-
"forceConsistentCasingInFileNames": true,
|
|
24
|
-
"noErrorTruncation": true,
|
|
25
|
-
"noUncheckedIndexedAccess": true,
|
|
2
|
+
"extends": ["./base/tsconfig.base.json"],
|
|
26
3
|
|
|
4
|
+
"compilerOptions": {
|
|
27
5
|
/* If transpiling with TypeScript: */
|
|
28
6
|
"module": "NodeNext",
|
|
29
7
|
"sourceMap": true,
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
/* Base Options: */
|
|
4
|
-
"esModuleInterop": true,
|
|
5
|
-
"skipLibCheck": true,
|
|
6
|
-
"resolveJsonModule": true,
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"isolatedModules": true,
|
|
9
|
-
"verbatimModuleSyntax": true,
|
|
10
|
-
"useDefineForClassFields": true,
|
|
11
|
-
|
|
12
|
-
/* Don't allow importing JavaScript files by default, to avoid mistake "any" (burnt me before): */
|
|
13
|
-
"allowJs": false,
|
|
14
|
-
|
|
15
|
-
/* Linting: */
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noImplicitOverride": true,
|
|
18
|
-
"noImplicitReturns": true,
|
|
19
|
-
"noImplicitThis": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"allowUnreachableCode": false,
|
|
22
|
-
"allowSyntheticDefaultImports": true,
|
|
23
|
-
"forceConsistentCasingInFileNames": true,
|
|
24
|
-
"noErrorTruncation": true,
|
|
25
|
-
"noUncheckedIndexedAccess": true,
|
|
2
|
+
"extends": ["./base/tsconfig.base.json"],
|
|
26
3
|
|
|
4
|
+
"compilerOptions": {
|
|
27
5
|
/* If transpiling with TypeScript: */
|
|
28
6
|
"module": "NodeNext",
|
|
29
7
|
"sourceMap": true,
|