ts-forge 1.0.1 → 1.0.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v1.0.2
2
+
3
+ - Files in the .github and scripts folders were added to .npmignore to avoid publishing them to npm registry
4
+
1
5
  ## v1.0.1
2
6
 
3
7
  - This version contains changes from the following beta versions:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-forge",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "vitest --run --coverage",
@@ -32,4 +32,4 @@
32
32
  "typescript": "5.9.3",
33
33
  "vitest": "^4.0.8"
34
34
  }
35
- }
35
+ }
@@ -1,18 +0,0 @@
1
- # This workflow runs tests when code is pushed to the development branch
2
-
3
- name: Run tests
4
-
5
- on:
6
- push:
7
- branches:
8
- - development
9
-
10
- jobs:
11
- test:
12
- runs-on: ubuntu-latest
13
- steps:
14
- - uses: actions/checkout@v5
15
- - uses: actions/setup-node@v6
16
- with:
17
- node-version: 24
18
- - run: bash ./scripts/ci/test.sh
@@ -1,33 +0,0 @@
1
- # This workflow publishes a beta version of the npm package when a beta tag is pushed
2
-
3
- name: Publish npm beta package
4
-
5
- on:
6
- push:
7
- # branches:
8
- # - main
9
- tags:
10
- # Publish on version tags like: v1.2.3
11
- - v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+
12
-
13
- jobs:
14
- test:
15
- runs-on: ubuntu-latest
16
- steps:
17
- - uses: actions/checkout@v5
18
- - uses: actions/setup-node@v6
19
- with:
20
- node-version: 24
21
- - run: bash ./scripts/ci/test.sh
22
-
23
- publish-beta:
24
- needs: test
25
- runs-on: ubuntu-latest
26
- steps:
27
- - uses: actions/checkout@v5
28
- - uses: actions/setup-node@v6
29
- with:
30
- node-version: 24
31
- - run: bash ./scripts/ci/npm-publish-beta.sh
32
- env:
33
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -1,33 +0,0 @@
1
- # This workflow publishes a stable version of the npm package when a release tag is pushed
2
-
3
- name: Publish npm package
4
-
5
- on:
6
- push:
7
- # branches:
8
- # - main
9
- tags:
10
- # Publish on version tags like: v1.2.3
11
- - v[0-9]+.[0-9]+.[0-9]+
12
-
13
- jobs:
14
- test:
15
- runs-on: ubuntu-latest
16
- steps:
17
- - uses: actions/checkout@v5
18
- - uses: actions/setup-node@v6
19
- with:
20
- node-version: 24
21
- - run: bash ./scripts/ci/test.sh
22
-
23
- publish:
24
- needs: test
25
- runs-on: ubuntu-latest
26
- steps:
27
- - uses: actions/checkout@v5
28
- - uses: actions/setup-node@v6
29
- with:
30
- node-version: 24
31
- - run: bash ./scripts/ci/npm-publish.sh
32
- env:
33
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -1,18 +0,0 @@
1
-
2
- # echo "GITHUB_REF_NAME: " $GITHUB_REF_NAME # branch or tag name
3
- # echo "GITHUB_REF_TYPE: " $GITHUB_REF_TYPE # branch or tag
4
-
5
- # Create .npmrc file for authentication
6
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
7
-
8
- # Install dependencies
9
- npm install
10
-
11
- # Build the package
12
- npm run build
13
-
14
- # Set the npm version based on the GitHub ref name (tag)
15
- npm version $GITHUB_REF_NAME --no-git-tag-version
16
-
17
- # Publish the package to npm
18
- npm publish --access public --tag beta
@@ -1,18 +0,0 @@
1
-
2
- # echo "GITHUB_REF_NAME: " $GITHUB_REF_NAME # branch or tag name
3
- # echo "GITHUB_REF_TYPE: " $GITHUB_REF_TYPE # branch or tag
4
-
5
- # Create .npmrc file for authentication
6
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
7
-
8
- # Install dependencies
9
- npm install
10
-
11
- # Build the package
12
- npm run build
13
-
14
- # Set the npm version based on the GitHub ref name (tag)
15
- npm version $GITHUB_REF_NAME --no-git-tag-version
16
-
17
- # Publish the package to npm
18
- npm publish --access public --tag latest
@@ -1,5 +0,0 @@
1
- # Install project dependencies
2
- npm install
3
-
4
- # Run tests
5
- npm run test