File tree Expand file tree Collapse file tree 6 files changed +26
-11
lines changed
Expand file tree Collapse file tree 6 files changed +26
-11
lines changed Original file line number Diff line number Diff line change 66.eslintcache
77.eslintrc
88docs
9- lib
9+ dist
10+ test
11+ eslint.config.mjs
12+ rollup.config.mjs
1013node_modules
1114CHANGELOG.md
1215CODE_OF_CONDUCT.md
@@ -16,4 +19,5 @@ LICENCE
1619LICENSE
1720README.md
1821package.json
19- package-lock.json
22+ package-lock.json
23+ tsconfig.test.json
Original file line number Diff line number Diff line change 88.npm
99.versions
1010docs
11- lib
11+ test
1212node_modules
1313npm-debug.log *
1414package.js
15+ eslint.config.mjs
16+ rollup.config.mjs
17+ tsconfig.test.json
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ babel-compiler@7.12.2
22babel-runtime@1.5.2
33core-runtime@1.0.0
44dynamic-import@0.7.4
5- ecmascript@0.16.13
65ecmascript-runtime@0.8.3
76ecmascript-runtime-client@0.12.3
87ecmascript-runtime-server@0.11.1
@@ -12,6 +11,7 @@ meteor@2.1.1
1211modern-browsers@0.2.3
1312modules@0.20.3
1413modules-runtime@0.13.2
15- ostrio:analytics@1.4 .0
14+ ostrio:analytics@2.0 .0
1615promise@1.0.0
1716react-fast-refresh@0.2.9
17+ typescript@5.6.6
Original file line number Diff line number Diff line change 11Package . describe ( {
22 name : 'ostrio:analytics' ,
3- version : '1.4 .0' ,
4- summary : 'CCPA and GDPR friendly real-time web analytics with errors collection' ,
3+ version : '2.0 .0' ,
4+ summary : 'CCPA and GDPR friendly real-time web analytics with error collection' ,
55 git : 'https://github.com/veliovgroup/ostrio-analytics' ,
66 documentation : 'README.md'
77} ) ;
88
99Package . onUse ( ( api ) => {
10- api . versionsFrom ( '1.4 ' ) ;
11- api . use ( 'ecmascript ' , 'client' ) ;
12- api . mainModule ( './lib/analytics.js ' , 'client' ) ;
10+ api . versionsFrom ( '3.1 ' ) ;
11+ api . use ( 'typescript@5.6.6 ' , 'client' ) ;
12+ api . mainModule ( './src/index.ts ' , 'client' ) ;
1313} ) ;
Original file line number Diff line number Diff line change 3333 "build:rollup" : " rollup -c" ,
3434 "build" : " npm run clean && npm run build:rollup && npm run build:types" ,
3535 "prepublishOnly" : " npm run build" ,
36- "test" : " node --loader ts-node/esm ./node_modules/mocha/bin/mocha.js --extension ts 'test/**/*.spec.ts'" ,
36+ "test" : " TS_NODE_PROJECT=tsconfig.test.json node --loader ts-node/esm ./node_modules/mocha/bin/mocha.js --extension ts 'test/**/*.spec.ts'" ,
3737 "lint" : " eslint ./src/*"
3838 },
3939 "repository" : {
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " ./tsconfig.json" ,
3+ "compilerOptions" : {
4+ "allowImportingTsExtensions" : true ,
5+ "noEmit" : true
6+ },
7+ "include" : [" test/**/*.ts" , " src/**/*.ts" ]
8+ }
You can’t perform that action at this time.
0 commit comments