@alexaegis/ts 0.2.0 → 0.3.1

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/angular.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "extends": "./web.json",
4
+ "compilerOptions": {
5
+ "types": ["node"]
6
+ },
7
+ "angularCompilerOptions": {
8
+ "strictInjectionParameters": true,
9
+ "strictInputAccessModifiers": true,
10
+ "strictTemplates": true
11
+ }
12
+ }
package/base.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "noUnusedLocals": true,
35
35
  "noUnusedParameters": true,
36
36
  "forceConsistentCasingInFileNames": true,
37
- "verbatimModuleSyntax": true
37
+ "verbatimModuleSyntax": false
38
38
  },
39
39
  "include": [],
40
40
  "exclude": ["node_modules", "tmp", "dist", "coverage"]
package/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare const _default: {};
2
+ export default _default;
3
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
package/package.json CHANGED
@@ -1,28 +1,39 @@
1
1
  {
2
2
  "name": "@alexaegis/ts",
3
3
  "description": "My typescript configurations",
4
- "version": "0.2.0",
4
+ "version": "0.3.1",
5
5
  "license": "mit",
6
6
  "private": false,
7
- "author": {
8
- "email": "alexaegis@gmail.com",
9
- "name": "Alex Aegis",
10
- "url": "https://github.com/AlexAegis"
11
- },
12
- "homepage": "https://github.com/AlexAegis/js-tooling",
13
- "bugs": {
14
- "email": "alexaegis@gmail.com",
15
- "url": "https://github.com/AlexAegis/js-tooling/issues"
7
+ "archetype": {
8
+ "platform": "node",
9
+ "language": "ts",
10
+ "kind": "lib"
16
11
  },
17
12
  "keywords": [
18
13
  "eslint",
19
14
  "javascript",
20
15
  "js",
16
+ "managed-by-autotool",
21
17
  "ts",
22
18
  "tsconfig",
23
19
  "turbo",
24
20
  "typescript"
25
21
  ],
22
+ "author": {
23
+ "email": "alexaegis@gmail.com",
24
+ "name": "Alex Aegis",
25
+ "url": "https://github.com/AlexAegis"
26
+ },
27
+ "homepage": "https://github.com/AlexAegis/js-tooling",
28
+ "repository": {
29
+ "directory": "packages/ts",
30
+ "type": "git",
31
+ "url": "git+https://github.com/AlexAegis/js-tooling"
32
+ },
33
+ "bugs": {
34
+ "email": "alexaegis@gmail.com",
35
+ "url": "https://github.com/AlexAegis/js-tooling/issues"
36
+ },
26
37
  "type": "module",
27
38
  "config": {
28
39
  "engine-strict": true
@@ -31,7 +42,8 @@
31
42
  "access": "public"
32
43
  },
33
44
  "engines": {
34
- "node": ">=18.13.0"
45
+ "node": ">=18.10.0",
46
+ "pnpm": ">=8.0.0"
35
47
  },
36
48
  "exports": {
37
49
  ".": {
@@ -39,42 +51,48 @@
39
51
  "import": "./index.js",
40
52
  "require": "./index.cjs"
41
53
  },
54
+ "./angular": "./angular.json",
42
55
  "./base": "./base.json",
43
56
  "./node": "./node.json",
44
57
  "./svelte": "./svelte.json",
45
58
  "./web": "./web.json"
46
59
  },
47
60
  "dependencies": {
48
- "@alexaegis/vite": "^0.2.0",
49
- "@tsconfig/svelte": "^4.0.1",
50
- "@types/node": "^18.15.13",
61
+ "@alexaegis/vite": "^0.3.1",
62
+ "@types/node": "^20.2.5",
51
63
  "ts-node": "^10.9.1",
52
64
  "typescript": "^5.0.4",
53
- "vite": "^4.3.1"
65
+ "vite": "^4.3.9"
54
66
  },
55
67
  "devDependencies": {
56
- "@alexaegis/eslint-config-vitest": "^0.2.0",
57
- "@alexaegis/vite": "^0.2.0",
58
- "@alexaegis/vitest": "^0.2.0",
59
- "@vitest/coverage-c8": "^0.30.1",
60
- "vite": "^4.3.1",
61
- "vitest": "^0.30.1"
68
+ "@alexaegis/eslint-config-vitest": "^0.3.1",
69
+ "@alexaegis/vite": "^0.3.1",
70
+ "@alexaegis/vitest": "^0.3.1",
71
+ "@vitest/coverage-c8": "^0.31.1",
72
+ "publint": "^0.1.12",
73
+ "vite": "^4.3.9",
74
+ "vite-plugin-dts": "^2.3.0",
75
+ "vitest": "^0.31.1"
62
76
  },
63
77
  "scripts": {
64
- "build": "turbo run build-lib_ --concurrency 6 --cache-dir .cache/turbo --filter @alexaegis/ts",
78
+ "build": "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/ts",
65
79
  "build-lib_": "vite build",
66
- "lint:depcheck": "turbo run lint:depcheck_ --concurrency 6 --cache-dir .cache/turbo --filter @alexaegis/ts",
80
+ "lint:depcheck": "turbo run lint:depcheck_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/ts",
67
81
  "lint:depcheck_": "depcheck",
68
- "lint:es": "turbo run lint:es_ --concurrency 6 --cache-dir .cache/turbo --filter @alexaegis/ts",
82
+ "lint:es": "turbo run lint:es_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/ts",
69
83
  "lint:es_": "eslint --max-warnings=0 --fix --no-error-on-unmatched-pattern .",
70
- "lint:format": "turbo run lint:format_ --concurrency 6 --cache-dir .cache/turbo --filter @alexaegis/ts",
71
- "lint:format_": "prettier --check .",
72
- "lint:md": "turbo run lint:md_ --concurrency 6 --cache-dir .cache/turbo --filter @alexaegis/ts",
73
- "lint:md_": "remark --frail --no-stdout --silently-ignore *.md docs/**/*.md",
74
- "lint:tsc": "turbo run lint:tsc_ --concurrency 6 --cache-dir .cache/turbo --filter @alexaegis/ts",
84
+ "lint:format": "turbo run lint:format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/ts",
85
+ "lint:format_": "prettier --no-plugin-search --cache-location .cache/prettier --check .",
86
+ "lint:md": "turbo run lint:md_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/ts",
87
+ "lint:md_": "remark --frail --no-stdout --silently-ignore .",
88
+ "lint:tsc": "turbo run lint:tsc_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/ts",
75
89
  "lint:tsc_": "tsc --noEmit",
76
- "format": "prettier --write .",
77
- "test": "turbo run test_ --concurrency 6 --cache-dir .cache/turbo --filter @alexaegis/ts",
90
+ "publint": "turbo run publint_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/ts",
91
+ "publint_": "publint dist",
92
+ "all": "turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/ts",
93
+ "format": "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/ts",
94
+ "format_": "prettier --no-plugin-search --cache-location .cache/prettier --write .",
95
+ "test": "turbo run test_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/ts",
78
96
  "test_": "vitest --passWithNoTests --coverage --run",
79
97
  "test:watch": "vitest --passWithNoTests --coverage"
80
98
  }
package/svelte.json CHANGED
@@ -2,6 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
3
  "extends": "./web.json",
4
4
  "compilerOptions": {
5
+ "moduleResolution": "bundler",
5
6
  "types": ["svelte", "vite/client", "node"]
6
7
  }
7
8
  }
package/web.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
3
  "extends": "./base.json",
4
4
  "compilerOptions": {
5
- "moduleResolution": "bundler",
5
+ "moduleResolution": "nodenext",
6
6
  "lib": ["es2022", "dom"]
7
7
  }
8
8
  }