@dialpad/dialtone-vue 2.81.0-beta.1 → 2.81.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/package.json CHANGED
@@ -1,31 +1,35 @@
1
1
  {
2
2
  "name": "@dialpad/dialtone-vue",
3
- "version": "2.81.0-beta.1",
3
+ "version": "2.81.0",
4
4
  "description": "Vue component library for Dialpad's design system Dialtone",
5
5
  "scripts": {
6
- "build": "npm run clean && npm run build:main && npm run build:documentation",
7
- "build:main": "vite build",
6
+ "build": "npm run clean && npm run build-main && npm run build-emoji && npm run build:documentation",
8
7
  "lint": "run-s lint:code lint:docs",
8
+ "build-emoji": "vue-cli-service build --target lib --name emoji --no-clean emoji.js",
9
+ "build-main": "vue-cli-service build --target lib --name dialtone-vue --no-clean index.js",
9
10
  "build:documentation": "node scripts/build-docs.js",
11
+ "build:wc": "vue-cli-service build --target wc-async --name dialtone-vue 'components/**/*[!.story]*.vue'",
10
12
  "clean": "rm -rf ./dist",
11
- "install:all": "npm install && npm install --prefix generator-dialtone-vue",
12
- "lint-staged:code": "eslint --ext .js,.vue --ignore-path .gitignore --fix",
13
+ "install:all": "npm install && npm install --prefix storybook && npm install --prefix generator-dialtone-vue",
14
+ "lint-staged:code": "eslint --fix",
13
15
  "lint-staged:docs": "markdownlint --fix",
14
- "lint:code": "eslint --ext .js,.vue --ignore-path .gitignore",
16
+ "lint:code": "esplint ./",
15
17
  "lint:docs": "markdownlint '**/*.mdx'",
16
18
  "prepublishOnly": "npm run build",
17
19
  "pretest": "npm run clean",
18
- "release": "semantic-release --no-ci --extends ./release-local.config.cjs",
19
- "start": "STORYBOOK_ENV=development npm run storybook",
20
- "storybook": "storybook dev -p 9010",
21
- "storybook:build": "storybook build && touch ./storybook-static/.nojekyll",
22
- "storybook:a11y-test": "node ./.storybook/storybook-a11y-test.cjs",
23
- "test": "jest",
24
- "test:one": "jest -t",
25
- "test:watch": "jest --watch"
20
+ "release": "semantic-release --no-ci --extends ./release-local.config.js",
21
+ "start": "npm run storybook",
22
+ "storybook": "npm run --prefix storybook storybook",
23
+ "storybook:a11y-test": "npm run --prefix storybook storybook-a11y-test",
24
+ "storybook:build": "npm run --prefix storybook build",
25
+ "storybook:install": "npm install --prefix storybook",
26
+ "test": "vue-cli-service test:unit",
27
+ "test:one": "vue-cli-service test:unit -t",
28
+ "test:watch": "vue-cli-service test:unit --watch"
26
29
  },
27
30
  "files": [
28
- "dist",
31
+ "dist/*.js",
32
+ "dist/component-documentation.json",
29
33
  "CHANGELOG.md",
30
34
  "CHANGELOG.json"
31
35
  ],
@@ -37,42 +41,31 @@
37
41
  "@tiptap/extension-text": "^2.0.2",
38
42
  "@tiptap/pm": "^2.0.2",
39
43
  "@tiptap/vue-2": "^2.0.2",
40
- "@vue/vue2-jest": "^29.2.3",
41
44
  "emoji-regex": "^10.2.1",
42
45
  "emoji-toolkit": "^6.6.0",
43
46
  "seedrandom": "^3.0.5",
44
47
  "tippy.js": "^6.3.7"
45
48
  },
46
49
  "devDependencies": {
47
- "@babel/core": "^7.21.4",
48
- "@babel/plugin-transform-modules-commonjs": "^7.21.2",
49
- "@babel/preset-env": "^7.21.4",
50
50
  "@commitlint/cli": "^17.4.2",
51
51
  "@commitlint/config-conventional": "^17.4.2",
52
52
  "@dialpad/conventional-changelog-angular": "^1.1.1",
53
53
  "@dialpad/dialtone": "^7.25.1",
54
54
  "@dialpad/semantic-release-changelog-json": "^1.0.0",
55
- "@percy/cli": "^1.24.0",
56
- "@percy/storybook": "^4.3.6",
55
+ "@percy/cli": "^1.21.0",
56
+ "@percy/storybook": "^4.3.5",
57
57
  "@semantic-release/changelog": "^6.0.2",
58
58
  "@semantic-release/git": "^10.0.1",
59
- "@shopify/storybook-a11y-test": "^1.1.2",
60
- "@storybook/addon-a11y": "^7.0.6",
61
- "@storybook/addon-essentials": "^7.0.6",
62
- "@storybook/addon-interactions": "^7.0.6",
63
- "@storybook/addon-links": "^7.0.6",
64
- "@storybook/addon-styling": "^1.0.1",
65
- "@storybook/blocks": "^7.0.6",
66
- "@storybook/manager-api": "^7.0.6",
67
- "@storybook/testing-library": "^0.0.14-next.2",
68
- "@storybook/theming": "^7.0.6",
69
- "@storybook/vue": "^7.0.6",
70
- "@storybook/vue-vite": "^7.0.6",
71
- "@vitejs/plugin-vue2": "^2.2.0",
59
+ "@vue/cli-plugin-babel": "~5.0.8",
60
+ "@vue/cli-plugin-eslint": "~5.0.8",
61
+ "@vue/cli-plugin-unit-jest": "^5.0.8",
62
+ "@vue/cli-service": "~5.0.8",
72
63
  "@vue/test-utils": "1.3",
64
+ "@vue/vue2-jest": "^27.0.0-alpha.2",
73
65
  "axe-core": "^4.6.3",
74
- "babel-core": "^7.0.0-bridge.0",
75
- "babel-jest": "^29.5.0",
66
+ "babel-eslint": "^10.1.0",
67
+ "babel-jest": "^27.0.6",
68
+ "babel-plugin-dynamic-import-node": "^2.3.3",
76
69
  "chai": "^4.3.7",
77
70
  "eslint": "8.33",
78
71
  "eslint-config-semistandard": "^17.0.0",
@@ -81,31 +74,25 @@
81
74
  "eslint-plugin-jest": "^27.2.1",
82
75
  "eslint-plugin-node": "^11.1.0",
83
76
  "eslint-plugin-promise": "^6.1.1",
84
- "eslint-plugin-storybook": "^0.6.11",
85
77
  "eslint-plugin-vue": "^9.9.0",
86
78
  "eslint-plugin-vuejs-accessibility": "^2.1.0",
87
- "jest": "^29.5.0",
88
- "jest-environment-jsdom": "^29.5.0",
79
+ "esplint": "^0.10.1",
89
80
  "less": "^4.1.3",
81
+ "less-loader": "^11.1.0",
90
82
  "lint-staged": "^13.1.0",
91
83
  "macos-release": "^3.1.0",
92
84
  "markdownlint": "^0.27.0",
93
85
  "markdownlint-cli": "^0.33.0",
94
86
  "npm-run-all": "^4.1.5",
95
87
  "null-loader": "^4.0.1",
96
- "react": "^18.2.0",
97
- "react-dom": "^18.2.0",
98
88
  "semantic-release": "^19.0.5",
99
89
  "sinon": "^15.0.1",
100
90
  "source-map-support": "^0.5.21",
101
- "storybook": "^7.0.6",
102
- "vite": "^4.2.1",
103
91
  "vue": "^2.7.14",
104
92
  "vue-cli-plugin-webpack-bundle-analyzer": "~4.0.0",
105
93
  "vue-docgen-api": "^4.56.4",
106
- "vue-jest": "^3.0.7",
107
- "yo": "^4.3.1",
108
- "yorkie": "^2.0.0"
94
+ "vue-template-compiler": "^2.7.14",
95
+ "yo": "^4.3.1"
109
96
  },
110
97
  "peerDependencies": {
111
98
  "@dialpad/dialtone": ">=7.25",
@@ -140,18 +127,9 @@
140
127
  "engines": {
141
128
  "node": ">= 16"
142
129
  },
143
- "type": "module",
144
- "main": "./dist/dialtone-vue.cjs",
145
- "module": "./dist/dialtone-vue.js",
146
130
  "exports": {
147
- ".": {
148
- "import": "./dist/dialtone-vue.js",
149
- "require": "./dist/dialtone-vue.cjs"
150
- },
151
- "./emoji": {
152
- "import": "./dist/emoji.js",
153
- "require": "./dist/emoji.cjs"
154
- }
131
+ ".": "./dist/dialtone-vue.common.js",
132
+ "./emoji": "./dist/emoji.common.js"
155
133
  },
156
134
  "gitHooks": {
157
135
  "pre-commit": "lint-staged",