@aitronos/freddy-plugins 0.1.42 → 0.1.44

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 CHANGED
@@ -4,64 +4,36 @@ This template should help get you started developing with Vue 3 and TypeScript i
4
4
 
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
- OLD yml
8
- name: Publish Package
9
7
 
10
- on:
11
- push:
12
- branches: - main # Only trigger when code is merged or committed to main
8
+ ## Recommended IDE Setup
9
+ Install yarn 4.7.0 or greater.
13
10
 
14
- jobs:
15
- publish:
16
- runs-on: ubuntu-latest
11
+ to install dependencies
12
+ use npm i - g yarn@4.7.0
17
13
 
18
- steps:
19
- - name: Checkout Repo
20
- uses: actions/checkout@v3
14
+ Most cases you will get an error like this
21
15
 
22
- - name: Setup Node.js
23
- uses: actions/setup-node@v3
24
- with:
25
- node-version: 18
26
- registry-url: "https://registry.npmjs.org"
16
+ Aitronos.Freddy.Plugins % npm i -g yarn@4.7.0
17
+ npm error code ETARGET
18
+ npm error notarget No matching version found for yarn@4.7.0.
19
+ npm error notarget In most cases you or one of your dependencies are requesting
20
+ npm error notarget a package version that doesn't exist.
27
21
 
28
- - name: Enable Corepack
29
- run: corepack enable # Ensures correct Yarn version is used
30
22
 
31
- - name: Install Dependencies
32
- run: yarn install --immutable
23
+ ## To resolve this error
33
24
 
34
- - name: Build Package
35
- run: yarn build
25
+ You have to enable corepack
36
26
 
37
- - name: Check for Version Change
38
- id: check_version
39
- run: |
40
- git fetch origin main
41
- if git diff --quiet origin/main -- package.json; then
42
- echo "No version change detected. Skipping auto bump."
43
- echo "SKIP_BUMP=true" >> $GITHUB_ENV
44
- else
45
- echo "Version was changed manually. Skipping auto bump."
46
- echo "SKIP_BUMP=true" >> $GITHUB_ENV
47
- fi
27
+ ```sh
28
+ corepack enable
29
+ corepack prepare yarn@4.7.0 --activate
30
+ ```
48
31
 
49
- - name: Auto Version Bump
50
- if: ${{ env.SKIP_BUMP != 'true' }}
51
- run: |
52
- yarn version patch --no-git-tag-version # Bumps patch version
53
- git config --global user.name "github-actions"
54
- git config --global user.email "github-actions@github.com"
55
- git add package.json
56
- git commit -m "chore: bump version [skip ci]"
57
- git push origin main
58
32
 
59
- - name: Set NPM Auth Token for Yarn
60
- run: yarn config set npmAuthToken $NODE_AUTH_TOKEN
61
- env:
62
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
33
+ ## TO RUN THE PROJECT
34
+
35
+ ```sh
36
+ yarn install (one time)
37
+ yarn dev
38
+ ```
63
39
 
64
- - name: Publish to NPM
65
- run: yarn npm publish --access public
66
- env:
67
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}