Skip to content

Commit

Permalink
Merge pull request #2 from JOU-amjs/feature-1.0.x
Browse files Browse the repository at this point in the history
build: update build files
  • Loading branch information
JOU-amjs authored Aug 3, 2023
2 parents 57e4dbc + 892ab3c commit 6d490dc
Show file tree
Hide file tree
Showing 6 changed files with 31,297 additions and 22,402 deletions.
2 changes: 1 addition & 1 deletion .coveralls.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
service_name: travis-pro
repo_token: lUvcBvK6t0T7L2PClgL8aq931DRj8q6F7
repo_token: 6ncF3f5poEHLk2IhyiT7PNXOGbQ20AotB
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,12 @@ jobs:
- name: Install deps
run: npm ci

- name: Test SSR
run: npm run test:node

# 这条命令包含了测试和上传覆盖率
- name: Coverage
run: npm run coveralls

- name: Release
run: npm run release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ALOVA_PUBLISH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ALOVA_GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28 changes: 14 additions & 14 deletions config/rollup.cjs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* @Date: 2020-04-09 11:06:01
* @LastEditors: JOU(wx: huzhen555)
* @LastEditTime: 2023-05-08 23:00:03
* @LastEditTime: 2023-08-03 22:25:02
*/
var typescript = require('rollup-plugin-typescript2');
const getCompiler = (
opt = {
// objectHashIgnoreUnknownHack: true,
// clean: true,
tsconfigOverride: {
compilerOptions: {
module: 'ES2015'
}
}
}
opt = {
// objectHashIgnoreUnknownHack: true,
// clean: true,
tsconfigOverride: {
compilerOptions: {
module: 'ES2015'
}
}
}
) => typescript(opt);
exports.getCompiler = getCompiler;

Expand All @@ -29,8 +29,8 @@ exports.banner = `/**
`;

const compilePath = (exports.compilePath = {
packageName: 'sdm',
input: 'src/index.ts',
output: suffix => `dist/sdm.${suffix}.js`
packageName: 'sdm',
input: 'src/index.ts',
output: suffix => `dist/sdm.${suffix}.js`
});
exports.external = compilePath.external;
exports.external = compilePath.external || [];
Loading

0 comments on commit 6d490dc

Please sign in to comment.