Skip to content

Commit

Permalink
[CM-663] Migrate to typescript (#83)
Browse files Browse the repository at this point in the history
* [Hackathon] Typescript (Only types, no refactorings) (#80)

* migrate build

* try wdio

* fix rollup

* use terser instead of uglify

* update wdio config

* update wdio to transpile

* update preambled.ts

* type everything

* fix build

* fixed types.ts eslint issues

* nycrc

* Update src/utils/types.ts

Co-authored-by: Wiem Zine El Abidine <welabidine@liveintent.com>

* Update src/utils/types.ts

Co-authored-by: Wiem Zine El Abidine <welabidine@liveintent.com>

* comments

* wip

* publish javascript lib and types

Co-authored-by: Vinod M <vinodmuralidharan@yahoo.com>
Co-authored-by: Wiem Zine El Abidine <welabidine@liveintent.com>

* [No ticket] Update publishing setup (#84)

* finish merge master

* fix tests

* Update .eslintrc.js

Co-authored-by: Wiem Zine El Abidine <welabidine@liveintent.com>

* Update .eslintrc.js

Co-authored-by: Wiem Zine El Abidine <welabidine@liveintent.com>

* Update src/events/event-bus.ts

Co-authored-by: Wiem Zine El Abidine <welabidine@liveintent.com>

* comments

* comments

* update files in package.json

* expose consts

Co-authored-by: Vinod M <vinodmuralidharan@yahoo.com>
Co-authored-by: Wiem Zine El Abidine <welabidine@liveintent.com>
  • Loading branch information
3 people authored Jan 12, 2023
1 parent 34c85a2 commit eb6c20c
Show file tree
Hide file tree
Showing 89 changed files with 6,335 additions and 23,960 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ module.exports = {
'mocha': true
},
plugins: [
'wdio'
'wdio',
'@typescript-eslint'
],
extends: [
'standard',
'plugin:wdio/recommended'
'plugin:wdio/recommended',
'plugin:@typescript-eslint/recommended'
],
globals: {},
rules: {}
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ local.log
*.cid
coverage.lcov
driver-logs
cjs
esm
test-resources
9 changes: 0 additions & 9 deletions .npmignore

This file was deleted.

4 changes: 2 additions & 2 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"exclude": [
"**/test/**",
"src/utils/ulid.js",
"src/utils/btoa.js"
"src/utils/ulid.ts",
"src/utils/btoa.ts"
]
}
7 changes: 1 addition & 6 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
// useBuiltIns: 'usage',
debug: false,
corejs: 3
}
'@babel/preset-env'
]
]
}
Loading

0 comments on commit eb6c20c

Please sign in to comment.