@arkyn/templates 3.0.1-beta.13 → 3.0.1-beta.130

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.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { brazilianStates } from "./brazilianStates";
2
- export { countries } from "./countries";
2
+ export { countries, type CountryType } from "./countries";
3
3
  export { countryCurrencies } from "./countryCurrencies";
4
4
  export { maximumFractionDigits } from "./maximumFractionDigits";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
package/package.json CHANGED
@@ -1,19 +1,38 @@
1
1
  {
2
2
  "name": "@arkyn/templates",
3
- "version": "3.0.1-beta.13",
3
+ "version": "3.0.1-beta.130",
4
4
  "main": "./dist/bundle.js",
5
- "module": "./src/index.ts",
5
+ "module": "./dist/bundle.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
+ "homepage": "https://docs.arkyn.dev/en/templates/introduction",
22
+ "repository": {
23
+ "type": "git",
24
+ "git+url": "https://github.com/Lucas-Eduardo-Goncalves/arkyn.git",
25
+ "directory": "packages/templates"
26
+ },
8
27
  "scripts": {
9
- "clean": "rm -rf dist",
10
- "build": "bun run clean && bunx tsc --project tsconfig.json",
28
+ "build": "bunx vite build && tsc",
11
29
  "typecheck": "bunx tsc --project tsconfig.json --noEmit"
12
30
  },
13
31
  "dependencies": {},
14
32
  "devDependencies": {
15
33
  "@types/uuid": "^10.0.0",
16
34
  "bun-types": "latest",
17
- "typescript": "^5.9.2"
35
+ "typescript": "^5.9.3",
36
+ "vite": "^5.4.21"
18
37
  }
19
38
  }
@@ -1,31 +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
-
31
- export { brazilianStates };
@@ -1,26 +0,0 @@
1
- const countryCurrencies = {
2
- USD: { countryLanguage: "en-US", countryCurrency: "USD" },
3
- EUR: { countryLanguage: "de-DE", countryCurrency: "EUR" },
4
- JPY: { countryLanguage: "ja-JP", countryCurrency: "JPY" },
5
- GBP: { countryLanguage: "en-GB", countryCurrency: "GBP" },
6
- AUD: { countryLanguage: "en-AU", countryCurrency: "AUD" },
7
- CAD: { countryLanguage: "en-CA", countryCurrency: "CAD" },
8
- CHF: { countryLanguage: "de-CH", countryCurrency: "CHF" },
9
- CNY: { countryLanguage: "zh-CN", countryCurrency: "CNY" },
10
- SEK: { countryLanguage: "sv-SE", countryCurrency: "SEK" },
11
- NZD: { countryLanguage: "en-NZ", countryCurrency: "NZD" },
12
- BRL: { countryLanguage: "pt-BR", countryCurrency: "BRL" },
13
- INR: { countryLanguage: "en-IN", countryCurrency: "INR" },
14
- RUB: { countryLanguage: "ru-RU", countryCurrency: "RUB" },
15
- ZAR: { countryLanguage: "en-ZA", countryCurrency: "ZAR" },
16
- MXN: { countryLanguage: "es-MX", countryCurrency: "MXN" },
17
- SGD: { countryLanguage: "en-SG", countryCurrency: "SGD" },
18
- HKD: { countryLanguage: "zh-HK", countryCurrency: "HKD" },
19
- NOK: { countryLanguage: "nb-NO", countryCurrency: "NOK" },
20
- KRW: { countryLanguage: "ko-KR", countryCurrency: "KRW" },
21
- TRY: { countryLanguage: "tr-TR", countryCurrency: "TRY" },
22
- IDR: { countryLanguage: "id-ID", countryCurrency: "IDR" },
23
- THB: { countryLanguage: "th-TH", countryCurrency: "THB" },
24
- };
25
-
26
- export { countryCurrencies };
package/src/index.ts DELETED
@@ -1,4 +0,0 @@
1
- export { brazilianStates } from "./brazilianStates";
2
- export { countries } from "./countries";
3
- export { countryCurrencies } from "./countryCurrencies";
4
- export { maximumFractionDigits } from "./maximumFractionDigits";
@@ -1,3 +0,0 @@
1
- const maximumFractionDigits = 2;
2
-
3
- export { maximumFractionDigits };
package/tsconfig.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "declaration": true,
4
- "declarationDir": "./dist",
5
- "declarationMap": true,
6
- "isolatedModules": true,
7
- "lib": ["DOM", "DOM.Iterable", "ES2022"],
8
- "module": "ESNext",
9
- "moduleResolution": "node",
10
- "outDir": "./dist",
11
- "preserveWatchOutput": true,
12
- "skipLibCheck": true,
13
- "strict": true,
14
- "target": "ESNext",
15
- "types": ["bun-types"],
16
- "verbatimModuleSyntax": true
17
- },
18
- "exclude": ["dist", "node_modules"],
19
- "include": ["src/**/*.ts"]
20
- }