@redocly/marketing-pages 0.1.0 → 0.1.1
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 +16 -1
- package/package.json +17 -14
package/README.md
CHANGED
|
@@ -7,4 +7,19 @@ It is published to NPM as `@redocly/marketing-pages`. The code is minified.
|
|
|
7
7
|
|
|
8
8
|
## Development
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
1. Run `npm link` in this repo;
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm link
|
|
14
|
+
```
|
|
15
|
+
Ensure you use same node version in both repos.
|
|
16
|
+
|
|
17
|
+
2. Go to the marketing-site-portal repo and run:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm link @redocly/marketing-pages
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
3. Run `npm run dev` in this repo.
|
|
24
|
+
|
|
25
|
+
4. Run `npm start` in the marketing-site-portal repo.
|
package/package.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/marketing-pages",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"keywords": [],
|
|
5
|
+
"author": "",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"description": "",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "tsc && npm run copy-images && node ./tools/minify.js dist",
|
|
10
|
+
"test:vitest": "vitest run",
|
|
11
|
+
"test:vitest:watch": "vitest",
|
|
12
|
+
"copy-images": "copyfiles -u 1 \"src/**/*.{png,svg,jpg,jpeg,gif,webp}\" dist",
|
|
13
|
+
"dev": "tsc --watch",
|
|
14
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
15
|
+
},
|
|
4
16
|
"exports": {
|
|
5
17
|
"./*": "./dist/*"
|
|
6
18
|
},
|
|
@@ -27,11 +39,12 @@
|
|
|
27
39
|
"react-tabs": "^6.1.0",
|
|
28
40
|
"react-tooltip": "^4.2.21",
|
|
29
41
|
"reactjs-popup": "^2.0.6",
|
|
30
|
-
"ulid": "^2.3.0"
|
|
42
|
+
"ulid": "^2.3.0",
|
|
43
|
+
"vitest": "^3.1.3"
|
|
31
44
|
},
|
|
32
45
|
"peerDependencies": {
|
|
33
46
|
"@redocly/config": "^0.24.0",
|
|
34
|
-
"@redocly/theme": "
|
|
47
|
+
"@redocly/theme": "*",
|
|
35
48
|
"react": "^18.3.1",
|
|
36
49
|
"react-dom": "^18.3.1",
|
|
37
50
|
"styled-components": ">=5.3.11"
|
|
@@ -53,15 +66,5 @@
|
|
|
53
66
|
"react-dom": "^18.3.1",
|
|
54
67
|
"styled-components": ">=5.3.11",
|
|
55
68
|
"typescript": "^5.8.3"
|
|
56
|
-
}
|
|
57
|
-
"scripts": {
|
|
58
|
-
"build": "tsc && npm run copy-images && node ./tools/minify.js dist",
|
|
59
|
-
"copy-images": "copyfiles -u 1 \"src/**/*.{png,svg,jpg,jpeg,gif,webp}\" dist",
|
|
60
|
-
"dev": "tsc --watch",
|
|
61
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
62
|
-
},
|
|
63
|
-
"keywords": [],
|
|
64
|
-
"author": "",
|
|
65
|
-
"license": "UNLICENSED",
|
|
66
|
-
"description": ""
|
|
69
|
+
}
|
|
67
70
|
}
|