mirror of https://github.com/grafana/grafana.git
				
				
				
			I18n: Remove unneeded i18n:compile script (#81184)
This commit is contained in:
		
							parent
							
								
									b4ae711825
								
							
						
					
					
						commit
						a138ce668d
					
				|  | @ -248,7 +248,6 @@ steps: | ||||||
|     \"\nTranslation extraction has not been committed. Please run 'yarn i18n:extract', |     \"\nTranslation extraction has not been committed. Please run 'yarn i18n:extract', | ||||||
|     commit the changes and push again.\"\n                exit 1\n            fi\n |     commit the changes and push again.\"\n                exit 1\n            fi\n | ||||||
|     \           " |     \           " | ||||||
|   - yarn run i18n:compile |  | ||||||
|   depends_on: |   depends_on: | ||||||
|   - yarn-install |   - yarn-install | ||||||
|   failure: ignore |   failure: ignore | ||||||
|  | @ -1562,7 +1561,6 @@ steps: | ||||||
|     \"\nTranslation extraction has not been committed. Please run 'yarn i18n:extract', |     \"\nTranslation extraction has not been committed. Please run 'yarn i18n:extract', | ||||||
|     commit the changes and push again.\"\n                exit 1\n            fi\n |     commit the changes and push again.\"\n                exit 1\n            fi\n | ||||||
|     \           " |     \           " | ||||||
|   - yarn run i18n:compile |  | ||||||
|   depends_on: |   depends_on: | ||||||
|   - yarn-install |   - yarn-install | ||||||
|   failure: ignore |   failure: ignore | ||||||
|  | @ -4779,6 +4777,6 @@ kind: secret | ||||||
| name: gcr_credentials | name: gcr_credentials | ||||||
| --- | --- | ||||||
| kind: signature | kind: signature | ||||||
| hmac: 51ad95c27b1414d9e4acd0b920a3e9ceab5ccb2ef8df60fc43eb90c70cdf34d5 | hmac: 42c4eb79bab004d2916c7ab27b58e654300d2683345ea959bc052d1b3f107cd7 | ||||||
| 
 | 
 | ||||||
| ... | ... | ||||||
|  |  | ||||||
|  | @ -6,7 +6,7 @@ | ||||||
|   "version": "10.4.0-pre", |   "version": "10.4.0-pre", | ||||||
|   "repository": "github:grafana/grafana", |   "repository": "github:grafana/grafana", | ||||||
|   "scripts": { |   "scripts": { | ||||||
|     "prebuild": "yarn i18n:compile && yarn plugin:build", |     "prebuild": "yarn plugin:build", | ||||||
|     "build": "yarn prebuild & NODE_ENV=production webpack --progress --config scripts/webpack/webpack.prod.js", |     "build": "yarn prebuild & NODE_ENV=production webpack --progress --config scripts/webpack/webpack.prod.js", | ||||||
|     "build:nominify": "yarn run build --env noMinify=1", |     "build:nominify": "yarn run build --env noMinify=1", | ||||||
|     "dev": "yarn prebuild & NODE_ENV=dev webpack --progress --color --config scripts/webpack/webpack.dev.js", |     "dev": "yarn prebuild & NODE_ENV=dev webpack --progress --color --config scripts/webpack/webpack.dev.js", | ||||||
|  | @ -24,7 +24,7 @@ | ||||||
|     "lint": "yarn run lint:ts && yarn run lint:sass", |     "lint": "yarn run lint:ts && yarn run lint:sass", | ||||||
|     "lint:ts": "eslint . --ext .js,.tsx,.ts --cache", |     "lint:ts": "eslint . --ext .js,.tsx,.ts --cache", | ||||||
|     "lint:sass": "yarn stylelint '{public/sass,packages}/**/*.scss' --cache", |     "lint:sass": "yarn stylelint '{public/sass,packages}/**/*.scss' --cache", | ||||||
|     "test:ci": "yarn i18n:compile && mkdir -p reports/junit && JEST_JUNIT_OUTPUT_DIR=reports/junit jest --ci --reporters=default --reporters=jest-junit -w ${TEST_MAX_WORKERS:-100%}", |     "test:ci": "mkdir -p reports/junit && JEST_JUNIT_OUTPUT_DIR=reports/junit jest --ci --reporters=default --reporters=jest-junit -w ${TEST_MAX_WORKERS:-100%}", | ||||||
|     "lint:fix": "yarn lint:ts --fix", |     "lint:fix": "yarn lint:ts --fix", | ||||||
|     "packages:build": "lerna run build --ignore '@grafana-plugins/*'", |     "packages:build": "lerna run build --ignore '@grafana-plugins/*'", | ||||||
|     "packages:clean": "rimraf ./npm-artifacts && lerna run clean --parallel", |     "packages:clean": "rimraf ./npm-artifacts && lerna run clean --parallel", | ||||||
|  | @ -48,7 +48,6 @@ | ||||||
|     "ci:test-frontend": "yarn run test:ci", |     "ci:test-frontend": "yarn run test:ci", | ||||||
|     "i18n:clean": "rimraf public/locales/en-US/grafana.json", |     "i18n:clean": "rimraf public/locales/en-US/grafana.json", | ||||||
|     "i18n:extract": "yarn run i18next -c public/locales/i18next-parser.config.js 'public/**/*.{tsx,ts}' 'packages/grafana-ui/**/*.{tsx,ts}' && yarn i18n:pseudo", |     "i18n:extract": "yarn run i18next -c public/locales/i18next-parser.config.js 'public/**/*.{tsx,ts}' 'packages/grafana-ui/**/*.{tsx,ts}' && yarn i18n:pseudo", | ||||||
|     "i18n:compile": "echo 'no i18n compile yet, all good'", |  | ||||||
|     "i18n:pseudo": "node ./public/locales/pseudo.js", |     "i18n:pseudo": "node ./public/locales/pseudo.js", | ||||||
|     "i18n:stats": "node ./scripts/cli/reportI18nStats.mjs", |     "i18n:stats": "node ./scripts/cli/reportI18nStats.mjs", | ||||||
|     "betterer": "betterer", |     "betterer": "betterer", | ||||||
|  |  | ||||||
|  | @ -598,7 +598,6 @@ def verify_i18n_step(): | ||||||
|                 exit 1 |                 exit 1 | ||||||
|             fi |             fi | ||||||
|             '''.format(uncommited_error_message), |             '''.format(uncommited_error_message), | ||||||
|             "yarn run i18n:compile", |  | ||||||
|         ], |         ], | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue