@alexaegis/autotool-plugin-svelte 0.8.3 → 0.9.0
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/index.cjs +27 -27
- package/index.js +27 -27
- package/package.json +27 -27
- package/static/vite-svelte-app.config.ts +3 -3
- package/static/vite-sveltekit-app.config.ts +4 -4
package/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ require("autotool-plugin");
|
|
|
5
5
|
const node_path = require("node:path");
|
|
6
6
|
const name = "@alexaegis/autotool-plugin-svelte";
|
|
7
7
|
const description = "Setup svelte";
|
|
8
|
-
const version = "0.
|
|
8
|
+
const version = "0.9.0";
|
|
9
9
|
const license = "MIT";
|
|
10
10
|
const archetype = {
|
|
11
11
|
platform: "node",
|
|
@@ -23,8 +23,6 @@ const publishConfig = {
|
|
|
23
23
|
access: "public"
|
|
24
24
|
};
|
|
25
25
|
const scripts = {
|
|
26
|
-
build: "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
27
|
-
"build-lib_": "vite build",
|
|
28
26
|
"lint:depcheck": "turbo run lint:depcheck_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
29
27
|
"lint:depcheck_": "depcheck",
|
|
30
28
|
"lint:es": "turbo run lint:es_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
@@ -37,12 +35,14 @@ const scripts = {
|
|
|
37
35
|
"lint:tsc_": "tsc --noEmit",
|
|
38
36
|
publint: "BUILD_REASON='publish' turbo run publint_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
39
37
|
publint_: "publint dist",
|
|
40
|
-
all: "BUILD_REASON='publish' turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
41
|
-
format: "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
42
|
-
format_: "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
|
|
43
38
|
test: "turbo run test_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
44
39
|
test_: "vitest --passWithNoTests --coverage --run",
|
|
45
|
-
"test:watch": "vitest --passWithNoTests --coverage"
|
|
40
|
+
"test:watch": "vitest --passWithNoTests --coverage",
|
|
41
|
+
all: "BUILD_REASON='publish' turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
42
|
+
build: "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
43
|
+
"build-lib_": "vite build",
|
|
44
|
+
format: "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
45
|
+
format_: "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write ."
|
|
46
46
|
};
|
|
47
47
|
const exports$1 = {
|
|
48
48
|
".": {
|
|
@@ -61,31 +61,31 @@ const exports$1 = {
|
|
|
61
61
|
"./vite-sveltekit-app.config": "./static/vite-sveltekit-app.config.ts"
|
|
62
62
|
};
|
|
63
63
|
const dependencies = {
|
|
64
|
-
"@alexaegis/coverage-tools": "^0.7.
|
|
65
|
-
"@alexaegis/logging": "^0.7.
|
|
66
|
-
"@alexaegis/predicate": "^0.7.
|
|
64
|
+
"@alexaegis/coverage-tools": "^0.7.3",
|
|
65
|
+
"@alexaegis/logging": "^0.7.3",
|
|
66
|
+
"@alexaegis/predicate": "^0.7.3",
|
|
67
67
|
"autotool-plugin": "^0.3.0"
|
|
68
68
|
};
|
|
69
69
|
const devDependencies = {
|
|
70
|
-
"@alexaegis/eslint-config-vitest": "^0.
|
|
71
|
-
"@alexaegis/ts": "^0.
|
|
72
|
-
"@alexaegis/vite": "^0.
|
|
73
|
-
"@alexaegis/vitest": "^0.
|
|
74
|
-
"@pakk/cli": "^0.
|
|
75
|
-
"@sveltejs/adapter-auto": "^2.1.
|
|
70
|
+
"@alexaegis/eslint-config-vitest": "^0.9.0",
|
|
71
|
+
"@alexaegis/ts": "^0.9.0",
|
|
72
|
+
"@alexaegis/vite": "^0.9.0",
|
|
73
|
+
"@alexaegis/vitest": "^0.9.0",
|
|
74
|
+
"@pakk/cli": "^0.8.0",
|
|
75
|
+
"@sveltejs/adapter-auto": "^2.1.1",
|
|
76
76
|
"@sveltejs/adapter-node": "^1.3.1",
|
|
77
77
|
"@sveltejs/adapter-static": "^2.0.3",
|
|
78
|
-
"@sveltejs/adapter-vercel": "^3.0
|
|
79
|
-
"@sveltejs/kit": "^1.
|
|
80
|
-
"@sveltejs/package": "^2.2.
|
|
81
|
-
"@sveltejs/vite-plugin-svelte": "^
|
|
82
|
-
"@types/node": "^20.
|
|
83
|
-
publint: "^0.2.
|
|
84
|
-
svelte: "^4.2.
|
|
85
|
-
"svelte-check": "^3.
|
|
86
|
-
"svelte-preprocess": "^5.
|
|
87
|
-
typescript: "^5.
|
|
88
|
-
vite: "^
|
|
78
|
+
"@sveltejs/adapter-vercel": "^3.1.0",
|
|
79
|
+
"@sveltejs/kit": "^1.27.6",
|
|
80
|
+
"@sveltejs/package": "^2.2.3",
|
|
81
|
+
"@sveltejs/vite-plugin-svelte": "^3.0.1",
|
|
82
|
+
"@types/node": "^20.10.1",
|
|
83
|
+
publint: "^0.2.5",
|
|
84
|
+
svelte: "^4.2.7",
|
|
85
|
+
"svelte-check": "^3.6.2",
|
|
86
|
+
"svelte-preprocess": "^5.1.1",
|
|
87
|
+
typescript: "^5.3.2",
|
|
88
|
+
vite: "^5.0.4",
|
|
89
89
|
vitest: "^0.34.6"
|
|
90
90
|
};
|
|
91
91
|
const packageJson = {
|
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import "autotool-plugin";
|
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
const name = "@alexaegis/autotool-plugin-svelte";
|
|
5
5
|
const description = "Setup svelte";
|
|
6
|
-
const version = "0.
|
|
6
|
+
const version = "0.9.0";
|
|
7
7
|
const license = "MIT";
|
|
8
8
|
const archetype = {
|
|
9
9
|
platform: "node",
|
|
@@ -21,8 +21,6 @@ const publishConfig = {
|
|
|
21
21
|
access: "public"
|
|
22
22
|
};
|
|
23
23
|
const scripts = {
|
|
24
|
-
build: "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
25
|
-
"build-lib_": "vite build",
|
|
26
24
|
"lint:depcheck": "turbo run lint:depcheck_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
27
25
|
"lint:depcheck_": "depcheck",
|
|
28
26
|
"lint:es": "turbo run lint:es_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
@@ -35,12 +33,14 @@ const scripts = {
|
|
|
35
33
|
"lint:tsc_": "tsc --noEmit",
|
|
36
34
|
publint: "BUILD_REASON='publish' turbo run publint_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
37
35
|
publint_: "publint dist",
|
|
38
|
-
all: "BUILD_REASON='publish' turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
39
|
-
format: "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
40
|
-
format_: "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
|
|
41
36
|
test: "turbo run test_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
42
37
|
test_: "vitest --passWithNoTests --coverage --run",
|
|
43
|
-
"test:watch": "vitest --passWithNoTests --coverage"
|
|
38
|
+
"test:watch": "vitest --passWithNoTests --coverage",
|
|
39
|
+
all: "BUILD_REASON='publish' turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
40
|
+
build: "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
41
|
+
"build-lib_": "vite build",
|
|
42
|
+
format: "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
43
|
+
format_: "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write ."
|
|
44
44
|
};
|
|
45
45
|
const exports = {
|
|
46
46
|
".": {
|
|
@@ -59,31 +59,31 @@ const exports = {
|
|
|
59
59
|
"./vite-sveltekit-app.config": "./static/vite-sveltekit-app.config.ts"
|
|
60
60
|
};
|
|
61
61
|
const dependencies = {
|
|
62
|
-
"@alexaegis/coverage-tools": "^0.7.
|
|
63
|
-
"@alexaegis/logging": "^0.7.
|
|
64
|
-
"@alexaegis/predicate": "^0.7.
|
|
62
|
+
"@alexaegis/coverage-tools": "^0.7.3",
|
|
63
|
+
"@alexaegis/logging": "^0.7.3",
|
|
64
|
+
"@alexaegis/predicate": "^0.7.3",
|
|
65
65
|
"autotool-plugin": "^0.3.0"
|
|
66
66
|
};
|
|
67
67
|
const devDependencies = {
|
|
68
|
-
"@alexaegis/eslint-config-vitest": "^0.
|
|
69
|
-
"@alexaegis/ts": "^0.
|
|
70
|
-
"@alexaegis/vite": "^0.
|
|
71
|
-
"@alexaegis/vitest": "^0.
|
|
72
|
-
"@pakk/cli": "^0.
|
|
73
|
-
"@sveltejs/adapter-auto": "^2.1.
|
|
68
|
+
"@alexaegis/eslint-config-vitest": "^0.9.0",
|
|
69
|
+
"@alexaegis/ts": "^0.9.0",
|
|
70
|
+
"@alexaegis/vite": "^0.9.0",
|
|
71
|
+
"@alexaegis/vitest": "^0.9.0",
|
|
72
|
+
"@pakk/cli": "^0.8.0",
|
|
73
|
+
"@sveltejs/adapter-auto": "^2.1.1",
|
|
74
74
|
"@sveltejs/adapter-node": "^1.3.1",
|
|
75
75
|
"@sveltejs/adapter-static": "^2.0.3",
|
|
76
|
-
"@sveltejs/adapter-vercel": "^3.0
|
|
77
|
-
"@sveltejs/kit": "^1.
|
|
78
|
-
"@sveltejs/package": "^2.2.
|
|
79
|
-
"@sveltejs/vite-plugin-svelte": "^
|
|
80
|
-
"@types/node": "^20.
|
|
81
|
-
publint: "^0.2.
|
|
82
|
-
svelte: "^4.2.
|
|
83
|
-
"svelte-check": "^3.
|
|
84
|
-
"svelte-preprocess": "^5.
|
|
85
|
-
typescript: "^5.
|
|
86
|
-
vite: "^
|
|
76
|
+
"@sveltejs/adapter-vercel": "^3.1.0",
|
|
77
|
+
"@sveltejs/kit": "^1.27.6",
|
|
78
|
+
"@sveltejs/package": "^2.2.3",
|
|
79
|
+
"@sveltejs/vite-plugin-svelte": "^3.0.1",
|
|
80
|
+
"@types/node": "^20.10.1",
|
|
81
|
+
publint: "^0.2.5",
|
|
82
|
+
svelte: "^4.2.7",
|
|
83
|
+
"svelte-check": "^3.6.2",
|
|
84
|
+
"svelte-preprocess": "^5.1.1",
|
|
85
|
+
typescript: "^5.3.2",
|
|
86
|
+
vite: "^5.0.4",
|
|
87
87
|
vitest: "^0.34.6"
|
|
88
88
|
};
|
|
89
89
|
const packageJson = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexaegis/autotool-plugin-svelte",
|
|
3
3
|
"description": "Setup svelte",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.9.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"archetype": {
|
|
@@ -58,36 +58,34 @@
|
|
|
58
58
|
"./vite-sveltekit-app.config": "./static/vite-sveltekit-app.config.ts"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@alexaegis/coverage-tools": "^0.7.
|
|
62
|
-
"@alexaegis/logging": "^0.7.
|
|
63
|
-
"@alexaegis/predicate": "^0.7.
|
|
61
|
+
"@alexaegis/coverage-tools": "^0.7.3",
|
|
62
|
+
"@alexaegis/logging": "^0.7.3",
|
|
63
|
+
"@alexaegis/predicate": "^0.7.3",
|
|
64
64
|
"autotool-plugin": "^0.3.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@alexaegis/eslint-config-vitest": "^0.
|
|
68
|
-
"@alexaegis/ts": "^0.
|
|
69
|
-
"@alexaegis/vite": "^0.
|
|
70
|
-
"@alexaegis/vitest": "^0.
|
|
71
|
-
"@pakk/cli": "^0.
|
|
72
|
-
"@sveltejs/adapter-auto": "^2.1.
|
|
67
|
+
"@alexaegis/eslint-config-vitest": "^0.9.0",
|
|
68
|
+
"@alexaegis/ts": "^0.9.0",
|
|
69
|
+
"@alexaegis/vite": "^0.9.0",
|
|
70
|
+
"@alexaegis/vitest": "^0.9.0",
|
|
71
|
+
"@pakk/cli": "^0.8.0",
|
|
72
|
+
"@sveltejs/adapter-auto": "^2.1.1",
|
|
73
73
|
"@sveltejs/adapter-node": "^1.3.1",
|
|
74
74
|
"@sveltejs/adapter-static": "^2.0.3",
|
|
75
|
-
"@sveltejs/adapter-vercel": "^3.0
|
|
76
|
-
"@sveltejs/kit": "^1.
|
|
77
|
-
"@sveltejs/package": "^2.2.
|
|
78
|
-
"@sveltejs/vite-plugin-svelte": "^
|
|
79
|
-
"@types/node": "^20.
|
|
80
|
-
"publint": "^0.2.
|
|
81
|
-
"svelte": "^4.2.
|
|
82
|
-
"svelte-check": "^3.
|
|
83
|
-
"svelte-preprocess": "^5.
|
|
84
|
-
"typescript": "^5.
|
|
85
|
-
"vite": "^
|
|
75
|
+
"@sveltejs/adapter-vercel": "^3.1.0",
|
|
76
|
+
"@sveltejs/kit": "^1.27.6",
|
|
77
|
+
"@sveltejs/package": "^2.2.3",
|
|
78
|
+
"@sveltejs/vite-plugin-svelte": "^3.0.1",
|
|
79
|
+
"@types/node": "^20.10.1",
|
|
80
|
+
"publint": "^0.2.5",
|
|
81
|
+
"svelte": "^4.2.7",
|
|
82
|
+
"svelte-check": "^3.6.2",
|
|
83
|
+
"svelte-preprocess": "^5.1.1",
|
|
84
|
+
"typescript": "^5.3.2",
|
|
85
|
+
"vite": "^5.0.4",
|
|
86
86
|
"vitest": "^0.34.6"
|
|
87
87
|
},
|
|
88
88
|
"scripts": {
|
|
89
|
-
"build": "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
90
|
-
"build-lib_": "vite build",
|
|
91
89
|
"lint:depcheck": "turbo run lint:depcheck_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
92
90
|
"lint:depcheck_": "depcheck",
|
|
93
91
|
"lint:es": "turbo run lint:es_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
@@ -100,11 +98,13 @@
|
|
|
100
98
|
"lint:tsc_": "tsc --noEmit",
|
|
101
99
|
"publint": "BUILD_REASON='publish' turbo run publint_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
102
100
|
"publint_": "publint dist",
|
|
103
|
-
"all": "BUILD_REASON='publish' turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
104
|
-
"format": "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
105
|
-
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write .",
|
|
106
101
|
"test": "turbo run test_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
107
102
|
"test_": "vitest --passWithNoTests --coverage --run",
|
|
108
|
-
"test:watch": "vitest --passWithNoTests --coverage"
|
|
103
|
+
"test:watch": "vitest --passWithNoTests --coverage",
|
|
104
|
+
"all": "BUILD_REASON='publish' turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
105
|
+
"build": "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
106
|
+
"build-lib_": "vite build",
|
|
107
|
+
"format": "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-svelte",
|
|
108
|
+
"format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write ."
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// managed-by-autotool
|
|
2
|
-
|
|
3
|
-
import { defineAppConfig } from '@alexaegis/vite';
|
|
2
|
+
import { DEFAULT_VITE_APP_CONFIG } from '@alexaegis/vite';
|
|
4
3
|
import { svelte } from '@sveltejs/vite-plugin-svelte';
|
|
4
|
+
import { mergeConfig } from 'vite';
|
|
5
5
|
|
|
6
|
-
export default
|
|
6
|
+
export default mergeConfig(DEFAULT_VITE_APP_CONFIG, {
|
|
7
7
|
plugins: [svelte()],
|
|
8
8
|
appType: 'spa',
|
|
9
9
|
server: {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// managed-by-autotool
|
|
2
|
-
|
|
3
|
-
import { defineAppConfig } from '@alexaegis/vite';
|
|
2
|
+
import { DEFAULT_VITE_APP_CONFIG } from '@alexaegis/vite';
|
|
4
3
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
4
|
+
import { mergeConfig } from 'vite';
|
|
5
5
|
|
|
6
|
-
export default
|
|
6
|
+
export default mergeConfig(DEFAULT_VITE_APP_CONFIG, {
|
|
7
7
|
plugins: [sveltekit()],
|
|
8
8
|
test: {
|
|
9
9
|
include: ['src/**/*.{test,spec}.{js,ts}'],
|
|
10
10
|
},
|
|
11
11
|
server: {
|
|
12
12
|
fs: {
|
|
13
|
-
allow: ['
|
|
13
|
+
allow: ['../..'],
|
|
14
14
|
},
|
|
15
15
|
},
|
|
16
16
|
});
|