@next2d/builder 0.0.2 → 0.0.3

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/.eslintrc.json DELETED
@@ -1,79 +0,0 @@
1
- {
2
- "env": {
3
- "es6": true
4
- },
5
- "extends": "eslint:recommended",
6
- "rules": {
7
- "no-var": "error",
8
- "semi": ["error", "always", { "omitLastInOneLineBlock": true }],
9
- "block-spacing": "error",
10
- "indent": ["error", 4, { "SwitchCase": 1 }],
11
- "no-mixed-spaces-and-tabs": "error",
12
- "no-multiple-empty-lines": ["error" , { "max": 1 }],
13
- "no-trailing-spaces": "error",
14
- "space-infix-ops": "error",
15
- "dot-notation": "error",
16
- "eqeqeq": "error",
17
- "quotes": ["error", "double"],
18
- "no-else-return": "error",
19
- "no-loop-func": "error",
20
- "arrow-parens": "error",
21
- "arrow-spacing": "error",
22
- "no-undef": "off",
23
- "comma-dangle": "warn",
24
- "no-unused-vars": ["error", { "vars": "local", "args": "all" }],
25
- "no-use-before-define": "error",
26
- "no-const-assign": "error",
27
- "space-before-blocks": "error",
28
- "no-unexpected-multiline": "error",
29
- "object-curly-spacing": ["error", "always"],
30
- "quote-props": ["error", "always"],
31
- "max-len": ["error", {
32
- "code": 200,
33
- "ignoreStrings": true,
34
- "ignoreComments": true,
35
- "ignoreTemplateLiterals": true
36
- }],
37
- "no-debugger": "error",
38
- "no-dupe-keys": "error",
39
- "no-duplicate-case": "error",
40
- "no-empty": "error",
41
- "no-extra-parens": "error",
42
- "no-func-assign": "error",
43
- "no-irregular-whitespace": "error",
44
- "no-sparse-arrays": "error",
45
- "no-unreachable": "error",
46
- "no-unsafe-negation": "error",
47
- "use-isnan": "error",
48
- "block-scoped-var": "error",
49
- "no-caller": "error",
50
- "curly": "error",
51
- "no-case-declarations": "error",
52
- "no-floating-decimal": "error",
53
- "no-eq-null": "error",
54
- "no-empty-function": "error",
55
- "no-empty-pattern": "error",
56
- "no-extend-native": "error",
57
- "dot-location": ["error", "property"],
58
- "no-global-assign": "error",
59
- "no-implicit-globals": "error",
60
- "no-invalid-this": "error",
61
- "no-lone-blocks": "error",
62
- "no-iterator": "error",
63
- "no-new": "error",
64
- "no-proto": "error",
65
- "no-return-assign": "error",
66
- "no-self-assign": "error",
67
- "no-self-compare": "error",
68
- "no-useless-concat": "error",
69
- "no-useless-call": "error",
70
- "no-useless-return": "error",
71
- "no-unused-expressions": "error",
72
- "no-class-assign": "error",
73
- "no-sequences": "error",
74
- "no-dupe-args": "error",
75
- "no-extra-boolean-cast": "error",
76
- "no-obj-calls": "error",
77
- "no-extra-semi": "warn"
78
- }
79
- }
package/.gitattributes DELETED
@@ -1 +0,0 @@
1
- *.js text eol=lf
@@ -1,71 +0,0 @@
1
- # For most projects, this workflow file will not need changing; you simply need
2
- # to commit it to your repository.
3
- #
4
- # You may wish to alter this file to override the set of languages analyzed,
5
- # or to provide custom queries or build logic.
6
- #
7
- # ******** NOTE ********
8
- # We have attempted to detect the languages in your repository. Please check
9
- # the `language` matrix defined below to confirm you have the correct set of
10
- # supported CodeQL languages.
11
- #
12
- name: "CodeQL"
13
-
14
- on:
15
- push:
16
- branches: [ main, develop ]
17
- pull_request:
18
- # The branches below must be a subset of the branches above
19
- branches: [ main, develop ]
20
- schedule:
21
- - cron: '38 23 * * 1'
22
-
23
- jobs:
24
- analyze:
25
- name: Analyze
26
- runs-on: ubuntu-latest
27
- permissions:
28
- actions: read
29
- contents: read
30
- security-events: write
31
-
32
- strategy:
33
- fail-fast: false
34
- matrix:
35
- languages: [ 'javascript' ]
36
- # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37
- # Learn more:
38
- # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
39
-
40
- steps:
41
- - name: Checkout repository
42
- uses: actions/checkout@v3
43
-
44
- # Initializes the CodeQL tools for scanning.
45
- - name: Initialize CodeQL
46
- uses: github/codeql-action/init@v2
47
- with:
48
- languages: ${{ matrix.language }}
49
- # If you wish to specify custom queries, you can do so here or in a config file.
50
- # By default, queries listed here will override any specified in a config file.
51
- # Prefix the list here with "+" to use these queries and those in the config file.
52
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
53
-
54
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55
- # If this step fails, then you should remove it and run the build manually (see below)
56
- - name: Autobuild
57
- uses: github/codeql-action/autobuild@v2
58
-
59
- # ℹ️ Command-line programs to run using the OS shell.
60
- # 📚 https://git.io/JvXDl
61
-
62
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63
- # and modify them (or add more) to build your code if your project
64
- # uses a compiled language
65
-
66
- #- run: |
67
- # make bootstrap
68
- # make release
69
-
70
- - name: Perform CodeQL Analysis
71
- uses: github/codeql-action/analyze@v2
@@ -1,28 +0,0 @@
1
- name: Lint
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- - develop
8
- pull_request:
9
- branches:
10
- - main
11
- - develop
12
-
13
- jobs:
14
- macos-browser-test:
15
- runs-on: macos-latest
16
- steps:
17
- - uses: actions/checkout@v3
18
- - uses: actions/setup-node@v3
19
- - run: npm install
20
- - run: npm run lint
21
-
22
- windows-browser-test:
23
- runs-on: windows-latest
24
- steps:
25
- - uses: actions/checkout@v3
26
- - uses: actions/setup-node@v3
27
- - run: npm install
28
- - run: npm run lint
@@ -1,19 +0,0 @@
1
- name: Publish Package
2
-
3
- on:
4
- push:
5
- branches:
6
- - publish
7
-
8
- jobs:
9
- build:
10
- runs-on: ubuntu-latest
11
- steps:
12
- - uses: actions/checkout@v3
13
- - uses: actions/setup-node@v3
14
- with:
15
- node-version: "18.x"
16
- registry-url: "https://registry.npmjs.org"
17
- - run: npm publish --access public
18
- env:
19
- NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
package/SECURITY.md DELETED
@@ -1,3 +0,0 @@
1
- # Reporting Security Issues
2
-
3
- If you believe you have found a security vulnerability in Next2D, we encourage you to let us know right away. We will investigate all legitimate reports and do our best to quickly fix the problem.