Skip to content

Commit

Permalink
fix(block-techstack): 修复缺少 publishConfig 导致发布失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lexmin0412 committed Apr 22, 2024
1 parent a2126bf commit 4ebf288
Showing 1 changed file with 50 additions and 46 deletions.
96 changes: 50 additions & 46 deletions packages/block-techstack/package.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,52 @@
{
"name": "@readue/block-techstack",
"version": "0.3.0",
"description": "Readue 技术栈块插件。",
"keywords": [
"readue"
],
"author": "lexmin0412 <[email protected]>",
"homepage": "https://github.com/lexmin0412/readue#readme",
"license": "ISC",
"main": "./lib/index.js",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"es",
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/lexmin0412/readue.git"
},
"scripts": {
"test": "node ./__tests__/block-techstack.test.js",
"build:commonjs": "rimraf lib && tsc --target es5 --outDir lib --module commonjs --declaration",
"build:es": "rimraf es && tsc --target es6 --outDir es --module es6",
"build": "npm run build:commonjs && npm run build:es",
"ts": "ts-node src/",
"prepublishOnly": "npm run build"
},
"bugs": {
"url": "https://github.com/lexmin0412/readue/issues"
},
"devDependencies": {
"@types/node": "^20.12.7",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"types": "./lib/index.d.ts",
"jsnext:main": "./es/index.js",
"module": "./es/index.js",
"dependencies": {
"@readue/config": "workspace:^",
"pkg-types": "^1.1.0"
}
"name": "@readue/block-techstack",
"version": "0.3.0",
"description": "Readue 技术栈块插件。",
"keywords": [
"readue"
],
"author": "lexmin0412 <[email protected]>",
"homepage": "https://github.com/lexmin0412/readue#readme",
"license": "ISC",
"main": "./lib/index.js",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"es",
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/lexmin0412/readue.git"
},
"scripts": {
"test": "node ./__tests__/block-techstack.test.js",
"build:commonjs": "rimraf lib && tsc --target es5 --outDir lib --module commonjs --declaration",
"build:es": "rimraf es && tsc --target es6 --outDir es --module es6",
"build": "npm run build:commonjs && npm run build:es",
"ts": "ts-node src/",
"prepublishOnly": "npm run build"
},
"bugs": {
"url": "https://github.com/lexmin0412/readue/issues"
},
"devDependencies": {
"@types/node": "^20.12.7",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"types": "./lib/index.d.ts",
"jsnext:main": "./es/index.js",
"module": "./es/index.js",
"dependencies": {
"@readue/config": "workspace:^",
"pkg-types": "^1.1.0"
}
}

0 comments on commit 4ebf288

Please sign in to comment.