0.0.180 • Published 3 years ago

printer-logic-components v0.0.180

Weekly downloads
540
License
-
Repository
-
Last release
3 years ago

printer-logic-components

Vue component library


This library uses the CLI templating utility vue-sfc-rollup to bundle our library.

To Get Up and Running:

  • Clone this repo

     git clone https://github.com/PrinterLogic/vasion-components.git
  • Navigate into the repo and run npm install

    npm install

For Development:

  • Run your dev server (the default port is 8080)

    # Run your dev server
    npm run serve
  • Current as well as all new components will be located in the src/lib-components directory.

  • After adding a new component, add a line to the index.js exporting your new component.
  • If you want to test your new component, add it to the list of components in the serve.vue file.
  • Take a look at localhost://8080 to ensure your new component is functioning correctly.

NPM Automation and Deployment

Versioning

Whenever a pull request is merged, a Github Action fires to increment the NPM version in package.json. Nothing has to be done from the developer's side of things to increment the version. If for some reason the action needs to be triggered manually, you can go into the Github Action and click "Run Workflow".

Publishing

After the Versioning action completes, the Publishing action runs after. This will automatically package the code and deploy it to NPM. Nothing has to be done from the developer's side of things to publish. If for some reason the action needs to be triggered manually, you can go into the Github Action and click "Run Workflow".

Manually publishing to NPM (outdated):

Set Up Your NPM Account

  • If you don't have one already you can create a user account HERE
  • Next you'll need to add your account to your terminal by running:

    # Adds your user to the terminal
    npm adduser
# Install globally (recommended)
npm install -g vue-sfc-rollup
sfc-init

OR use via npx

# For immediate, no-install usage
npx vue-sfc-rollup
``` -->
 - Update the version in the package.json file. Please follow [semantic versioning](https://docs.npmjs.com/about-semantic-versioning)

```bash
# Navigate to library folder
cd path/to/my-component-or-lib

# Update our index.js to include any new components or SVGs to our exports list
npm run index

# At this point you should create your PR
# Once your PR is merged, proceed

# Run build process
npm run build

# Rollup does its thing...done!
# Ready to publish!

npm publish

Running the build script results in 3 compiled files in the dist directory, one for each of the main, module, and unpkg properties listed in your package.json file. With these files generated, you're ready to go!

To Use Locally in Another Project

Look at this Confluence Page

0.0.180

3 years ago

0.0.179

3 years ago

0.0.178

3 years ago

0.0.175

3 years ago

0.0.174

3 years ago

0.0.173

3 years ago

0.0.172

3 years ago

0.0.177

3 years ago

0.0.176

3 years ago

0.0.171

3 years ago

0.0.170

3 years ago

0.0.169

3 years ago

0.0.168

3 years ago

0.0.167

3 years ago

0.0.166

3 years ago

0.0.165

3 years ago

0.0.164

3 years ago

0.0.163

3 years ago

0.0.159

3 years ago

0.0.158

3 years ago

0.0.157

3 years ago

0.0.156

3 years ago

0.0.162

3 years ago

0.0.161

3 years ago

0.0.160

3 years ago

0.0.155

3 years ago

0.0.153

3 years ago

0.0.152

3 years ago

0.0.151

3 years ago

0.0.150

3 years ago

0.0.154

3 years ago

0.0.149

3 years ago

0.0.148

3 years ago

0.0.147

3 years ago

0.0.146

3 years ago

0.0.145

3 years ago

0.0.144

3 years ago

0.0.143

3 years ago

0.0.142

3 years ago

0.0.141

3 years ago

1.0.0

3 years ago

0.0.139

3 years ago

0.0.138

3 years ago

0.0.140

3 years ago

0.0.137

3 years ago

0.0.128

3 years ago

0.0.127

3 years ago

0.0.129

3 years ago

0.0.136

3 years ago

0.0.131

3 years ago

0.0.130

3 years ago

0.0.135

3 years ago

0.0.134

3 years ago

0.0.132

3 years ago

0.0.126

3 years ago

0.0.125

3 years ago

0.0.106

3 years ago

0.0.104

3 years ago

0.0.103

3 years ago

0.0.108

3 years ago

0.0.107

3 years ago

0.0.102

3 years ago

0.0.101

3 years ago

0.0.117

3 years ago

0.0.116

3 years ago

0.0.115

3 years ago

0.0.114

3 years ago

0.0.119

3 years ago

0.0.118

3 years ago

0.0.113

3 years ago

0.0.112

3 years ago

0.0.111

3 years ago

0.0.110

3 years ago

0.0.120

3 years ago

0.0.124

3 years ago

0.0.123

3 years ago

0.0.122

3 years ago

0.0.100

3 years ago

0.0.99

3 years ago

0.0.97

3 years ago

0.0.98

3 years ago

0.0.96

3 years ago

0.0.95

3 years ago

0.0.86

3 years ago

0.0.87

3 years ago

0.0.88

3 years ago

0.0.89

3 years ago

0.0.90

3 years ago

0.0.91

3 years ago

0.0.92

3 years ago

0.0.93

3 years ago

0.0.94

3 years ago

0.0.85

3 years ago

0.0.84

3 years ago

0.0.83

3 years ago

0.0.81

3 years ago

0.0.82

3 years ago

0.0.80

3 years ago

0.0.77

3 years ago

0.0.78

3 years ago

0.0.79

3 years ago

0.0.75

3 years ago

0.0.76

3 years ago

0.0.74

3 years ago

0.0.73

3 years ago

0.0.72

3 years ago

0.0.71

3 years ago

0.0.70

3 years ago

0.0.68

3 years ago

0.0.69

3 years ago

0.0.67

3 years ago

0.0.66

3 years ago

0.0.64

3 years ago

0.0.65

3 years ago

0.0.62

3 years ago

0.0.63

3 years ago

0.0.60

3 years ago

0.0.61

3 years ago

0.0.59

3 years ago

0.0.57

3 years ago

0.0.58

3 years ago

0.0.55

3 years ago

0.0.54

3 years ago

0.0.53

3 years ago

0.0.51

3 years ago

0.0.52

3 years ago

0.0.50

3 years ago

0.0.40

3 years ago

0.0.41

3 years ago

0.0.42

3 years ago

0.0.43

3 years ago

0.0.44

3 years ago

0.0.45

3 years ago

0.0.46

3 years ago

0.0.47

3 years ago

0.0.37

3 years ago

0.0.38

3 years ago

0.0.39

3 years ago

0.0.35

3 years ago

0.0.48

3 years ago

0.0.49

3 years ago

0.0.34

3 years ago

0.0.32

3 years ago

0.0.33

3 years ago

0.0.31

3 years ago

0.0.30

3 years ago

0.0.28

3 years ago

0.0.29

3 years ago

0.0.27

3 years ago

0.0.26

3 years ago

0.0.21

3 years ago

0.0.22

3 years ago

0.0.24

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago