Skip to content

Commit

Permalink
fix: .
Browse files Browse the repository at this point in the history
  • Loading branch information
bluelovers committed Jul 27, 2022
1 parent dcada6b commit c20efd3
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 4 deletions.
13 changes: 13 additions & 0 deletions .run/build_commit.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="build:commit" type="js.build_tools.npm" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="build:commit" />
</scripts>
<node-interpreter value="project" />
<node-options value="--enable-source-maps" />
<envs />
<method v="2" />
</configuration>
</component>
4 changes: 2 additions & 2 deletions .run/plugin_zht.run.xml → .run/build_sort.run.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="plugin:zht" type="js.build_tools.npm" nameIsGenerated="true">
<configuration default="false" name="build:sort" type="js.build_tools.npm" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="plugin:zht" />
<script value="build:sort" />
</scripts>
<node-interpreter value="project" />
<node-options value="--enable-source-maps" />
Expand Down
13 changes: 13 additions & 0 deletions .run/ci_build_sub.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="ci:build:sub" type="js.build_tools.npm" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="ci:build:sub" />
</scripts>
<node-interpreter value="project" />
<node-options value="--enable-source-maps" />
<envs />
<method v="2" />
</configuration>
</component>
13 changes: 13 additions & 0 deletions .run/ci_postpublish.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="ci:postpublish" type="js.build_tools.npm" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="ci:postpublish" />
</scripts>
<node-interpreter value="project" />
<node-options value="--enable-source-maps" />
<envs />
<method v="2" />
</configuration>
</component>
13 changes: 13 additions & 0 deletions .run/ncu.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="ncu" type="js.build_tools.npm" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="ncu" />
</scripts>
<node-interpreter value="project" />
<node-options value="--enable-source-maps" />
<envs />
<method v="2" />
</configuration>
</component>
13 changes: 13 additions & 0 deletions .run/plugin_build_core.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="plugin:build:core" type="js.build_tools.npm" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="plugin:build:core" />
</scripts>
<node-interpreter value="project" />
<node-options value="--enable-source-maps" />
<envs />
<method v="2" />
</configuration>
</component>
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"ci:test": "yarn run test",
"ci:install": "yarn install --frozen-lockfile && yarn add -W typescript@next jest ts-jest ts-node ynpx lerna yarn-tool",
"ci:build": "yarn run plugin:build && yarn run build:commit",
"ci:build:sub": "yarn run plugin:build:core && yarn run build:commit && yarn run ci:postpublish",
"ci:postpublish": "ts-node scripts/ci-postpublish.ts && yarn run postpublish:git:tag && echo ci:postpublish",
"_ci:postpublish": "yarn run postpublish:changelog && yarn run postpublish:git:commit && yarn run postpublish:git:tag & echo ci:postpublish",
"ci:git:config": "git config --local core.autocrlf false && git config --local core.ignorecase false && git config --local include.path ../.gitconfig && git config --local core.autocrlf false && git config --local core.ignorecase false",
Expand Down
4 changes: 2 additions & 2 deletions scripts/ci-postpublish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ export default Bluebird.resolve((process.env as any).GITHUB_SHA as string)

await lazyCommitFiles([
'./CHANGELOG.md',
], `build(changelog): update CHANGELOG ( ${__pluginVersion} )`);
], `build(changelog): update CHANGELOG ( ${__pluginVersion} )`).catch(() => void 0);

await lazyCommitFiles([
'./lib/const/publish-tags.json',
], `build(cache): update publish tags`);
], `build(cache): update publish tags`).catch(() => void 0);
}
else
{
Expand Down

0 comments on commit c20efd3

Please sign in to comment.