Skip to content

Commit ba5870d

Browse files
committed
fix: style
1 parent b9b750c commit ba5870d

File tree

2 files changed

+44
-44
lines changed

2 files changed

+44
-44
lines changed

packages/vue-quill/src/assets/snow.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ backgroundColor = #fff
55
inactiveColor = #4B5563
66
shadowColor = #D1D5DB
77
textColor = #4B5563
8-
// Additional color
8+
// Additional colors
99
backgroundHoverColor = #F3F4F6
1010
backgroundActiveColor = #DBEAFE
1111

scripts/release.ts

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(async () => {
2-
const chalk = require('chalk')
3-
const execa = require('execa')
2+
// const chalk = require('chalk')
3+
// const execa = require('execa')
44
const path = require('path')
55
const semanticRelease = require('semantic-release')
66
// const { WritableStreamBuffer } = require('stream-buffers');
@@ -46,23 +46,23 @@
4646
await run()
4747

4848
async function run() {
49-
const nextVersion = await getNextVersion()
50-
console.log(nextVersion)
51-
await prepare(target)
49+
// const nextVersion = await getNextVersion()
50+
// console.log(nextVersion)
51+
// await prepare(target)
5252
await release()
5353
}
5454

55-
async function prepare(target: string/*, nextVersion: string*/) {
56-
try {
57-
// const buildScript = path.resolve(__dirname, 'build.ts')
58-
// console.log(chalk.bgCyan("Build package"))
59-
// execa.sync('npx', ['ts-node', buildScript, '--nextVersion', nextVersion])
60-
console.log(chalk.bgCyan("Zipping distribution file"))
61-
execa.sync('zip', ['-r', `${target}-dist.zip`, '.', '-i', 'dist'])
62-
} catch (err) {
63-
console.log(`>>>>>>>>>>>>> ${err}`)
64-
}
65-
}
55+
// async function prepare(target: string/*, nextVersion: string*/) {
56+
// try {
57+
// // const buildScript = path.resolve(__dirname, 'build.ts')
58+
// // console.log(chalk.bgCyan("Build package"))
59+
// // execa.sync('npx', ['ts-node', buildScript, '--nextVersion', nextVersion])
60+
// console.log(chalk.bgCyan("Zipping distribution file"))
61+
// execa.sync('zip', ['-r', `${target}-dist.zip`, '.', '-i', 'dist'])
62+
// } catch (err) {
63+
// console.log(`>>>>>>>>>>>>> ${err}`)
64+
// }
65+
// }
6666

6767
async function release() {
6868
const rootDir = path.resolve(__dirname, '..')
@@ -110,31 +110,31 @@
110110
}
111111
}
112112

113-
async function getNextVersion(): Promise<string> {
114-
try {
115-
const { nextRelease } = await semanticRelease({
116-
branches: releaserc.branches,
117-
repositoryUrl: pkg.repository.url,
118-
dryRun: true,
119-
ci: false,
120-
plugins: [
121-
'@semantic-release/commit-analyzer',
122-
[
123-
"@semantic-release/exec",
124-
{
125-
prepareCmd: "npx ts-node ../../scripts/build.ts --nextVersion ${nextRelease.version}"
126-
}
127-
]
128-
]
129-
}, {
130-
cwd: '../../',
131-
env: { ...process.env }
132-
})
133-
if (nextRelease) return nextRelease.version
134-
else console.log('No release will bepublished')
135-
} catch (err) {
136-
console.error('Failed to retrieve next version with %O', err)
137-
}
138-
return pkg.version
139-
}
113+
// async function getNextVersion(): Promise<string> {
114+
// try {
115+
// const { nextRelease } = await semanticRelease({
116+
// branches: releaserc.branches,
117+
// repositoryUrl: pkg.repository.url,
118+
// dryRun: true,
119+
// ci: false,
120+
// plugins: [
121+
// '@semantic-release/commit-analyzer',
122+
// [
123+
// "@semantic-release/exec",
124+
// {
125+
// prepareCmd: "npx ts-node ../../scripts/build.ts --nextVersion ${nextRelease.version}"
126+
// }
127+
// ]
128+
// ]
129+
// }, {
130+
// cwd: '../../',
131+
// env: { ...process.env }
132+
// })
133+
// if (nextRelease) return nextRelease.version
134+
// else console.log('No release will bepublished')
135+
// } catch (err) {
136+
// console.error('Failed to retrieve next version with %O', err)
137+
// }
138+
// return pkg.version
139+
// }
140140
})()

0 commit comments

Comments
 (0)