Compare commits
13 Commits
main
...
v7.0.0-pre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9023b1fde | ||
|
|
27319fd6ae | ||
|
|
d230b0500d | ||
|
|
c6520763d8 | ||
|
|
e087ebc419 | ||
|
|
63ac7da082 | ||
|
|
281c0d1ee8 | ||
|
|
8bb325628f | ||
|
|
ff0699035f | ||
|
|
f12f4395f0 | ||
|
|
03006080d4 | ||
|
|
876de65803 | ||
|
|
8b3c4ce3b4 |
@@ -3,9 +3,6 @@
|
||||
|
||||
version: 2.1
|
||||
|
||||
orbs:
|
||||
win: circleci/windows@5.0.0
|
||||
|
||||
executors:
|
||||
node24:
|
||||
docker:
|
||||
@@ -50,31 +47,6 @@ jobs:
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- run:
|
||||
name: Report Node and NPM versions
|
||||
command: echo "Using Node $(node --version) and NPM $(npm --version)"
|
||||
- run:
|
||||
name: Run tests
|
||||
command: npm test
|
||||
|
||||
test_win:
|
||||
executor:
|
||||
name: win/default
|
||||
shell: bash.exe
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Install Node.js
|
||||
command: nvm install 20.0.0 && nvm use 20.0.0
|
||||
- run:
|
||||
name: Report Node and NPM versions
|
||||
command: echo "Using Node $(node --version) and NPM $(npm --version)"
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: npm install
|
||||
- run:
|
||||
name: Build
|
||||
command: npm run build
|
||||
- run:
|
||||
name: Run tests
|
||||
command: npm test
|
||||
@@ -87,9 +59,6 @@ jobs:
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- run:
|
||||
name: Report Node and NPM versions
|
||||
command: echo "Using Node $(node --version) and NPM $(npm --version)"
|
||||
- run:
|
||||
name: Run tests in parallel
|
||||
command: npm run test:parallel
|
||||
@@ -132,25 +101,47 @@ workflows:
|
||||
push:
|
||||
jobs:
|
||||
- build:
|
||||
matrix:
|
||||
parameters:
|
||||
executor: [node20, node22, node24]
|
||||
executor: node24
|
||||
name: build_node_24
|
||||
- build:
|
||||
executor: node22
|
||||
name: build_node_22
|
||||
- build:
|
||||
executor: node20
|
||||
name: build_node_20
|
||||
- test_node:
|
||||
matrix:
|
||||
parameters:
|
||||
executor: [node20, node22, node24]
|
||||
executor: node22
|
||||
name: test_node_22
|
||||
requires:
|
||||
- build-<< matrix.executor >>
|
||||
- build_node_22
|
||||
- test_node:
|
||||
executor: node20
|
||||
name: test_node_20
|
||||
requires:
|
||||
- build_node_20
|
||||
- test_parallel:
|
||||
matrix:
|
||||
parameters:
|
||||
executor: [node20, node22, node24]
|
||||
executor: node24
|
||||
name: test_parallel_node_24
|
||||
requires:
|
||||
- build-<< matrix.executor >>
|
||||
- build_node_24
|
||||
- test_parallel:
|
||||
executor: node22
|
||||
name: test_parallel_node_22
|
||||
requires:
|
||||
- build_node_22
|
||||
- test_parallel:
|
||||
executor: node20
|
||||
name: test_parallel_node_20
|
||||
requires:
|
||||
- build_node_20
|
||||
- test_parallel:
|
||||
executor: node20
|
||||
name: test_parallel_node_20
|
||||
requires:
|
||||
- build_node_20
|
||||
- test_browsers:
|
||||
requires:
|
||||
- build-node20
|
||||
- build_node_20
|
||||
filters:
|
||||
branches:
|
||||
ignore: /pull\/.*/ # Don't run on pull requests.
|
||||
- test_win
|
||||
|
||||
7
.gitattributes
vendored
7
.gitattributes
vendored
@@ -1,7 +1,2 @@
|
||||
* text=auto eol=lf
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
||||
*.mov filter=lfs diff=lfs merge=lfs -text
|
||||
*.jpg filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.docx filter=lfs diff=lfs merge=lfs -text
|
||||
*.png -text
|
||||
|
||||
10
.github/CONTRIBUTING.md
vendored
10
.github/CONTRIBUTING.md
vendored
@@ -41,13 +41,11 @@ Jasmine tests itself. The files in `lib` are loaded first, defining the referenc
|
||||
|
||||
The tests should always use `jasmineUnderTest` to refer to the objects and functions that are being tested. But the tests can use functions on `jasmine` as needed. _Be careful how you structure any new test code_. Copy the patterns you see in the existing code - this ensures that the code you're testing is not leaking into the `jasmine` reference and vice-versa.
|
||||
|
||||
### `boot0.js` and `boot1.js`
|
||||
### `boot.js`
|
||||
|
||||
These files file does all of the setup necessary for Jasmine to work in a
|
||||
browser. They load all of the code, create an `Env`, attach the global
|
||||
functions, and build the reporter. It also sets up the execution of the
|
||||
`Env` - for browsers this is in `window.onload`. While the default in `lib`
|
||||
is appropriate for browsers, projects may wish to customize this file.
|
||||
This file does all the setup necessary for Jasmine to work in a browser. While
|
||||
the default in `lib`is appropriate for most uses, users may wish to customize
|
||||
this file.
|
||||
|
||||
### Compatibility
|
||||
|
||||
|
||||
BIN
2026羅安禾作品整理.docx
LFS
BIN
2026羅安禾作品整理.docx
LFS
Binary file not shown.
BIN
2026羅安禾作品整理.old.docx
LFS
BIN
2026羅安禾作品整理.old.docx
LFS
Binary file not shown.
BIN
2026羅安禾作品整理.pdf
LFS
BIN
2026羅安禾作品整理.pdf
LFS
Binary file not shown.
48
AGENTS.md
48
AGENTS.md
@@ -1,48 +0,0 @@
|
||||
# Jasmine Core Development Notes
|
||||
|
||||
## Architecture
|
||||
|
||||
- This is the main jasmine-core repository, a JavaScript BDD testing framework
|
||||
- **Directory structure**:
|
||||
- `src/` - source code
|
||||
- `src/core/` - environment-agnostic core functionality
|
||||
- `src/html/` - browser-specific code
|
||||
- `src/boot/` - boot files for browser setup
|
||||
- `spec/` - tests, mirrors the src directory structure
|
||||
- `lib/` - compiled distribution files (built, not checked in modified)
|
||||
|
||||
## Key Development Commands
|
||||
|
||||
- `npm install` - install dependencies
|
||||
- `npm test` - run all tests in Node.js + lint + prettier check
|
||||
- `npm run test:parallel` - run tests in parallel
|
||||
- `npm run build` - build distribution to `/lib`
|
||||
- `npm run cleanup` - auto-fix prettier errors
|
||||
- `npm run serve` - serve tests for browser testing at http://localhost:8888
|
||||
- `JASMINE_BROWSER=<name> npm run ci` - run browser tests via Selenium
|
||||
|
||||
## Before submitting PR
|
||||
|
||||
1. Run tests in Node.js AND browsers: `npm test` and `npm run serve`
|
||||
2. Fix any eslint/prettier errors: `npm run cleanup`
|
||||
3. Build `lib/` with `npm run build` and re-test
|
||||
4. Revert changes to built files in `lib/` - maintainers will rebuild when merging
|
||||
|
||||
## Testing Conventions
|
||||
|
||||
- Jasmine self-tests: `lib/jasmine-core.js` provides `jasmine` (runner), `src/` provides `jasmineUnderTest` (code under test)
|
||||
- Always use `jasmineUnderTest` for objects/functions being tested
|
||||
|
||||
## Coding Conventions
|
||||
|
||||
- Single quotes, semicolons required
|
||||
- Curly braces required for all control statements
|
||||
- ECMA 2022 syntax, commonjs modules
|
||||
- Core code must stay environment-agnostic:
|
||||
- Keep browser-specific code in `src/html/`
|
||||
- Degrade gracefully when environment-specific features aren't available
|
||||
|
||||
## Supported Environments
|
||||
|
||||
- Node: 20, 22, 24
|
||||
- Browsers: Safari 26+, Chrome/Firefox/Edge (evergreen)
|
||||
@@ -32,7 +32,7 @@ Microsoft Edge) as well as Node.
|
||||
| Node | 20, 22, 24 |
|
||||
| Safari | 26* |
|
||||
| Chrome | Evergreen |
|
||||
| Firefox | Evergreen, 140 |
|
||||
| Firefox | Evergreen, 102*, 115*, 128*, 140 |
|
||||
| Edge | Evergreen |
|
||||
|
||||
For evergreen browsers, each version of Jasmine is tested against the version of the browser that is available to us
|
||||
|
||||
28
artist-website/.gitignore
vendored
28
artist-website/.gitignore
vendored
@@ -1,28 +0,0 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
|
||||
node_modules
|
||||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
|
||||
# tauri
|
||||
/src-tauri/target
|
||||
/src-tauri/Cargo.lock
|
||||
|
||||
# Editor directories and files
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
.idea
|
||||
.DS_Store
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
@@ -1,13 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>藝術家作品集</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"name": "artist-website",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"tauri": "tauri"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tauri-apps/api": "^1.5.0",
|
||||
"@tauri-apps/cli": "^1.5.0",
|
||||
"@vitejs/plugin-vue": "^5.0.0",
|
||||
"vite": "^5.0.0"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user