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