Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Neos
Commits
ea9f049e
Commit
ea9f049e
authored
Apr 09, 2023
by
timel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: gitlab ci 100%
parent
0b037e8a
Pipeline
#21180
passed with stages
in 17 minutes and 13 seconds
Changes
5
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
47 deletions
+2
-47
.eslintrc.json
.eslintrc.json
+0
-16
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/damage.ts
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/damage.ts
+0
-1
src/env.d.ts
src/env.d.ts
+0
-26
vite.config.ts
vite.config.ts
+0
-2
No files found.
.eslintrc.json
View file @
ea9f049e
...
...
@@ -20,22 +20,6 @@
"import/resolver"
:
{
"node"
:
true
,
"typescript"
:
true
//
"alias"
:
{
//
"map"
:
[
//
[
//
"rust-src"
,
//
"/rust-src/pkg"
//
]
//
],
//
"extensions"
:
[
//
".js"
,
//
".jsx"
,
//
".ts"
,
//
".tsx"
,
//
".json"
,
//
".wasm"
//
]
//
}
}
}
}
.gitlab-ci.yml
View file @
ea9f049e
...
...
@@ -22,7 +22,7 @@ npm_ci:
dependencies
:
-
npm_ci
rs_check
:
rs_check
_lint
:
stage
:
rs_check_lint
image
:
rust:latest
tags
:
...
...
@@ -49,7 +49,7 @@ wasm_build:
-
rust-src/pkg
-
node_modules
ts_check
:
ts_check
_lint
:
dependencies
:
-
npm_ci
-
wasm_build
...
...
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/damage.ts
View file @
ea9f049e
import
{
ygopro
}
from
"
../../../idl/ocgcore
"
;
//@ts-ignore
import
{
ocgDamageAdapter
}
from
"
rust-src
"
;
/*
...
...
src/env.d.ts
View file @
ea9f049e
...
...
@@ -10,29 +10,3 @@ interface ImportMetaEnv {
interface
ImportMeta
{
readonly
env
:
ImportMetaEnv
;
}
/**
* 手动声明WASM模块rust-src
*/
// declare module "rust-src" {
// export default function rustInit(url?: URL): Promise<void>;
// export class BufferWriter {
// constructor();
// public writeInt8(value: number): void;
// public writeUint8(value: number): void;
// public writeInt16(value: number): void;
// public writeUint16(value: number): void;
// public writeInt32(value: number): void;
// public writeUint32(value: number): void;
// public toArray(): Uint8Array;
// }
// export class BufferReader {
// constructor(buffer: Uint8Array);
// public readInt8(): number;
// public readUint8(): number;
// public readInt16(): number;
// public readUint16(): number;
// public readInt32(): number;
// public readUint32(): number;
// }
// }
vite.config.ts
View file @
ea9f049e
import
{
defineConfig
}
from
"
vite
"
;
import
react
from
"
@vitejs/plugin-react
"
;
import
svgr
from
"
vite-plugin-svgr
"
;
import
wasmPack
from
"
vite-plugin-wasm-pack
"
;
import
ydkLoader
from
"
vite-ydk-loader
"
;
import
tsconfigPaths
from
"
vite-tsconfig-paths
"
;
...
...
@@ -13,7 +12,6 @@ export default defineConfig({
plugins
:
[
react
(),
svgr
(),
// wasmPack("./rust-src"),
ydkLoader
(),
tsconfigPaths
(),
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment