@preply/ds-docs 0.17.1 → 0.18.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/config/main.js +2 -2
- package/{utils → config/utils}/globs.js +0 -0
- package/{utils → config/utils}/statics.js +0 -0
- package/dist/0.c2c52a48.iframe.bundle.js +1 -0
- package/dist/{15.08d41143.iframe.bundle.js → 17.36e3b147.iframe.bundle.js} +1 -1
- package/dist/{16.6d35c467.iframe.bundle.js → 18.c82cd4f6.iframe.bundle.js} +1 -1
- package/dist/{17.e5e0cff4.iframe.bundle.js → 19.a7c546de.iframe.bundle.js} +1 -1
- package/dist/{4.b747d0126f12a3174989.manager.bundle.js → 4.f22207b64e4d1767a207.manager.bundle.js} +2 -2
- package/dist/{4.b747d0126f12a3174989.manager.bundle.js.LICENSE.txt → 4.f22207b64e4d1767a207.manager.bundle.js.LICENSE.txt} +0 -0
- package/dist/global/docs/static/data/features.json +1 -0
- package/dist/global/docs/static/data/projects.json +1 -101
- package/dist/global/docs/static/data/used-by.json +1 -0
- package/dist/iframe.html +1 -1
- package/dist/index.html +1 -1
- package/dist/main~3c949452.5331cd31.iframe.bundle.js +1 -0
- package/dist/main~493df0b3.c0c42aae.iframe.bundle.js +1 -0
- package/dist/main~6dcfc2f7.b89cbcb4.iframe.bundle.js +1 -0
- package/dist/main~adec5aba.bf2184c6.iframe.bundle.js +1 -0
- package/dist/main~dc51bad7.30144756.iframe.bundle.js +1 -0
- package/dist/{runtime~main.b74eee19.iframe.bundle.js → runtime~main.4e3eae6c.iframe.bundle.js} +1 -1
- package/dist/{runtime~main.8e5bef40c9e66074a4b5.manager.bundle.js → runtime~main.b6fd37872fbce985f385.manager.bundle.js} +1 -1
- package/dist/vendors~main~253ae210.94345bce.iframe.bundle.js +1 -0
- package/dist/vendors~main~4134d62c.fa875551.iframe.bundle.js +1 -0
- package/dist/{vendors~main~678f84af.0ec649e4.iframe.bundle.js → vendors~main~678f84af.8ccf9640.iframe.bundle.js} +1 -1
- package/dist/{vendors~main~a353122d.a896d87b.iframe.bundle.js → vendors~main~a353122d.6c9e7044.iframe.bundle.js} +1 -1
- package/dist/{vendors~main~ab68c3a7.9826dc9a.iframe.bundle.js → vendors~main~ab68c3a7.76cee064.iframe.bundle.js} +1 -1
- package/dist/{vendors~main~bdc480fb.645475cd.iframe.bundle.js → vendors~main~bdc480fb.408ce141.iframe.bundle.js} +1 -1
- package/dist/{vendors~main~d88e64ba.8bc6102b.iframe.bundle.js → vendors~main~d88e64ba.9e502858.iframe.bundle.js} +1 -1
- package/package.json +4 -5
- package/scripts/copy-statics.js +1 -1
- package/dist/0.bef0adc4.iframe.bundle.js +0 -1
- package/dist/global/docs/static/data/components.json +0 -1078
- package/dist/main~493df0b3.240e7f6a.iframe.bundle.js +0 -1
- package/dist/main~6dcfc2f7.27ac9f72.iframe.bundle.js +0 -1
- package/dist/main~dc51bad7.bf947594.iframe.bundle.js +0 -1
- package/dist/vendors~main~253ae210.1378a211.iframe.bundle.js +0 -1
- package/dist/vendors~main~4134d62c.c3c3dc77.iframe.bundle.js +0 -1
- package/scripts/copy-metadata-and-assets.js +0 -89
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@preply/ds-docs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -8,13 +8,12 @@
|
|
|
8
8
|
"clean": "rm -rf dist && rm -rf static",
|
|
9
9
|
"clean:cache": "rm -rf node_modules/.cache/",
|
|
10
10
|
"lint": "run --top-level eslint --ext .js,.ts,.tsx,.mdx config/ scripts/",
|
|
11
|
-
"dev": "run build:changelog && run build:
|
|
11
|
+
"dev": "run build:changelog && run build:statics && run dev:storybook",
|
|
12
12
|
"dev:storybook": "start-storybook -c config -s ./static -p 6006",
|
|
13
13
|
"dev:skip-cache": "run clean:cache && start-storybook -c config --no-manager-cache -s ./static -p 6006",
|
|
14
|
-
"build": "run build:changelog && run build:
|
|
14
|
+
"build": "run build:changelog && run build:statics && run build:storybook",
|
|
15
15
|
"build:changelog": "node ./scripts/publish-changelog.js",
|
|
16
16
|
"build:statics": "node ./scripts/copy-statics.js",
|
|
17
|
-
"build:meta": "node scripts/copy-metadata-and-assets.js",
|
|
18
17
|
"build:storybook": "build-storybook -c config -s ./static -o dist/",
|
|
19
18
|
"serve": "run --top-level http-server dist/"
|
|
20
19
|
},
|
|
@@ -47,5 +46,5 @@
|
|
|
47
46
|
"webpack": "4.46.0",
|
|
48
47
|
"webpack-merge": "5.8.0"
|
|
49
48
|
},
|
|
50
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "34c20b9a5af334de00047237a481821443bbf3bc"
|
|
51
50
|
}
|
package/scripts/copy-statics.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { mkdirSync } = require('fs');
|
|
2
2
|
|
|
3
3
|
const { packages } = require('../config/packages');
|
|
4
|
-
const { preparePackageStatics, staticsCopy } = require('../utils/statics');
|
|
4
|
+
const { preparePackageStatics, staticsCopy } = require('../config/utils/statics');
|
|
5
5
|
|
|
6
6
|
console.info('copy statics');
|
|
7
7
|
|