@selfcommunity/types 0.7.7-alpha.0 → 0.7.7-alpha.2

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.
Files changed (44) hide show
  1. package/lib/cjs/index.d.ts +4 -4
  2. package/lib/cjs/index.js +5 -1
  3. package/lib/cjs/types/device.d.ts +1 -1
  4. package/lib/cjs/types/environment.d.ts +7 -0
  5. package/lib/cjs/types/environment.js +11 -0
  6. package/lib/cjs/types/event.d.ts +7 -1
  7. package/lib/cjs/types/event.js +1 -0
  8. package/lib/cjs/types/feature.d.ts +2 -1
  9. package/lib/cjs/types/feature.js +1 -0
  10. package/lib/cjs/types/feed.d.ts +1 -1
  11. package/lib/cjs/types/index.d.ts +5 -2
  12. package/lib/cjs/types/index.js +8 -1
  13. package/lib/cjs/types/liveStream.d.ts +55 -0
  14. package/lib/cjs/types/liveStream.js +17 -0
  15. package/lib/cjs/types/notification.d.ts +13 -3
  16. package/lib/cjs/types/notification.js +1 -0
  17. package/lib/cjs/types/preference.d.ts +10 -2
  18. package/lib/cjs/types/preference.js +8 -0
  19. package/lib/cjs/types/tier.d.ts +9 -0
  20. package/lib/cjs/types/tier.js +13 -0
  21. package/lib/cjs/types/user.d.ts +1 -1
  22. package/lib/esm/index.d.ts +4 -4
  23. package/lib/esm/index.js +2 -2
  24. package/lib/esm/types/device.d.ts +1 -1
  25. package/lib/esm/types/environment.d.ts +7 -0
  26. package/lib/esm/types/environment.js +8 -0
  27. package/lib/esm/types/event.d.ts +7 -1
  28. package/lib/esm/types/event.js +1 -0
  29. package/lib/esm/types/feature.d.ts +2 -1
  30. package/lib/esm/types/feature.js +1 -0
  31. package/lib/esm/types/feed.d.ts +1 -1
  32. package/lib/esm/types/index.d.ts +5 -2
  33. package/lib/esm/types/index.js +4 -1
  34. package/lib/esm/types/liveStream.d.ts +55 -0
  35. package/lib/esm/types/liveStream.js +14 -0
  36. package/lib/esm/types/notification.d.ts +13 -3
  37. package/lib/esm/types/notification.js +1 -0
  38. package/lib/esm/types/preference.d.ts +10 -2
  39. package/lib/esm/types/preference.js +8 -0
  40. package/lib/esm/types/tier.d.ts +9 -0
  41. package/lib/esm/types/tier.js +10 -0
  42. package/lib/esm/types/user.d.ts +1 -1
  43. package/lib/umd/types.js +1 -1
  44. package/package.json +108 -103
package/package.json CHANGED
@@ -1,105 +1,110 @@
1
1
  {
2
- "name": "@selfcommunity/types",
3
- "version": "0.7.7-alpha.0",
4
- "license": "MIT",
5
- "private": false,
6
- "main": "./lib/cjs/index.js",
7
- "module": "./lib/esm/index.js",
8
- "exports": {
9
- ".": {
10
- "require": "./lib/cjs/index.js",
11
- "import": "./lib/esm/index.js"
12
- },
13
- "./*": {
14
- "require": "./lib/cjs/*",
15
- "import": "./lib/esm/*"
16
- }
17
- },
18
- "sideEffects": false,
19
- "description": "Types to integrate a community created with SelfCommunity.",
20
- "author": "SelfCommunity <https://www.selfcommunity.com>",
21
- "keywords": [
22
- "react",
23
- "community",
24
- "selfcommunity",
25
- "community-types",
26
- "selfcommunity types"
27
- ],
28
- "scripts": {
29
- "prepare": "install-peers -f",
30
- "install-peers": "install-peers -f",
31
- "test": "npm run lint && npm run test-only",
32
- "test-only": "jest --runInBand",
33
- "tdd": "jest --watch --runInBand",
34
- "lint": "eslint ./src test --ext .ts,.tsx,.js",
35
- "prettier": "prettier './**/*.js' './**/*.css' './**/*.md' --write",
36
- "prettier-list-different": "prettier './**/*.js' './**/*.css' './**/*.md' --list-different",
37
- "clean:lib": "rimraf lib",
38
- "clean:node_modules": "rimraf node_modules",
39
- "build:commonjs": "tsc -b tsconfig-cjs.build.json",
40
- "build:esm": "tsc -b tsconfig-esm.build.json",
41
- "build:umd": "webpack --mode production",
42
- "build:umd:analyze": "webpack --mode production --profile --json > ./lib/umd/stats.json && webpack-bundle-analyzer ./lib/umd/stats.json",
43
- "build": "yarn clean:lib && yarn build:commonjs && yarn build:esm && yarn build:umd",
44
- "prerelease": "yarn run clean:lib && yarn run build"
45
- },
46
- "homepage": "https://www.selfcommunity.com",
47
- "files": [
48
- "lib"
49
- ],
50
- "repository": {
51
- "type": "git",
52
- "url": "https://github.com/selfcommunity/community-js/tree/main/packages/types"
53
- },
54
- "publishConfig": {
55
- "access": "public"
56
- },
57
- "devDependencies": {
58
- "@types/chai": "^4.2.14",
59
- "@types/enzyme": "^3.10.8",
60
- "@types/jest": "^26.0.20",
61
- "@types/react": "17 || 18",
62
- "@types/react-dom": "17 || 18",
63
- "@types/sinon": "^9.0.10",
64
- "@typescript-eslint/eslint-plugin": "^4.14.2",
65
- "@typescript-eslint/parser": "^4.14.2",
66
- "babel-jest": "^26.6.3",
67
- "chai": "^4.2.0",
68
- "cherry-pick": "^0.5.0",
69
- "enzyme": "^3.10.0",
70
- "enzyme-adapter-react-16": "^1.15.6",
71
- "eslint": "^7.19.0",
72
- "eslint-config-prettier": "^7.2.0",
73
- "eslint-plugin-import": "^2.22.1",
74
- "eslint-plugin-mocha": "^8.0.0",
75
- "eslint-plugin-prettier": "^4.0.0",
76
- "eslint-plugin-react": "^7.22.0",
77
- "eslint-plugin-react-hooks": "^4.2.0",
78
- "faker": "^5.3.1",
79
- "install-peers-cli": "^2.2.0",
80
- "jest": "^26.6.3",
81
- "lodash": "^4.17.15",
82
- "postcss": "^8.2.4",
83
- "prettier": "^2.2.1",
84
- "rimraf": "^3.0.2",
85
- "sass": "^1.32.6",
86
- "sinon": "^9.2.4",
87
- "tslib": "^2.6.2",
88
- "typescript": "^4.1.3",
89
- "webpack": "^5.20.1",
90
- "webpack-atoms": "^17.1.0",
91
- "webpack-bundle-analyzer": "^4.9.0",
92
- "webpack-cli": "^4.5.0"
93
- },
94
- "prettier": {
95
- "printWidth": 150,
96
- "bracketSpacing": false,
97
- "trailingComma": "none",
98
- "singleQuote": true,
99
- "bracketSameLine": true
100
- },
101
- "bugs": {
102
- "url": "https://github.com/selfcommunity/community-js/issues"
103
- },
104
- "gitHead": "4e221bfc3630bd4c42250708a274c0680498e9f0"
2
+ "name": "@selfcommunity/types",
3
+ "version": "0.7.7-alpha.2",
4
+ "license": "MIT",
5
+ "private": false,
6
+ "main": "./lib/cjs/index.js",
7
+ "module": "./lib/esm/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "require": "./lib/cjs/index.js",
11
+ "import": "./lib/esm/index.js"
12
+ },
13
+ "./*": {
14
+ "require": "./lib/cjs/*",
15
+ "import": "./lib/esm/*"
16
+ }
17
+ },
18
+ "sideEffects": false,
19
+ "description": "Types to integrate a community created with SelfCommunity.",
20
+ "author": "SelfCommunity <https://www.selfcommunity.com>",
21
+ "keywords": [
22
+ "react",
23
+ "community",
24
+ "selfcommunity",
25
+ "community-types",
26
+ "selfcommunity types"
27
+ ],
28
+ "scripts": {
29
+ "prepare": "install-peers -f",
30
+ "install-peers": "install-peers -f",
31
+ "test": "npm run lint && npm run test-only",
32
+ "test-only": "jest --runInBand",
33
+ "tdd": "jest --watch --runInBand",
34
+ "lint": "eslint ./src test --ext .ts,.tsx,.js",
35
+ "prettier": "prettier './**/*.js' './**/*.css' './**/*.md' --write",
36
+ "prettier-list-different": "prettier './**/*.js' './**/*.css' './**/*.md' --list-different",
37
+ "clean:lib": "rimraf lib",
38
+ "clean:node_modules": "rimraf node_modules",
39
+ "build:commonjs": "tsc -b tsconfig-cjs.build.json",
40
+ "build:esm": "tsc -b tsconfig-esm.build.json",
41
+ "build:umd": "webpack --mode production",
42
+ "build:umd:analyze": "webpack --mode production --profile --json > ./lib/umd/stats.json && webpack-bundle-analyzer ./lib/umd/stats.json",
43
+ "build": "yarn clean:lib && yarn build:commonjs && yarn build:esm && yarn build:umd",
44
+ "prerelease": "yarn run clean:lib && yarn run build"
45
+ },
46
+ "homepage": "https://www.selfcommunity.com",
47
+ "files": [
48
+ "lib"
49
+ ],
50
+ "repository": {
51
+ "type": "git",
52
+ "url": "https://github.com/selfcommunity/community-js/tree/main/packages/types"
53
+ },
54
+ "publishConfig": {
55
+ "access": "public"
56
+ },
57
+ "devDependencies": {
58
+ "@babel/core": "^7.7.4",
59
+ "@babel/preset-env": "^7.25.8",
60
+ "@babel/preset-react": "^7.7.4",
61
+ "@babel/preset-typescript": "^7.7.4",
62
+ "@types/chai": "^4.2.14",
63
+ "@types/enzyme": "^3.10.8",
64
+ "@types/jest": "^26.0.20",
65
+ "@types/react": "17 || 18",
66
+ "@types/react-dom": "17 || 18",
67
+ "@types/sinon": "^9.0.10",
68
+ "@typescript-eslint/eslint-plugin": "^4.14.2",
69
+ "@typescript-eslint/parser": "^4.14.2",
70
+ "babel-jest": "^26.6.3",
71
+ "babel-loader": "^8.2.2",
72
+ "babel-preset-env-modules": "^1.0.0",
73
+ "chai": "^4.2.0",
74
+ "cherry-pick": "^0.5.0",
75
+ "enzyme": "^3.10.0",
76
+ "enzyme-adapter-react-16": "^1.15.6",
77
+ "eslint": "^7.19.0",
78
+ "eslint-config-prettier": "^7.2.0",
79
+ "eslint-plugin-import": "^2.22.1",
80
+ "eslint-plugin-mocha": "^8.0.0",
81
+ "eslint-plugin-prettier": "^4.0.0",
82
+ "eslint-plugin-react": "^7.22.0",
83
+ "eslint-plugin-react-hooks": "^4.2.0",
84
+ "faker": "^5.3.1",
85
+ "install-peers-cli": "^2.2.0",
86
+ "jest": "^26.6.3",
87
+ "lodash": "^4.17.15",
88
+ "postcss": "^8.2.4",
89
+ "prettier": "^2.2.1",
90
+ "rimraf": "^3.0.2",
91
+ "sass": "^1.32.6",
92
+ "sinon": "^9.2.4",
93
+ "tslib": "^2.6.2",
94
+ "typescript": "^4.1.3",
95
+ "webpack": "^5.20.1",
96
+ "webpack-bundle-analyzer": "^4.9.0",
97
+ "webpack-cli": "^4.5.0"
98
+ },
99
+ "prettier": {
100
+ "printWidth": 150,
101
+ "bracketSpacing": false,
102
+ "trailingComma": "none",
103
+ "singleQuote": true,
104
+ "bracketSameLine": true
105
+ },
106
+ "bugs": {
107
+ "url": "https://github.com/selfcommunity/community-js/issues"
108
+ },
109
+ "gitHead": "b616d6a03151ab9b37e8d08ef2c19ad8a9cf1853"
105
110
  }