Skip to content

Commit

Permalink
Merge pull request #857 from totvs/dev
Browse files Browse the repository at this point in the history
Liberação versão 1.3.8
  • Loading branch information
lwtnb-wrk authored Dec 7, 2021
2 parents aa5c160 + 99272df commit 6a16c6b
Show file tree
Hide file tree
Showing 167 changed files with 9,016 additions and 3,422 deletions.
5 changes: 0 additions & 5 deletions .babelrc

This file was deleted.

18 changes: 18 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// module.exports = {
// env: {
// browser: true,
// commonjs: true,
// es2021: true,
// },
// extends: ["standard"],
// parser: "@typescript-eslint/parser",
// parserOptions: {
// ecmaVersion: 12,
// },
// plugins: ["@typescript-eslint"],
// rules: {
// semi: "error",
// quotes: ["error", "double"],
// "no-undef": false,
// },
// };
11 changes: 0 additions & 11 deletions .flowconfig

This file was deleted.

12 changes: 10 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ labels: ''
assignees: ''

---
# Help us to help you.

## Before opening an issue

- Make sure the extension is up to date.
- See [Resolução de Problemas](TROUBLESHOOTING.md#problemas-gerais), with common and/or known occurrences.

## Enter the data below

**Describe the bug**
A clear and concise description of what the bug is.
Expand All @@ -27,9 +35,9 @@ If applicable, add screenshots to help explain your problem.
- OS/Architecture: [e.g. Windows 64 bits]

**Appserver (please complete the following information):**
- Build (with date): [e.g. Build 7.00.170117A - Jun 28 2019 - 11:16:56]
- Build (with date): [e.g. Build ?.??.??????? - XXX XX XXXX - TT:TT:TT]
- OS/Architecture: [e.g. Linux 64 bits Ubuntu]
- Build Version [e.g. 17.3.0.13]
- Build Version [e.g. XX.X.X.XX]

**Additional context**
Add any other context about the problem here.
34 changes: 34 additions & 0 deletions .github/workflows/ci-test.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Test CI
on:
push:
branches: [xfeature/test]
pull_request:
branches: [xfeature/test]

jobs:
test:
runs-on: ubuntu-18.04

strategy:
matrix:
node: [16.2.0]
version: [latest]
fail-fast: false

steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: npm install
- name: Run test
run: |
sudo apt-get install xvfb
export DISPLAY=:99.0
Xvfb -ac :99 -screen 0 1920x1080x16 &
npm run ci-test
25 changes: 13 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
out
node_modules
.vscode-test/
*.vsix
*.log
*.map
nls.*
.vscode/mapa timestamp.txt
totvsls.log
totvsls-full.log
totvsls_in.log
totvsls_out.log
*.vsix
.editorconfig
.vscode-test
.vscode/mapa timestamp.txt
~/
nls.*
node_modules
out
out-test
package-lock.json
tds-vscode-translations-export
*.log
test-extension/
test-resources/
test/resources/advpl/**/.vscode/servers.json
test/resources/project-advpl/.vscode/servers.json
out-test/
61 changes: 61 additions & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
"use strict";

module.exports = {
recursive: true,
reporter: "spec",
slow: 75,
timeout: 5 * 60000,
ui: "bdd",
"async-only": true,
color: false,
"full-trace": true,
jobs: 1,
sort: true,
"dry-run": false,
"fail-zero": false,

//growl: true, //não consegui fazer funcionar
////////////////////
// require: "common-hooks.js", usado em execução paralela
// "fgrep": "" // Only run tests containing this string [string]
// "grep": "" // Only run tests matching this string or regexp [string]
// "invert": false // Inverts --grep and --fgrep matches [boolean]

//
//ignore: ["test/e2e/activity-bar/**"],
//"allow-uncaught": false,
//bail: false,
//"check-leaks": false,
//delay: true,
//diff: true,
//exit: false, // could be expressed as "'no-exit': true"
//extension: ["js"],
//"fail-zero": true,
//fgrep: "something", // fgrep and grep are mutually exclusive
//file: ["/path/to/some/file", "/path/to/some/other/file"],
//"forbid-only": false,
//"forbid-pending": false,
//global: ["jQuery", "$"],
//grep: /something/i, // also 'something', fgrep and grep are mutually exclusive
//growl: false,
//"inline-diffs": false,
// invert: false, // needs to be used with grep or fgrep
//"node-option": ["unhandled-rejections=strict"], // without leading "--", also V8 flags
//package: "./package.json",
//parallel: false,
//recursive: true,
//reporter: "spec",
//"reporter-option": ["foo=bar", "baz=quux"], // array, not object
//require: "@babel/register",
//retries: 1,
//slow: "75",
//sort: false,
//spec: ["test/**/*.spec.js"], // the positional arguments!
//timeout: "30000", // same as "timeout: '2s'"
// timeout: false, // same as "timeout: 0"
//"trace-warnings": true, // node flags ok
//"v8-stack-trace-limit": 100, // V8 flags are prepended with "v8-"
//watch: false,
//"watch-files": ["lib/**/*.js", "test/**/*.js"],
//"watch-ignore": ["lib/vendor"],
};
1 change: 1 addition & 0 deletions .obsolete
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"vscode-extension-tester.api-handler-0.0.1":true}
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"tabWidth": 2,
"useTabs": false,
"single-quotes": true
}
6 changes: 0 additions & 6 deletions .transifexrc

This file was deleted.

9 changes: 0 additions & 9 deletions .tx/config

This file was deleted.

32 changes: 2 additions & 30 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
{
"version": "0.2.0",
"configurations": [
{
"args": [
"transifex-push"
],
"name": "Gulp taks",
"program": "${workspaceFolder}/node_modules/gulp/bin/gulp.js",
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],
"type": "pwa-node"
},
{
"type": "extensionHost",
"request": "launch",
Expand All @@ -24,26 +12,10 @@
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": {
"type": "npm",
"script": "compile"
},
"preLaunchTask": "npm: compile",
"env": {
"TOTVS_LS_LOG_FILE" : "./TOTVS_LS_LOG_FILE.log"
"TOTVS_LS_LOG_FILE": "./TOTVS_LS_LOG_FILE.log"
}
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
]
}
]
}
19 changes: 10 additions & 9 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
{
"files.trimTrailingWhitespace": true,
"editor.insertSpaces": false,
"files.exclude": {
"*.log": true,
"*/.vscode": false,
"/.DS_Store": true,
".git*": true,
"/.hg": true,
"/.svn": true,
"/CVS": true
},
"typescript.tsdk": "node_modules\\typescript\\lib",
"debug.javascript.unmapMissingSources": true,
"esp.token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFjYW5kaWRvIiwiaWF0IjoxNjM0MjQyODM3LCJ0eXBlIjoiY3JlZGVudGlhbCIsImV4cCI6MTY0MjAxODgzN30.x8GaS3tv2gLCbmO_1Nc8BpV_nZtN5vunzXxS-_Zzjyg",
"json.schemas": [
{
"fileMatch": [
"*.scenario.json"
],
"url": "./schema/scenario.schema.json"
}
]
}
31 changes: 14 additions & 17 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
.vscode/**
.vscode-test/**
out/test/**
test/**
src/**/*.ts
src/**/*.tsx
**/*.map
!src/**/*.html
**/*.d.*
docs/**
imagens/**
**/*.map
**/tsconfig.json
*.code-workspace
*.log
.all-contributorsrc
.github
.gitignore
.mocharc.js
.vscode-test/**
.vscode/**
~
docs/**
gulpfile.js
tsconfig.json
.all-contributorsrc
.flowconfig
imagens/**
out-test/**
test/**
vsc-extension-quickstart*.md
*.code-workspace
.transifexrc
.tx
for_flow
*.log
Loading

0 comments on commit 6a16c6b

Please sign in to comment.