@formo/analytics 1.23.0 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@formo/analytics",
3
- "version": "1.23.0",
3
+ "version": "1.24.0",
4
+ "packageManager": "pnpm@9.0.0",
4
5
  "repository": {
5
6
  "type": "git",
6
7
  "url": "git+https://github.com/getformo/sdk.git"
@@ -23,7 +24,8 @@
23
24
  },
24
25
  "private": false,
25
26
  "publishConfig": {
26
- "access": "public"
27
+ "access": "public",
28
+ "provenance": true
27
29
  },
28
30
  "license": "MIT",
29
31
  "dependencies": {
@@ -35,33 +37,22 @@
35
37
  "@babel/core": "^7.x",
36
38
  "@babel/plugin-syntax-flow": "^7.14.5",
37
39
  "@babel/plugin-transform-react-jsx": "^7.14.9",
38
- "@commitlint/cli": "^17.3.0",
39
- "@commitlint/config-conventional": "^17.3.0",
40
- "@semantic-release/exec": "7.1.0",
41
- "@semantic-release/git": "10.0.1",
42
- "@semantic-release/github": "11.0.3",
43
- "@semantic-release/npm": "12.0.1",
44
40
  "@size-limit/esbuild": "^11.2.0",
45
41
  "@size-limit/file": "^11.2.0",
46
42
  "@testing-library/react": "^13.4.0",
47
43
  "@types/chai": "^4.3.1",
48
44
  "@types/jsdom": "^20.0.1",
49
45
  "@types/mocha": "^9.1.1",
50
- "@types/node": "^18.11.9",
46
+ "@types/node": "^22.0.0",
51
47
  "@types/react": "^18.0.25",
52
48
  "@types/sinon": "^10.0.12",
53
49
  "@types/sinon-chai": "^3.2.9",
54
50
  "@typescript-eslint/eslint-plugin": "^5.30.4",
55
51
  "@typescript-eslint/parser": "^5.30.4",
56
52
  "chai": "^4.3.6",
57
- "commitizen": "^4.2.5",
58
- "conventional-changelog-conventionalcommits": "9.0.0",
59
- "cz-conventional-changelog": "3.3.0",
60
53
  "eslint": "^8.19.0",
61
54
  "eslint-config-react-app": "^7.0.1",
62
- "genversion": "^3.2.0",
63
55
  "global-jsdom": "^8.6.0",
64
- "husky": "^8.0.0",
65
56
  "jsdom": "^21.1.0",
66
57
  "mocha": "^10.0.0",
67
58
  "nodemon": "^2.0.20",
@@ -69,8 +60,6 @@
69
60
  "prettier": "^2.6.1",
70
61
  "react": "^18.3.1",
71
62
  "react-dom": "^18.3.1",
72
- "semantic-release": "24.2.5",
73
- "semantic-release-export-data": "^1.0.1",
74
63
  "sinon": "^14.0.0",
75
64
  "sinon-chai": "^3.7.0",
76
65
  "size-limit": "^11.2.0",
@@ -81,33 +70,28 @@
81
70
  "webpack-cli": "^4.10.0"
82
71
  },
83
72
  "scripts": {
84
- "prebuild": "yarn clean",
85
- "build": "yarn build-cjs && yarn build-esm && yarn webpack --mode=production && yarn clean-build",
86
- "build-cjs": "yarn tsc --build",
87
- "build-esm": "yarn tsc -m es6 --outdir dist/esm",
73
+ "prebuild": "pnpm clean",
74
+ "build": "pnpm build-cjs && pnpm build-esm && pnpm run webpack:prod && pnpm clean-build",
75
+ "build-cjs": "tsc --build",
76
+ "build-esm": "tsc -m es6 --outdir dist/esm",
77
+ "webpack:prod": "webpack --mode=production",
88
78
  "clean": "rm -rf dist",
89
79
  "clean-build": "find dist -name '*.map' -delete && find dist -name '*.tsbuildinfo' -delete && find dist -name 'test' -type d -exec rm -rf {} \\;",
90
80
  "lint": "eslint '{src,test}/**/*.{ts,tsx}'",
91
81
  "test": "mocha --require ts-node/register --project tsconfig.test.json test/**/*.ts",
92
82
  "test-watch": "nodemon --config test.nodemon.json",
93
- "prepare": "husky install",
94
- "commit": "git add . && cz",
95
- "pub": "yarn build && npm publish",
96
- "size": "size-limit"
83
+ "size": "size-limit",
84
+ "version": "node scripts/update-version.js && git add src/version.ts",
85
+ "preview-release": "bash scripts/preview-release-notes.sh"
97
86
  },
98
87
  "size-limit": [
99
88
  {
100
89
  "path": "dist/index.umd.min.js",
101
- "limit": "36 KB"
90
+ "limit": "37 KB"
102
91
  }
103
92
  ],
104
93
  "peerDependencies": {
105
94
  "@types/react": ">=16.14.34",
106
95
  "react": ">=16.14.0"
107
- },
108
- "config": {
109
- "commitizen": {
110
- "path": "./node_modules/cz-conventional-changelog"
111
- }
112
96
  }
113
97
  }
@@ -1,2 +0,0 @@
1
- export declare const version = "1.22.0";
2
- //# sourceMappingURL=version.d.ts.map
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.version = void 0;
4
- // Generated by genversion.
5
- exports.version = '1.22.0';
6
- //# sourceMappingURL=version.js.map
@@ -1,2 +0,0 @@
1
- export declare const version = "1.22.0";
2
- //# sourceMappingURL=version.d.ts.map
@@ -1,3 +0,0 @@
1
- // Generated by genversion.
2
- export var version = '1.22.0';
3
- //# sourceMappingURL=version.js.map