Skip to content

Commit 670e949

Browse files
Update from copier (2026-05-03T06:03:16)
Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a392be9 commit 670e949

15 files changed

Lines changed: 300 additions & 20 deletions

.copier-answers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 9be318c
2+
_commit: e392033
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: false
55
add_extension: js

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Makefile linguist-documentation
77
*.html text=auto eol=lf
88
*.js text=auto eol=lf
99
*.json text=auto eol=lf
10-
*.less text=auto eol=lf
1110
*.md text=auto eol=lf
1211
*.py text=auto eol=lf
1312
*.toml text=auto eol=lf

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
---
2+
<<<<<<< before updating
23
name: Bug report
34
about: Create a report to help us improve
45
title: ''
56
labels: bug
7+
=======
8+
name: Bug Report
9+
about: Report a bug to help us improve
10+
title: '[BUG] '
11+
labels: 'type: bug'
12+
>>>>>>> after updating
613
assignees: ''
7-
814
---
915

16+
<<<<<<< before updating
1017
<!--
1118
Thank you for taking the time to file a bug report. Before creating a
1219
new issue, please take a few minutes to search the issue tracker for an
@@ -47,3 +54,28 @@ the issue.
4754
<!-- Explain how this issue affects your work or why it should be
4855
prioritized. If there are additional details that don't fit elsewhere,
4956
include them here. -->
57+
=======
58+
**Description**
59+
A clear and concise description of the bug.
60+
61+
**Steps to Reproduce**
62+
1.
63+
2.
64+
3.
65+
66+
**Expected Behavior**
67+
What you expected to happen.
68+
69+
**Actual Behavior**
70+
What actually happened. Include full error messages or tracebacks if available.
71+
72+
**Environment**
73+
- OS: [e.g. Ubuntu 22.04, macOS 14.0, Windows 11]
74+
- Python version: [e.g. 3.11.5] (`python --version`)
75+
- Node.js version: [e.g. 22.0.0] (`node --version`)
76+
- pnpm version: [e.g. 9.0.0] (`pnpm --version`)
77+
- Package version: (`pip show csp-gateway | grep Version`)
78+
79+
**Additional Context**
80+
Add any other relevant context, logs, or screenshots.
81+
>>>>>>> after updating
Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
---
2-
name: Feature request
3-
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
2+
name: Feature Request
3+
about: Suggest a new feature or improvement
4+
title: '[FEATURE] '
5+
labels: 'type: enhancement'
66
assignees: ''
7-
87
---
98

10-
**Is your feature request related to a problem? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
**Problem Statement**
10+
A clear description of the problem this feature would solve. Ex. "I'm always frustrated when [...]"
1211

13-
**Describe the solution you'd like**
14-
A clear and concise description of what you want to happen.
12+
**Proposed Solution**
13+
A clear description of the desired behavior or feature.
1514

16-
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
15+
**Alternatives Considered**
16+
Any alternative solutions or workarounds you've considered.
1817

19-
**Additional context**
20-
Add any other context or screenshots about the feature request here.
18+
**Additional Context**
19+
Add any other context, mockups, or examples.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Question
3+
about: Ask a question about usage or behavior
4+
title: '[QUESTION] '
5+
labels: 'tag: question'
6+
assignees: ''
7+
---
8+
9+
**Question**
10+
A clear and concise description of your question.
11+
12+
**Context**
13+
What are you trying to accomplish? Include relevant code snippets, configuration, or links to documentation you've already consulted.
14+
15+
**Environment**
16+
If relevant, include your environment details (OS, language versions, package version).

.github/pull_request_template.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## Description
2+
3+
Brief description of the changes in this PR.
4+
5+
## Type of Change
6+
7+
- [ ] Bug fix
8+
- [ ] New feature
9+
- [ ] Documentation update
10+
- [ ] Refactor / code cleanup
11+
- [ ] CI / build configuration
12+
- [ ] Other (describe below)
13+
14+
## Checklist
15+
16+
- [ ] Linting passes (`make lint`)
17+
- [ ] Tests pass (`make test`)
18+
- [ ] New tests added for new functionality
19+
- [ ] Documentation updated (if applicable)
20+
- [ ] Changelog / version bump (if applicable)

.github/workflows/build.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,26 @@ jobs:
123123
matrix:
124124
wheel: ["", "client"]
125125

126+
<<<<<<< before updating
126127
steps:
127128
- uses: actions/checkout@v6
129+
=======
130+
- uses: actions-ext/python/test-wheel@main
131+
with:
132+
module: csp_gateway
133+
if: matrix.os == 'ubuntu-latest'
134+
135+
- uses: actions-ext/python/test-sdist@main
136+
with:
137+
module: csp_gateway
138+
if: matrix.os == 'ubuntu-latest'
139+
140+
- uses: actions/upload-artifact@v7
141+
with:
142+
name: dist-${{matrix.os}}
143+
path: dist
144+
if: matrix.os == 'ubuntu-latest'
145+
>>>>>>> after updating
128146

129147
- name: Set up Python
130148
uses: actions-ext/python/setup@main

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,12 @@ dmypy.json
112112
/site
113113
index.md
114114
docs/_build/
115-
docs/src/_build/
116115
docs/api
117-
docs/index.md
118116
docs/html
117+
docs/index.md
119118
docs/jupyter_execute
119+
docs/src/_build/
120+
docs/superpowers
120121
index.md
121122

122123
# JS
@@ -150,3 +151,4 @@ multirun/
150151
ROADMAP.md
151152
AGENTS.md
152153
.github/hooks/sdlc.json
154+
.superpowers

js/build.mjs

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<<<<<<< before updating
12
import { NodeModulesExternal } from "@finos/perspective-esbuild-plugin/external.js";
23
import { build } from "@finos/perspective-esbuild-plugin/build.js";
34
import { BuildCss } from "@prospective.co/procss/target/cjs/procss.js";
@@ -16,9 +17,18 @@ const REACT_ALIAS = {
1617
"react-dom": path.dirname(require.resolve("react-dom/package.json")),
1718
"react/jsx-runtime": require.resolve("react/jsx-runtime"),
1819
};
20+
=======
21+
import { bundle } from "./tools/bundle.mjs";
22+
import { bundle_css } from "./tools/css.mjs";
23+
import { node_modules_external } from "./tools/externals.mjs";
1924

20-
const BUILD = [
25+
import fs from "fs";
26+
import cpy from "cpy";
27+
>>>>>>> after updating
28+
29+
const BUNDLES = [
2130
{
31+
<<<<<<< before updating
2232
define: {
2333
global: "window",
2434
},
@@ -148,6 +158,36 @@ async function build_all() {
148158

149159
/* Compile and copy css */
150160
await compile_css();
161+
=======
162+
entryPoints: ["src/ts/index.ts"],
163+
plugins: [node_modules_external()],
164+
outfile: "dist/esm/index.js",
165+
},
166+
{
167+
entryPoints: ["src/ts/index.ts"],
168+
outfile: "dist/cdn/index.js",
169+
},
170+
];
171+
172+
async function build() {
173+
// Bundle css
174+
await bundle_css();
175+
176+
// Copy HTML
177+
cpy("src/html/*", "dist/");
178+
179+
// Copy images
180+
fs.mkdirSync("dist/img", { recursive: true });
181+
cpy("src/img/*", "dist/img");
182+
183+
await Promise.all(BUNDLES.map(bundle)).catch(() => process.exit(1));
184+
185+
// Copy servable assets to python extension (exclude esm/)
186+
fs.mkdirSync("../csp_gateway/extension", { recursive: true });
187+
cpy("dist/**/*", "../csp_gateway/extension", {
188+
filter: (file) => !file.relativePath.startsWith("esm"),
189+
});
190+
>>>>>>> after updating
151191
}
152192

153-
build_all();
193+
build();

js/package.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"main": "./lib/index.js",
1010
"scripts": {
1111
"build": "node build.mjs",
12+
<<<<<<< before updating
1213
"clean": "rimraf dist",
1314
"lint": "prettier --check \"src/**/*.js\" \"src/**/*.jsx\" \"src/style/*.css\" \"src/html/*.html\" \"*.mjs\" \"*.json\"",
1415
"fix": "prettier --write \"src/**/*.js\" \"src/**/*.jsx\" \"src/style/*.css\" \"src/html/*.html\" \"*.mjs\" \"*.json\"",
@@ -29,13 +30,37 @@
2930
"react-dom": "^19.2.4",
3031
"react-icons": "^5.6.0",
3132
"react-modern-drawer": "^1.4.0"
33+
=======
34+
"clean": "rm -rf dist playwright-report ../csp_gateway/extension",
35+
"dev": "npm-run-all -p start watch",
36+
"lint": "prettier --check \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
37+
"fix": "prettier --write \"src/**/*.{js,ts,jsx,tsx,css}\" \"tests/**/*.{js,ts,jsx,tsx}\" \"*.mjs\" \"*.json\"",
38+
"preinstall": "npx only-allow pnpm",
39+
"prepack": "npm run build",
40+
"start": "http-server -p 3000 -o examples/",
41+
"start:tests": "http-server -p 3000 ",
42+
"test": "TZ=UTC playwright test",
43+
"watch": "nodemon --watch src -e ts,css,html --exec \"pnpm build:debug\""
44+
>>>>>>> after updating
3245
},
3346
"devDependencies": {
47+
<<<<<<< before updating
3448
"@finos/perspective-esbuild-plugin": "3.2.1",
3549
"@prospective.co/procss": "^0.1.18",
3650
"cpy": "^13.2.1",
3751
"esbuild": "^0.27.3",
3852
"npm-run-all": "^4.1.5",
3953
"prettier": "^3.8.1"
54+
=======
55+
"@playwright/test": "^1.59.1",
56+
"cpy": "^13.2.1",
57+
"esbuild": "^0.27.4",
58+
"lightningcss": "^1.29.3",
59+
"http-server": "^14.1.1",
60+
"nodemon": "^3.1.10",
61+
"npm-run-all": "^4.1.5",
62+
"prettier": "^3.8.1",
63+
"typescript": "^6.0.2"
64+
>>>>>>> after updating
4065
}
4166
}

0 commit comments

Comments
 (0)