@sequent-org/ifc-viewer 1.0.2-ci.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/npm-publish.yml +39 -0
- package/console-log.txt +1924 -0
- package/fragments.html +46 -0
- package/index.html +101 -0
- package/package.json +27 -0
- package/postcss.config.cjs +7 -0
- package/public/wasm/web-ifc.wasm +0 -0
- package/src/compat/three-buffer-geometry-utils.js +39 -0
- package/src/fragments-main.js +22 -0
- package/src/ifc/IfcService.js +268 -0
- package/src/ifc/IfcTreeView.js +96 -0
- package/src/main.js +216 -0
- package/src/style.css +2 -0
- package/src/viewer/NavCube.js +395 -0
- package/src/viewer/SectionManipulator.js +260 -0
- package/src/viewer/Viewer.js +880 -0
- package/tailwind.config.cjs +5 -0
- package/vite.config.js +36 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
name: Publish to npm on push (latest)
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
publish:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout
|
|
14
|
+
uses: actions/checkout@v4
|
|
15
|
+
|
|
16
|
+
- name: Setup Node
|
|
17
|
+
uses: actions/setup-node@v4
|
|
18
|
+
with:
|
|
19
|
+
node-version: 20
|
|
20
|
+
registry-url: 'https://registry.npmjs.org'
|
|
21
|
+
cache: 'npm'
|
|
22
|
+
|
|
23
|
+
- name: Install deps
|
|
24
|
+
run: npm ci
|
|
25
|
+
|
|
26
|
+
- name: Test (optional)
|
|
27
|
+
run: npm test --if-present
|
|
28
|
+
|
|
29
|
+
- name: Build (optional)
|
|
30
|
+
run: npm run build --if-present
|
|
31
|
+
|
|
32
|
+
- name: Bump unique version (no commit)
|
|
33
|
+
# Делает уникальную версию на каждый запуск (пример: 0.1.1-ci.123.0)
|
|
34
|
+
run: npm version prerelease --preid=ci.${{ github.run_number }} --no-git-tag-version
|
|
35
|
+
|
|
36
|
+
- name: Publish to npm (latest)
|
|
37
|
+
env:
|
|
38
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
39
|
+
run: npm publish --access public
|