Skip to content

Commit f641e1d

Browse files
committed
📦 v2.0.0
1 parent b819a04 commit f641e1d

File tree

6 files changed

+26
-11
lines changed

6 files changed

+26
-11
lines changed

.meteorignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
.eslintcache
77
.eslintrc
88
docs
9-
lib
9+
dist
10+
test
11+
eslint.config.mjs
12+
rollup.config.mjs
1013
node_modules
1114
CHANGELOG.md
1215
CODE_OF_CONDUCT.md
@@ -16,4 +19,5 @@ LICENCE
1619
LICENSE
1720
README.md
1821
package.json
19-
package-lock.json
22+
package-lock.json
23+
tsconfig.test.json

.npmignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
.npm
99
.versions
1010
docs
11-
lib
11+
test
1212
node_modules
1313
npm-debug.log*
1414
package.js
15+
eslint.config.mjs
16+
rollup.config.mjs
17+
tsconfig.test.json

.versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ babel-compiler@7.12.2
22
babel-runtime@1.5.2
33
core-runtime@1.0.0
44
dynamic-import@0.7.4
5-
ecmascript@0.16.13
65
ecmascript-runtime@0.8.3
76
ecmascript-runtime-client@0.12.3
87
ecmascript-runtime-server@0.11.1
@@ -12,6 +11,7 @@ meteor@2.1.1
1211
modern-browsers@0.2.3
1312
modules@0.20.3
1413
modules-runtime@0.13.2
15-
ostrio:analytics@1.4.0
14+
ostrio:analytics@2.0.0
1615
promise@1.0.0
1716
react-fast-refresh@0.2.9
17+
typescript@5.6.6

package.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Package.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

99
Package.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
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
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": {

tsconfig.test.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"allowImportingTsExtensions": true,
5+
"noEmit": true
6+
},
7+
"include": ["test/**/*.ts", "src/**/*.ts"]
8+
}

0 commit comments

Comments
 (0)