@stacksjs/types 0.57.3 โ†’ 0.58.19

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 CHANGED
@@ -15,7 +15,7 @@ wip
15
15
  wip
16
16
 
17
17
  ```bash
18
- pnpm i -D @stacksjs/types
18
+ bun install -d @stacksjs/types
19
19
  ```
20
20
 
21
21
  Now, you can use it in your project:
@@ -31,7 +31,7 @@ Learn more in the docs.
31
31
  ## ๐Ÿงช Testing
32
32
 
33
33
  ```bash
34
- pnpm test
34
+ bun test
35
35
  ```
36
36
 
37
37
  ## ๐Ÿ“ˆ Changelog
@@ -50,10 +50,10 @@ For help, discussion about best practices, or any other conversation that would
50
50
 
51
51
  For casual chit-chat with others using this package:
52
52
 
53
- [Join the Stacks Discord Server](https://discord.ow3.org)
53
+ [Join the Stacks Discord Server](https://discord.gg/stacksjs)
54
54
 
55
55
  ## ๐Ÿ“„ License
56
56
 
57
57
  The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information.
58
58
 
59
- Made with โค๏ธ
59
+ Made with ๐Ÿ’™
package/dist/index.js ADDED
@@ -0,0 +1,501 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getProtoOf = Object.getPrototypeOf;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __toESM = (mod, isNodeMode, target) => {
7
+ target = mod != null ? __create(__getProtoOf(mod)) : {};
8
+ const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
9
+ for (let key of __getOwnPropNames(mod))
10
+ if (!__hasOwnProp.call(to, key))
11
+ __defProp(to, key, {
12
+ get: () => mod[key],
13
+ enumerable: true
14
+ });
15
+ return to;
16
+ };
17
+ var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
18
+
19
+ // /Users/chrisbreuer/Code/stacks/node_modules/slugify/slugify.js
20
+ var require_slugify = __commonJS((exports, module) => {
21
+ (function(name, root, factory) {
22
+ if (typeof exports === "object") {
23
+ module.exports = factory();
24
+ module.exports["default"] = factory();
25
+ } else if (typeof define === "function" && define.amd) {
26
+ define(factory);
27
+ } else {
28
+ root[name] = factory();
29
+ }
30
+ })("slugify", exports, function() {
31
+ var charMap = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xA2":"cent","\xA3":"pound","\xA4":"currency","\xA5":"yen","\xA9":"(c)","\xAA":"a","\xAE":"(r)","\xBA":"o","\xC0":"A","\xC1":"A","\xC2":"A","\xC3":"A","\xC4":"A","\xC5":"A","\xC6":"AE","\xC7":"C","\xC8":"E","\xC9":"E","\xCA":"E","\xCB":"E","\xCC":"I","\xCD":"I","\xCE":"I","\xCF":"I","\xD0":"D","\xD1":"N","\xD2":"O","\xD3":"O","\xD4":"O","\xD5":"O","\xD6":"O","\xD8":"O","\xD9":"U","\xDA":"U","\xDB":"U","\xDC":"U","\xDD":"Y","\xDE":"TH","\xDF":"ss","\xE0":"a","\xE1":"a","\xE2":"a","\xE3":"a","\xE4":"a","\xE5":"a","\xE6":"ae","\xE7":"c","\xE8":"e","\xE9":"e","\xEA":"e","\xEB":"e","\xEC":"i","\xED":"i","\xEE":"i","\xEF":"i","\xF0":"d","\xF1":"n","\xF2":"o","\xF3":"o","\xF4":"o","\xF5":"o","\xF6":"o","\xF8":"o","\xF9":"u","\xFA":"u","\xFB":"u","\xFC":"u","\xFD":"y","\xFE":"th","\xFF":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010C":"C","\u010D":"c","\u010E":"D","\u010F":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011A":"E","\u011B":"e","\u011E":"G","\u011F":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012A":"i","\u012B":"i","\u012E":"I","\u012F":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013B":"L","\u013C":"l","\u013D":"L","\u013E":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014C":"O","\u014D":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015A":"S","\u015B":"s","\u015E":"S","\u015F":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016A":"u","\u016B":"u","\u016E":"U","\u016F":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017A":"z","\u017B":"Z","\u017C":"z","\u017D":"Z","\u017E":"z","\u018F":"E","\u0192":"f","\u01A0":"O","\u01A1":"o","\u01AF":"U","\u01B0":"u","\u01C8":"LJ","\u01C9":"lj","\u01CB":"NJ","\u01CC":"nj","\u0218":"S","\u0219":"s","\u021A":"T","\u021B":"t","\u0259":"e","\u02DA":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038A":"I","\u038C":"O","\u038E":"Y","\u038F":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039A":"K","\u039B":"L","\u039C":"M","\u039D":"N","\u039E":"3","\u039F":"O","\u03A0":"P","\u03A1":"R","\u03A3":"S","\u03A4":"T","\u03A5":"Y","\u03A6":"F","\u03A7":"X","\u03A8":"PS","\u03A9":"W","\u03AA":"I","\u03AB":"Y","\u03AC":"a","\u03AD":"e","\u03AE":"h","\u03AF":"i","\u03B0":"y","\u03B1":"a","\u03B2":"b","\u03B3":"g","\u03B4":"d","\u03B5":"e","\u03B6":"z","\u03B7":"h","\u03B8":"8","\u03B9":"i","\u03BA":"k","\u03BB":"l","\u03BC":"m","\u03BD":"n","\u03BE":"3","\u03BF":"o","\u03C0":"p","\u03C1":"r","\u03C2":"s","\u03C3":"s","\u03C4":"t","\u03C5":"y","\u03C6":"f","\u03C7":"x","\u03C8":"ps","\u03C9":"w","\u03CA":"i","\u03CB":"y","\u03CC":"o","\u03CD":"y","\u03CE":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040A":"NJ","\u040B":"C","\u040F":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041A":"K","\u041B":"L","\u041C":"M","\u041D":"N","\u041E":"O","\u041F":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042A":"U","\u042B":"Y","\u042C":"","\u042D":"E","\u042E":"Yu","\u042F":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043A":"k","\u043B":"l","\u043C":"m","\u043D":"n","\u043E":"o","\u043F":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044A":"u","\u044B":"y","\u044C":"","\u044D":"e","\u044E":"yu","\u044F":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045A":"nj","\u045B":"c","\u045D":"u","\u045F":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049A":"KH","\u049B":"kh","\u04A2":"NG","\u04A3":"ng","\u04AE":"UE","\u04AF":"ue","\u04B0":"U","\u04B1":"u","\u04BA":"H","\u04BB":"h","\u04D8":"AE","\u04D9":"ae","\u04E8":"OE","\u04E9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E'","\u0538":"Y'","\u0539":"T'","\u053A":"JH","\u053B":"I","\u053C":"L","\u053D":"X","\u053E":"C'","\u053F":"K","\u0540":"H","\u0541":"D'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054A":"P","\u054B":"J","\u054C":"R'","\u054D":"S","\u054E":"V","\u054F":"T","\u0550":"R","\u0551":"C","\u0553":"P'","\u0554":"Q'","\u0555":"O''","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062A":"t","\u062B":"th","\u062C":"j","\u062D":"h","\u062E":"kh","\u062F":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063A":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064A":"y","\u064B":"an","\u064C":"on","\u064D":"en","\u064E":"a","\u064F":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067E":"p","\u0686":"ch","\u0698":"zh","\u06A9":"k","\u06AF":"g","\u06CC":"y","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9","\u0E3F":"baht","\u10D0":"a","\u10D1":"b","\u10D2":"g","\u10D3":"d","\u10D4":"e","\u10D5":"v","\u10D6":"z","\u10D7":"t","\u10D8":"i","\u10D9":"k","\u10DA":"l","\u10DB":"m","\u10DC":"n","\u10DD":"o","\u10DE":"p","\u10DF":"zh","\u10E0":"r","\u10E1":"s","\u10E2":"t","\u10E3":"u","\u10E4":"f","\u10E5":"k","\u10E6":"gh","\u10E7":"q","\u10E8":"sh","\u10E9":"ch","\u10EA":"ts","\u10EB":"dz","\u10EC":"ts","\u10ED":"ch","\u10EE":"kh","\u10EF":"j","\u10F0":"h","\u1E62":"S","\u1E63":"s","\u1E80":"W","\u1E81":"w","\u1E82":"W","\u1E83":"w","\u1E84":"W","\u1E85":"w","\u1E9E":"SS","\u1EA0":"A","\u1EA1":"a","\u1EA2":"A","\u1EA3":"a","\u1EA4":"A","\u1EA5":"a","\u1EA6":"A","\u1EA7":"a","\u1EA8":"A","\u1EA9":"a","\u1EAA":"A","\u1EAB":"a","\u1EAC":"A","\u1EAD":"a","\u1EAE":"A","\u1EAF":"a","\u1EB0":"A","\u1EB1":"a","\u1EB2":"A","\u1EB3":"a","\u1EB4":"A","\u1EB5":"a","\u1EB6":"A","\u1EB7":"a","\u1EB8":"E","\u1EB9":"e","\u1EBA":"E","\u1EBB":"e","\u1EBC":"E","\u1EBD":"e","\u1EBE":"E","\u1EBF":"e","\u1EC0":"E","\u1EC1":"e","\u1EC2":"E","\u1EC3":"e","\u1EC4":"E","\u1EC5":"e","\u1EC6":"E","\u1EC7":"e","\u1EC8":"I","\u1EC9":"i","\u1ECA":"I","\u1ECB":"i","\u1ECC":"O","\u1ECD":"o","\u1ECE":"O","\u1ECF":"o","\u1ED0":"O","\u1ED1":"o","\u1ED2":"O","\u1ED3":"o","\u1ED4":"O","\u1ED5":"o","\u1ED6":"O","\u1ED7":"o","\u1ED8":"O","\u1ED9":"o","\u1EDA":"O","\u1EDB":"o","\u1EDC":"O","\u1EDD":"o","\u1EDE":"O","\u1EDF":"o","\u1EE0":"O","\u1EE1":"o","\u1EE2":"O","\u1EE3":"o","\u1EE4":"U","\u1EE5":"u","\u1EE6":"U","\u1EE7":"u","\u1EE8":"U","\u1EE9":"u","\u1EEA":"U","\u1EEB":"u","\u1EEC":"U","\u1EED":"u","\u1EEE":"U","\u1EEF":"u","\u1EF0":"U","\u1EF1":"u","\u1EF2":"Y","\u1EF3":"y","\u1EF4":"Y","\u1EF5":"y","\u1EF6":"Y","\u1EF7":"y","\u1EF8":"Y","\u1EF9":"y","\u2013":"-","\u2018":"'","\u2019":"'","\u201C":"\\"","\u201D":"\\"","\u201E":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20A0":"ecu","\u20A2":"cruzeiro","\u20A3":"french franc","\u20A4":"lira","\u20A5":"mill","\u20A6":"naira","\u20A7":"peseta","\u20A8":"rupee","\u20A9":"won","\u20AA":"new shequel","\u20AB":"dong","\u20AC":"euro","\u20AD":"kip","\u20AE":"tugrik","\u20AF":"drachma","\u20B0":"penny","\u20B1":"peso","\u20B2":"guarani","\u20B3":"austral","\u20B4":"hryvnia","\u20B5":"cedi","\u20B8":"kazakhstani tenge","\u20B9":"indian rupee","\u20BA":"turkish lira","\u20BD":"russian ruble","\u20BF":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221E":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\uFDFC":"rial","\uFEF5":"laa","\uFEF7":"laa","\uFEF9":"lai","\uFEFB":"la"}`);
32
+ var locales = JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042A":"A","\u042C":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044A":"a","\u044C":"y"},"de":{"\xC4":"AE","\xE4":"ae","\xD6":"OE","\xF6":"oe","\xDC":"UE","\xFC":"ue","\xDF":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221E":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xA2":"centavos","\xA3":"libras","\xA4":"moneda","\u20A3":"francos","\u2211":"suma","\u221E":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xA2":"centime","\xA3":"livre","\xA4":"devise","\u20A3":"franc","\u2211":"somme","\u221E":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xA2":"centavo","\u2211":"soma","\xA3":"libra","\u221E":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xD8":"OE","\xF8":"oe","\xC5":"AA","\xE5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xF8rre end"},"nb":{"&":"og","\xC5":"AA","\xC6":"AE","\xD8":"OE","\xE5":"aa","\xE6":"ae","\xF8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xC5":"AA","\xC4":"AE","\xD6":"OE","\xE5":"aa","\xE4":"ae","\xF6":"oe"}}');
33
+ function replace(string, options) {
34
+ if (typeof string !== "string") {
35
+ throw new Error("slugify: string argument expected");
36
+ }
37
+ options = typeof options === "string" ? { replacement: options } : options || {};
38
+ var locale = locales[options.locale] || {};
39
+ var replacement = options.replacement === undefined ? "-" : options.replacement;
40
+ var trim = options.trim === undefined ? true : options.trim;
41
+ var slug = string.normalize().split("").reduce(function(result, ch) {
42
+ var appendChar = locale[ch];
43
+ if (appendChar === undefined)
44
+ appendChar = charMap[ch];
45
+ if (appendChar === undefined)
46
+ appendChar = ch;
47
+ if (appendChar === replacement)
48
+ appendChar = " ";
49
+ return result + appendChar.replace(options.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
50
+ }, "");
51
+ if (options.strict) {
52
+ slug = slug.replace(/[^A-Za-z0-9\s]/g, "");
53
+ }
54
+ if (trim) {
55
+ slug = slug.trim();
56
+ }
57
+ slug = slug.replace(/\s+/g, replacement);
58
+ if (options.lower) {
59
+ slug = slug.toLowerCase();
60
+ }
61
+ return slug;
62
+ }
63
+ replace.extend = function(customMap) {
64
+ Object.assign(charMap, customMap);
65
+ };
66
+ return replace;
67
+ });
68
+ });
69
+
70
+ // /Users/chrisbreuer/Code/stacks/node_modules/pluralize/pluralize.js
71
+ var require_pluralize = __commonJS((exports, module) => {
72
+ (function(root, pluralize) {
73
+ if (typeof require === "function" && typeof exports === "object" && typeof module === "object") {
74
+ module.exports = pluralize();
75
+ } else if (typeof define === "function" && define.amd) {
76
+ define(function() {
77
+ return pluralize();
78
+ });
79
+ } else {
80
+ root.pluralize = pluralize();
81
+ }
82
+ })(exports, function() {
83
+ var pluralRules = [];
84
+ var singularRules = [];
85
+ var uncountables = {};
86
+ var irregularPlurals = {};
87
+ var irregularSingles = {};
88
+ function sanitizeRule(rule) {
89
+ if (typeof rule === "string") {
90
+ return new RegExp("^" + rule + "$", "i");
91
+ }
92
+ return rule;
93
+ }
94
+ function restoreCase(word, token) {
95
+ if (word === token)
96
+ return token;
97
+ if (word === word.toLowerCase())
98
+ return token.toLowerCase();
99
+ if (word === word.toUpperCase())
100
+ return token.toUpperCase();
101
+ if (word[0] === word[0].toUpperCase()) {
102
+ return token.charAt(0).toUpperCase() + token.substr(1).toLowerCase();
103
+ }
104
+ return token.toLowerCase();
105
+ }
106
+ function interpolate(str, args) {
107
+ return str.replace(/\$(\d{1,2})/g, function(match, index) {
108
+ return args[index] || "";
109
+ });
110
+ }
111
+ function replace(word, rule) {
112
+ return word.replace(rule[0], function(match, index) {
113
+ var result = interpolate(rule[1], arguments);
114
+ if (match === "") {
115
+ return restoreCase(word[index - 1], result);
116
+ }
117
+ return restoreCase(match, result);
118
+ });
119
+ }
120
+ function sanitizeWord(token, word, rules) {
121
+ if (!token.length || uncountables.hasOwnProperty(token)) {
122
+ return word;
123
+ }
124
+ var len = rules.length;
125
+ while (len--) {
126
+ var rule = rules[len];
127
+ if (rule[0].test(word))
128
+ return replace(word, rule);
129
+ }
130
+ return word;
131
+ }
132
+ function replaceWord(replaceMap, keepMap, rules) {
133
+ return function(word) {
134
+ var token = word.toLowerCase();
135
+ if (keepMap.hasOwnProperty(token)) {
136
+ return restoreCase(word, token);
137
+ }
138
+ if (replaceMap.hasOwnProperty(token)) {
139
+ return restoreCase(word, replaceMap[token]);
140
+ }
141
+ return sanitizeWord(token, word, rules);
142
+ };
143
+ }
144
+ function checkWord(replaceMap, keepMap, rules, bool) {
145
+ return function(word) {
146
+ var token = word.toLowerCase();
147
+ if (keepMap.hasOwnProperty(token))
148
+ return true;
149
+ if (replaceMap.hasOwnProperty(token))
150
+ return false;
151
+ return sanitizeWord(token, token, rules) === token;
152
+ };
153
+ }
154
+ function pluralize(word, count, inclusive) {
155
+ var pluralized = count === 1 ? pluralize.singular(word) : pluralize.plural(word);
156
+ return (inclusive ? count + " " : "") + pluralized;
157
+ }
158
+ pluralize.plural = replaceWord(irregularSingles, irregularPlurals, pluralRules);
159
+ pluralize.isPlural = checkWord(irregularSingles, irregularPlurals, pluralRules);
160
+ pluralize.singular = replaceWord(irregularPlurals, irregularSingles, singularRules);
161
+ pluralize.isSingular = checkWord(irregularPlurals, irregularSingles, singularRules);
162
+ pluralize.addPluralRule = function(rule, replacement) {
163
+ pluralRules.push([sanitizeRule(rule), replacement]);
164
+ };
165
+ pluralize.addSingularRule = function(rule, replacement) {
166
+ singularRules.push([sanitizeRule(rule), replacement]);
167
+ };
168
+ pluralize.addUncountableRule = function(word) {
169
+ if (typeof word === "string") {
170
+ uncountables[word.toLowerCase()] = true;
171
+ return;
172
+ }
173
+ pluralize.addPluralRule(word, "$0");
174
+ pluralize.addSingularRule(word, "$0");
175
+ };
176
+ pluralize.addIrregularRule = function(single, plural) {
177
+ plural = plural.toLowerCase();
178
+ single = single.toLowerCase();
179
+ irregularSingles[single] = plural;
180
+ irregularPlurals[plural] = single;
181
+ };
182
+ [
183
+ ["I", "we"],
184
+ ["me", "us"],
185
+ ["he", "they"],
186
+ ["she", "they"],
187
+ ["them", "them"],
188
+ ["myself", "ourselves"],
189
+ ["yourself", "yourselves"],
190
+ ["itself", "themselves"],
191
+ ["herself", "themselves"],
192
+ ["himself", "themselves"],
193
+ ["themself", "themselves"],
194
+ ["is", "are"],
195
+ ["was", "were"],
196
+ ["has", "have"],
197
+ ["this", "these"],
198
+ ["that", "those"],
199
+ ["echo", "echoes"],
200
+ ["dingo", "dingoes"],
201
+ ["volcano", "volcanoes"],
202
+ ["tornado", "tornadoes"],
203
+ ["torpedo", "torpedoes"],
204
+ ["genus", "genera"],
205
+ ["viscus", "viscera"],
206
+ ["stigma", "stigmata"],
207
+ ["stoma", "stomata"],
208
+ ["dogma", "dogmata"],
209
+ ["lemma", "lemmata"],
210
+ ["schema", "schemata"],
211
+ ["anathema", "anathemata"],
212
+ ["ox", "oxen"],
213
+ ["axe", "axes"],
214
+ ["die", "dice"],
215
+ ["yes", "yeses"],
216
+ ["foot", "feet"],
217
+ ["eave", "eaves"],
218
+ ["goose", "geese"],
219
+ ["tooth", "teeth"],
220
+ ["quiz", "quizzes"],
221
+ ["human", "humans"],
222
+ ["proof", "proofs"],
223
+ ["carve", "carves"],
224
+ ["valve", "valves"],
225
+ ["looey", "looies"],
226
+ ["thief", "thieves"],
227
+ ["groove", "grooves"],
228
+ ["pickaxe", "pickaxes"],
229
+ ["passerby", "passersby"]
230
+ ].forEach(function(rule) {
231
+ return pluralize.addIrregularRule(rule[0], rule[1]);
232
+ });
233
+ [
234
+ [/s?$/i, "s"],
235
+ [/[^\u0000-\u007F]$/i, "$0"],
236
+ [/([^aeiou]ese)$/i, "$1"],
237
+ [/(ax|test)is$/i, "$1es"],
238
+ [/(alias|[^aou]us|t[lm]as|gas|ris)$/i, "$1es"],
239
+ [/(e[mn]u)s?$/i, "$1s"],
240
+ [/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i, "$1"],
241
+ [/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, "$1i"],
242
+ [/(alumn|alg|vertebr)(?:a|ae)$/i, "$1ae"],
243
+ [/(seraph|cherub)(?:im)?$/i, "$1im"],
244
+ [/(her|at|gr)o$/i, "$1oes"],
245
+ [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i, "$1a"],
246
+ [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i, "$1a"],
247
+ [/sis$/i, "ses"],
248
+ [/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i, "$1$2ves"],
249
+ [/([^aeiouy]|qu)y$/i, "$1ies"],
250
+ [/([^ch][ieo][ln])ey$/i, "$1ies"],
251
+ [/(x|ch|ss|sh|zz)$/i, "$1es"],
252
+ [/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i, "$1ices"],
253
+ [/\b((?:tit)?m|l)(?:ice|ouse)$/i, "$1ice"],
254
+ [/(pe)(?:rson|ople)$/i, "$1ople"],
255
+ [/(child)(?:ren)?$/i, "$1ren"],
256
+ [/eaux$/i, "$0"],
257
+ [/m[ae]n$/i, "men"],
258
+ ["thou", "you"]
259
+ ].forEach(function(rule) {
260
+ return pluralize.addPluralRule(rule[0], rule[1]);
261
+ });
262
+ [
263
+ [/s$/i, ""],
264
+ [/(ss)$/i, "$1"],
265
+ [/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i, "$1fe"],
266
+ [/(ar|(?:wo|[ae])l|[eo][ao])ves$/i, "$1f"],
267
+ [/ies$/i, "y"],
268
+ [/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i, "$1ie"],
269
+ [/\b(mon|smil)ies$/i, "$1ey"],
270
+ [/\b((?:tit)?m|l)ice$/i, "$1ouse"],
271
+ [/(seraph|cherub)im$/i, "$1"],
272
+ [/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i, "$1"],
273
+ [/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i, "$1sis"],
274
+ [/(movie|twelve|abuse|e[mn]u)s$/i, "$1"],
275
+ [/(test)(?:is|es)$/i, "$1is"],
276
+ [/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, "$1us"],
277
+ [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i, "$1um"],
278
+ [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i, "$1on"],
279
+ [/(alumn|alg|vertebr)ae$/i, "$1a"],
280
+ [/(cod|mur|sil|vert|ind)ices$/i, "$1ex"],
281
+ [/(matr|append)ices$/i, "$1ix"],
282
+ [/(pe)(rson|ople)$/i, "$1rson"],
283
+ [/(child)ren$/i, "$1"],
284
+ [/(eau)x?$/i, "$1"],
285
+ [/men$/i, "man"]
286
+ ].forEach(function(rule) {
287
+ return pluralize.addSingularRule(rule[0], rule[1]);
288
+ });
289
+ [
290
+ "adulthood",
291
+ "advice",
292
+ "agenda",
293
+ "aid",
294
+ "aircraft",
295
+ "alcohol",
296
+ "ammo",
297
+ "analytics",
298
+ "anime",
299
+ "athletics",
300
+ "audio",
301
+ "bison",
302
+ "blood",
303
+ "bream",
304
+ "buffalo",
305
+ "butter",
306
+ "carp",
307
+ "cash",
308
+ "chassis",
309
+ "chess",
310
+ "clothing",
311
+ "cod",
312
+ "commerce",
313
+ "cooperation",
314
+ "corps",
315
+ "debris",
316
+ "diabetes",
317
+ "digestion",
318
+ "elk",
319
+ "energy",
320
+ "equipment",
321
+ "excretion",
322
+ "expertise",
323
+ "firmware",
324
+ "flounder",
325
+ "fun",
326
+ "gallows",
327
+ "garbage",
328
+ "graffiti",
329
+ "hardware",
330
+ "headquarters",
331
+ "health",
332
+ "herpes",
333
+ "highjinks",
334
+ "homework",
335
+ "housework",
336
+ "information",
337
+ "jeans",
338
+ "justice",
339
+ "kudos",
340
+ "labour",
341
+ "literature",
342
+ "machinery",
343
+ "mackerel",
344
+ "mail",
345
+ "media",
346
+ "mews",
347
+ "moose",
348
+ "music",
349
+ "mud",
350
+ "manga",
351
+ "news",
352
+ "only",
353
+ "personnel",
354
+ "pike",
355
+ "plankton",
356
+ "pliers",
357
+ "police",
358
+ "pollution",
359
+ "premises",
360
+ "rain",
361
+ "research",
362
+ "rice",
363
+ "salmon",
364
+ "scissors",
365
+ "series",
366
+ "sewage",
367
+ "shambles",
368
+ "shrimp",
369
+ "software",
370
+ "species",
371
+ "staff",
372
+ "swine",
373
+ "tennis",
374
+ "traffic",
375
+ "transportation",
376
+ "trout",
377
+ "tuna",
378
+ "wealth",
379
+ "welfare",
380
+ "whiting",
381
+ "wildebeest",
382
+ "wildlife",
383
+ "you",
384
+ /pok[eรฉ]mon$/i,
385
+ /[^aeiou]ese$/i,
386
+ /deer$/i,
387
+ /fish$/i,
388
+ /measles$/i,
389
+ /o[iu]s$/i,
390
+ /pox$/i,
391
+ /sheep$/i
392
+ ].forEach(pluralize.addUncountableRule);
393
+ return pluralize;
394
+ });
395
+ });
396
+ // src/cron-jobs.ts
397
+ var Every;
398
+ (function(Every2) {
399
+ Every2["Second"] = "* * * * * *";
400
+ Every2["FiveSeconds"] = "*/5 * * * * *";
401
+ Every2["TenSeconds"] = "*/10 * * * * *";
402
+ Every2["ThirtySeconds"] = "*/30 * * * * *";
403
+ Every2["Minute"] = "* * * * *";
404
+ Every2["Hour"] = "0 * * * *";
405
+ Every2["HalfHour"] = "0,30 * * * *";
406
+ Every2["Day"] = "0 0 * * *";
407
+ Every2["Month"] = "0 0 1 * *";
408
+ Every2["Week"] = "0 0 * * 0";
409
+ Every2["Year"] = "0 0 1 1 *";
410
+ Every2["FifthMinute"] = "*/5 * * * *";
411
+ Every2["TenthMinute"] = "*/10 * * * *";
412
+ })(Every || (Every = {}));
413
+ // src/docs.ts
414
+ var SocialLinkIcon;
415
+ (function(SocialLinkIcon2) {
416
+ SocialLinkIcon2["Discord"] = "discord";
417
+ SocialLinkIcon2["Facebook"] = "facebook";
418
+ SocialLinkIcon2["GitHub"] = "github";
419
+ SocialLinkIcon2["Instagram"] = "instagram";
420
+ SocialLinkIcon2["LinkedIn"] = "linkedin";
421
+ SocialLinkIcon2["Mastodon"] = "mastodon";
422
+ SocialLinkIcon2["Slack"] = "slack";
423
+ SocialLinkIcon2["Twitter"] = "twitter";
424
+ SocialLinkIcon2["YouTube"] = "youtube";
425
+ })(SocialLinkIcon || (SocialLinkIcon = {}));
426
+ // src/exit-code.ts
427
+ var ExitCode;
428
+ (function(ExitCode2) {
429
+ ExitCode2[ExitCode2["Success"] = 0] = "Success";
430
+ ExitCode2[ExitCode2["FatalError"] = 1] = "FatalError";
431
+ ExitCode2[ExitCode2["InvalidArgument"] = 9] = "InvalidArgument";
432
+ })(ExitCode || (ExitCode = {}));
433
+ // /Users/chrisbreuer/Code/stacks/storage/framework/core/src/strings/src/utils.ts
434
+ var import_slugify = __toESM(require_slugify(), 1);
435
+ // /Users/chrisbreuer/Code/stacks/node_modules/title-case/dist/index.js
436
+ var WORD_SEPARATORS = new Set(["\u2014", "\u2013", "-", "\u2015", "/"]);
437
+ var SENTENCE_TERMINATORS = new Set([".", "!", "?"]);
438
+ var TITLE_TERMINATORS = new Set([
439
+ ...SENTENCE_TERMINATORS,
440
+ ":",
441
+ '"',
442
+ "'",
443
+ "\u201D"
444
+ ]);
445
+ var SMALL_WORDS = new Set([
446
+ "a",
447
+ "an",
448
+ "and",
449
+ "as",
450
+ "at",
451
+ "because",
452
+ "but",
453
+ "by",
454
+ "en",
455
+ "for",
456
+ "if",
457
+ "in",
458
+ "neither",
459
+ "nor",
460
+ "of",
461
+ "on",
462
+ "only",
463
+ "or",
464
+ "over",
465
+ "per",
466
+ "so",
467
+ "some",
468
+ "than",
469
+ "that",
470
+ "the",
471
+ "to",
472
+ "up",
473
+ "upon",
474
+ "v",
475
+ "versus",
476
+ "via",
477
+ "vs",
478
+ "when",
479
+ "with",
480
+ "without",
481
+ "yet"
482
+ ]);
483
+ // /Users/chrisbreuer/Code/stacks/storage/framework/core/src/strings/src/pluralize.ts
484
+ var pluralize = __toESM(require_pluralize(), 1);
485
+ // /Users/chrisbreuer/Code/stacks/storage/framework/core/src/strings/src/helpers.ts
486
+ function toString(v) {
487
+ return Object.prototype.toString.call(v);
488
+ }
489
+ // src/helpers.ts
490
+ function getTypeName(v) {
491
+ if (v === null)
492
+ return "null";
493
+ const type = toString(v).slice(8, -1).toLowerCase();
494
+ return typeof v === "object" || typeof v === "function" ? type : typeof v;
495
+ }
496
+ export {
497
+ getTypeName,
498
+ SocialLinkIcon,
499
+ ExitCode,
500
+ Every
501
+ };
package/package.json CHANGED
@@ -1,17 +1,16 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.57.3",
5
- "packageManager": "pnpm@8.6.6",
4
+ "version": "0.58.19",
6
5
  "description": "The Stacks framework types.",
7
6
  "author": "Chris Breuer",
8
7
  "license": "MIT",
9
8
  "funding": "https://github.com/sponsors/chrisbbreuer",
10
- "homepage": "https://github.com/stacksjs/stacks/tree/main/.stacks/types#readme",
9
+ "homepage": "https://github.com/stacksjs/stacks/tree/main/stacks/types#readme",
11
10
  "repository": {
12
11
  "type": "git",
13
12
  "url": "git+https://github.com/stacksjs/stacks.git",
14
- "directory": "./.stacks/types"
13
+ "directory": "./storage/framework/core/src/types"
15
14
  },
16
15
  "bugs": {
17
16
  "url": "https://github.com/stacksjs/stacks/issues"
@@ -24,63 +23,64 @@
24
23
  ],
25
24
  "exports": {
26
25
  ".": {
26
+ "bun": "./src/index.ts",
27
27
  "types": "./dist/index.d.ts",
28
- "import": "./dist/index.mjs"
28
+ "import": "./dist/index.js"
29
29
  },
30
30
  "./*": "./*"
31
31
  },
32
- "module": "dist/index.mjs",
32
+ "module": "dist/index.js",
33
33
  "types": "dist/index.d.ts",
34
34
  "contributors": [
35
- "Chris Breuer <chris@ow3.org>"
35
+ "Chris Breuer <chris@stacksjs.org>"
36
36
  ],
37
37
  "files": [
38
- "dist",
39
- "README.md"
38
+ "README.md",
39
+ "dist"
40
40
  ],
41
+ "scripts": {
42
+ "build": "bun --bun build.ts",
43
+ "typecheck": "bun --bun tsc --noEmit"
44
+ },
41
45
  "peerDependencies": {
42
- "neverthrow": "^6.0.0"
46
+ "@stacksjs/validation": "workspace:*",
47
+ "neverthrow": "^6.1.0"
43
48
  },
44
49
  "dependencies": {
45
- "@mdit-vue/plugin-component": "^0.12.0",
46
- "@mdit-vue/plugin-frontmatter": "^0.12.0",
47
- "@mdit-vue/types": "^0.12.0",
48
- "@novu/stateless": "^0.16.2",
49
- "@rollup/pluginutils": "^5.0.2",
50
- "@types/bcryptjs": "^2.4.2",
51
- "@types/crypto-js": "^4.1.1",
52
- "@types/eslint": "^8.40.2",
53
- "@types/fs-extra": "^11.0.1",
54
- "@types/markdown-it-link-attributes": "^3.0.1",
50
+ "@mdit-vue/plugin-component": "^2.0.0",
51
+ "@mdit-vue/plugin-frontmatter": "^2.0.0",
52
+ "@mdit-vue/types": "^2.0.0",
53
+ "@novu/stateless": "^0.22.0",
54
+ "@rollup/pluginutils": "^5.1.0",
55
+ "@stacksjs/validation": "workspace:*",
56
+ "@types/aws4": "^1.11.6",
57
+ "@types/bcryptjs": "^2.4.6",
58
+ "@types/crypto-js": "^4.2.1",
59
+ "@types/eslint": "^8.56.2",
60
+ "@types/fs-extra": "^11.0.4",
61
+ "@types/markdown-it-link-attributes": "^3.0.4",
55
62
  "@types/minimatch": "^5.1.2",
56
- "@types/node": "^18.16.19",
57
- "@types/nprogress": "^0.2.0",
58
- "@types/pluralize": "^0.0.29",
59
- "@vinejs/vine": "^1.4.1",
63
+ "@types/node": "^20.11.0",
64
+ "@types/nprogress": "^0.2.3",
65
+ "@vinejs/vine": "^1.7.0",
66
+ "bun-types": "canary",
60
67
  "cac": "^6.7.14",
61
- "execa": "^7.1.1",
62
- "markdown-it": "^13.0.1",
63
- "meilisearch": "^0.33.0",
64
- "neverthrow": "^6.0.0",
65
- "ora": "^6.3.1",
66
- "unocss": "^0.53.4",
67
- "unplugin-auto-import": "^0.16.4",
68
- "unplugin-vue-components": "^0.25.1",
69
- "vite": "^4.3.9",
70
- "vite-plugin-inspect": "^0.7.32",
71
- "vite-plugin-pwa": "^0.16.4",
72
- "vite-plugin-vue-layouts": "^0.8.0",
73
- "vite-ssg": "^0.23.0",
74
- "vitepress": "1.0.0-beta.5",
75
- "vue": "^3.3.4"
68
+ "markdown-it": "^14.0.0",
69
+ "meilisearch": "^0.36.0",
70
+ "neverthrow": "^6.1.0",
71
+ "ora": "^8.0.1",
72
+ "unocss": "^0.58.3",
73
+ "unplugin-auto-import": "^0.17.3",
74
+ "unplugin-vue-components": "^0.26.0",
75
+ "vite": "^5.0.11",
76
+ "vite-plugin-inspect": "^0.8.1",
77
+ "vite-plugin-pwa": "^0.17.4",
78
+ "vite-ssg": "^0.23.6",
79
+ "vitepress": "1.0.0-rc.36",
80
+ "vue": "^3.4.10"
76
81
  },
77
82
  "devDependencies": {
78
- "typescript": "^5.1.6",
79
- "unbuild": "^1.2.1"
80
- },
81
- "scripts": {
82
- "build": "mkdist",
83
- "dev": "unbuild --stub",
84
- "typecheck": "tsc --noEmit"
83
+ "aws-cdk-lib": "^2.119.0",
84
+ "typescript": "^5.3.3"
85
85
  }
86
- }
86
+ }
package/LICENSE.md DELETED
@@ -1,21 +0,0 @@
1
- # MIT License
2
-
3
- Copyright (c) 2022 Open Web Foundation
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
package/dist/app.mjs DELETED
File without changes
File without changes
package/dist/build.mjs DELETED
File without changes
package/dist/cache.mjs DELETED
File without changes
package/dist/cdn.mjs DELETED
File without changes
package/dist/cli.mjs DELETED
@@ -1,88 +0,0 @@
1
- export var NpmScript = /* @__PURE__ */ ((NpmScript2) => {
2
- NpmScript2["Build"] = "build";
3
- NpmScript2["BuildComponents"] = "vite build --config ./core/build/src/vue-components.ts";
4
- NpmScript2["BuildWebComponents"] = "build:web-components";
5
- NpmScript2["BuildFunctions"] = "build:functions";
6
- NpmScript2["BuildDocs"] = "build:docs";
7
- NpmScript2["BuildStacks"] = "build:stacks";
8
- NpmScript2["Clean"] = "rimraf pnpm-lock.yaml node_modules/ .stacks/**/node_modules .stacks/**/dist";
9
- NpmScript2["Dev"] = "dev";
10
- NpmScript2["DevComponents"] = "vite --config ./core/build/src/vue-components.ts";
11
- NpmScript2["DevDocs"] = "npx vitepress dev ./docs/src";
12
- NpmScript2["DevDesktop"] = "dev:desktop";
13
- NpmScript2["DevPages"] = "dev:pages";
14
- NpmScript2["DevFunctions"] = "dev:functions";
15
- NpmScript2["Fresh"] = "fresh";
16
- NpmScript2["Lint"] = "eslint .";
17
- NpmScript2["LintFix"] = "eslint . --fix";
18
- NpmScript2["LintPackageJson"] = "npx publint";
19
- NpmScript2["MakeStack"] = "make:stack";
20
- NpmScript2["Test"] = "vitest --config vitest.config.ts";
21
- NpmScript2["TestUnit"] = "vitest --config vitest.config.ts";
22
- NpmScript2["TestFeature"] = "playwright test --config playwright.config.ts";
23
- NpmScript2["TestUi"] = "vitest --config vitest.config.ts --ui";
24
- NpmScript2["TestCoverage"] = "vitest --config vitest.config.ts --coverage";
25
- NpmScript2["TestTypes"] = "vue-npx tsc --noEmit";
26
- NpmScript2["Generate"] = "generate";
27
- NpmScript2["GenerateTypes"] = "generate:types";
28
- NpmScript2["GenerateEntries"] = "generate:entries";
29
- NpmScript2["GenerateVueCompat"] = "generate:vue-compatibility";
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["Wip"] = "wip";
45
- NpmScript2["UpgradeNode"] = "./.stacks/scripts/setup.sh +nodejs.org";
46
- NpmScript2["UpgradeDependencies"] = "pnpm up";
47
- return NpmScript2;
48
- })(NpmScript || {});
49
- export var Action = /* @__PURE__ */ ((Action2) => {
50
- Action2["Bump"] = "bump";
51
- Action2["BuildStacks"] = "build/stacks";
52
- Action2["BuildComponentLibs"] = "build/component-libs";
53
- Action2["BuildVueComponentLib"] = "build-vue-component-lib";
54
- Action2["BuildWebComponentLib"] = "build-web-component-lib";
55
- Action2["BuildCli"] = "build-cli";
56
- Action2["BuildCore"] = "build/core";
57
- Action2["BuildDocs"] = "build-docs";
58
- Action2["BuildFunctionLib"] = "build-function-lib";
59
- Action2["Changelog"] = "changelog";
60
- Action2["Clean"] = "clean";
61
- Action2["DevComponents"] = "dev/components";
62
- Action2["Dev"] = "dev/index";
63
- Action2["DevDocs"] = "dev/docs";
64
- Action2["Deploy"] = "deploy";
65
- Action2["Fresh"] = "fresh";
66
- Action2["GenerateLibraryEntries"] = "generate/lib-entries";
67
- Action2["Inspire"] = "inspire";
68
- Action2["KeyGenerate"] = "key-generate";
69
- Action2["MakeNotification"] = "make-notification";
70
- Action2["Migrate"] = "migrate";
71
- Action2["Seed"] = "seed";
72
- Action2["Lint"] = "lint/index";
73
- Action2["LintFix"] = "lint/fix";
74
- Action2["Prepublish"] = "prepublish";
75
- Action2["Release"] = "release";
76
- Action2["ShowFeatureTestReport"] = "show-feature-test-report";
77
- Action2["Test"] = "test";
78
- Action2["TestUi"] = "test-ui";
79
- Action2["TestUnit"] = "test-unit";
80
- Action2["TestFeature"] = "test-feature";
81
- Action2["TestCoverage"] = "test-coverage";
82
- Action2["Tinker"] = "tinker";
83
- Action2["Typecheck"] = "typecheck";
84
- Action2["Upgrade"] = "upgrade/index";
85
- Action2["UpgradeNode"] = "upgrade/node";
86
- Action2["UpgradePackageManager"] = "upgrade/package-manager";
87
- return Action2;
88
- })(Action || {});
File without changes
@@ -1,12 +0,0 @@
1
- export var Every = /* @__PURE__ */ ((Every2) => {
2
- Every2["Minute"] = "* * * * *";
3
- Every2["Hour"] = "0 * * * *";
4
- Every2["HalfHour"] = "0,30 * * * *";
5
- Every2["Day"] = "0 0 * * *";
6
- Every2["Month"] = "0 0 1 * *";
7
- Every2["Week"] = "0 0 * * 0";
8
- Every2["Year"] = "0 0 1 1 *";
9
- Every2["FifthMinute"] = "*/5 * * * *";
10
- Every2["TenthMinute"] = "*/10 * * * *";
11
- return Every2;
12
- })(Every || {});
package/dist/database.mjs DELETED
File without changes
package/dist/debug.mjs DELETED
File without changes
package/dist/deploy.mjs DELETED
File without changes
package/dist/dns.mjs DELETED
File without changes
package/dist/docs.mjs DELETED
File without changes
package/dist/errors.mjs DELETED
@@ -1,12 +0,0 @@
1
- import {
2
- Err,
3
- Ok,
4
- Result,
5
- ResultAsync
6
- } from "neverthrow";
7
- export {
8
- Err,
9
- Ok,
10
- Result,
11
- ResultAsync
12
- };
package/dist/events.mjs DELETED
File without changes
@@ -1,6 +0,0 @@
1
- export var ExitCode = /* @__PURE__ */ ((ExitCode2) => {
2
- ExitCode2[ExitCode2["Success"] = 0] = "Success";
3
- ExitCode2[ExitCode2["FatalError"] = 1] = "FatalError";
4
- ExitCode2[ExitCode2["InvalidArgument"] = 9] = "InvalidArgument";
5
- return ExitCode2;
6
- })(ExitCode || {});
package/dist/fs.mjs DELETED
File without changes
package/dist/git.mjs DELETED
File without changes
package/dist/hashing.mjs DELETED
File without changes
package/dist/i18n.mjs DELETED
File without changes
package/dist/index.mjs DELETED
@@ -1,39 +0,0 @@
1
- export * from "./app.mjs";
2
- export * from "./auto-imports.mjs";
3
- export * from "./build.mjs";
4
- export * from "./cache.mjs";
5
- export * from "./cdn.mjs";
6
- export * from "./cli.mjs";
7
- export * from "./components.mjs";
8
- export * from "./cron-jobs.mjs";
9
- export * from "./database.mjs";
10
- export * from "./debug.mjs";
11
- export * from "./deploy.mjs";
12
- export * from "./dns.mjs";
13
- export * from "./docs.mjs";
14
- export * from "./errors.mjs";
15
- export * from "./events.mjs";
16
- export * from "./exit-code.mjs";
17
- export * from "./fs.mjs";
18
- export * from "./git.mjs";
19
- export * from "./hashing.mjs";
20
- export * from "./i18n.mjs";
21
- export * from "./inspect.mjs";
22
- export * from "./library.mjs";
23
- export * from "./manifest.mjs";
24
- export * from "./model.mjs";
25
- export * from "./money.mjs";
26
- export * from "./notifications.mjs";
27
- export * from "./pages.mjs";
28
- export * from "./payments.mjs";
29
- export * from "./promise.mjs";
30
- export * from "./pwa.mjs";
31
- export * from "./queue.mjs";
32
- export * from "./reactivity.mjs";
33
- export * from "./router.mjs";
34
- export * from "./search-engine.mjs";
35
- export * from "./ssg.mjs";
36
- export * from "./stacks.mjs";
37
- export * from "./tables.mjs";
38
- export * from "./ui.mjs";
39
- export * from "./utils.mjs";
package/dist/inspect.mjs DELETED
File without changes
package/dist/layout.mjs DELETED
File without changes
package/dist/library.mjs DELETED
File without changes
package/dist/manifest.mjs DELETED
File without changes
package/dist/model.mjs DELETED
File without changes
package/dist/money.mjs DELETED
File without changes
File without changes
package/dist/pages.mjs DELETED
File without changes
package/dist/payments.mjs DELETED
File without changes
package/dist/promise.mjs DELETED
File without changes
package/dist/pwa.mjs DELETED
File without changes
package/dist/queue.mjs DELETED
File without changes
File without changes
package/dist/router.mjs DELETED
File without changes
File without changes
package/dist/ssg.mjs DELETED
File without changes
package/dist/stacks.mjs DELETED
File without changes
package/dist/tables.mjs DELETED
File without changes
package/dist/ui.mjs DELETED
File without changes
package/dist/utils.mjs DELETED
File without changes