ecotransac-shared-js 0.0.1 → 0.0.9
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name: Node.js Package
|
|
1
|
+
name: Node.js Package publish
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
@@ -6,16 +6,23 @@ on:
|
|
|
6
6
|
- main
|
|
7
7
|
|
|
8
8
|
jobs:
|
|
9
|
-
publish-
|
|
9
|
+
publish-package:
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
11
|
steps:
|
|
12
12
|
- uses: actions/checkout@v4
|
|
13
|
-
- uses:
|
|
13
|
+
- uses: pnpm/action-setup@v2
|
|
14
14
|
with:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
version: 8.15.9
|
|
16
|
+
- name: Build
|
|
17
|
+
uses: actions/setup-node@v3
|
|
18
|
+
with:
|
|
19
|
+
node-version: "18"
|
|
20
|
+
cache: "pnpm"
|
|
21
|
+
- name: Install dependencies
|
|
22
|
+
run: pnpm install --frozen-lockfile
|
|
23
|
+
- name: Build
|
|
24
|
+
run: npm run lint && npm run build
|
|
25
|
+
- name: Publish
|
|
26
|
+
run: npm publish
|
|
20
27
|
env:
|
|
21
|
-
|
|
28
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# echo "Eslint and Prettier checks"
|
|
2
|
+
# npm run lint && npm run format
|
|
3
|
+
|
|
4
|
+
# echo "Running knip to check for unused files, exports and dependencies"
|
|
5
|
+
# npx knip --max-issues 1
|
|
6
|
+
|
|
7
|
+
echo "Upgrading version"
|
|
8
|
+
npm version patch --no-git-tag-version
|
|
9
|
+
git add ./package.json
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ecotransac-shared-js",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"modules": "dist/index.mjs",
|
|
@@ -8,10 +8,14 @@
|
|
|
8
8
|
"keywords": [],
|
|
9
9
|
"author": "ecotransac",
|
|
10
10
|
"license": "MIT",
|
|
11
|
+
"repository": {
|
|
12
|
+
"url": "https://github.com/Rabire/ecotransac-shared-js"
|
|
13
|
+
},
|
|
11
14
|
"scripts": {
|
|
12
15
|
"build": "tsup",
|
|
13
|
-
"
|
|
14
|
-
"generate": "graphql-codegen --config codegen.ts"
|
|
16
|
+
"lint": "tsc",
|
|
17
|
+
"generate": "graphql-codegen --config codegen.ts",
|
|
18
|
+
"prepare": "husky"
|
|
15
19
|
},
|
|
16
20
|
"dependencies": {
|
|
17
21
|
"dotenv": "^16.4.5"
|
|
@@ -19,6 +23,7 @@
|
|
|
19
23
|
"devDependencies": {
|
|
20
24
|
"@graphql-codegen/cli": "^5.0.3",
|
|
21
25
|
"@graphql-codegen/typescript": "^4.1.0",
|
|
26
|
+
"husky": "^9.1.6",
|
|
22
27
|
"tsup": "^8.3.0",
|
|
23
28
|
"typescript": "^5.6.3"
|
|
24
29
|
}
|
/package/{REASME.md → README.md}
RENAMED
|
File without changes
|