@ui5/webcomponents-localization 0.0.0-b132dd7b9 → 0.0.0-b3a4f8020
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/CHANGELOG.md +452 -0
- package/LICENSE.txt +201 -0
- package/README.md +7 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/Assets-node.d.ts +11 -0
- package/dist/Assets-node.js +12 -0
- package/dist/Assets-node.js.map +1 -0
- package/dist/NumberFormat.d.ts +5 -0
- package/dist/NumberFormat.js +7 -0
- package/dist/NumberFormat.js.map +1 -0
- package/dist/generated/json-imports/LocaleData-node.d.ts +1 -0
- package/dist/generated/json-imports/LocaleData-node.js +93 -0
- package/dist/generated/json-imports/LocaleData-node.js.map +1 -0
- package/dist/sap/ui/core/format/NumberFormat.js +2835 -0
- package/package-scripts.cjs +17 -10
- package/package.json +15 -16
- package/used-modules.txt +2 -1
package/package-scripts.cjs
CHANGED
|
@@ -1,25 +1,32 @@
|
|
|
1
1
|
const resolve = require("resolve");
|
|
2
|
+
const path = require("path");
|
|
2
3
|
|
|
4
|
+
const LIB = path.join(__dirname, `../tools/lib/`);
|
|
3
5
|
const copyUsedModules = resolve.sync("@ui5/webcomponents-tools/lib/copy-list/index.js");
|
|
4
6
|
const amdToES6 = resolve.sync("@ui5/webcomponents-tools/lib/amd-to-es6/index.js");
|
|
5
7
|
const noRequire = resolve.sync("@ui5/webcomponents-tools/lib/amd-to-es6/no-remaining-require.js");
|
|
8
|
+
const generateCLDR = resolve.sync("@ui5/webcomponents-localization/lib/generate-json-imports/cldr.js");
|
|
6
9
|
|
|
7
10
|
const scripts = {
|
|
8
|
-
clean:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
clean: {
|
|
12
|
+
"default": "ui5nps clean.generated clean.dist",
|
|
13
|
+
"generated": `ui5nps-script "${LIB}/rimraf/rimraf.js src/generated`,
|
|
14
|
+
"dist": `ui5nps-script "${LIB}/rimraf/rimraf.js dist`,
|
|
15
|
+
},
|
|
16
|
+
lint: `ui5nps-script "${LIB}eslint/eslint.js"`,
|
|
17
|
+
generate: "ui5nps clean copy.used-modules copy.cldr copy.overlay build.amd-to-es6 build.jsonImports",
|
|
11
18
|
build: {
|
|
12
|
-
"default": "
|
|
13
|
-
"amd-to-es6": `
|
|
14
|
-
"no-remaining-require": `
|
|
19
|
+
"default": "ui5nps clean copy.used-modules copy.cldr copy.overlay build.amd-to-es6 build.jsonImports build.typescript build.no-remaining-require",
|
|
20
|
+
"amd-to-es6": `ui5nps-script "${amdToES6}" dist/`,
|
|
21
|
+
"no-remaining-require": `ui5nps-script "${noRequire}" dist/`,
|
|
15
22
|
typescript: "tsc --build",
|
|
16
|
-
jsonImports:
|
|
23
|
+
jsonImports: `ui5nps-script ${generateCLDR}`,
|
|
17
24
|
},
|
|
18
25
|
typescript: "tsc --build",
|
|
19
26
|
copy: {
|
|
20
|
-
"used-modules": `
|
|
21
|
-
cldr: `copy-and-watch "../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/*" dist/generated/assets/cldr/`,
|
|
22
|
-
overlay: `copy-and-watch "overlay/**/*.js" dist/`,
|
|
27
|
+
"used-modules": `ui5nps-script "${copyUsedModules}" ./used-modules.txt dist/`,
|
|
28
|
+
cldr: `ui5nps-script "${LIB}copy-and-watch/index.js" "../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/*" dist/generated/assets/cldr/`,
|
|
29
|
+
overlay: `ui5nps-script "${LIB}copy-and-watch/index.js" "overlay/**/*.js" dist/`,
|
|
23
30
|
},
|
|
24
31
|
};
|
|
25
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-localization",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-b3a4f8020",
|
|
4
4
|
"description": "Localization for UI5 Web Components",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "https://github.com/
|
|
15
|
+
"url": "https://github.com/UI5/webcomponents.git",
|
|
16
16
|
"directory": "packages/localization"
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|
|
@@ -21,27 +21,26 @@
|
|
|
21
21
|
"./*": "./dist/*"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
|
-
"clean": "
|
|
25
|
-
"lint": "
|
|
26
|
-
"start": "
|
|
27
|
-
"build": "
|
|
28
|
-
"generate": "
|
|
24
|
+
"clean": "wc-dev clean",
|
|
25
|
+
"lint": "wc-dev lint",
|
|
26
|
+
"start": "wc-dev start",
|
|
27
|
+
"build": "wc-dev build",
|
|
28
|
+
"generate": "wc-dev generate",
|
|
29
29
|
"prepublishOnly": "tsc -b"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@babel/core": "^7.
|
|
33
|
-
"@babel/generator": "^7.
|
|
34
|
-
"@babel/parser": "^7.
|
|
32
|
+
"@babel/core": "^7.24.6",
|
|
33
|
+
"@babel/generator": "^7.24.6",
|
|
34
|
+
"@babel/parser": "^7.24.6",
|
|
35
35
|
"@openui5/sap.ui.core": "1.120.17",
|
|
36
|
-
"@ui5/webcomponents-tools": "0.0.0-
|
|
36
|
+
"@ui5/webcomponents-tools": "0.0.0-b3a4f8020",
|
|
37
37
|
"babel-plugin-amd-to-esm": "^2.0.3",
|
|
38
|
-
"chromedriver": "^135.0.0",
|
|
39
38
|
"estree-walk": "^2.2.0",
|
|
40
|
-
"mkdirp": "^1.0.4",
|
|
41
39
|
"resolve": "^1.20.0"
|
|
42
40
|
},
|
|
43
41
|
"dependencies": {
|
|
44
42
|
"@types/openui5": "^1.113.0",
|
|
45
|
-
"@ui5/webcomponents-base": "0.0.0-
|
|
46
|
-
}
|
|
47
|
-
|
|
43
|
+
"@ui5/webcomponents-base": "0.0.0-b3a4f8020"
|
|
44
|
+
},
|
|
45
|
+
"gitHead": "0a174f7ce9239f60c2840e8920fd70e3cf935a61"
|
|
46
|
+
}
|
package/used-modules.txt
CHANGED