Skip to content

Commit c3e0588

Browse files
committed
fix: change package scope to @progress
1 parent 4e17539 commit c3e0588

File tree

12 files changed

+107
-91
lines changed

12 files changed

+107
-91
lines changed

.eslintrc.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
module.exports = {
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
},
6+
"extends": [
7+
"eslint:recommended",
8+
"plugin:@typescript-eslint/recommended"
9+
],
10+
"parser": "@typescript-eslint/parser",
11+
"parserOptions": {
12+
"ecmaVersion": "latest",
13+
"sourceType": "module"
14+
},
15+
"plugins": [
16+
"@typescript-eslint"
17+
],
18+
"rules": {
19+
"@typescript-eslint/no-explicit-any": 0
20+
}
21+
}

.eslintrc.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ jobs:
3232
- name: Publish release
3333
run: npx ci-semantic-release
3434
env:
35-
NPM_TOKEN: ${{ secrets.NPM_TOKEN_TELERIK }}
35+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3636
GH_TOKEN: ${{ secrets.GH_TOKEN }}
3737

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
token: ${{ secrets.GH_TOKEN }}
2020

2121
- name: Install modules
22-
run: npm install @telerik/semantic-prerelease@1 --no-save
22+
run: npm install @progress/semantic-prerelease --no-save
2323

2424
- name: Fast-forward master to develop
2525
run: npx release-master

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Additionally, the library requires you to load:
3333
* The `weekData` for the day of week formatting.
3434

3535
```javascript
36-
import { load } from '@telerik/kendo-intl';
36+
import { load } from '@progress/kendo-intl';
3737

3838
load(
3939
require("cldr-data/supplemental/likelySubtags.json"),
@@ -55,7 +55,7 @@ For more examples and available configuration options, refer to the article on [
5555
Date parsing converts a string into a `Date` object by using the specific settings of the locale.
5656

5757
```js
58-
import { parseDate } from '@telerik/kendo-intl';
58+
import { parseDate } from '@progress/kendo-intl';
5959

6060
parseDate("11/6/2000", ["G", "d"]); // Mon Nov 06 2000
6161
parseDate("Montag, 6.11.2000", "EEEE, d.MM.y", "de"); // Mon Nov 06 2000
@@ -69,7 +69,7 @@ For more examples and available configuration options, refer to the article on [
6969
Date formatting converts a `Date` object into a human-readable string by using the specific settings of the locale.
7070

7171
```js
72-
import { formatDate } from '@telerik/kendo-intl';
72+
import { formatDate } from '@progress/kendo-intl';
7373

7474
formatDate(new Date(2000, 10, 6), "d"); // 11/6/2000
7575
formatDate(new Date(2000, 10, 6), "yMd", "de"); // 6.11.2000
@@ -83,7 +83,7 @@ For more examples and available configuration options, refer to the article on [
8383
Number parsing converts a string into a `Number` object by using the specific settings of the locale.
8484

8585
```js
86-
import { parseNumber } from '@telerik/kendo-intl';
86+
import { parseNumber } from '@progress/kendo-intl';
8787

8888
parseNumber("12.22"); // 12.22
8989
parseNumber("1.212,22 €", "de"); // 1212.22
@@ -98,7 +98,7 @@ For more examples and available configuration options, refer to the article on [
9898
Number formatting converts a `Number` object into a human-readable string using the specific settings of the locale.
9999

100100
```js
101-
import { formatNumber } from '@telerik/kendo-intl';
101+
import { formatNumber } from '@progress/kendo-intl';
102102

103103
formatNumber(1234.567, "n2"); // 1,234.57
104104

@@ -120,7 +120,7 @@ For more examples and available configuration options, refer to the article on [
120120
General formatting provides methods for independent placeholder and type formatting by using the specific settings of the locale.
121121

122122
```js
123-
import { format, toString } from '@telerik/kendo-intl';
123+
import { format, toString } from '@progress/kendo-intl';
124124

125125
format('Date: {0:d} - Price: {1:c}', [new Date(), 10.5], "en") // Date: 1/5/2017 - Price: $10.50
126126

@@ -138,20 +138,20 @@ For more examples and available configuration options, refer to the article on [
138138
2. Download and install the module:
139139

140140
```bash
141-
npm install --save '@telerik/kendo-intl';
141+
npm install --save '@progress/kendo-intl';
142142
```
143143

144144
3. Once installed, import the Internationalization in your application root module:
145145

146146
```javascript
147147
// ES2015 module syntax
148-
import { formatDate, parseDate } from '@telerik/kendo-intl';
148+
import { formatDate, parseDate } from '@progress/kendo-intl';
149149
//or
150-
import { formatNumber, parseNumber } from '@telerik/kendo-intl';
150+
import { formatNumber, parseNumber } from '@progress/kendo-intl';
151151
```
152152
```javascript
153153
// CommonJS format
154-
var numbers = require('@telerik/kendo-intl/number').numbers;
154+
var numbers = require('@progress/kendo-intl/number').numbers;
155155
//or
156-
var dates = require('@telerik/kendo-intl/dates').dates;
156+
var dates = require('@progress/kendo-intl/dates').dates;
157157
```

docs/cldr/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To load the CLDR data, use the [`load`](https://github.com/telerik/kendo-intl/bl
3939
> Before other culture scripts, you have to load the supplemental data first. It requires you to load it just once.
4040
4141
```
42-
import { cldr, load } from '@telerik/kendo-intl';
42+
import { cldr, load } from '@progress/kendo-intl';
4343
4444
const likelySubtags = require("cldr-data/supplemental/likelySubtags.json");
4545
const weekData = require("cldr-data/supplemental/weekData.json");
@@ -75,8 +75,8 @@ The `build` method the kendo-intl package provides generates the files which use
7575
The following example demonstrates how to generate the data for typescript projects.
7676

7777
```
78-
const { buildLocales, toJSObject } = require('@telerik/kendo-intl/build-locales');
79-
const intl = require('@telerik/kendo-intl');
78+
const { buildLocales, toJSObject } = require('@progress/kendo-intl/build-locales');
79+
const intl = require('@progress/kendo-intl');
8080
8181
const localeTemplate = (data) => {
8282
return `export const data = ${ toJSObject(data) };`;
@@ -95,7 +95,7 @@ The method outputs four files in the destination locale folder. These are:
9595
To set the generated data, use the [`setData`](https://github.com/telerik/kendo-intl/blob/master/docs/cldr/api.md#setdata) method.
9696

9797
```
98-
import { setData } from '@telerik/kendo-intl';
98+
import { setData } from '@progress/kendo-intl';
9999
import { data } from './locales/bg/all';
100100
101101
setData(data);

0 commit comments

Comments
 (0)