Commit 8d58cbe
authored
V2 (#16)
* Migrate to Bun, Biome, structure changes, CI/CD update
- Migrate from PNPM to Bun (package manager)
- Migrate from Node to Bun (runtime) for /scripts
- Migrate from Prettier/ESLint to Biome
- Migrate Tests from Jest to Bun Test Runner
- Move tests closer to each tested file, also splitting them
- Update GH Action to support NPM's Trusted publishing, Bun and update used actions' versions
- Update README, CONTRIBUTING and LICENSE year
* Change formatters param signature, add new FormatStyle type with union strings, make formatters throw only when it's unable to parse.
* Add vscode workspace settings for biome and recommended extensions
* Update READMEs
* Change LICENSE to MIT
* misc script changes
* v2.0.0-beta.0
* Fix GH action permissions
* v2.0.0-beta.1
* Re: Fix GH action permissions
* v2.0.0-beta.2
* Use npm publish instead of bun
* v2.0.0-beta.3
* Update NPM step to support Trusted Publishing OIDC
* v2.0.0-beta.4
* Use bunx instead of udpating npm
* v2.0.0-beta.5
* Explicitly set tag to version on npm publish
* v2.0.0-beta.6
* Have two steps for publishing release and prerelease tags
* v2.0.0-beta.7
* Add repository field in package.json
* v2.0.0-beta.8
* Disable source maps generation
* v2.0.0-beta.9
* Update package.json
* v2.0.0-beta.10
* Update script to generate rnc/cedula with and without dashes for proper testing, also remove shuffling algo
* Refactor some of the validators, fix js docs, update RNC validator test to also use cedulas, update generate script
* Add script to generate provincias/municipios helpers, update tsconfig for import alias, update vscode settings
* Add license badge, fix EOF new line on script, add tsdown for building lib and minifying
* v2.0.0-beta.11
* Add script for calculating false negatives, update README, add exports field to package.json, update biome config
* Update README.es.md
* v2.0.0-beta.12
* Update package.json exports
* v2.0.0-beta.13
* Use "default" instead of "import" in package.json exports
* v2.0.0-beta.14
* Remove .DS_Store
* Update READMEs
* Update GH Action to mark release as prerelease if not stable version
* v2.0.0-beta.15
* Enable generate release notes on GH Action1 parent e5f0451 commit 8d58cbe
55 files changed
Lines changed: 1746 additions & 5352 deletions
File tree
- .github/workflows
- .vscode
- assets
- docs
- scripts
- src
- constants
- formatters
- types
- utils
- validators
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
13 | | - | |
14 | | - | |
| 17 | + | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
0 commit comments