@aitronos/freddy-plugins 0.1.43 → 0.1.45
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 +22 -50
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +665 -646
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
11
|
-
|
|
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
|
-
|
|
15
|
-
|
|
16
|
-
runs-on: ubuntu-latest
|
|
11
|
+
to install dependencies
|
|
12
|
+
use npm i - g yarn@4.7.0
|
|
17
13
|
|
|
18
|
-
|
|
19
|
-
- name: Checkout Repo
|
|
20
|
-
uses: actions/checkout@v3
|
|
14
|
+
Most cases you will get an error like this
|
|
21
15
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
32
|
-
run: yarn install --immutable
|
|
23
|
+
## To resolve this error
|
|
33
24
|
|
|
34
|
-
|
|
35
|
-
run: yarn build
|
|
25
|
+
You have to enable corepack
|
|
36
26
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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 }}
|