s3p 3.4.8 → 3.4.10
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/package.json +1 -1
- package/.github/workflows/test.yml +0 -18
- package/art.build.config.caf +0 -69
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
name: test
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches:
|
|
5
|
-
- master
|
|
6
|
-
jobs:
|
|
7
|
-
test:
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
steps:
|
|
10
|
-
- uses: actions/checkout@v1
|
|
11
|
-
- name: Use Node.js
|
|
12
|
-
uses: actions/setup-node@v1
|
|
13
|
-
with:
|
|
14
|
-
node-version: 16.x
|
|
15
|
-
- name: Install NPM dependencies
|
|
16
|
-
run: npm ci
|
|
17
|
-
- name: Run tests
|
|
18
|
-
run: npm test
|
package/art.build.config.caf
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import &ArtStandardLib
|
|
2
|
-
|
|
3
|
-
standardPackageBuilder =
|
|
4
|
-
(currentPackage, options = {}) -> (abcPackage) ->
|
|
5
|
-
options extract?
|
|
6
|
-
sourceDir = "source"
|
|
7
|
-
targetDir = "build"
|
|
8
|
-
mocha
|
|
9
|
-
mochaAndJest
|
|
10
|
-
coffeeScript
|
|
11
|
-
|
|
12
|
-
merge currentPackage,
|
|
13
|
-
scripts:
|
|
14
|
-
nn:
|
|
15
|
-
"" nn #{targetDir}/* #{if mocha then :test/tests}
|
|
16
|
-
test:
|
|
17
|
-
"""
|
|
18
|
-
npm run nn
|
|
19
|
-
#{}
|
|
20
|
-
if mochaAndJest then
|
|
21
|
-
"""
|
|
22
|
-
jest
|
|
23
|
-
if [[ $? -ne 0 ]]; then
|
|
24
|
-
exit 1
|
|
25
|
-
fi
|
|
26
|
-
mocha -u tdd
|
|
27
|
-
else if mocha then "" mocha -u tdd
|
|
28
|
-
else :jest
|
|
29
|
-
|
|
30
|
-
build:
|
|
31
|
-
if coffeeScript
|
|
32
|
-
"""
|
|
33
|
-
coffee -m --output #{targetDir} --compile #{sourceDir} &
|
|
34
|
-
COFFEE_PID=$!
|
|
35
|
-
caf -m -c #{sourceDir} -o #{targetDir} &
|
|
36
|
-
CAF_PID=$!
|
|
37
|
-
wait $COFFEE_PID || exit 1
|
|
38
|
-
wait $CAF_PID || exit 1
|
|
39
|
-
npm run nn
|
|
40
|
-
else
|
|
41
|
-
"""
|
|
42
|
-
caf -m -c #{sourceDir} -o #{targetDir}
|
|
43
|
-
npm run nn
|
|
44
|
-
|
|
45
|
-
build-clean: "" npm run clean; npm run build
|
|
46
|
-
clean: "" rm -rf #{targetDir}/*
|
|
47
|
-
watch: :npm-watch
|
|
48
|
-
|
|
49
|
-
jest:
|
|
50
|
-
testEnvironment: :node
|
|
51
|
-
verbose: true
|
|
52
|
-
collectCoverageFrom:
|
|
53
|
-
"#{targetDir}/**/*.js",
|
|
54
|
-
"!#{targetDir}/test/**/*.js"
|
|
55
|
-
testPathIgnorePatterns:
|
|
56
|
-
"/node_modules/"
|
|
57
|
-
"<rootDir>/test" # so it can ignore our mocha tests
|
|
58
|
-
|
|
59
|
-
watch:
|
|
60
|
-
build:
|
|
61
|
-
extensions: compactFlattenAll
|
|
62
|
-
:caf
|
|
63
|
-
coffeeScript && :coffee
|
|
64
|
-
|
|
65
|
-
patterns: [] sourceDir
|
|
66
|
-
quiet: false
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
package: standardPackageBuilder &package
|