@arkyn/templates 3.0.1-beta.20 → 3.0.1-beta.200

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,93 @@
1
+ //#region src/countryCurrencies.ts
2
+ var e = {
3
+ USD: {
4
+ countryLanguage: "en-US",
5
+ countryCurrency: "USD"
6
+ },
7
+ EUR: {
8
+ countryLanguage: "de-DE",
9
+ countryCurrency: "EUR"
10
+ },
11
+ JPY: {
12
+ countryLanguage: "ja-JP",
13
+ countryCurrency: "JPY"
14
+ },
15
+ GBP: {
16
+ countryLanguage: "en-GB",
17
+ countryCurrency: "GBP"
18
+ },
19
+ AUD: {
20
+ countryLanguage: "en-AU",
21
+ countryCurrency: "AUD"
22
+ },
23
+ CAD: {
24
+ countryLanguage: "en-CA",
25
+ countryCurrency: "CAD"
26
+ },
27
+ CHF: {
28
+ countryLanguage: "de-CH",
29
+ countryCurrency: "CHF"
30
+ },
31
+ CNY: {
32
+ countryLanguage: "zh-CN",
33
+ countryCurrency: "CNY"
34
+ },
35
+ SEK: {
36
+ countryLanguage: "sv-SE",
37
+ countryCurrency: "SEK"
38
+ },
39
+ NZD: {
40
+ countryLanguage: "en-NZ",
41
+ countryCurrency: "NZD"
42
+ },
43
+ BRL: {
44
+ countryLanguage: "pt-BR",
45
+ countryCurrency: "BRL"
46
+ },
47
+ INR: {
48
+ countryLanguage: "en-IN",
49
+ countryCurrency: "INR"
50
+ },
51
+ RUB: {
52
+ countryLanguage: "ru-RU",
53
+ countryCurrency: "RUB"
54
+ },
55
+ ZAR: {
56
+ countryLanguage: "en-ZA",
57
+ countryCurrency: "ZAR"
58
+ },
59
+ MXN: {
60
+ countryLanguage: "es-MX",
61
+ countryCurrency: "MXN"
62
+ },
63
+ SGD: {
64
+ countryLanguage: "en-SG",
65
+ countryCurrency: "SGD"
66
+ },
67
+ HKD: {
68
+ countryLanguage: "zh-HK",
69
+ countryCurrency: "HKD"
70
+ },
71
+ NOK: {
72
+ countryLanguage: "nb-NO",
73
+ countryCurrency: "NOK"
74
+ },
75
+ KRW: {
76
+ countryLanguage: "ko-KR",
77
+ countryCurrency: "KRW"
78
+ },
79
+ TRY: {
80
+ countryLanguage: "tr-TR",
81
+ countryCurrency: "TRY"
82
+ },
83
+ IDR: {
84
+ countryLanguage: "id-ID",
85
+ countryCurrency: "IDR"
86
+ },
87
+ THB: {
88
+ countryLanguage: "th-TH",
89
+ countryCurrency: "THB"
90
+ }
91
+ };
92
+ //#endregion
93
+ export { e as countryCurrencies };
@@ -0,0 +1,5 @@
1
+ import { brazilianStates as e } from "./brazilianStates.js";
2
+ import { countries as t } from "./countries.js";
3
+ import { countryCurrencies as n } from "./countryCurrencies.js";
4
+ import { maximumFractionDigits as r } from "./maximumFractionDigits.js";
5
+ export { e as brazilianStates, t as countries, n as countryCurrencies, r as maximumFractionDigits };
@@ -0,0 +1,4 @@
1
+ //#region src/maximumFractionDigits.ts
2
+ var e = 2;
3
+ //#endregion
4
+ export { e as maximumFractionDigits };
package/package.json CHANGED
@@ -1,19 +1,84 @@
1
1
  {
2
2
  "name": "@arkyn/templates",
3
- "version": "3.0.1-beta.20",
4
- "main": "./dist/bundle.js",
5
- "module": "./src/index.ts",
3
+ "version": "3.0.1-beta.200",
4
+ "main": "./dist/index.js",
5
+ "module": "./dist/index.js",
6
6
  "type": "module",
7
7
  "types": "./dist/index.d.ts",
8
+ "license": "Apache-2.0",
9
+ "author": "Arkyn | Lucas Gonçalves",
10
+ "description": "Ready-to-use data templates including countries, Brazilian states, currencies, and locale information.",
11
+ "keywords": [
12
+ "templates",
13
+ "data",
14
+ "countries",
15
+ "brazilian-states",
16
+ "currencies",
17
+ "locale",
18
+ "internationalization",
19
+ "typescript"
20
+ ],
21
+ "engines": {
22
+ "node": ">=24.16.0",
23
+ "bun": ">=1.3.14"
24
+ },
25
+ "homepage": "https://docs.arkyn.dev/docs/templates/introduction",
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/Lucas-Eduardo-Goncalves/arkyn-library.git",
29
+ "directory": "packages/components"
30
+ },
31
+ "sideEffects": false,
32
+ "files": [
33
+ "dist",
34
+ "README.md",
35
+ "LICENSE.txt"
36
+ ],
8
37
  "scripts": {
9
- "clean": "rm -rf dist",
10
- "build": "bun run clean && bunx tsc --project tsconfig.json",
38
+ "audit": "bun audit --workspace packages/templates",
39
+ "build": "bunx vite build && bunx tsc --project tsconfig.json --emitDeclarationOnly && bun ./generate-exports.ts",
40
+ "prebuild": "rm -rf dist",
41
+ "publish:beta": "npm publish --tag beta",
42
+ "publish:latest": "npm publish --tag latest",
43
+ "release:beta": "bun ./generate-version.ts beta",
44
+ "release:patch": "bun ./generate-version.ts patch",
45
+ "release:minor": "bun ./generate-version.ts minor",
46
+ "release:major": "bun ./generate-version.ts major",
47
+ "test": "bunx vitest --config vitest.config.ts --run",
48
+ "test:watch": "bunx vitest --config vitest.config.ts --watch",
11
49
  "typecheck": "bunx tsc --project tsconfig.json --noEmit"
12
50
  },
13
51
  "dependencies": {},
14
52
  "devDependencies": {
15
- "@types/uuid": "^10.0.0",
16
- "bun-types": "latest",
17
- "typescript": "^5.9.2"
53
+ "@types/bun": "catalog:",
54
+ "@types/node": "catalog:",
55
+ "vite": "catalog:"
56
+ },
57
+ "exports": {
58
+ ".": {
59
+ "import": "./dist/index.js",
60
+ "types": "./dist/index.d.ts",
61
+ "default": "./dist/index.js"
62
+ },
63
+ "./brazilianStates": {
64
+ "import": "./dist/modules/brazilianStates.js",
65
+ "types": "./dist/brazilianStates.d.ts",
66
+ "default": "./dist/modules/brazilianStates.js"
67
+ },
68
+ "./countries": {
69
+ "import": "./dist/modules/countries.js",
70
+ "types": "./dist/countries.d.ts",
71
+ "default": "./dist/modules/countries.js"
72
+ },
73
+ "./countryCurrencies": {
74
+ "import": "./dist/modules/countryCurrencies.js",
75
+ "types": "./dist/countryCurrencies.d.ts",
76
+ "default": "./dist/modules/countryCurrencies.js"
77
+ },
78
+ "./maximumFractionDigits": {
79
+ "import": "./dist/modules/maximumFractionDigits.js",
80
+ "types": "./dist/maximumFractionDigits.d.ts",
81
+ "default": "./dist/modules/maximumFractionDigits.js"
82
+ }
18
83
  }
19
84
  }
@@ -1,30 +0,0 @@
1
- const brazilianStates = [
2
- { label: "Acre", value: "AC" },
3
- { label: "Alagoas", value: "AL" },
4
- { label: "Amapá", value: "AP" },
5
- { label: "Amazonas", value: "AM" },
6
- { label: "Bahia", value: "BA" },
7
- { label: "Ceará", value: "CE" },
8
- { label: "Distrito Federal", value: "DF" },
9
- { label: "Espírito Santo", value: "ES" },
10
- { label: "Goiás", value: "GO" },
11
- { label: "Maranhão", value: "MA" },
12
- { label: "Mato Grosso", value: "MT" },
13
- { label: "Mato Grosso do Sul", value: "MS" },
14
- { label: "Minas Gerais", value: "MG" },
15
- { label: "Pará", value: "PA" },
16
- { label: "Paraíba", value: "PB" },
17
- { label: "Paraná", value: "PR" },
18
- { label: "Pernambuco", value: "PE" },
19
- { label: "Piauí", value: "PI" },
20
- { label: "Rio de Janeiro", value: "RJ" },
21
- { label: "Rio Grande do Norte", value: "RN" },
22
- { label: "Rio Grande do Sul", value: "RS" },
23
- { label: "Rondônia", value: "RO" },
24
- { label: "Roraima", value: "RR" },
25
- { label: "Santa Catarina", value: "SC" },
26
- { label: "São Paulo", value: "SP" },
27
- { label: "Sergipe", value: "SE" },
28
- { label: "Tocantins", value: "TO" },
29
- ];
30
- export { brazilianStates };