@arbocollab/arbo-web-search 1.0.5 → 1.0.6
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 +11 -49
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/es/index.es.js +2 -2
- package/dist/es/index.es.js.map +1 -1
- package/dist/umd/index.umd.js +2 -2
- package/dist/umd/index.umd.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,59 +5,21 @@ This template should help get you started developing with Vue 3 and TypeScript i
|
|
|
5
5
|
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Step to publish package to live
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
https://cdn.jsdelivr.net/npm/<package-name\>@<version\>/<file-path\>
|
|
10
|
+
### Build package
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
make up
|
|
13
|
+
make serve
|
|
15
14
|
|
|
15
|
+
Update the ui-components package versions
|
|
16
|
+
> npm install @arbocollab/arbo-ui-components@1.0.368
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
Update the package version
|
|
19
|
+
> "version": "1.0.6",
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
> npm install
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
"main": "dist/gs.umd.min.js" // global all browsers
|
|
24
|
-
"module": "dist/gsm.esm.js" // ESM modern browsers
|
|
25
|
-
"browser": dist/gs.umd.min.js", // fallback for browsers
|
|
26
|
-
"files" : ["dist"], // push the dist folder
|
|
27
|
-
...
|
|
28
|
-
```
|
|
23
|
+
## Publish package
|
|
29
24
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- UMD/ESM build => prefer UMD minified
|
|
33
|
-
|
|
34
|
-
- register npmjs registry entry in .npmrc
|
|
35
|
-
|
|
36
|
-
- npm run build --mode=production
|
|
37
|
-
|
|
38
|
-
- npm publish (to npmJS, ONLY dist/.umd file)
|
|
39
|
-
|
|
40
|
-
# Live publish using makefile
|
|
41
|
-
|
|
42
|
-
## i. Preparation
|
|
43
|
-
|
|
44
|
-
- Update dependencies to live version: `"@arbocollab/arbo-ui-components": "npm:@arbocollab/arbo-ui-components@^1.x.xxx",`
|
|
45
|
-
|
|
46
|
-
- Change `"version": "1.x.x",`
|
|
47
|
-
|
|
48
|
-
## ii. Publish to NpmJS & JsDelivr CDN
|
|
49
|
-
|
|
50
|
-
- Publish using Makefile instruction:
|
|
51
|
-
|
|
52
|
-
- Install
|
|
53
|
-
`make install`
|
|
54
|
-
|
|
55
|
-
- Build for production
|
|
56
|
-
`make build-production`
|
|
57
|
-
|
|
58
|
-
- Publish to npmjs public package repository
|
|
59
|
-
`make publish-npmjs`
|
|
60
|
-
|
|
61
|
-
- Clear cdn cache
|
|
62
|
-
`make purge-cdn-cache`
|
|
63
|
-
```
|
|
25
|
+
> make
|