Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎉 New Release Version 4 #58

Merged
merged 56 commits into from
Sep 19, 2023
Merged

🎉 New Release Version 4 #58

merged 56 commits into from
Sep 19, 2023

Conversation

codermarcos
Copy link
Owner

@codermarcos codermarcos commented Sep 18, 2023

📝 Description

This version should:

  • Add e2e tests
  • Add change the mask to use functions instead class
  • Add typescript, improving the types and developer experience with tsdocs
  • Add a method to remove the mask which will remove a lot of problems when is used in frameworks

🏷️ Related issues

🗃️ Changes

On branch:

main

Changes to be committed:

deleted: .babelrc
deleted: .travis.yml
deleted: examples/2.x.x/angular/.angular-cli.json
deleted: lib/simple-mask-money.js
deleted: src/args.js
deleted: test/format-to-currency.test.ts
deleted: tests/args.test.js
deleted: types/simple-mask-money.d.ts
modified: .editorconfig
modified: .eslintignore
modified: .eslintrc.js
modified: .gitignore
modified: .npmignore
modified: CONTRIBUTING.md
modified: LICENSE
modified: README.md
modified: docs/2.x.x/README.md
modified: jest.config.js
modified: package-lock.json
modified: package.json
modified: src/create-instance-of.ts
modified: src/format-to-currency.ts
modified: src/format-to-number.ts
modified: src/get-base-configuration.ts
modified: src/set-mask.ts
modified: src/simple-mask-money.ts
modified: tsconfig.json
new file: .github/workflows/on_pull_request.yaml
new file: .nvmrc
new file: cypress.config.ts
new file: jest.config.js
new file: src/create-instance-of.ts
new file: src/create-instance.ts
new file: src/remove-mask.ts
new file: tests/create-instance-of.test.ts
new file: tests/helpers.ts
new file: tsconfig.build.json
renamed: test/get-base-configuration.test.ts -> tests/get-base-configuration.test.ts

On branch master
Changes to be committed:
	modified:   .gitignore
	deleted:    .nyc_output/36bddd30e3d6a2126148eb3a3136277d.json
	deleted:    .nyc_output/b382ac8f9d89af79ac0d6772386dce4f.json
	deleted:    .nyc_output/ee7535375f6baca565c795ccab07ff5f.json
	deleted:    .vscode/settings.json
On branch main
Changes to be committed:
	new file:   .nvmrc
On branch main
Changes to be committed:
	deleted:    examples/2.x.x/angular/.angular-cli.json
	deleted:    examples/2.x.x/angular/.gitignore
	deleted:    examples/2.x.x/angular/package-lock.json
	deleted:    examples/2.x.x/angular/package.json
	deleted:    examples/2.x.x/angular/src/app/app.component.ts
	deleted:    examples/2.x.x/angular/src/app/app.module.ts
	deleted:    examples/2.x.x/angular/src/favicon.ico
	deleted:    examples/2.x.x/angular/src/index.html
	deleted:    examples/2.x.x/angular/src/main.ts
	deleted:    examples/2.x.x/angular/src/polyfills.ts
	deleted:    examples/2.x.x/angular/src/tsconfig.app.json
	deleted:    examples/2.x.x/angular/tsconfig.json
	deleted:    examples/2.x.x/javascript/index.html
	deleted:    examples/2.x.x/javascript/package-lock.json
	deleted:    examples/2.x.x/javascript/package.json
	deleted:    examples/2.x.x/node/package-lock.json
	deleted:    examples/2.x.x/node/package.json
	deleted:    examples/2.x.x/node/server.js
	deleted:    examples/2.x.x/vue/.babelrc
	deleted:    examples/2.x.x/vue/.gitignore
	deleted:    examples/2.x.x/vue/.postcssrc.js
	deleted:    examples/2.x.x/vue/build/build.js
	deleted:    examples/2.x.x/vue/build/check-versions.js
	deleted:    examples/2.x.x/vue/build/dev-client.js
	deleted:    examples/2.x.x/vue/build/dev-server.js
	deleted:    examples/2.x.x/vue/build/utils.js
	deleted:    examples/2.x.x/vue/build/vue-loader.conf.js
	deleted:    examples/2.x.x/vue/build/webpack.base.conf.js
	deleted:    examples/2.x.x/vue/build/webpack.dev.conf.js
	deleted:    examples/2.x.x/vue/build/webpack.prod.conf.js
	deleted:    examples/2.x.x/vue/config/dev.env.js
	deleted:    examples/2.x.x/vue/config/index.js
	deleted:    examples/2.x.x/vue/config/prod.env.js
	deleted:    examples/2.x.x/vue/index.html
	deleted:    examples/2.x.x/vue/package-lock.json
	deleted:    examples/2.x.x/vue/package.json
	deleted:    examples/2.x.x/vue/src/App.vue
	deleted:    examples/2.x.x/vue/src/main.js
	deleted:    examples/3.x.x/angular/.angular-cli.json
	deleted:    examples/3.x.x/angular/.gitignore
	deleted:    examples/3.x.x/angular/package-lock.json
	deleted:    examples/3.x.x/angular/package.json
	deleted:    examples/3.x.x/angular/src/app/app.component.ts
	deleted:    examples/3.x.x/angular/src/app/app.module.ts
	deleted:    examples/3.x.x/angular/src/favicon.ico
	deleted:    examples/3.x.x/angular/src/index.html
	deleted:    examples/3.x.x/angular/src/main.ts
	deleted:    examples/3.x.x/angular/src/polyfills.ts
	deleted:    examples/3.x.x/angular/src/tsconfig.app.json
	deleted:    examples/3.x.x/angular/tsconfig.json
	deleted:    examples/3.x.x/javascript/index.html
	deleted:    examples/3.x.x/javascript/package-lock.json
	deleted:    examples/3.x.x/javascript/package.json
	deleted:    examples/3.x.x/node/package.json
	deleted:    examples/3.x.x/node/server.js
	deleted:    examples/3.x.x/vue/.babelrc
	deleted:    examples/3.x.x/vue/.gitignore
	deleted:    examples/3.x.x/vue/.postcssrc.js
	deleted:    examples/3.x.x/vue/build/build.js
	deleted:    examples/3.x.x/vue/build/check-versions.js
	deleted:    examples/3.x.x/vue/build/dev-client.js
	deleted:    examples/3.x.x/vue/build/dev-server.js
	deleted:    examples/3.x.x/vue/build/utils.js
	deleted:    examples/3.x.x/vue/build/vue-loader.conf.js
	deleted:    examples/3.x.x/vue/build/webpack.base.conf.js
	deleted:    examples/3.x.x/vue/build/webpack.dev.conf.js
	deleted:    examples/3.x.x/vue/build/webpack.prod.conf.js
	deleted:    examples/3.x.x/vue/config/dev.env.js
	deleted:    examples/3.x.x/vue/config/index.js
	deleted:    examples/3.x.x/vue/config/prod.env.js
	deleted:    examples/3.x.x/vue/index.html
	deleted:    examples/3.x.x/vue/package-lock.json
	deleted:    examples/3.x.x/vue/package.json
	deleted:    examples/3.x.x/vue/src/App.vue
	deleted:    examples/3.x.x/vue/src/main.js
On branch main
Changes to be committed:
	deleted:    .travis.yml
On branch main
Changes to be committed:
	deleted:    lib/simple-mask-money.js
	deleted:    lib/simple-mask-money.js.map
On branch main
Changes to be committed:
	new file:   tsconfig.build.json
	new file:   tsconfig.json
On branch main
Changes to be committed:
	modified:   LICENSE
	modified:   package.json
On branch main
Changes to be committed:
	modified:   .editorconfig
On branch main
Changes to be committed:
	modified:   package.json
On branch main
Changes to be committed:
	modified:   docs/2.x.x/README.md
	modified:   docs/3.x.x/README.md
	modified:   docs/README.md
	modified:   examples/2.x.x/README.md
	modified:   examples/2.x.x/angular/README.md
	modified:   examples/2.x.x/javascript/README.md
	modified:   examples/2.x.x/node/README.md
	modified:   examples/2.x.x/react/README.md
	modified:   examples/2.x.x/vue/README.md
	modified:   examples/3.x.x/angular/README.md
	modified:   examples/3.x.x/javascript/README.md
	modified:   examples/3.x.x/node/README.md
	modified:   examples/3.x.x/react/README.md
	modified:   examples/3.x.x/vue/README.md
	modified:   examples/README.md
➕ add cypress
➕ add typescript, swc and related dependecies
➖ remove all dependencies related with babel, mocha
⬆️ upgrade rollup and related dependencies
On branch main
Changes to be committed:
	deleted:    .babelrc
	modified:   package-lock.json
	modified:   package.json
	modified:   rollup.config.js
On branch main
Changes to be committed:
	new file:   cypress.config.ts
	new file:   cypress/e2e/v4.x.x/set-mask.cy.js
On branch main
Changes to be committed:
	new file:   src/create-instance.ts
	new file:   src/format-to-currency.ts
	new file:   src/format-to-number.ts
	new file:   src/get-base-configuration.ts
	new file:   src/set-mask.ts
	new file:   src/simple-mask-money.ts
	new file:   src/types.ts
On branch main
Changes to be committed:
	deleted:    src/args.js
	deleted:    src/core.js
	deleted:    src/implanter.js
	deleted:    src/index.js
On branch main
Changes to be committed:
	modified:   .eslintignore
	new file:   .eslintrc.js
	deleted:    .eslintrc.json
On branch main
Changes to be committed:
	modified:   CONTRIBUTING.md
On branch main
Changes to be committed:
	modified:   src/format-to-number.ts
	modified:   src/set-mask.ts
On branch main
Changes to be committed:
	new file:   jest.config.js
On branch main
Changes to be committed:
	modified:   package-lock.json
	modified:   package.json
On branch main
Changes to be committed:
	modified:   src/format-to-number.ts
	new file:   test/format-to-currency.test.ts
	new file:   test/format-to-number.test.ts
	new file:   test/get-base-configuration.test.ts
	new file:   test/set-mask.test.ts
On branch main
Changes to be committed:
	deleted:    tests/args.test.js
	deleted:    tests/core.test.js
	deleted:    tests/implanter.test.js
	deleted:    tests/index.test.js
On branch main
Changes to be committed:
	deleted:    types/simple-mask-money.d.ts
On branch main
Changes to be committed:
	modified:   src/set-mask.ts
On branch main
Changes to be committed:
	modified:   .eslintrc.js
On branch main
Changes to be committed:
	modified:   package-lock.json
	modified:   package.json
On branch main
Changes to be committed:
	modified:   src/set-mask.ts
On branch main
Changes to be committed:
	modified:   src/set-mask.ts
On branch main
Changes to be committed:
	modified:   src/set-mask.ts
On branch main
Changes to be committed:
	new file:   src/remove-mask.ts
	modified:   src/simple-mask-money.ts
On branch main
Changes to be committed:
	modified:   src/set-mask.ts
On branch main
Changes to be committed:
	new file:   tests/create-instance-of.test.ts
	new file:   tests/remove-mask.test.ts
	new file:   tests/simple-mask-money.test.ts
On branch main
Changes to be committed:
	renamed:    test/get-base-configuration.test.ts -> tests/get-base-configuration.test.ts
	renamed:    test/format-to-number.test.ts -> tests/format-to-number.test.ts
On branch main
Changes to be committed:
	new file:   tests/helpers.ts
On branch main
Changes to be committed:
	new file:   src/create-instance-of.ts
	deleted:    src/create-instance.ts
	modified:   src/simple-mask-money.ts
On branch main
Changes to be committed:
	deleted:    test/format-to-currency.test.ts
	deleted:    test/set-mask.test.ts
	new file:   tests/format-to-currency.test.ts
	new file:   tests/set-mask.test.ts
On branch main
Changes to be committed:
	modified:   jest.config.js
On branch main
Changes to be committed:
	modified:   tsconfig.json
On branch main
Changes to be committed:
	modified:   src/format-to-currency.ts
	modified:   src/format-to-number.ts
	modified:   src/remove-mask.ts
	modified:   src/set-mask.ts
	modified:   src/types.ts
On branch main
Changes to be committed:
	modified:   src/create-instance-of.ts
	modified:   src/format-to-number.ts
On branch main
Changes to be committed:
	modified:   src/create-instance-of.ts
	modified:   src/format-to-currency.ts
	modified:   src/format-to-number.ts
	modified:   src/get-base-configuration.ts
	modified:   src/set-mask.ts
On branch main
Changes to be committed:
	modified:   src/set-mask.ts
On branch main
Changes to be committed:
	modified:   src/format-to-currency.ts
	modified:   src/format-to-number.ts
On branch main
Changes to be committed:
	modified:   src/simple-mask-money.ts
On branch main
Changes to be committed:
	modified:   src/create-instance-of.ts
	modified:   src/format-to-currency.ts
	modified:   src/format-to-number.ts
	modified:   src/remove-mask.ts
	modified:   src/set-mask.ts
On branch main
Changes to be committed:
	modified:   package.json
On branch main
Changes to be committed:
	modified:   src/get-base-configuration.ts
	modified:   tests/create-instance-of.test.ts
	modified:   tests/remove-mask.test.ts
On branch main
Changes to be committed:
	new file:   .github/workflows/on_pull_request.yaml
On branch main
Changes to be committed:
	modified:   .npmignore
On branch main
Changes to be committed:
	modified:   README.md
On branch main
Changes to be committed:
	modified:   rollup.config.js
On branch main
Changes to be committed:
	modified:   cypress.config.ts
	deleted:    cypress/e2e/v4.x.x/set-mask.cy.js
	new file:   cypress/e2e/v4.x.x/set-mask.cy.ts
	new file:   cypress/file/index.html
On branch main
Changes to be committed:
	modified:   .github/workflows/on_pull_request.yaml
On branch main
Changes to be committed:
	modified:   src/set-mask.ts
On branch main
Changes to be committed:
	new file:   docs/4.x.x/README.md
	new file:   examples/4.x.x/react/README.md
	new file:   examples/4.x.x/vanilla/README.md
	new file:   examples/4.x.x/vue/README.md
On branch main
Changes to be committed:
	modified:   cypress.config.ts
On branch main
Changes to be committed:
	modified:   tests/create-instance-of.test.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant