浏览代码

chore: use glob pattern in npmignore

Jonathan Jogenfors 1 年之前
父节点
当前提交
94aa63a14b
共有 2 个文件被更改,包括 8 次插入4 次删除
  1. 6 2
      cli/.npmignore
  2. 2 2
      cli/package.json

+ 6 - 2
cli/.npmignore

@@ -1,2 +1,6 @@
-dist/
-node_modules/
+dist/**
+node_modules/**
+test/**
+testStup.js
+**/*.spec.ts
+**/*.e2e-spec.js

+ 2 - 2
cli/package.json

@@ -1,9 +1,9 @@
 {
 {
   "name": "@immich/cli",
   "name": "@immich/cli",
-  "version": "2.0.1",
+  "version": "2.0.2",
   "main": "dist/index.js",
   "main": "dist/index.js",
   "bin": {
   "bin": {
-    "immich": "./dist/index.js"
+    "immich": "dist/index.js"
   },
   },
   "dependencies": {
   "dependencies": {
     "axios": "^1.6.2",
     "axios": "^1.6.2",