Merge pull request #57 from kaermorchen/bump-ember

Ember version has updated to 4.12
This commit is contained in:
Stanislav Romanov 2023-06-02 14:48:03 +03:00 committed by GitHub
commit eee4706c34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 1646 additions and 744 deletions

View file

@ -8,8 +8,8 @@
"disableAnalytics": false,
/**
Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
*/
"isTypeScriptProject": false
}

View file

@ -2,12 +2,15 @@
module.exports = {
root: true,
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2018,
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
legacyDecorators: true,
requireConfigFile: false,
babelOptions: {
plugins: [
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
],
},
},
plugins: ['ember'],
@ -26,6 +29,7 @@ module.exports = {
files: [
'./.eslintrc.js',
'./.prettierrc.js',
'./.stylelintrc.js',
'./.template-lintrc.js',
'./ember-cli-build.js',
'./testem.js',
@ -41,13 +45,7 @@ module.exports = {
browser: false,
node: true,
},
plugins: ['node'],
extends: ['plugin:node/recommended'],
rules: {
// this can be removed once the following is fixed
// https://github.com/mysticatea/eslint-plugin-node/issues/77
'node/no-unpublished-require': 'off',
},
extends: ['plugin:n/recommended'],
},
{
// test files

View file

@ -1,5 +1,12 @@
'use strict';
module.exports = {
singleQuote: true,
overrides: [
{
files: '*.{js,ts}',
options: {
singleQuote: true,
},
},
],
};

8
.stylelintignore Normal file
View file

@ -0,0 +1,8 @@
# unconventional files
/blueprints/*/files/
# compiled output
/dist/
# addons
/.node_modules.ember-try/

5
.stylelintrc.js Normal file
View file

@ -0,0 +1,5 @@
'use strict';
module.exports = {
extends: ['stylelint-config-standard', 'stylelint-prettier/recommended'],
};

View file

@ -1,3 +1,4 @@
/* Ember supports plain CSS out of the box. More info: https://cli.emberjs.com/release/advanced-use/stylesheets/ */
.empty {
}

View file

@ -3,7 +3,7 @@
"packages": [
{
"name": "ember-cli",
"version": "4.8.0",
"version": "4.12.1",
"blueprints": [
{
"name": "app",

View file

@ -7,6 +7,7 @@ module.exports = function (environment) {
rootURL: '/',
locationType: 'history',
EmberENV: {
EXTEND_PROTOTYPES: false,
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. EMBER_NATIVE_DECORATOR_SUPPORT: true

2287
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -19,19 +19,24 @@
},
"scripts": {
"build": "ember build --environment=production",
"lint": "npm-run-all --print-name --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
"lint:fix": "npm-run-all --print-name --aggregate-output --continue-on-error --parallel \"lint:*:fix\"",
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
"lint:css": "stylelint \"**/*.css\"",
"lint:css:fix": "concurrently \"npm:lint:css -- --fix\"",
"lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
"lint:hbs": "ember-template-lint .",
"lint:hbs:fix": "ember-template-lint . --fix",
"lint:js": "eslint . --cache",
"lint:js:fix": "eslint . --fix",
"start": "ember serve",
"test": "npm-run-all --print-name \"lint\" \"test:*\"",
"test": "concurrently \"npm:lint\" \"npm:test:*\" --names \"lint,test:\"",
"test:ember": "ember test"
},
"devDependencies": {
"@babel/eslint-parser": "^7.21.3",
"@babel/plugin-proposal-decorators": "^7.21.0",
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.8.1",
"@ember/string": "^3.0.1",
"@ember/test-helpers": "^2.9.3",
"@embroider/compat": "^1.6.0",
"@embroider/core": "^1.6.0",
"@embroider/webpack": "^1.6.0",
@ -55,17 +60,17 @@
"@types/ember__test": "^3.16.1",
"@types/ember__utils": "^3.16.2",
"autoprefixer": "^10.4.8",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"concurrently": "^8.0.1",
"cssnano": "^5.1.12",
"els-addon-typed-templates": "^4.2.4",
"ember-animation": "^0.1.0",
"ember-auto-import": "^2.4.3",
"ember-cli": "~4.8.0",
"ember-cli-app-version": "^5.0.0",
"ember-auto-import": "^2.6.3",
"ember-cli": "~4.12.1",
"ember-cli-app-version": "^6.0.0",
"ember-cli-babel": "^7.26.11",
"ember-cli-dependency-checker": "^3.3.1",
"ember-cli-htmlbars": "^6.1.1",
"ember-cli-htmlbars": "^6.2.0",
"ember-cli-inject-live-reload": "^2.1.0",
"ember-cli-sri": "^2.1.1",
"ember-cli-terser": "^4.0.2",
@ -76,39 +81,41 @@
"ember-load-initializers": "^2.1.2",
"ember-mdi": "^2.0.0",
"ember-modifier": "^4.1.0",
"ember-qunit": "^6.0.0",
"ember-resolver": "^8.0.3",
"ember-qunit": "^6.2.0",
"ember-resolver": "^10.0.0",
"ember-resources": "^5.4.0",
"ember-set-helper": "^2.0.1",
"ember-simple-auth": "^4.2.2",
"ember-sortable": "^4.0.2",
"ember-source": "~4.8.0",
"ember-source": "~4.12.0",
"ember-template-imports": "^3.1.1",
"ember-template-lint": "^4.16.1",
"ember-template-lint": "^5.7.2",
"ember-truth-helpers": "^3.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-ember": "^11.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-ember": "^11.5.0",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-qunit": "^7.3.1",
"eslint-plugin-qunit": "^7.3.4",
"file-loader": "^6.2.0",
"leaflet": "^1.9.3",
"loader.js": "^4.7.0",
"monaco-editor": "^0.34.0",
"monaco-editor-webpack-plugin": "^7.0.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.16",
"postcss-loader": "^7.0.1",
"postcss-mixins": "^9.0.4",
"prettier": "^2.7.1",
"qunit": "^2.19.2",
"prettier": "^2.8.7",
"qunit": "^2.19.4",
"qunit-dom": "^2.0.0",
"release-it": "^14.2.1",
"release-it-lerna-changelog": "^3.1.0",
"stylelint": "^15.4.0",
"stylelint-config-standard": "^32.0.0",
"stylelint-prettier": "^3.0.0",
"tailwindcss": "^3.1.8",
"tracked-built-ins": "^3.1.0",
"webpack": "^5.74.0"
"tracked-built-ins": "^3.1.1",
"webpack": "^5.78.0"
},
"engines": {
"node": "16.* || >= 18"

0
vendor/.gitkeep vendored
View file