@cyberskill/shared 1.0.2 → 2025.2.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cyberskill/shared",
3
3
  "type": "module",
4
- "version": "1.0.2",
4
+ "version": "2025.2.1",
5
5
  "description": "CyberSkill Shared",
6
6
  "author": "Stephen Cheng",
7
7
  "license": "MIT",
@@ -140,12 +140,12 @@
140
140
  "dist"
141
141
  ],
142
142
  "scripts": {
143
- "build": "tsup",
144
- "dev": "tsup --watch",
143
+ "build": "npx rimraf dist && env NODE_ENV=production tsup",
144
+ "dev": "npx rimraf dist && tsup --watch",
145
145
  "lint": "npx tsx src/commands.ts lint",
146
146
  "lint:fix": "npx tsx src/commands.ts lint:fix",
147
147
  "lint:inspect": "npx @eslint/config-inspector",
148
- "release": "semantic-release",
148
+ "release": "npm run build && dotenv release-it -- --only-version",
149
149
  "reset": "npx tsx src/commands.ts reset",
150
150
  "setup": "npx tsx src/commands.ts setup"
151
151
  },
@@ -154,6 +154,7 @@
154
154
  "@apollo/client": "3.13.1",
155
155
  "@commitlint/cli": "19.7.1",
156
156
  "@commitlint/config-conventional": "19.7.1",
157
+ "@csmith/release-it-calver-plugin": "2023.12.0",
157
158
  "@eslint-react/eslint-plugin": "1.27.0",
158
159
  "@eslint/config-inspector": "1.0.0",
159
160
  "@graphql-codegen/cli": "5.0.5",
@@ -170,10 +171,12 @@
170
171
  "@types/yargs": "17.0.33",
171
172
  "@vitejs/plugin-react-swc": "3.8.0",
172
173
  "@vitest/browser": "3.0.7",
174
+ "auto-changelog": "2.5.0",
173
175
  "boxen": "8.0.1",
174
176
  "chalk": "5.4.1",
175
177
  "classnames": "2.5.1",
176
178
  "crypto-js": "4.2.0",
179
+ "dotenv-cli": "8.0.0",
177
180
  "eslint": "9.21.0",
178
181
  "eslint-config-next": "15.1.7",
179
182
  "eslint-plugin-format": "1.0.1",
@@ -195,6 +198,7 @@
195
198
  "react": "19.0.0",
196
199
  "react-dom": "19.0.0",
197
200
  "react-i18next": "15.4.1",
201
+ "release-it": "18.1.2",
198
202
  "rimraf": "6.0.1",
199
203
  "sass": "1.85.1",
200
204
  "simple-git-hooks": "2.11.1",
@@ -206,17 +210,5 @@
206
210
  "vitest": "3.0.7",
207
211
  "vitest-browser-react": "0.1.1",
208
212
  "yargs": "17.7.2"
209
- },
210
- "devDependencies": {
211
- "@semantic-release/changelog": "6.0.3",
212
- "@semantic-release/commit-analyzer": "13.0.1",
213
- "@semantic-release/git": "10.0.1",
214
- "@semantic-release/github": "11.0.1",
215
- "@semantic-release/npm": "12.0.1",
216
- "@semantic-release/release-notes-generator": "14.0.3",
217
- "semantic-release": "24.2.3"
218
- },
219
- "publishConfig": {
220
- "access": "public"
221
213
  }
222
214
  }
@@ -1 +0,0 @@
1
- "use strict";function e(e){"@swc/helpers - typeof";return e&&typeof Symbol!=="undefined"&&e.constructor===Symbol?"symbol":typeof e}var r=Object.create;var t=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty;var c=function(r,a,c,i){var f=true,l=false,y=undefined;if(a&&(typeof a==="undefined"?"undefined":e(a))=="object"||typeof a=="function")try{var b=function(){var e=s.value;!o.call(r,e)&&e!==c&&t(r,e,{get:function(){return a[e]},enumerable:!(i=n(a,e))||i.enumerable})};for(var p=u(a)[Symbol.iterator](),s;!(f=(s=p.next()).done);f=true)b()}catch(e){l=true;y=e}finally{try{if(!f&&p.return!=null){p.return()}}finally{if(l){throw y}}}return r};var i=function(e,n,u){return u=e!=null?r(a(e)):{},c(n||!e||!e.__esModule?t(u,"default",{value:e,enumerable:!0}):u,e)};var f=i(require("@testing-library/jest-dom/matchers"),1),l=require("@testing-library/react"),y=require("vitest");y.expect.extend(f);(0,y.afterEach)(function(){(0,l.cleanup)()});
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1 +0,0 @@
1
- import*as t from"@testing-library/jest-dom/matchers";import{cleanup as r}from"@testing-library/react";import{afterEach as e,expect as a}from"vitest";a.extend(t);e(function(){r()});