Compare commits
44 Commits
v6.0.0-beta.0
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| dfb2dbba7c | |||
| 60e16943a7 | |||
| 4ddb07ac2d | |||
| 6c61b11a6e | |||
| 434575f49d | |||
| 03ebebf6fb | |||
| b864eff3c9 | |||
| 25a91a611c | |||
| 46338ad5b4 | |||
| fc2de634ab | |||
| 6e52b971cd | |||
| 0a5acd99cb | |||
| f7132d98cd | |||
| 3de4512681 | |||
| 4bf333ed38 | |||
| 4f5ef7c2d7 | |||
| 5de03beea1 | |||
| 42baa422b3 | |||
| 6af5d24b3b | |||
| b88ce2d49f | |||
| c216ae1d13 | |||
| 319776d241 | |||
| 1d0718dc2f | |||
| 929694310e | |||
| 7379a3a11b | |||
| 4db18aafce | |||
| 066669cfee | |||
| 87177d9d43 | |||
| 0c75a154a8 | |||
| 0a6f6d2b0e | |||
| 6755b03f12 | |||
| e759ddced2 | |||
| 1ad28d8515 | |||
| 3d36b11c8f | |||
| a15df6d455 | |||
| 9f0488dc32 | |||
| f3dba82b04 | |||
| c999ce0787 | |||
| 5b76bf9552 | |||
| 9cf9b856b0 | |||
| db6c142afd | |||
| 1e691b2470 | |||
| c5555dd8cc | |||
| 78c14f81a8 |
+44
-35
@@ -3,6 +3,9 @@
|
|||||||
|
|
||||||
version: 2.1
|
version: 2.1
|
||||||
|
|
||||||
|
orbs:
|
||||||
|
win: circleci/windows@5.0.0
|
||||||
|
|
||||||
executors:
|
executors:
|
||||||
node24:
|
node24:
|
||||||
docker:
|
docker:
|
||||||
@@ -47,6 +50,31 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
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:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: npm test
|
command: npm test
|
||||||
@@ -59,6 +87,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
|
- run:
|
||||||
|
name: Report Node and NPM versions
|
||||||
|
command: echo "Using Node $(node --version) and NPM $(npm --version)"
|
||||||
- run:
|
- run:
|
||||||
name: Run tests in parallel
|
name: Run tests in parallel
|
||||||
command: npm run test:parallel
|
command: npm run test:parallel
|
||||||
@@ -101,47 +132,25 @@ workflows:
|
|||||||
push:
|
push:
|
||||||
jobs:
|
jobs:
|
||||||
- build:
|
- build:
|
||||||
executor: node24
|
matrix:
|
||||||
name: build_node_24
|
parameters:
|
||||||
- build:
|
executor: [node20, node22, node24]
|
||||||
executor: node22
|
|
||||||
name: build_node_22
|
|
||||||
- build:
|
|
||||||
executor: node20
|
|
||||||
name: build_node_20
|
|
||||||
- test_node:
|
- test_node:
|
||||||
executor: node22
|
matrix:
|
||||||
name: test_node_22
|
parameters:
|
||||||
|
executor: [node20, node22, node24]
|
||||||
requires:
|
requires:
|
||||||
- build_node_22
|
- build-<< matrix.executor >>
|
||||||
- test_node:
|
|
||||||
executor: node20
|
|
||||||
name: test_node_20
|
|
||||||
requires:
|
|
||||||
- build_node_20
|
|
||||||
- test_parallel:
|
- test_parallel:
|
||||||
executor: node24
|
matrix:
|
||||||
name: test_parallel_node_24
|
parameters:
|
||||||
|
executor: [node20, node22, node24]
|
||||||
requires:
|
requires:
|
||||||
- build_node_24
|
- build-<< matrix.executor >>
|
||||||
- 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:
|
- test_browsers:
|
||||||
requires:
|
requires:
|
||||||
- build_node_20
|
- build-node20
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
ignore: /pull\/.*/ # Don't run on pull requests.
|
ignore: /pull\/.*/ # Don't run on pull requests.
|
||||||
|
- test_win
|
||||||
|
|||||||
+6
-1
@@ -1,2 +1,7 @@
|
|||||||
* text=auto eol=lf
|
* text=auto eol=lf
|
||||||
*.png -text
|
*.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
|
||||||
|
|||||||
LFS
BIN
Binary file not shown.
BIN
Binary file not shown.
LFS
BIN
Binary file not shown.
@@ -0,0 +1,48 @@
|
|||||||
|
# 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)
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
Copyright (c) 2008-2019 Pivotal Labs
|
Copyright (c) 2008-2019 Pivotal Labs
|
||||||
Copyright (c) 2008-2025 The Jasmine developers
|
Copyright (c) 2008-2026 The Jasmine developers
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
a copy of this software and associated documentation files (the
|
a copy of this software and associated documentation files (the
|
||||||
|
|||||||
@@ -30,9 +30,9 @@ Microsoft Edge) as well as Node.
|
|||||||
| Environment | Supported versions |
|
| Environment | Supported versions |
|
||||||
|-------------------|----------------------------------|
|
|-------------------|----------------------------------|
|
||||||
| Node | 20, 22, 24 |
|
| Node | 20, 22, 24 |
|
||||||
| Safari | 16*, 17*, 26* |
|
| Safari | 26* |
|
||||||
| Chrome | Evergreen |
|
| Chrome | Evergreen |
|
||||||
| Firefox | Evergreen, 102*, 115*, 128*, 140 |
|
| Firefox | Evergreen, 140 |
|
||||||
| Edge | Evergreen |
|
| Edge | Evergreen |
|
||||||
|
|
||||||
For evergreen browsers, each version of Jasmine is tested against the version of the browser that is available to us
|
For evergreen browsers, each version of Jasmine is tested against the version of the browser that is available to us
|
||||||
@@ -60,5 +60,5 @@ To find out what environments work with a particular Jasmine release, see the [r
|
|||||||
* Sheel Choksi
|
* Sheel Choksi
|
||||||
|
|
||||||
Copyright (c) 2008-2019 Pivotal Labs<br>
|
Copyright (c) 2008-2019 Pivotal Labs<br>
|
||||||
Copyright (c) 2008-2025 The Jasmine developers<br>
|
Copyright (c) 2008-2026 The Jasmine developers<br>
|
||||||
This software is licensed under the [MIT License](https://github.com/jasmine/jasmine/blob/main/LICENSE).
|
This software is licensed under the [MIT License](https://github.com/jasmine/jasmine/blob/main/LICENSE).
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
# 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?
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<!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>
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
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