@stacksjs/enums 0.59.11 → 0.61.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/dist/index.js +7 -8
- package/package.json +1 -1
- package/src/index.ts +7 -8
- package/dist/index.d.ts +0 -100
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var NpmScript;
|
|
3
3
|
(function(NpmScript2) {
|
|
4
4
|
NpmScript2["Build"] = "build";
|
|
5
|
-
NpmScript2["BuildComponents"] = "vite build --config ./src/vite/src/components.ts";
|
|
5
|
+
NpmScript2["BuildComponents"] = "vite build --config ./src/vite-config/src/components.ts";
|
|
6
6
|
NpmScript2["BuildWebComponents"] = "build:web-components";
|
|
7
7
|
NpmScript2["BuildFunctions"] = "build:functions";
|
|
8
8
|
NpmScript2["BuildDocs"] = "build:docs";
|
|
@@ -14,8 +14,8 @@ var NpmScript;
|
|
|
14
14
|
NpmScript2["DevDesktop"] = "dev:desktop";
|
|
15
15
|
NpmScript2["DevFunctions"] = "dev:functions";
|
|
16
16
|
NpmScript2["Fresh"] = "fresh";
|
|
17
|
-
NpmScript2["Lint"] = "bunx
|
|
18
|
-
NpmScript2["LintFix"] = "bunx
|
|
17
|
+
NpmScript2["Lint"] = "bunx biome ci .";
|
|
18
|
+
NpmScript2["LintFix"] = "bunx biome check --apply .";
|
|
19
19
|
NpmScript2["LintPackageJson"] = "publint";
|
|
20
20
|
NpmScript2["MakeStack"] = "make:stack";
|
|
21
21
|
NpmScript2["Test"] = "bun test";
|
|
@@ -23,12 +23,11 @@ var NpmScript;
|
|
|
23
23
|
NpmScript2["TestFeature"] = "playwright test --config playwright.config.ts";
|
|
24
24
|
NpmScript2["TestUi"] = "bun test 3";
|
|
25
25
|
NpmScript2["TestCoverage"] = "bun test 4";
|
|
26
|
-
NpmScript2["TestTypes"] = "vue-
|
|
26
|
+
NpmScript2["TestTypes"] = "vue-tsc --noEmit";
|
|
27
27
|
NpmScript2["Generate"] = "generate";
|
|
28
28
|
NpmScript2["GenerateTypes"] = "generate:types";
|
|
29
29
|
NpmScript2["GenerateEntries"] = "generate:entries";
|
|
30
30
|
NpmScript2["GenerateWebTypes"] = "generate:web-types";
|
|
31
|
-
NpmScript2["GenerateVsCodeCustomData"] = "generate:vscode-custom-data";
|
|
32
31
|
NpmScript2["GenerateIdeHelpers"] = "generate:ide-helpers";
|
|
33
32
|
NpmScript2["GenerateComponentMeta"] = "generate:component-meta";
|
|
34
33
|
NpmScript2["Release"] = "release";
|
|
@@ -77,9 +76,10 @@ var Action;
|
|
|
77
76
|
Action2["Inspire"] = "inspire";
|
|
78
77
|
Action2["KeyGenerate"] = "key-generate";
|
|
79
78
|
Action2["MakeNotification"] = "make-notification";
|
|
80
|
-
Action2["Migrate"] = "migrate";
|
|
79
|
+
Action2["Migrate"] = "migrate/database";
|
|
80
|
+
Action2["MigrateFresh"] = "migrate/fresh";
|
|
81
81
|
Action2["MigrateDns"] = "migrate/dns";
|
|
82
|
-
Action2["Seed"] = "seed";
|
|
82
|
+
Action2["Seed"] = "database/seed";
|
|
83
83
|
Action2["Lint"] = "lint/index";
|
|
84
84
|
Action2["LintFix"] = "lint/fix";
|
|
85
85
|
Action2["Prepublish"] = "prepublish";
|
|
@@ -90,7 +90,6 @@ var Action;
|
|
|
90
90
|
Action2["TestUnit"] = "test-unit";
|
|
91
91
|
Action2["TestFeature"] = "test-feature";
|
|
92
92
|
Action2["TestCoverage"] = "test-coverage";
|
|
93
|
-
Action2["Tinker"] = "tinker";
|
|
94
93
|
Action2["Typecheck"] = "typecheck";
|
|
95
94
|
Action2["Upgrade"] = "upgrade/index";
|
|
96
95
|
Action2["UpgradeBinary"] = "upgrade/binary";
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export enum NpmScript {
|
|
5
5
|
Build = 'build',
|
|
6
|
-
BuildComponents = 'vite build --config ./src/vite/src/components.ts',
|
|
6
|
+
BuildComponents = 'vite build --config ./src/vite-config/src/components.ts',
|
|
7
7
|
BuildWebComponents = 'build:web-components',
|
|
8
8
|
BuildFunctions = 'build:functions',
|
|
9
9
|
BuildDocs = 'build:docs',
|
|
@@ -15,8 +15,8 @@ export enum NpmScript {
|
|
|
15
15
|
DevDesktop = 'dev:desktop',
|
|
16
16
|
DevFunctions = 'dev:functions',
|
|
17
17
|
Fresh = 'fresh',
|
|
18
|
-
Lint = 'bunx
|
|
19
|
-
LintFix = 'bunx
|
|
18
|
+
Lint = 'bunx biome ci .',
|
|
19
|
+
LintFix = 'bunx biome check --apply .',
|
|
20
20
|
LintPackageJson = 'publint',
|
|
21
21
|
MakeStack = 'make:stack',
|
|
22
22
|
Test = 'bun test',
|
|
@@ -24,12 +24,11 @@ export enum NpmScript {
|
|
|
24
24
|
TestFeature = 'playwright test --config playwright.config.ts',
|
|
25
25
|
TestUi = 'bun test 3',
|
|
26
26
|
TestCoverage = 'bun test 4',
|
|
27
|
-
TestTypes = 'vue-
|
|
27
|
+
TestTypes = 'vue-tsc --noEmit',
|
|
28
28
|
Generate = 'generate',
|
|
29
29
|
GenerateTypes = 'generate:types',
|
|
30
30
|
GenerateEntries = 'generate:entries',
|
|
31
31
|
GenerateWebTypes = 'generate:web-types',
|
|
32
|
-
GenerateVsCodeCustomData = 'generate:vscode-custom-data',
|
|
33
32
|
GenerateIdeHelpers = 'generate:ide-helpers',
|
|
34
33
|
GenerateComponentMeta = 'generate:component-meta',
|
|
35
34
|
Release = 'release',
|
|
@@ -78,9 +77,10 @@ export enum Action {
|
|
|
78
77
|
Inspire = 'inspire',
|
|
79
78
|
KeyGenerate = 'key-generate',
|
|
80
79
|
MakeNotification = 'make-notification',
|
|
81
|
-
Migrate = 'migrate',
|
|
80
|
+
Migrate = 'migrate/database',
|
|
81
|
+
MigrateFresh = 'migrate/fresh',
|
|
82
82
|
MigrateDns = 'migrate/dns',
|
|
83
|
-
Seed = 'seed',
|
|
83
|
+
Seed = 'database/seed',
|
|
84
84
|
Lint = 'lint/index',
|
|
85
85
|
LintFix = 'lint/fix',
|
|
86
86
|
Prepublish = 'prepublish',
|
|
@@ -91,7 +91,6 @@ export enum Action {
|
|
|
91
91
|
TestUnit = 'test-unit',
|
|
92
92
|
TestFeature = 'test-feature',
|
|
93
93
|
TestCoverage = 'test-coverage',
|
|
94
|
-
Tinker = 'tinker',
|
|
95
94
|
Typecheck = 'typecheck',
|
|
96
95
|
Upgrade = 'upgrade/index',
|
|
97
96
|
UpgradeBinary = 'upgrade/binary', // the `stacks` binary
|
package/dist/index.d.ts
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The available npm scripts within the Stacks toolkit.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum NpmScript {
|
|
5
|
-
Build = "build",
|
|
6
|
-
BuildComponents = "vite build --config ./src/vite/src/components.ts",
|
|
7
|
-
BuildWebComponents = "build:web-components",
|
|
8
|
-
BuildFunctions = "build:functions",
|
|
9
|
-
BuildDocs = "build:docs",
|
|
10
|
-
BuildStacks = "build:stacks",
|
|
11
|
-
Clean = "bunx rimraf bun.lockb node_modules/ stacks/**/dist",
|
|
12
|
-
Dev = "dev",
|
|
13
|
-
DevApi = "dev:api",
|
|
14
|
-
DevDocs = "dev:docs",
|
|
15
|
-
DevDesktop = "dev:desktop",
|
|
16
|
-
DevFunctions = "dev:functions",
|
|
17
|
-
Fresh = "fresh",
|
|
18
|
-
Lint = "bunx eslint .",
|
|
19
|
-
LintFix = "bunx eslint . --fix",
|
|
20
|
-
LintPackageJson = "publint",
|
|
21
|
-
MakeStack = "make:stack",
|
|
22
|
-
Test = "bun test",
|
|
23
|
-
TestUnit = "bun test 2",
|
|
24
|
-
TestFeature = "playwright test --config playwright.config.ts",
|
|
25
|
-
TestUi = "bun test 3",
|
|
26
|
-
TestCoverage = "bun test 4",
|
|
27
|
-
TestTypes = "vue-tsx bun --bun tsc --noEmit",
|
|
28
|
-
Generate = "generate",
|
|
29
|
-
GenerateTypes = "generate:types",
|
|
30
|
-
GenerateEntries = "generate:entries",
|
|
31
|
-
GenerateWebTypes = "generate:web-types",
|
|
32
|
-
GenerateVsCodeCustomData = "generate:vscode-custom-data",
|
|
33
|
-
GenerateIdeHelpers = "generate:ide-helpers",
|
|
34
|
-
GenerateComponentMeta = "generate:component-meta",
|
|
35
|
-
Release = "release",
|
|
36
|
-
Commit = "commit",
|
|
37
|
-
Example = "example",
|
|
38
|
-
ExampleVue = "example:vue",
|
|
39
|
-
ExampleWebComponents = "example:web-components",
|
|
40
|
-
KeyGenerate = "key:generate",
|
|
41
|
-
TypesFix = "types:fix",
|
|
42
|
-
TypesGenerate = "types:generate",
|
|
43
|
-
Preinstall = "preinstall",
|
|
44
|
-
Prepublish = "prepublish",
|
|
45
|
-
UpgradeBun = "./storage/framework/scripts/setup.sh +bun.sh",
|
|
46
|
-
UpgradeDependencies = "pkgx --update && bun install"
|
|
47
|
-
}
|
|
48
|
-
export declare enum Action {
|
|
49
|
-
Bump = "bump",
|
|
50
|
-
BuildStacks = "build/stacks",
|
|
51
|
-
BuildComponentLibs = "build/component-libs",
|
|
52
|
-
BuildVueComponentLib = "build-vue-component-lib",
|
|
53
|
-
BuildWebComponentLib = "build-web-component-lib",
|
|
54
|
-
BuildCli = "build/cli",
|
|
55
|
-
BuildCore = "build/core",
|
|
56
|
-
BuildDesktop = "build/desktop",
|
|
57
|
-
BuildDocs = "build/docs",
|
|
58
|
-
BuildFunctionLib = "build-function-lib",
|
|
59
|
-
BuildServer = "build/server",
|
|
60
|
-
Changelog = "changelog",
|
|
61
|
-
CheckPorts = "check/ports",
|
|
62
|
-
Clean = "clean",
|
|
63
|
-
DevComponents = "dev/components",
|
|
64
|
-
DevDashboard = "dev/dashboard",
|
|
65
|
-
DevSystemTray = "dev/system-tray",
|
|
66
|
-
Dev = "dev/views",
|
|
67
|
-
DevApi = "dev/api",
|
|
68
|
-
DevDesktop = "dev/desktop",
|
|
69
|
-
DevDocs = "dev/docs",
|
|
70
|
-
Deploy = "deploy/index",
|
|
71
|
-
DomainsAdd = "domains/add",
|
|
72
|
-
DomainsPurchase = "domains/purchase",
|
|
73
|
-
DomainsRemove = "domains/remove",
|
|
74
|
-
FindProjects = "find-projects",
|
|
75
|
-
Fresh = "fresh",
|
|
76
|
-
GenerateLibraryEntries = "generate/lib-entries",
|
|
77
|
-
Inspire = "inspire",
|
|
78
|
-
KeyGenerate = "key-generate",
|
|
79
|
-
MakeNotification = "make-notification",
|
|
80
|
-
Migrate = "migrate",
|
|
81
|
-
MigrateDns = "migrate/dns",
|
|
82
|
-
Seed = "seed",
|
|
83
|
-
Lint = "lint/index",
|
|
84
|
-
LintFix = "lint/fix",
|
|
85
|
-
Prepublish = "prepublish",
|
|
86
|
-
Release = "release",// ✅
|
|
87
|
-
ShowFeatureTestReport = "show-feature-test-report",
|
|
88
|
-
Test = "test",
|
|
89
|
-
TestUi = "test-ui",
|
|
90
|
-
TestUnit = "test-unit",
|
|
91
|
-
TestFeature = "test-feature",
|
|
92
|
-
TestCoverage = "test-coverage",
|
|
93
|
-
Tinker = "tinker",
|
|
94
|
-
Typecheck = "typecheck",
|
|
95
|
-
Upgrade = "upgrade/index",
|
|
96
|
-
UpgradeBinary = "upgrade/binary",// the `stacks` binary
|
|
97
|
-
UpgradeBun = "upgrade/bun",
|
|
98
|
-
UpgradeDeps = "upgrade/dependencies",
|
|
99
|
-
UpgradeShell = "upgrade/shell"
|
|
100
|
-
}
|