@aitronos/freddy-plugins 0.3.0 → 0.4.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/CHANGELOG.md +8 -0
- package/README.md +61 -11
- package/dist/freddy-plugins.css +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -52
- package/dist/index.js +556 -552
- package/dist/index.js.map +1 -1
- package/package.json +14 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aitronos/freddy-plugins",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
"import": "./dist/index.js",
|
|
14
14
|
"require": "./dist/index.cjs"
|
|
15
15
|
},
|
|
16
|
+
"./web-components": {
|
|
17
|
+
"types": "./dist/web-components.d.ts",
|
|
18
|
+
"import": "./dist/web-components.js",
|
|
19
|
+
"require": "./dist/web-components.umd.js"
|
|
20
|
+
},
|
|
21
|
+
"./web-components.css": {
|
|
22
|
+
"default": "./dist/freddy-plugins.css"
|
|
23
|
+
},
|
|
16
24
|
"./*": {
|
|
17
25
|
"types": "./dist/*.d.ts",
|
|
18
26
|
"import": "./dist/*.js",
|
|
@@ -39,10 +47,12 @@
|
|
|
39
47
|
"scripts": {
|
|
40
48
|
"dev": "vite",
|
|
41
49
|
"build": "yarn clean && yarn generate:icons-export && yarn generate:animations-exports && yarn generate:components-exports && yarn generate:components-stories && yarn generate:icon-stories && vue-tsc -p tsconfig.build.json && vite build",
|
|
50
|
+
"build:webcomponents": "yarn clean && yarn generate:icons-export && yarn generate:animations-exports && yarn generate:components-exports && yarn generate:components-stories && yarn generate:icon-stories && vue-tsc -p tsconfig.build.json && BUILD_TARGET=webcomponents vite build",
|
|
51
|
+
"build:all": "yarn build && yarn build:webcomponents",
|
|
42
52
|
"preview": "vite preview",
|
|
43
53
|
"visualize-build": "ANALYZE=true yarn build",
|
|
44
54
|
"clean": "rimraf dist",
|
|
45
|
-
"prepublishOnly": "yarn build",
|
|
55
|
+
"prepublishOnly": "yarn build:all",
|
|
46
56
|
"publish:package": "yarn npm publish --access public",
|
|
47
57
|
"storybook": "yarn fetch:versions && storybook dev -p 6006",
|
|
48
58
|
"fetch:versions": "node src/scripts/get-versions.js",
|
|
@@ -59,7 +69,7 @@
|
|
|
59
69
|
"version:patch": "node scripts/bump-version.js patch",
|
|
60
70
|
"version:minor": "node scripts/bump-version.js minor",
|
|
61
71
|
"version:major": "node scripts/bump-version.js major",
|
|
62
|
-
"publish:manual": "yarn build && yarn npm publish --access public",
|
|
72
|
+
"publish:manual": "yarn build:all && yarn npm publish --access public",
|
|
63
73
|
"test:build": "./scripts/test-build.sh",
|
|
64
74
|
"test:quick": "./scripts/quick-test.sh"
|
|
65
75
|
},
|
|
@@ -90,6 +100,7 @@
|
|
|
90
100
|
"@vitest/browser": "^3.1.1",
|
|
91
101
|
"@vitest/coverage-v8": "^3.1.2",
|
|
92
102
|
"@vue/tsconfig": "^0.7.0",
|
|
103
|
+
"@vue/web-component-wrapper": "^1.3.0",
|
|
93
104
|
"concurrently": "^9.1.2",
|
|
94
105
|
"cpx": "^1.5.0",
|
|
95
106
|
"gh-pages": "^6.3.0",
|