Skip to content

Commit 7368ae5

Browse files
Merge pull request #22 from contentstack/action-env-fix
Updated NPM config
2 parents d28c305 + cb1a34d commit 7368ae5

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

.github/workflows/npm-publish-github-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
types: [created]
99

1010
jobs:
11-
build:
11+
test:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
types: [created]
99

1010
jobs:
11-
build:
11+
test:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3

.npmignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
/src
22
/node_modules
3+
/tests
34

45
.env
56
.DS_Store
7+
.github
68

79
tsconfig.json
8-
tsup.config.ts
10+
tsup.config.ts
11+
jest.config.js
12+
13+
CODEOWNERS

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "@contentstack/types-generator",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Contentstack type definition generation library",
55
"private": false,
66
"author": "Contentstack",
77
"main": "./dist/index.js",
88
"module": "./dist/index.mjs",
99
"types": "./dist/index.d.ts",
1010
"scripts": {
11+
"prepare": "npm run build",
1112
"build": "tsup",
1213
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=tests"
1314
},
@@ -46,5 +47,10 @@
4647
"axios": "^1.7.4",
4748
"lodash": "^4.17.21",
4849
"prettier": "^3.3.3"
49-
}
50+
},
51+
"files": [
52+
"dist",
53+
"package.json",
54+
"README.md"
55+
]
5056
}

0 commit comments

Comments
 (0)