@reapit/elements 4.0.2 → 4.0.3
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/README.md +15 -3
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.css +55 -55
- package/package.json +29 -12
- package/scripts/cdk/bin/rpt-cdk.js +10 -0
package/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reapit/elements",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "A collection of React components and utilities for building apps for Reapit Marketplace",
|
|
5
5
|
"homepage": "https://github.com/reapit/foundations#readme",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/reapit/foundations/issues"
|
|
8
8
|
},
|
|
9
|
+
"bin": {
|
|
10
|
+
"rpt-cdk": "./scripts/cdk/bin/rpt-cdk.js"
|
|
11
|
+
},
|
|
9
12
|
"repository": {
|
|
10
13
|
"type": "git",
|
|
11
14
|
"url": "git+https://github.com/reapit/foundations.git"
|
|
@@ -29,37 +32,30 @@
|
|
|
29
32
|
"build:storybook": "cross-env NODE_ENV=production && build-storybook -o public/dist",
|
|
30
33
|
"build:dist": "cross-env NODE_ENV=production && rimraf public/dist && rimraf dist && rollup -c",
|
|
31
34
|
"commit": "yarn test --coverage --no-cache --silent --forceExit --detectOpenHandles --runInBand --watch=false && jest-coverage-badges --input src/tests/coverage/coverage-summary.json --output src/tests/badges && yarn lint --fix && yarn check",
|
|
32
|
-
"conf": "yarn config-manager --namespace cloud --entity elements --name local --mode fetch",
|
|
33
35
|
"lint": "eslint --cache --ext=ts,tsx,js src",
|
|
34
36
|
"check": "tsc --noEmit --skipLibCheck",
|
|
35
37
|
"publish": "yarn npm publish --access public",
|
|
36
|
-
"release": "echo '...skipping...'",
|
|
37
38
|
"deploy": "rpt-cdk deploy",
|
|
38
39
|
"start": "start-storybook -p 6006",
|
|
39
40
|
"test": "cross-env TZ=UTC jest --watch --colors --silent"
|
|
40
41
|
},
|
|
41
|
-
"browserslist": [
|
|
42
|
-
"> 0.5%",
|
|
43
|
-
"not IE 11"
|
|
44
|
-
],
|
|
45
42
|
"dependencies": {
|
|
46
43
|
"@linaria/core": "^5.0.2",
|
|
47
44
|
"@linaria/react": "^5.0.3"
|
|
48
45
|
},
|
|
49
46
|
"devDependencies": {
|
|
47
|
+
"@babel/core": "^7.23.9",
|
|
50
48
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
51
49
|
"@linaria/babel-preset": "^5.0.4",
|
|
52
50
|
"@linaria/rollup": "^5.0.4",
|
|
53
51
|
"@linaria/shaker": "^5.0.3",
|
|
54
52
|
"@linaria/webpack-loader": "^5.0.4",
|
|
55
53
|
"@mdx-js/react": "^1.6.22",
|
|
56
|
-
"@reapit/config-manager": "2.1.0",
|
|
57
54
|
"@reapit/storybook-addon-html": "^5.0.1",
|
|
58
|
-
"@reapit/ts-scripts": "0.1.0",
|
|
59
|
-
"@reapit/ts-types": "0.0.4",
|
|
60
55
|
"@rollup/plugin-babel": "^6.0.4",
|
|
61
56
|
"@rollup/plugin-commonjs": "^24.1.0",
|
|
62
57
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
58
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
63
59
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
64
60
|
"@rollup/plugin-url": "^8.0.2",
|
|
65
61
|
"@storybook/addon-actions": "^6.5.16",
|
|
@@ -78,35 +74,55 @@
|
|
|
78
74
|
"@storybook/theming": "^6.5.16",
|
|
79
75
|
"@svgr/rollup": "^6.5.1",
|
|
80
76
|
"@svgr/webpack": "^8.1.0",
|
|
77
|
+
"@testing-library/react": "^14.1.2",
|
|
78
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
79
|
+
"@types/babel__core": "^7",
|
|
80
|
+
"@types/jest": "^29.5.10",
|
|
81
|
+
"@types/node": "^18",
|
|
82
|
+
"@types/react": "^18.2.39",
|
|
83
|
+
"@types/react-dom": "^18.2.17",
|
|
81
84
|
"@types/uuid": "^8.3.4",
|
|
82
85
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
83
86
|
"@typescript-eslint/parser": "^5.62.0",
|
|
87
|
+
"aws-cdk": "^2.124.0",
|
|
88
|
+
"aws-cdk-lib": "^2.124.0",
|
|
89
|
+
"aws-sdk": "^2.1545.0",
|
|
84
90
|
"babel-jest": "^29.7.0",
|
|
85
91
|
"babel-loader": "^9.1.3",
|
|
86
92
|
"colord": "^2.9.3",
|
|
87
93
|
"concurrently": "^6.5.1",
|
|
94
|
+
"constructs": "^10.3.0",
|
|
88
95
|
"cross-env": "^7.0.3",
|
|
89
96
|
"dashify": "2.0.0",
|
|
90
97
|
"esbuild-loader": "^3.2.0",
|
|
91
98
|
"eslint": "8.54.0",
|
|
99
|
+
"eslint-config-prettier": "^8.10.0",
|
|
92
100
|
"eslint-plugin-prettier": "^4.2.1",
|
|
101
|
+
"eslint-plugin-react": "^7.33.2",
|
|
102
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
93
103
|
"jest": "^29.7.0",
|
|
94
104
|
"jest-coverage-badges": "^1.1.2",
|
|
105
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
106
|
+
"mini-css-extract-plugin": "^2.7.7",
|
|
95
107
|
"move-file-cli": "^2.0.0",
|
|
96
108
|
"node-polyfill-webpack-plugin": "^1.1.4",
|
|
97
109
|
"postcss": "^8.4.31",
|
|
98
110
|
"prettier": "2.2.1",
|
|
111
|
+
"react": "^18.0.2",
|
|
99
112
|
"react-docgen-typescript-loader": "^3.7.2",
|
|
113
|
+
"react-dom": "^18.0.2",
|
|
100
114
|
"react-is": "^16.13.1",
|
|
115
|
+
"require-from-string": "^2.0.2",
|
|
101
116
|
"rimraf": "^3.0.2",
|
|
102
117
|
"rollup": "^3.29.4",
|
|
103
118
|
"rollup-plugin-css-only": "^4.5.2",
|
|
104
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
105
119
|
"snyk": "^1.1259.0",
|
|
106
120
|
"ts-jest": "^29.1.1",
|
|
121
|
+
"ts-node": "^10.9.1",
|
|
107
122
|
"tslib": "^2.6.2",
|
|
108
123
|
"typescript": "4.9.5",
|
|
109
124
|
"url-loader": "^4.1.1",
|
|
125
|
+
"vite": "^5.0.12",
|
|
110
126
|
"webpack": "^5.89.0"
|
|
111
127
|
},
|
|
112
128
|
"peerDependencies": {
|
|
@@ -124,5 +140,6 @@
|
|
|
124
140
|
"webpack-virtual-modules": "^0.4.2",
|
|
125
141
|
"prettier": "2.2.1"
|
|
126
142
|
},
|
|
127
|
-
"snyk": true
|
|
143
|
+
"snyk": true,
|
|
144
|
+
"packageManager": "yarn@4.0.2"
|
|
128
145
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#! /usr/bin/env node
|
|
2
|
+
const path = require('path')
|
|
3
|
+
const fs = require('fs')
|
|
4
|
+
|
|
5
|
+
const tsConfigLocation = path.resolve(__dirname, '../tsconfig.json')
|
|
6
|
+
|
|
7
|
+
const config = JSON.parse(fs.readFileSync(tsConfigLocation, 'utf-8'))
|
|
8
|
+
|
|
9
|
+
require('ts-node').register(config)
|
|
10
|
+
require('../src/bin/rpt-cdk.ts')
|