@stacksjs/enums 0.58.47
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/README.md +54 -0
- package/package.json +49 -0
- package/src/index.ts +96 -0
package/README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Stacks Enums
|
|
2
|
+
|
|
3
|
+
Stacks enums.
|
|
4
|
+
|
|
5
|
+
## โ๏ธ Features
|
|
6
|
+
|
|
7
|
+
- a collection of Stacks relevant enums
|
|
8
|
+
|
|
9
|
+
## ๐ค Usage
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
bun install -d @stacksjs/enums
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
To view the full documentation, please visit [https://stacksjs.org/enums](https://stacksjs.org/enums).
|
|
16
|
+
|
|
17
|
+
## ๐งช Testing
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
bun test
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## ๐ Changelog
|
|
24
|
+
|
|
25
|
+
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
|
|
26
|
+
|
|
27
|
+
## ๐ Contributing
|
|
28
|
+
|
|
29
|
+
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
|
|
30
|
+
|
|
31
|
+
## ๐ Community
|
|
32
|
+
|
|
33
|
+
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
|
|
34
|
+
|
|
35
|
+
[Discussions on GitHub](https://github.com/stacksjs/stacks/discussions)
|
|
36
|
+
|
|
37
|
+
For casual chit-chat with others using this package:
|
|
38
|
+
|
|
39
|
+
[Join the Stacks Discord Server](https://discord.gg/stacksjs)
|
|
40
|
+
|
|
41
|
+
## ๐๐ผ Credits
|
|
42
|
+
|
|
43
|
+
Many thanks to the following core technologies & people who have contributed to this package:
|
|
44
|
+
|
|
45
|
+
- [Collect.js](https://github.com/ecrmnn/collect.js)
|
|
46
|
+
- [Laravel](https://laravel.com/)
|
|
47
|
+
- [Chris Breuer](https://github.com/chrisbbreuer)
|
|
48
|
+
- [All Contributors](../../contributors)
|
|
49
|
+
|
|
50
|
+
## ๐ License
|
|
51
|
+
|
|
52
|
+
The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information.
|
|
53
|
+
|
|
54
|
+
Made with ๐
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@stacksjs/enums",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.58.47",
|
|
5
|
+
"description": "Stacks enums.",
|
|
6
|
+
"author": "Chris Breuer",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"funding": "https://github.com/sponsors/chrisbbreuer",
|
|
9
|
+
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/enums#readme",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
13
|
+
"directory": "./storage/framework/core/enums"
|
|
14
|
+
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/stacksjs/stacks/issues"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"enums",
|
|
20
|
+
"utilities",
|
|
21
|
+
"functions",
|
|
22
|
+
"stacks"
|
|
23
|
+
],
|
|
24
|
+
"contributors": [
|
|
25
|
+
"Chris Breuer <chris@stacksjs.org>"
|
|
26
|
+
],
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"bun": "./src/index.ts",
|
|
30
|
+
"import": "./dist/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./*": {
|
|
33
|
+
"bun": "./*",
|
|
34
|
+
"import": "./dist/*"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"README.md",
|
|
39
|
+
"src"
|
|
40
|
+
],
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "bun --bun build.ts",
|
|
43
|
+
"typecheck": "bun --bun tsc --noEmit",
|
|
44
|
+
"prepublishOnly": "bun --bun run build"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@stacksjs/development": "workspace:*"
|
|
48
|
+
}
|
|
49
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The available npm scripts within the Stacks toolkit.
|
|
3
|
+
*/
|
|
4
|
+
export 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 = '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 = 'eslint .',
|
|
19
|
+
LintFix = '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
|
+
|
|
49
|
+
export enum Action {
|
|
50
|
+
Bump = 'bump',
|
|
51
|
+
BuildStacks = 'build/stacks',
|
|
52
|
+
BuildComponentLibs = 'build/component-libs',
|
|
53
|
+
BuildVueComponentLib = 'build-vue-component-lib',
|
|
54
|
+
BuildWebComponentLib = 'build-web-component-lib',
|
|
55
|
+
BuildCli = 'build/cli',
|
|
56
|
+
BuildCore = 'build/core',
|
|
57
|
+
BuildDesktop = 'build/desktop',
|
|
58
|
+
BuildDocs = 'build/docs',
|
|
59
|
+
BuildFunctionLib = 'build-function-lib',
|
|
60
|
+
Changelog = 'changelog',
|
|
61
|
+
Clean = 'clean',
|
|
62
|
+
DevComponents = 'dev/components',
|
|
63
|
+
DevDashboard = 'dev/dashboard',
|
|
64
|
+
DevSystemTray = 'dev/system-tray',
|
|
65
|
+
Dev = 'dev/views',
|
|
66
|
+
DevApi = 'dev/api',
|
|
67
|
+
DevDesktop = 'dev/desktop',
|
|
68
|
+
DevDocs = 'dev/docs',
|
|
69
|
+
Deploy = 'deploy/index',
|
|
70
|
+
DomainsAdd = 'domains/add',
|
|
71
|
+
DomainsPurchase = 'domains/purchase',
|
|
72
|
+
DomainsRemove = 'domains/remove',
|
|
73
|
+
Fresh = 'fresh',
|
|
74
|
+
GenerateLibraryEntries = 'generate/lib-entries',
|
|
75
|
+
Inspire = 'inspire',
|
|
76
|
+
KeyGenerate = 'key-generate',
|
|
77
|
+
MakeNotification = 'make-notification',
|
|
78
|
+
Migrate = 'migrate',
|
|
79
|
+
MigrateDns = 'migrate/dns',
|
|
80
|
+
Seed = 'seed',
|
|
81
|
+
Lint = 'lint/index',
|
|
82
|
+
LintFix = 'lint/fix',
|
|
83
|
+
Prepublish = 'prepublish',
|
|
84
|
+
Release = 'release', // โ
|
|
85
|
+
ShowFeatureTestReport = 'show-feature-test-report',
|
|
86
|
+
StartCaddy = 'start-caddy',
|
|
87
|
+
Test = 'test',
|
|
88
|
+
TestUi = 'test-ui',
|
|
89
|
+
TestUnit = 'test-unit',
|
|
90
|
+
TestFeature = 'test-feature',
|
|
91
|
+
TestCoverage = 'test-coverage',
|
|
92
|
+
Tinker = 'tinker',
|
|
93
|
+
Typecheck = 'typecheck',
|
|
94
|
+
Upgrade = 'upgrade/index',
|
|
95
|
+
UpgradeBun = 'upgrade/bun',
|
|
96
|
+
}
|