mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 02:43:08 +08:00
1.3.5
This commit is contained in:
parent
256466e54a
commit
325e74affb
@ -131,9 +131,6 @@ task('zip', () => {
|
|||||||
|
|
||||||
task('publish', (done) => {
|
task('publish', (done) => {
|
||||||
try {
|
try {
|
||||||
// 切换到项目根目录
|
|
||||||
process.chdir(path.resolve(__dirname, '..'))
|
|
||||||
|
|
||||||
// 需要将tag标签内容置为 latest
|
// 需要将tag标签内容置为 latest
|
||||||
process.env.npm_config_tag = 'latest'
|
process.env.npm_config_tag = 'latest'
|
||||||
console.log(execSync('npm publish').toString())
|
console.log(execSync('npm publish').toString())
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -5,7 +5,7 @@
|
|||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "halo-theme-dream2.0-plus",
|
"name": "halo-theme-dream2-plus",
|
||||||
"version": "1.2.1",
|
"version": "1.2.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "halo-theme-dream2.0-plus",
|
"name": "halo-theme-dream2-plus",
|
||||||
"version": "1.3.5",
|
"version": "1.3.5",
|
||||||
"description": "梦之城,童话梦境,动漫类型博客主题。",
|
"description": "梦之城,童话梦境,动漫类型博客主题。",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
const version = new URLSearchParams(url.split('?')[1]).get('mew') || 'latest'
|
const version = new URLSearchParams(url.split('?')[1]).get('mew') || 'latest'
|
||||||
return [
|
return [
|
||||||
url,
|
url,
|
||||||
...cdnSource.map(value => `${value}/halo-theme-dream2.0-plus@${version}/templates${path}`)
|
...cdnSource.map(value => `${value}/halo-theme-dream2-plus@${version}/templates${path}`)
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user