@tomei/media 0.10.1-test.1 → 0.10.1

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/.gitlab-ci.yml CHANGED
@@ -109,27 +109,6 @@ publish-test:
109
109
  npm publish --tag test --access public
110
110
  echo "Published: @$(node -p "require('./package.json').name")@$RC_VERSION [test]"
111
111
 
112
- # ────────────────────────────────────────────────────────────
113
- # STAGE: publish — staging RC
114
- # Triggered by: staging-vX.Y.Z-rc.N tag
115
- # Publishes with dist-tag "staging"
116
- # Consumers must opt in: npm install @tomei/pkg@staging
117
- # Version stamped: staging-v1.24.0-rc.1 → 1.24.0-rc.1
118
- # ────────────────────────────────────────────────────────────
119
- publish-staging:
120
- stage: publish
121
- needs: [build]
122
- rules:
123
- - if: '$CI_COMMIT_TAG =~ /^staging-v/'
124
- script:
125
- - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
126
- - |
127
- RC_VERSION=$(echo "$CI_COMMIT_TAG" | sed 's/^staging-v\([0-9.]*\)-rc\.\([0-9]*\)$/\1-staging.\2/')
128
- echo "Publishing version $RC_VERSION with dist-tag: staging"
129
- npm version "$RC_VERSION" --no-git-tag-version --ignore-scripts --force
130
- npm publish --tag staging --access public
131
- echo "Published: @$(node -p "require('./package.json').name")@$RC_VERSION [staging]"
132
-
133
112
  # ────────────────────────────────────────────────────────────
134
113
  # STAGE: publish — production
135
114
  # Triggered by: prod-vX.Y.Z or prod-vX.Y.Z-hotfix.N tag (from main only)
@@ -149,7 +128,6 @@ publish-prod:
149
128
  - |
150
129
  PROD_VERSION=$(echo "$CI_COMMIT_TAG" | sed 's/^prod-v//')
151
130
  echo "Publishing version $PROD_VERSION with dist-tag: latest"
152
- npm version "$PROD_VERSION" --no-git-tag-version --ignore-scripts --force
153
131
  npm publish --tag latest --access public
154
132
  echo "Published: @$(node -p "require('./package.json').name")@$PROD_VERSION [latest]"
155
133
  echo "Pipeline: $CI_PIPELINE_URL"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomei/media",
3
- "version": "0.10.1-test.1",
3
+ "version": "0.10.1",
4
4
  "description": "NestJS package for media module",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,3 +0,0 @@
1
- {
2
- "snyk.advanced.autoSelectOrganization": true
3
- }