@usssa/component-library 1.0.0-alpha.76 → 1.0.0-alpha.78
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 +7 -3
- package/temp/App.vue +0 -9
- package/temp/README.md +0 -35
- package/temp/boot/.gitkeep +0 -0
- package/temp/boot/google-maps.js +0 -11
- package/temp/package.json +0 -64
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usssa/component-library",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.78",
|
|
4
4
|
"description": "A Quasar component library project",
|
|
5
5
|
"productName": "Quasar component library App",
|
|
6
6
|
"author": "Troy Moreland <troy.moreland@usssa.com>",
|
|
7
|
-
"main": "
|
|
7
|
+
"main": "components/index.js",
|
|
8
8
|
"files": [
|
|
9
|
-
"temp
|
|
9
|
+
"temp/assets",
|
|
10
|
+
"temp/css",
|
|
11
|
+
"temp/components",
|
|
12
|
+
"temp/composables",
|
|
13
|
+
"temp/utils",
|
|
10
14
|
"README.md",
|
|
11
15
|
"package.json"
|
|
12
16
|
],
|
package/temp/App.vue
DELETED
package/temp/README.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Component Library
|
|
2
|
-
|
|
3
|
-
**This library provides custom UI components for USSSA applications.**
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
1. Install the packge using command 'yarn'
|
|
8
|
-
2. Go to specific page where you want to use a component from that library.
|
|
9
|
-
a. Import the component in your project: `import { UBtnStd } from '@usssa/component-library'`
|
|
10
|
-
b. Use the BtnStd component in your Nuxt app: `<UBtnStd label="Test" size="lg" />`
|
|
11
|
-
3. We need to import below file to support component library styling in our project
|
|
12
|
-
a. @import '@usssa/component-library/src/css/app.sass'
|
|
13
|
-
b. @import '@usssa/component-library/src/css/quasar.variables.sass'
|
|
14
|
-
|
|
15
|
-
## Development
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
# Clone with appropriate credentials
|
|
19
|
-
git clone https://github.com/usssa-org/component-library
|
|
20
|
-
|
|
21
|
-
cd component-library
|
|
22
|
-
yarn install
|
|
23
|
-
yarn dev
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Usage in other local projects
|
|
27
|
-
|
|
28
|
-
1. Clone the component-library repo and install dependencies
|
|
29
|
-
2. In component-library directory run `yarn link`
|
|
30
|
-
3. In Nuxt or Quasar project directory run `yarn link @usssa/component-library`
|
|
31
|
-
|
|
32
|
-
When done:
|
|
33
|
-
|
|
34
|
-
1. In Nuxt or Quasar project directory run `yarn unlink @usssa/component-library`
|
|
35
|
-
2. In component-library directory run `yarn unlink`
|
package/temp/boot/.gitkeep
DELETED
|
File without changes
|
package/temp/boot/google-maps.js
DELETED
package/temp/package.json
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@usssa/component-library",
|
|
3
|
-
"version": "1.0.0-alpha.76",
|
|
4
|
-
"description": "A Quasar component library project",
|
|
5
|
-
"productName": "Quasar component library App",
|
|
6
|
-
"author": "Troy Moreland <troy.moreland@usssa.com>",
|
|
7
|
-
"main": "component-library/components/index.js",
|
|
8
|
-
"files": [
|
|
9
|
-
"temp/*",
|
|
10
|
-
"README.md",
|
|
11
|
-
"package.json"
|
|
12
|
-
],
|
|
13
|
-
"publishConfig": {
|
|
14
|
-
"access": "public"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"lint": "eslint --ext .js,.vue ./",
|
|
18
|
-
"semantic-release": "semantic-release",
|
|
19
|
-
"format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore",
|
|
20
|
-
"test": "echo \"No test specified\" && exit 0",
|
|
21
|
-
"deploy": "firebase deploy",
|
|
22
|
-
"dev": "quasar dev",
|
|
23
|
-
"build": "quasar build",
|
|
24
|
-
"prepublishOnly": "npm run build",
|
|
25
|
-
"start": "node --experimental-detect-module index.js"
|
|
26
|
-
},
|
|
27
|
-
"repository": {
|
|
28
|
-
"type": "git",
|
|
29
|
-
"url": "git+https://github.com/usssa-org/component-library.git"
|
|
30
|
-
},
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"@fawmi/vue-google-maps": "^0.9.79",
|
|
33
|
-
"@quasar/extras": "^1.16.4",
|
|
34
|
-
"flag-icons": "^7.2.3",
|
|
35
|
-
"quasar": "^2.16.0",
|
|
36
|
-
"vue": "^3.4.18",
|
|
37
|
-
"vue-router": "^4.0.12"
|
|
38
|
-
},
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"@quasar/app-vite": "^1.9.0",
|
|
41
|
-
"autoprefixer": "^10.4.2",
|
|
42
|
-
"dotenv": "^16.4.5",
|
|
43
|
-
"eslint": "^8.57.0",
|
|
44
|
-
"eslint-config-prettier": "^8.1.0",
|
|
45
|
-
"eslint-plugin-vue": "^9.0.0",
|
|
46
|
-
"npm-run-all": "^4.1.5",
|
|
47
|
-
"postcss": "^8.4.14",
|
|
48
|
-
"prettier": "^2.5.1",
|
|
49
|
-
"semantic-release": "^24.1.0",
|
|
50
|
-
"vite-plugin-alias": "^0.1.1",
|
|
51
|
-
"vite-plugin-checker": "^0.6.4"
|
|
52
|
-
},
|
|
53
|
-
"engines": {
|
|
54
|
-
"node": "^20 || ^18 || ^16",
|
|
55
|
-
"npm": ">= 6.13.4",
|
|
56
|
-
"yarn": ">= 1.21.1"
|
|
57
|
-
},
|
|
58
|
-
"homepage": "https://github.com/usssa-org/component-library#readme",
|
|
59
|
-
"bugs": {
|
|
60
|
-
"url": "https://github.com/usssa-org/component-library/issues"
|
|
61
|
-
},
|
|
62
|
-
"license": "ISC",
|
|
63
|
-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
64
|
-
}
|